Update.
[kopensolaris-gnu/glibc.git] / ChangeLog
1 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
2
3         * db2/Makefile (routines): Add os_alloc.
4         * db2/db.h: Update from db-2.3.16.
5         * db2/db_185.h: Likewise.
6         * db2/db_int.h: Likewise.
7         * db2/btree/bt_close.c: Likewise.
8         * db2/btree/bt_cursor.c: Likewise.
9         * db2/btree/bt_delete.c: Likewise.
10         * db2/btree/bt_open.c: Likewise.
11         * db2/btree/bt_page.c: Likewise.
12         * db2/btree/bt_put.c: Likewise.
13         * db2/btree/bt_rec.c: Likewise.
14         * db2/btree/bt_recno.c: Likewise.
15         * db2/btree/btree_auto.c: Likewise.
16         * db2/common/db_appinit.c: Likewise.
17         * db2/common/db_apprec.c: Likewise.
18         * db2/common/db_err.c: Likewise.
19         * db2/common/db_region.c: Likewise.
20         * db2/common/db_shash.c: Likewise.
21         * db2/db/db.c: Likewise.
22         * db2/db/db_auto.c: Likewise.
23         * db2/db/db_conv.c: Likewise.
24         * db2/db/db_dispatch.c: Likewise.
25         * db2/db/db_dup.c: Likewise.
26         * db2/db/db_pr.c: Likewise.
27         * db2/db/db_rec.c: Likewise.
28         * db2/db185/db185.c: Likewise.
29         * db2/dbm/dbm.c: Likewise.
30         * db2/hash/hash.c: Likewise.
31         * db2/hash/hash_auto.c: Likewise.
32         * db2/hash/hash_dup.c: Likewise.
33         * db2/hash/hash_page.c: Likewise.
34         * db2/hash/hash_rec.c: Likewise.
35         * db2/include/btree_ext.h: Likewise.
36         * db2/include/clib_ext.h: Likewise.
37         * db2/include/common_ext.h: Likewise.
38         * db2/include/db.h.src: Likewise.
39         * db2/include/db_185.h.src: Likewise.
40         * db2/include/db_am.h: Likewise.
41         * db2/include/db_ext.h: Likewise.
42         * db2/include/db_int.h.src: Likewise.
43         * db2/include/hash_ext.h: Likewise.
44         * db2/include/lock_ext.h: Likewise.
45         * db2/include/log.h: Likewise.
46         * db2/include/log_auto.h: Likewise.
47         * db2/include/log_ext.h: Likewise.
48         * db2/include/mp.h: Likewise.
49         * db2/include/mp_ext.h: Likewise.
50         * db2/include/mutex_ext.h: Likewise.
51         * db2/include/os_ext.h: Likewise.
52         * db2/include/os_func.h: Likewise.
53         * db2/include/txn_ext.h: Likewise.
54         * db2/lock/lock.c: Likewise.
55         * db2/lock/lock_util.c: Likewise.
56         * db2/log/log.c: Likewise.
57         * db2/log/log.src: Likewise.
58         * db2/log/log_archive.c: Likewise.
59         * db2/log/log_auto.c: Likewise.
60         * db2/log/log_get.c: Likewise.
61         * db2/log/log_put.c: Likewise.
62         * db2/log/log_rec.c: Likewise.
63         * db2/log/log_register.c: Likewise.
64         * db2/mp/mp_bh.c: Likewise.
65         * db2/mp/mp_fget.c: Likewise.
66         * db2/mp/mp_fopen.c: Likewise.
67         * db2/mp/mp_fput.c: Likewise.
68         * db2/mp/mp_pr.c: Likewise.
69         * db2/mp/mp_sync.c: Likewise.
70         * db2/mutex/mutex.c: Likewise.
71         * db2/os/os_alloc.c: Likewise.
72         * db2/os/os_config.c: Likewise.
73         * db2/os/os_stat.c: Likewise.
74         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
75         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
76         * db2/progs/db_load/db_load.c: Likewise.
77         * db2/progs/db_printlog/db_printlog.c: Likewise.
78         * db2/progs/db_recover/db_recover.c: Likewise.
79         * db2/progs/db_stat/db_stat.c: Likewise.
80         * db2/txn/txn.c: Likewise.
81
82         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
83         Unmap memory blocks in reverse order of allocation.
84         Call munmap with load address added to offset.
85         Bug reported by Miguel de Icaza.
86
87         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
88         up weight array.
89
90         * localedata/locales/cs_CZ: Update by Michael Mraka
91         <michael@informatics.muni.cz>.
92
93         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
94         __USE_BSD.
95
96         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
97         reading line with fgets.
98         * nis/nss_compat/compat-pwd.c: Likewise.
99         * nis/nss_compat/compat-spwd.c: Likewise.
100         * nss/nss_files/files-XXX.c: Likewise.
101         * nss/nss_files/files-alias.c: Likewise.
102         * shadow/fgetspent_r.c: Likewise.
103
104         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
105
106         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
107         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
108         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
109
110         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
111         FP register content in ucontext_t.
112
113 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
114
115         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
116         calculation.  Patch by Markus Schoder
117         <Markus.Schoder@dresdner-bank.de>.
118
119         * math/libm-test.c (modf_test): Add more tests for modf.
120
121         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
122         munlock according to Unix98.
123
124 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
125
126         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
127         AF_INET.
128
129 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
130
131         * sysdeps/posix/ttyname.c: Handle symbolic links.
132         * sysdeps/posix/ttyname_r.c: Ditto.
133
134 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
135
136         * db2/makedb.c (process_input): Write terminating \0 for value.
137         (print_database): Simply print value string, don't use length.
138
139 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
140
141         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
142         exit of loop.
143
144 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
145
146         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
147         close all sockets.
148
149 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
150
151         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
152         sigset.
153         * signal/sighold.c: New file.
154         * signal/sigrelse.c: New file.
155         * sysdeps/generic/sigignore.c: New file.
156         * sysdeps/generic/sigset.c: New file.
157         * sysdeps/posix/sigignore.c: New file.
158         * sysdeps/posix/sigset.c: New file.
159         * signal/signal.h: Add prototypes for new functions.
160
161         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
162         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
163         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
164         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
165
166 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
167
168         * posix/wordexp.c: Added IFS field-splitting in parameter and
169         command substitution.  Fixed an IFS-related bug that caused an
170         infinite loop.
171
172 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
173
174         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
175         and swapcontext.
176         * stdlib/ucontext.h: Correct prototypes.
177         * sysdeps/generic/getcontext.c: New file.
178         * sysdeps/generic/setcontext.c: New file.
179         * sysdeps/generic/makecontext.c: New file.
180         * sysdeps/generic/swapcontext.c: New file.
181         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
182
183 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
184
185         * resource/sys/resource.h: Remove #include of ulimit.h which is
186         not allowed by SUSv2 and not available on other systems.
187         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
188
189         * streams/Makefile: New file.
190         * streams/stropts.h: New file.
191         * sysdeps/generic/bits/stropts.h: New file.
192         * sysdeps/generic/isastream.c: New file.
193         * sysdeps/generic/getmsg.c: New file.
194         * sysdeps/generic/getpmsg.c: New file.
195         * sysdeps/generic/putmsg.c: New file.
196         * sysdeps/generic/putpmsg.c: New file.
197         * sysdeps/generic/fattach.c: New file.
198         * sysdeps/generic/fdetach.c: New file.
199         * sysdeps/unix/inet/Subdirs: Add streams.
200         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
201         __t_uscalar_t.
202         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
203         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
204         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
205         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
206
207         * sysdeps/mach/_strerror.c: Follow changes of generic version to
208         handle small buffers correctly.
209
210 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
211
212         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
213         Remove the 3rd arg and add declaration for _dl_runtime_resolve
214         and _dl_runtime_profile.
215
216 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
217
218         * include/cpio.h: New file.  Mainly copied from GNU cpio.
219         * posix/Makefile (headers): Add cpio.h.
220
221 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
222
223         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
224         to routines.
225         * nis/nis_cache.c: New.
226         * nis/nis_cache2.h: New.
227         * nis/nis_cache2_xdr.c: New.
228         * nis/nis_call.c: Changes for cache2_info parameter.
229         * nis/nis_checkpoint.c: Likewise.
230         * nis/nis_intern.h: Likewise.
231         * nis/nis_mkdir.c: Likewise.
232         * nis/nis_ping.c: Likewise.
233         * nis/nis_rmdir.c: Likewise.
234         * nis/nis_server.c: Likewise.
235         * nis/nis_util.c: Likewise.
236
237 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
238
239         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
240         return/errnop codes.
241         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
242         * nis/nss_nisplus/nisplus-grp.c: Likewise.
243         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
244         * nis/nss_nisplus/nisplus-proto.c: Likewise.
245         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
246         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
247         * nis/nss_nisplus/nisplus-rpc.c: Likewise
248         * nis/nss_nisplus/nisplus-service.c: Likewise.
249         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
250
251 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
252
253         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
254         * nis/nss_nis/nis-ethers.c: Likewise.
255         * nis/nss_nis/nis-grp.c: Likewise.
256         * nis/nss_nis/nis-hosts.c: Likewise.
257         * nis/nss_nis/nis-network.c: Likewise.
258         * nis/nss_nis/nis-proto.c: Likewise.
259         * nis/nss_nis/nis-hosts.c: Likewise.
260         * nis/nss_nis/nis-network.c: Likewise.
261         * nis/nss_nis/nis-proto.c: Likewise.
262         * nis/nss_nis/nis-publickey.c: Likewise.
263         * nis/nss_nis/nis-pwd.c: Likewise.
264         * nis/nss_nis/nis-rpc.c: Likewise.
265         * nis/nss_nis/nis-service.c: Likewise.
266         * nis/nss_nis/nis-spwd.c: Likewise.
267
268 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
269
270         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
271         Added to follow latest kernel development.
272
273 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
274
275         * nss/db-Makefile: Handle empty and comment lines better.
276         ($(VAR_DB)/services.db): Generate entries with missing protocol
277         value.
278
279 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
280
281         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
282           NULL.
283           (getservbyname): Allow proto == NULL.
284           Pointed out by David N. Welton <davidw@gate.cks.com>.
285           [PR libc/430].
286
287 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
288
289         * nis/nislib/nislib.h: Finally removed.
290
291         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
292         C compiler.  From Kaveh Ghazi.
293         (TYPE_MINIMUM): Define.
294         (TYPE_MAXIMUM): Define.
295         (TIME_T_MIN): Use TYPE_MINIMUM.
296         (TIME_T_MAX): Use TYPE_MAXIMUM.
297         Patch by Jim Meyering <meyering@ascend.com>.
298
299 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
300
301         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
302         __pread64, __pwrite64, and __getpid.
303
304         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
305         versions.
306
307 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
308
309         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
310         cancelable socket functions as __libc_xxx with __xxx as weak
311         alias.
312         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
313         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
314
315         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
316         redefined.
317         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
318         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
319         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
320         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
321
322         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
323         and __xxx a weak alias.
324         * sysdeps/unix/sysv/linux/connect.S: Likewise.
325         * sysdeps/unix/sysv/linux/recv.S: Likewise.
326         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
327         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
328         * sysdeps/unix/sysv/linux/send.S: Likewise.
329         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
330         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
331
332 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
333
334         * locale/langinfo.h: Add defines.
335
336         * dirent/dirent.h: Add defines for DT_*, check also for
337         _DIRENT_HAVE_D_TYPE.
338         Suggested by Roland McGrath.
339
340 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
341
342         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
343         Update from Linux 2.1.73+79.
344
345         * README.template: Update information about possible
346         configurations.
347
348         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
349         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
350         [PR libc/417].
351
352         * manual/time.texi (Priority): Correct description of
353         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
354         [PR libc/416].
355
356 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
357
358         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
359         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
360
361 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
362
363         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
364         Andreas Jaeger.
365
366 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
367
368         * locale/programs/ld-collate.c: Little optimizations.
369
370         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
371
372         * string/Makefile (tests): Add tst-inlcall.
373         * string/tst-inlcall.c: New file.
374
375         * string/strsignal.c: Add support for real-time signals.
376
377         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
378         presense of small buffer.
379
380         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
381
382         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
383         for i686.
384
385         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
386         _NSIG + 1.
387
388 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
389
390         * Rules: Add explicit rule for dummy.o; at least one library needs
391           it and it isn't autogenerated by the default rules.
392
393 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
394
395         * math/libm-test.c: Tweak epsilons.
396
397 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
398
399         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
400         child.
401         (feenv_mask_test): Likewise.
402
403 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
404
405         * Makeconfig: Don't export CPPFLAGS.
406
407 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
408
409         * sunrpc/rpc_main.c (parseargs): Use perror to print error
410         message.
411
412 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
413
414         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
415         terminating null in key size.
416
417 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
418
419         * nss/nss_files/files-service.c: Fix allocation size to include
420         length of PROTO.
421
422         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
423         applicable.  Fix return value and error checking.
424         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
425         unparsable lines.
426         (DB_LOOKUP): Allocate space for terminating null byte.
427
428         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
429         uids specially.
430
431         * db2/makedb.c (process_input): Continue processing if a duplicate
432         key is encountered.
433
434 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
435
436         * time/tzfile.h: Updated from tzcode1998b.
437         * time/zdump.c: Likewise.
438         * time/zic.c: Likewise.
439         * time/africa: Update from tzdata1998b.
440         * time/antarctica: Likewise.
441         * time/asia: Likewise.
442         * time/australasia: Likewise.
443         * time/etcetera: Likewise.
444         * time/europe: Likewise.
445         * time/leapseconds: Likewise.
446         * time/northamerica: Likewise.
447         * time/southamerica: Likewise.
448
449 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
450
451         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
452         lookups ignoring case.
453         * nss/nss_files/files-network.c: Do network lookups ignoring
454         case.
455         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
456         case.
457         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
458         case insensitive comparing.
459         Patches by Cristian Gafton <gafton@redhat.com>.
460
461 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
462
463         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
464         by Roland McGrath. [PR libc/395]
465
466 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
467
468         * manual/arith.texi (Parsing of Integers): Correct description of
469         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
470         [PR libc/396]
471
472 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
473
474         * misc/lsearch.c (lsearch): Return a pointer to the new element
475         if one was "allocated".
476
477 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
478
479         * string/strsignal.c: NSIG is not a valid index into
480         _sys_siglist.  Don't zap the last character of the "Unknown
481         signal" message.
482
483 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
484
485         * locale/programs/charmap.c (parse_charmap): Correct parsing of
486         ellipsis expressions.
487
488         * locale/programs/charset.c (insert_char): Correctly insert value
489         of eliipsis expression.
490
491 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
492
493         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
494         <bits/setjmp.h>.
495         * sysdeps/powerpc/setjmp.S: Likewise.
496         Patches by Matt McLean <keys@keys.got.net>.
497
498         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
499
500         * Makefile: Undo last patch.
501         (distribute): Add test-installation.pl.
502
503         * configure.in: Correct handling of --enable-add-ons without parameter.
504         Correct address of WWW pages.
505
506         * libc.map: Add _nl_domain_bindings.
507
508         * db2/mutex/tsl_parisc.s: New file.
509
510         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
511         and extra-module.mk.
512
513         * localedata/Makefile (distribute): New.  Add all the files.
514
515         * stdlib/Makefile (headers): Add inttypes.h.
516         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
517         * sysdeps/generic/inttypes.h: New file.
518         * sysdeps/generic/strtoimax.c: New file.
519         * sysdeps/generic/strtoumax.c: New file.
520         * sysdeps/generic/wcstoimax.c: New file.
521         * sysdeps/generic/wcstoumax.c: New file.
522         * sysdeps/wordsize-32/Dist: Removed.
523         * sysdeps/wordsize-32/Makefile: Removed.
524         * sysdeps/wordsize-64/Dist: Removed.
525         * sysdeps/wordsize-64/Makefile: Removed.
526         * sysdeps/generic/bits/environments.h: New file.
527
528         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
529         header is still not correct.
530
531         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
532         * posix/unistd.h: Likewise.
533         * sysdeps/generic/sys/mman.h: Likewise.
534         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
535
536         * manual/arith.texi: Change definition of mul macro.
537         * manual/math.texi: Likewise.
538
539         * misc/Makefile (routines): Add mmap64.
540         * sysdeps/generic/mmap64.c: New file.
541         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
542         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
543         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
544         aliases to mmap.
545         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
546
547         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
548
549         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
550
551         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
552
553         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
554         FOPEN_MAX also when included by limits.h.
555         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
556
557         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
558         and netrom/netrom.h.
559         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
560         oldsiglist to sysdep_routines, not aux.
561         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
562
563         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
564         and SOL_NETROM definition.
565
566         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
567
568         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
569         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
570
571 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
572
573         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
574
575         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
576         sa_handler with k_sa_handler.
577         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
578         strong alias.
579         Reported by a sun.
580
581         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
582         __libc_have_rt_sigs here.
583         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
584         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
585         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
586         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
587
588 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
589
590         * sysdeps/powerpc/atomicity.h: New file.
591         * sysdeps/mach/powerpc/machine-lock.h: New file.
592
593         * Rules: Use -fpic to build anything that might end up in a users'
594         shared library.
595
596         * sysdeps/powerpc/s_fdim.c: New file.
597         * sysdeps/powerpc/s_fdimf.c: New file.
598         * sysdeps/powerpc/s_fmax.S: New file.
599         * sysdeps/powerpc/s_fmaxf.S: New file.
600         * sysdeps/powerpc/s_fmin.S: New file.
601         * sysdeps/powerpc/s_fminf.S: New file.
602         * sysdeps/powerpc/s_llrint.c: Now is for double.
603         * sysdeps/powerpc/s_llrintf.c: New file.
604         * sysdeps/powerpc/s_llround.c: Now is for double.
605         * sysdeps/powerpc/s_llroundf.c: New file.
606         * sysdeps/powerpc/s_lrint.c: Now is for double.
607         * sysdeps/powerpc/s_lrintf.S: New file.
608         * sysdeps/powerpc/s_lround.c: Now is for double.
609         * sysdeps/powerpc/s_lroundf.c: New file.
610         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
611         lrintf, fdim, fdimf.
612
613         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
614         file directly, use its parent.
615
616         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
617         (for the third time).
618
619 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
620
621         * posix/sched.h: timespec is in <time.h>.
622
623         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
624
625 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
626
627         * configure.in: Stop with error if --disable-static is used when
628         the shared lib uses this library.
629
630         * gen-FAQ.pl: I've perl installed in /usr/bin.
631
632         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
633
634         Fix Unix98 conformance problems in the headers.
635         * catgets/nl_types.h: Define nl_item.
636         * grp/grp.h: Define gid_t.
637         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
638         * include/nl_types.h: New file.
639         * include/ulimit.h: New file.
640         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
641         constants in POSIX mode.
642         * io/utime.h: Get definition for time_t.
643         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
644         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
645         * libio/stdio.h: Define va_list.  Make snprintf also available is
646         __USE_UNIX98.  Declare getopt function and variables.
647         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
648         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
649         * math/math.h: Defined M_* constants as double for Unix98 mode.
650         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
651         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
652         * posix/regex.h: Define REG_NOSYS.
653         * posix/wordexp.h: Define WRDE_NOSYS.
654         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
655         500 for Unix98.
656         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
657         somewhere else as well.  Define clock_t for Unix98.
658         * posix/sys/wait.h: Define pid_t.
659         * pwd/pwd.h: Define gid_t, uid_t.
660         * resource/Makefile (headers): Add ulimit.h.
661         * resource/ulimit.h: New file.
662         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
663         instead of second argument.
664         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
665         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
666         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
667         * signal/signal.h: Define pid_t.
668         * string/string.h: Don't declare BSD string functions in POSIX mode.
669         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
670         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
671         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
672         and POSIX.
673
674         * inet/test_ifindex.c: Change test so that it does not fail for
675         interface aliases.
676
677         * locale/programs/locale.c (show_info): Use correct cast sequence
678         for 64bit machines.
679
680         * malloc/malloc.c: __malloc_initialized now signals three states:
681         uninitialized, initializing, initialized.  Used in mcheck.
682         * malloc/mcheck.c (mabort): Add '\n' to messages.
683         (mcheck): Allow installation when malloc is uninitialized or is
684         just initializing.
685
686         * manual/memory.texi: Explain mtrace output a bit more.
687
688         * math/libm-test.c: Add more epsilons.
689
690         * misc/regexp.h (compile): Remove __ prefix from parameter names.
691
692         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
693         instead of strcpy for security.
694         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
695         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
696         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
697
698         * nss/digits_dots.c: Pretty print.
699
700         * posix/getconf.c (vars): Add symbols for programming environment
701         recognition.  Recognize --version.
702
703         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
704         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
705         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
706
707         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
708         __need_FOPEN_MAX.
709         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
710         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
711         __need_FOPEN_MAX.
712
713         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
714         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
715
716         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
717         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
718         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
719         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
720         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
721         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
722
723         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
724         SCNu*.
725         * sysdeps/wordsize-64/inttypes.h: Likewise.
726
727         * time/africa: Update from tzdata1997j.
728         * time/antarctica: Likewise.
729         * time/asia: Likewise.
730         * time/australasia: Likewise.
731         * time/backward: Likewise.
732         * time/etcetera: Likewise.
733         * time/europe: Likewise.
734         * time/factory: Likewise.
735         * time/northamerica: Likewise.
736         * time/pacificnew: Likewise.
737         * time/southamerica: Likewise.
738
739         * time/tzfile.h: Update from tzcode1997h.
740         * time/zic.c: Likewise.
741
742         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
743         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
744         isw*() functions for Unix98.
745         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
746         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
747         is defined.
748
749 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
750
751         * locale/duplocale.c: Increase usage_count only if less than
752         MAX_USAGE_COUNT.
753         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
754         MAX_USAGE_COUNT.
755         * locale/setlocale.c: Likewise.
756
757 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
758
759         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
760         dependency to make it easier to install it selectively.
761
762         * Makerules (.SUFFIXES): Don't define any suffixes.
763
764 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
765
766         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
767         * sysdeps/generic/statfs64.c: Emulate using statfs.
768         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
769         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
770         * sysdpes/generic/ftruncate64.c: New file.
771         * sysdpes/generic/truncate64.c: New file.
772
773         * sysdeps/generic/bits/stat.h: Add LFS support.
774         * sysdeps/generic/bits/statfs.h: Likewise.
775
776         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
777         [__USE_FILE_OFFSET64]: Make long long constant.
778         (RLIM64_INFINITY): Likewise.
779
780         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
781         for LFS support.
782         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
783         * sysdeps/generic/bits/resource.h: Likewise.
784
785         * misc/Makefile (routines): Add truncate64 and ftruncate64.
786
787         * include/features.h: Don't prevent LFS support from defining BSD
788         and SYSV things.
789
790         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
791         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
792         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
793
794         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
795         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
796         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
797
798         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
799         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
800         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
801         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
802         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
803         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
804         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
805         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
806         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
807         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
808         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
809         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
810         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
811         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
812         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
813         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
814         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
815         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
816         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
817         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
818
819         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
820         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
821         * sysdeps/unix/sysv/linux/xstat64.c: New file.
822         * sysdeps/unix/sysv/linux/readdir64.c: New file.
823         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
824
825         * sysdeps/unix/sysv/linux/getdents64.c: New file.
826         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
827         [$(subdir)=dirent]: Add getdents64.
828         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
829
830         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
831
832 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
833
834         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
835
836         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
837         * sysdeps/generic/getrlimit64.c: Likewise.
838         * sysdeps/generic/setrlimit.c: Likewise.
839         * sysdeps/generic/setrlimit64.c: Likewise.
840
841 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
842
843         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
844         using versioning.
845
846         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
847
848         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
849
850 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
851
852         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
853         after the codeset name.
854
855 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
856
857         * libc.map: Add get_kernel_syms.
858
859 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
860
861         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
862         static.
863         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
864         Likewise.  Fix condition.
865
866 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
867
868         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
869
870 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
871
872         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
873         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
874
875 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
876
877         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
878         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
879         instead.  Oops.
880
881 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
882
883         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
884
885 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
886
887         * math/libm-test.c (catanh_test): Change epsilon.
888         Reported by H.J. Lu.
889
890 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
891
892         * libc.map (__getpid): Added for linuxthreads.
893
894 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
895
896         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
897         it if gcc uses static variable in DWARF2 unwind information
898         for exception support.
899
900         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
901
902         * elf/soinit.c (__libc_global_ctors, _fini): Handle
903         HAVE_DWARF2_UNWIND_INFO_STATIC.
904
905         * libc.map (__register_frame*, __deregister_frame*): Make them
906         global.
907
908 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
909
910         * math/libm-test.c: Add more tests for "normal" values.
911
912 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
913
914         * stdio-common/printf_fphex.c: Fix printing of long double number
915         with a biased exponent of zero.  Fix rounding.
916
917 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
918
919         * sunrpc/rpc_main.c: Accept new flag -$.
920         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
921
922 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
923
924         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
925         dynamic linker first, in case the interface has changed.
926
927 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
928
929         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
930         order.
931
932 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
933
934         * math/tgmath.h: Check for double first, for architectures where
935         sizeof (long double) == sizeof (double).
936
937 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
938
939         * math/libm-test.c: New tests for "normal" values added for most
940         functions.
941
942 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
943
944         * version.h (VERSION): Bump to 2.0.91.
945
946         * db2/makedb.c (process_input): Fix typo in message.
947         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
948
949         * elf/dynamic-link.h: Pretty print.
950
951         * elf/rtld.c: Allow multiple preloading of a shared object.
952
953         * include/limits.h: Prevent multiple inclusion.
954
955         * malloc/Makefile (headers): Add mcheck.h.
956         (distribute): Remove it here.
957         * malloc/mcheck.h: Pretty print.
958         * malloc/mtrace.c (mallenv): Make `const'.
959         * malloc/mtrace.pl: Don't print table head for memory leaks if there
960         are none.
961         * manual/memory.texi: Update descriptor of malloc hooks.
962
963         * posix/Makefile (routines): Add waitid.
964         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
965         on __id_t.
966         * posix/sys/wait.h: Define idtype_t type.
967         Add prototype for waitid.
968         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
969         * sysdeps/generic/waitid.c: Stub for waitid.
970         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
971         the __need_siginfo_t defined.
972         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
973         * sysdeps/generic/bits/types.h: Define __id_t.
974         Correct definition of __FDMASK.
975         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
976         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
977         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
978
979         * sysdeps/posix/waitid.c: New file.
980         Provided by Zack Weinberg.
981
982         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
983
984         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
985         Add missing parameters.
986
987         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
988         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
989         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
990         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
991         initialized.
992
993         * sysdeps/i386/dl-machine.h: Little cleanup.
994
995         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
996         (__finite): Mark function as const.
997         Add inline code for __ieee754_atan2.
998
999         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
1000         (but don't use it now).
1001         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
1002         __atan.
1003         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
1004         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
1005         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
1006         real part.
1007         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
1008         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
1009         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
1010         __ieee754_atan2 to base 10.
1011         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
1012         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
1013
1014         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
1015         old_kernel_sigaction.
1016
1017         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
1018
1019         * wctype/Makefile (routines): Add wctype_l.
1020         * wctype/wctype.h: Add declaration of __wctype_l.
1021         * wctype/wctype_l.c: New file.
1022
1023 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
1024
1025         * locale/C-ctype.c: Correct data for isw* functions.
1026         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
1027         byte order.
1028         * wctype/test_wctype.c: Add test for isw* functions.
1029         * wctype/wctype.c: Return value with expected byte order.
1030
1031 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1032
1033         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
1034
1035 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
1036
1037         * iconvdata/Makefile: Fix a typo.
1038
1039         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
1040         oldsiglist for shared library.
1041
1042         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
1043         sys_sigabbrev): Make them as the default version GLIBC_2.1.
1044
1045         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
1046         sys_siglist, sys_sigabbrev): New file. Make them as the old
1047         version GLIBC_2.0.
1048
1049         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
1050         to GLIBC_2.1.
1051
1052 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
1053
1054         * libio/iofgets.c (_IO_fgets): Return an error only if there
1055         is a new error.
1056         * libio/iogets.c (_IO_gets): Ditto.
1057
1058 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
1059
1060         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
1061
1062         * libio/Makefile (routines, shared-only-routines): Add
1063         oldiofdopen.
1064
1065         * libio/fileops.c: Don't use _IO_FILE_complete.
1066         * libio/iofdopen.c: Ditto.
1067         * libio/iofopen.c: Ditto.
1068         * libio/iofopen64.c: Ditto.
1069         * libio/iopopen.c: Ditto.
1070         * libio/iovdprintf.c: Ditto.
1071
1072         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
1073
1074         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
1075         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
1076
1077         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
1078         _IO_old_fdopen, _IO_new_fdopen): New declaration.
1079
1080         * libio/libio.h (_IO_FILE): Add more fields.
1081         (_IO_FILE_complete): Defined and make _IO_FILE be the old
1082         one if _IO_USE_OLD_IO_FILE is defined
1083         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
1084         them _IO_FILE_complete.
1085
1086         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
1087         to adjust vtable.
1088         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
1089         _IO_JUMPS.
1090         (_IO_FILE_complete): Commented out.
1091
1092         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
1093         * libio/oldiofclose.c: Ditto.
1094         * libio/oldiofopen.c: Ditto.
1095         * libio/oldstdfiles.c: Ditto.
1096
1097         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
1098         for the old _IO_FILE.
1099
1100         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
1101         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
1102         and stderr.
1103
1104         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
1105         and remove INAME.
1106
1107         * libio/stdio.c (stdin, stdout, stdin): Don't use
1108         _IO_FILE_complete.
1109
1110         * libio/oldiofdopen.c: New.
1111
1112         * stdio-common/vfprintf.c (buffered_vfprintf): Set
1113         hp->_vtable_offset to 0.
1114
1115 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
1116
1117         * libc.map (_IO_file_open): Added.
1118
1119         * libio/libioP.h (_IO_file_open): Declared.
1120
1121         * libio/fileops.c (_IO_file_open): New.
1122         (_IO_file_fopen): Call _IO_file_open ().
1123
1124         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
1125         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1126
1127 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1128
1129         * signal/signal.h: Fix selection of signal semantics to match
1130         comment.
1131
1132 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1133
1134         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
1135         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
1136         rt_sigreturn.
1137         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
1138         [$(subdir)=signal]: Remove rt_sigreturn.
1139         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
1140         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
1141         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
1142
1143 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1144
1145         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
1146         declarations.
1147
1148 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1149
1150         * iconvdata/extra-module.mk: Expand extra-objs now.
1151
1152 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1153
1154         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
1155         inline functions by feature tests to avoid warning about missing
1156         prototype declarations.
1157
1158 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1159
1160         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
1161         return code for non existent +name entries.
1162         * nis/nss_compat/compat-pwd.c: Likewise.
1163         * nis/nss_compat/compat-spwd.c: Likewise.
1164
1165 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
1166
1167         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
1168         (EIO): Likewise.
1169         (ENOSPC): Likewise.
1170         (EEXIST): Likewise.
1171         (__errno_location): Likewise.
1172
1173         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
1174
1175         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
1176
1177 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1178
1179         * sunrpc/publickey.c: Use new NSS interface.
1180
1181 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
1182
1183         * manual/malloc.texi: Document mtrace/muntrace and the concept.
1184
1185 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1186
1187         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
1188         value, to match spirit of the standard.
1189         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
1190         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
1191         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1192
1193 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1194
1195         * manual/signal.texi (Signal Stack): Remove spurious @item.
1196
1197 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1198
1199         * rt/aio.h: Remove double semicolon.
1200
1201         * rt/librt.map: Add aio_init.
1202
1203 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
1204
1205         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
1206         * Makefile (subdirs): Replace rt by $(rt).
1207
1208         * shlib-versions: Use version .2 for NSS modules.
1209
1210         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
1211         argument.
1212         * pwd/fgetpwent_r.c: Likewise.
1213         * spwd/fgetspent_r.c: Likewise.
1214         * spwd/sgetspent_r.c: Likewise.
1215         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
1216         Store error number in *ERRNOP.  Little optimization.
1217         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
1218         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
1219         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
1220         (__internal_getnetgrent_r): New argument.
1221         Call __internal_setnetgrent_reuse with new argument.
1222         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
1223         * inet/netgroup.h: Add argument to prototypes.
1224         * nis/nisplus-parser.h: Likewise.
1225         * nis/nss_compat/compat-grp.c: Change everything to store error
1226         code through provided pointer and not use errno.
1227         * nis/nss_compat/compat-pwd.c: Likewise.
1228         * nis/nss_compat/compat-spwd.c: Likewise.
1229         * nis/nss_nis/nis-alias.c: Likewise.
1230         * nis/nss_nis/nis-ethers.c: Likewise.
1231         * nis/nss_nis/nis-grp.c: Likewise.
1232         * nis/nss_nis/nis-hosts.c: Likewise.
1233         * nis/nss_nis/nis-netgrp.c: Likewise.
1234         * nis/nss_nis/nis-network.c: Likewise.
1235         * nis/nss_nis/nis-proto.c: Likewise.
1236         * nis/nss_nis/nis-publickey.c: Likewise.
1237         * nis/nss_nis/nis-pwd.c: Likewise.
1238         * nis/nss_nis/nis-rpc.c: Likewise.
1239         * nis/nss_nis/nis-service.c: Likewise.
1240         * nis/nss_nis/nis-spwd.c: Likewise.
1241         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1242         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1243         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1244         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1245         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
1246         * nis/nss_nisplus/nisplus-network.c: Likewise.
1247         * nis/nss_nisplus/nisplus-parser.c: Likewise.
1248         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1249         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1250         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1251         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1252         * nis/nss_nisplus/nisplus-service.c: Likewise.
1253         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1254         * nss/nss_db/db-XXX.c: Likewise.
1255         * nss/nss_db/db-alias.c: Likewise.
1256         * nss/nss_db/db-netgrp.c: Likewise.
1257         * nss/nss_files/files-XXX.c: Likewise
1258         * nss/nss_files/files-alias.c: Likewise
1259         * nss/nss_files/files-netgrp.c: Likewise
1260         * nss/nss_files/files-parse.c: Likewise
1261         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
1262         parameter of get functions.
1263         * nss/getXXent_r.c: Likewise.
1264
1265         * localedata/tst-fmon.c: Print debug info if test fails.
1266
1267         * rt/Makefile (routines): Add aio_notify.
1268         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
1269         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
1270         * rt/aio_fsync.c: Likewise.
1271         * rt/aio_misc.c: Likewise.
1272         * rt/aio_misc.h: Likewise.
1273         * rt/aio_read.c: Likewise.
1274         * rt/aio_read64.c: Likewise.
1275         * rt/aio_suspend.c: Likewise.
1276         * rt/aio_write.c: Likewise.
1277         * rt/aio_write64.c: Likewise.
1278         * rt/lio_listio.c: Likewise.
1279         * rt/lio_listio64.c: Likewise.
1280         * rt/aio_notify.c: New file.
1281
1282         * sysdeps/generic/bits/sigset.h: Pretty print.
1283
1284         * sysdeps/posix/pwrite.c: Define weak alias only if function is
1285         really defined as __pwrite.
1286
1287         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
1288         instead of pread64.
1289         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1290
1291         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
1292         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
1293         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
1294         size in syscall.
1295         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1296         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1297         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
1298         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1299         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1300         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1301         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
1302         for ACT being NULL.
1303         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
1304         RT signals.
1305         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
1306         __NR_pread is not defined.
1307         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
1308         __NR_pwrite is not defined.
1309
1310 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1311
1312         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
1313         handle for /etc/group back in some more cases.
1314         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
1315         handle for /etc/passwd back in some more cases.
1316         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
1317         handle for /etc/shadow back in some more cases.
1318
1319 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
1320
1321         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
1322         beyound its size.
1323         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
1324         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
1325
1326 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
1327
1328         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
1329         handling.  Don't use macros, we need functions.  Use inline functions
1330         for optimization.
1331         * sysdeps/wordsize-64/inttypes.h: Likewise.
1332         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
1333         and wcstoumax.
1334         * sysdeps/wordsize-64/Makefile: Likewise.
1335         * sysdeps/wordsize-32/Dist: Likewise.
1336         * sysdeps/wordsize-64/Dist: Likewise.
1337         * sysdeps/wordsize-32/strtoimax.c: New file.
1338         * sysdeps/wordsize-32/strtoumax.c: New file.
1339         * sysdeps/wordsize-32/wcstoimax.c: New file.
1340         * sysdeps/wordsize-32/wcstoumax.c: New file.
1341         * sysdeps/wordsize-64/strtoimax.c: New file.
1342         * sysdeps/wordsize-64/strtoumax.c: New file.
1343         * sysdeps/wordsize-64/wcstoimax.c: New file.
1344         * sysdeps/wordsize-64/wcstoumax.c: New file.
1345
1346 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
1347
1348         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
1349         that transparent union works.
1350         * sysdeps/generic/wait4.c (__wait4): Likewise.
1351         * sysdeps/generic/wait.c (__wait): Likewise.
1352
1353         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
1354         size_t.
1355
1356         * sysdeps/generic/syscall.c (syscall): Return value and arg are
1357         long, to match prototype.
1358
1359         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
1360         have mremap() yet.
1361
1362         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
1363
1364         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
1365
1366         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
1367
1368         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
1369         __rlim_t.
1370
1371         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
1372
1373         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
1374
1375         * io/sys/stat.h (S_ISLNK): Always false if we don't have
1376         __S_IFLNK.
1377
1378         * sysdeps/standalone/close.c (_STDIO_H): Define before including
1379         <bits/stdio_lim.h>.
1380         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
1381
1382 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
1383
1384         * posix/sys/wait.h: Don't use transparent unions in C++.
1385
1386 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1387
1388         * time/time.h: Add strfxtime.
1389
1390         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
1391         sysv_signal, strfxtime, pread64, pwrite64.
1392
1393 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
1394
1395         Alpha changes for EGCS:
1396         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
1397         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
1398         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
1399         (_start): Likewise.
1400         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
1401
1402 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
1403
1404         The kernel expects the arguments in a different order.
1405         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
1406         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
1407
1408         * FAQ.in: New file.
1409         * gen-FAQ.pl: New file.
1410         * Makefile (FAQ): Add rule to generate from FAQ.in.
1411
1412         * iconvdata/Makefile: Treat libJIS like the other modules.
1413
1414         * rt/librt.map: New file.
1415
1416         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
1417         inclusion.
1418         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
1419         comment.
1420
1421 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
1422
1423         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
1424         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
1425         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
1426         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1427
1428 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1429
1430         * string/bits/string2.h: Fix spellings.
1431
1432         * string/string.h: Fix spellings.
1433
1434 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1435
1436         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
1437         declaration to __syscall_rt_sigaction.
1438
1439         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
1440         non-existant <sigcontext.h>.
1441
1442 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1443
1444         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
1445         typo.
1446
1447 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1448
1449         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
1450
1451         * Makeconfig (shared-thread-library): Correct spelling.
1452
1453         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
1454         <asm/pci.h>.
1455
1456 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1457
1458         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
1459         constants from Linux headers. Pointed out by
1460         csmall@scooter.o.i.net. [PR libc/369]
1461
1462 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1463
1464         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
1465
1466 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1467
1468         * configure.in: If --enable-add-ons is given without an
1469         argument, set the addons list to all subdirs with a configure
1470         script.
1471
1472 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
1473
1474         * Makeconfig: Add shared-thread-library variable.
1475
1476         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
1477         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
1478         here.
1479         * sysdeps/m68k/fpu/e_acos.c: Likewise.
1480         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
1481         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1482         * sysdeps/m68k/fpu/e_pow.c: Likewise.
1483         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1484         * sysdeps/m68k/fpu/k_cos.c: Likewise.
1485         * sysdeps/m68k/fpu/k_sin.c: Likewise.
1486         * sysdeps/m68k/fpu/k_tan.c: Likewise.
1487         * sysdeps/m68k/fpu/s_atan.c: Likewise.
1488         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
1489         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
1490         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
1491         * sysdeps/m68k/fpu/s_csin.c: Likewise.
1492         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
1493         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
1494         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1495         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
1496         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
1497         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
1498         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
1499         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
1500         * sysdeps/m68k/fpu/s_modf.c: Likewise.
1501         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
1502         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1503         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
1504
1505         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
1506         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
1507         * signal/Makefile (headers): Add bits/siginfo.h.
1508         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
1509         (distribute): Add testrtsig.h.
1510         * signal/allocrtsig.c: New file.
1511         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
1512         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
1513         __libc_current_sigrtmax.
1514         * sysdeps/generic/sigqueue.c: New file.
1515         * sysdeps/generic/sigtimedwait.c: New file.
1516         * sysdeps/generic/sigwaitinfo.c: New file.
1517         * sysdeps/generic/testrtsig.h: New file.
1518         * sysdeps/generic/bits/siginfo.h: New file.
1519         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
1520         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
1521         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
1522         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
1523         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
1524         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
1525         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
1526         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
1527         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
1528         * sysdeps/unix/sysv/linux/sigpending.c: New file.
1529         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
1530         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
1531         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
1532         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
1533         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
1534         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
1535         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
1536         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
1537         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
1538         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
1539         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
1540         and _POSIX_REALTIME_SIGNALS.
1541         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
1542         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
1543         update _NSIG.
1544         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
1545         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
1546         definitions.
1547
1548         * Makefile (subdirs): Add rt.
1549         * shlib-versions: Add entry for librt.
1550         * rt/Makefile: New file.
1551         * rt/aio.h: New file.
1552         * rt/aio_cancel.c: New file.
1553         * rt/aio_error.c: New file.
1554         * rt/aio_fsync.c: New file.
1555         * rt/aio_misc.c: New file.
1556         * rt/aio_misc.h: New file.
1557         * rt/aio_read.c: New file.
1558         * rt/aio_read64.c: New file.
1559         * rt/aio_return.c: New file.
1560         * rt/aio_suspend.c: New file.
1561         * rt/aio_write.c: New file.
1562         * rt/aio_write64.c: New file.
1563         * rt/lio_listio.c: New file.
1564         * rt/lio_listio64.c: New file.
1565         * sysdeps/generic/aio_sigqueue.c: New file.
1566         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
1567         * sysdeps/unix/sysv/linux/Dist: Add new files
1568         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
1569         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
1570         rt_sigqueueinfo, rt_sigaction.
1571
1572         * posix/Makefile (headers): Add bits/environments.h.
1573         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
1574         and _CS_LFS_CFLAGS on 64bit platforms.
1575         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
1576         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
1577         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
1578         compilation modules.
1579         * sysdeps/wordsize-32/bits/environments.h: New file.
1580         * sysdeps/wordsize-64/bits/environments.h: New file.
1581
1582         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
1583         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
1584         __libc_pid.
1585         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
1586         0xf00baa.
1587
1588         * string/string.h: Add declaration of __strverscmp.
1589         * string/strverscmp.c: Rename function ot __strverscmp and make old
1590         name weak alias.
1591
1592         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
1593         * sysdeps/generic/enbl-secure.c: Likewise.
1594         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1595
1596         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
1597
1598         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
1599
1600 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
1601
1602         * posix/sys/wait.h: Use __transparent_union__ instead of
1603         transparent_union.  Reported by Roland McGrath.
1604
1605 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1606
1607         * resolv/inet_neta.c (inet_neta): Change type of first parameter
1608         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
1609         [PR libc/366].
1610
1611         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
1612
1613         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1614
1615 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1616
1617         * grp/initgroups.c: Increase buffer if it is too small.
1618
1619 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
1620
1621         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
1622         fields, this is no ISO C.  Reported by Andreas Jaeger.
1623
1624 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1625
1626         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
1627
1628 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
1629
1630         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
1631         _SYS_UTSNAME_H not _UTSNAME_H.
1632
1633 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1634
1635         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
1636         computing s_scale.
1637
1638 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1639
1640         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
1641         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
1642         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
1643
1644         * math/libm-test.c (csqrt_test): Add testcase.
1645
1646 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
1647
1648         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
1649         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
1650         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
1651
1652 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1653
1654         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
1655
1656 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1657
1658         * math/libm-test.c (acos_test): Add more tests.
1659         (asin_test): Likewise.
1660         (atan_test): Likewise.
1661         (exp_test): Likewise.
1662         (sin_test): Likewise.
1663         (sqrt_test): Likewise.
1664         (cpow_test): Likewise.
1665         (csqrt_test): Likewise.
1666         (cexp_test): Correct typo in gcc version test.
1667
1668 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
1669
1670         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
1671         <bits/setjmp.h>.
1672         * sysdeps/arm/setjmp.S: Likewise.
1673
1674         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
1675
1676 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
1677
1678         * stdio/stdio.h: Add prototype for tmpfile64().
1679
1680 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
1681
1682         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
1683         prototype to keep in step with libio version.
1684
1685         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
1686
1687 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
1688
1689         * sysdeps/generic/Makefile: Don't try to use make_siglist if
1690         cross-compiling.
1691
1692 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
1693
1694         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
1695         load GOT ptr before jumping to _exit.
1696         Reported by Xavier Leroy.
1697
1698 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
1699
1700         * Makefile (subdirs): Add iconvdata and localedata.
1701
1702         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
1703
1704         * iconv/gconv_conf.c (read_conf_file): Little optimization.
1705
1706         * iconvdata/8bit-gap.c: New file.
1707         * iconvdata/8bit-generic.c: Renamed from ...
1708         * iconvdata/iso8859-generic.c: ...this.
1709         * iconvdata/configure: Removed.
1710         * iconvdata/Makefile: Add new modules and better rules.
1711         * iconvdata/iso6937.c: Minor bug fixes.
1712         * iconvdata/iso8859-1.c: Likewise.
1713         * iconvdata/t61.c: Likewise.
1714         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
1715         Minor bug fixes.
1716         * iconvdata/iso8859-3.c: Likewise.
1717         * iconvdata/iso8859-4.c: Likewise.
1718         * iconvdata/iso8859-5.c: Likewise.
1719         * iconvdata/iso8859-6.c: Likewise.
1720         * iconvdata/iso8859-7.c: Likewise.
1721         * iconvdata/iso8859-8.c: Likewise.
1722         * iconvdata/iso8859-9.c: Likewise.
1723         * iconvdata/iso8859-10.c: Likewise.
1724         * iconvdata/ebcdic-at-de-a.c: New file.
1725         * iconvdata/ebcdic-at-de.c: New file.
1726         * iconvdata/ebcdic-ca-fr.c: New file.
1727         * iconvdata/hp-roman8.c: New file.
1728         * iconvdata/koi-8.c: New file.
1729         * iconvdata/koi8-r.c: New file.
1730         * iconvdata/koi8-h.c: New file.
1731         * iconvdata/latin-greek-1.c: New file.
1732         * iconvdata/latin-greek-1.h: New file.
1733         * iconvdata/latin-greek.c: New file.
1734         * iconvdata/latin-greek.h: New file.
1735         * iconvdata/jis0201.c: New file.
1736         * iconvdata/jis0201.h: New file.
1737         * iconvdata/jis0208.c: New file.
1738         * iconvdata/jis0208.h: New file.
1739         * iconvdata/jis0212.c: New file.
1740         * iconvdata/jis0212.h: New file.
1741         * iconvdata/sjis.c: New file.
1742         * iconvdata/gap.pl: New file.  Script to generate table header.
1743         * iconvdata/gaptab.pl: New file.
1744         * iconvdata/gconv-modules: Add info about new modules.
1745
1746         * locale/programs/charmap.c: Also examine alias names given in charmap
1747         files.
1748
1749         * localedata/*: Add to here from add-on.  We need the information
1750         to generate tables for iconv.
1751
1752         Update from db-2.3.14.
1753         * db2/Makefile: Updated.
1754         * db2/config.h: Likewise.
1755         * db2/db.h: Likewise.
1756         * db2/db_int.h: Likewise.
1757         * db2/btree/bt_cursor.c: Likewise.
1758         * db2/btree/bt_delete.c: Likewise.
1759         * db2/btree/bt_put.c: Likewise.
1760         * db2/btree/bt_search.c: Likewise.
1761         * db2/btree/bt_split.c: Likewise.
1762         * db2/btree/btree_auto.c: Likewise.
1763         * db2/common/db_appinit.c: Likewise.
1764         * db2/common/db_apprec.c: Likewise.
1765         * db2/common/db_err.c: Likewise.
1766         * db2/common/db_region.c: Likewise.
1767         * db2/db/db_auto.c: Likewise.
1768         * db2/db/db_dispatch.c: Likewise.
1769         * db2/db/db_ret.c: Likewise.
1770         * db2/dbm/dbm.c: Likewise.
1771         * db2/hash/hash_auto.c: Likewise.
1772         * db2/include/btree_ext.h: Likewise.
1773         * db2/include/common_ext.h: Likewise.
1774         * db2/include/db.h.src: Likewise.
1775         * db2/include/db_cxx.h: Likewise.
1776         * db2/include/db_ext.h: Likewise.
1777         * db2/include/db_int.h.src: Likewise.
1778         * db2/include/lock.h: Likewise.
1779         * db2/include/log.h: Likewise.
1780         * db2/include/mp.h: Likewise.
1781         * db2/include/mp_ext.h: Likewise.
1782         * db2/include/os_ext.h: Likewise.
1783         * db2/include/os_func.h: Likewise.
1784         * db2/lock/lock.c: Likewise.
1785         * db2/lock/lock_deadlock.c: Likewise.
1786         * db2/log/log.c: Likewise.
1787         * db2/log/log_archive.c: Likewise.
1788         * db2/log/log_auto.c: Likewise.
1789         * db2/log/log_get.c: Likewise.
1790         * db2/log/log_put.c: Likewise.
1791         * db2/mp/mp_bh.c: Likewise.
1792         * db2/mp/mp_fget.c: Likewise.
1793         * db2/mp/mp_fopen.c: Likewise.
1794         * db2/mp/mp_fput.c: Likewise.
1795         * db2/mp/mp_fset.c: Likewise.
1796         * db2/mp/mp_open.c: Likewise.
1797         * db2/mp/mp_pr.c: Likewise.
1798         * db2/mp/mp_region.c: Likewise.
1799         * db2/mp/mp_sync.c: Likewise.
1800         * db2/mutex/README: Likewise.
1801         * db2/mutex/mutex.c: Likewise.
1802         * db2/os/os_open.c: Likewise.
1803         * db2/os/os_func.c: Removed.
1804         * db2/os/os_config.c: New file.
1805         * db2/os/os_spin.c: New file.
1806         * db2/txn/txn.c: Likewise.
1807         * db2/txn/txn_auto.c: Likewise.
1808
1809 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
1810
1811         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
1812         __typeof for C++ since this fails for class members.
1813         Reported by Neal Becker <neal@ctd.comsat.com>.
1814
1815 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1816
1817         * configure.in: Check for a working makeinfo (3.11 or better).
1818         * config.make.in: Add MAKEINFO to be substituted.
1819         * manual/Makefile: Don't update info if makeinfo is too old.
1820
1821 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
1822
1823         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
1824         * sysdeps/alpha/__longjmp.S: Likewise.
1825         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
1826         not <bits/termios.h>.
1827
1828         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
1829         __llseek and make llseek and lseek64 weak aliases.
1830         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1831         Patches by a sun <asun@zoology.washington.edu>.
1832
1833 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1834
1835         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
1836         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1837         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1838         * misc/sys/syslog.h: Clean up BSD header.
1839
1840 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1841
1842         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
1843
1844         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
1845         for ctan(+-inf,x).
1846         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
1847         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
1848
1849         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
1850         csqrt (-1), ctanh(i*pi/4).
1851
1852 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1853
1854         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
1855
1856 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
1857
1858         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
1859
1860 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1861
1862         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
1863
1864 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
1865
1866         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
1867         and use.  Define GETCWD_RETURN_TYPE instead and use it.
1868         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
1869         of GETCWD_STORYGE_CLASS and put the return type and the
1870         `internal_function' in the right order for gcc 2.7.2.
1871
1872 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1873
1874         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
1875         incompatible with Linux 2.1.x.  Packages using modules
1876         (e.g. modutils) should/do provide their own version.  Suggested by
1877         Richard Henderson.
1878
1879         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
1880
1881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1882         [$(subdir)=socket]: Remove sys/module.h.
1883
1884 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
1885
1886         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
1887         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
1888
1889         * iconv/gconv_close.c: Correct freeing of descriptor data.
1890         * iconv/gconv_simple.c: Return correct error values for illegal or
1891         incomplete characters.
1892
1893         * Makefile (iconvdata/%): Special goal to simplify iconvdata
1894         development.
1895         * iconvdata/Makefile: New file.
1896         * iconvdata/configure: Likewise.
1897         * iconvdata/extra-module.mk: Likewise.
1898         * iconvdata/gconv-modules: Likewise.
1899         * iconvdata/iso6937.c: Likewise.
1900         * iconvdata/iso8859-1.c: Likewise.
1901         * iconvdata/iso8859-10.c: Likewise.
1902         * iconvdata/iso8859-10.h: Likewise.
1903         * iconvdata/iso8859-2.c: Likewise.
1904         * iconvdata/iso8859-2.h: Likewise.
1905         * iconvdata/iso8859-3.c: Likewise.
1906         * iconvdata/iso8859-3.h: Likewise.
1907         * iconvdata/iso8859-4.c: Likewise.
1908         * iconvdata/iso8859-4.h: Likewise.
1909         * iconvdata/iso8859-5.c: Likewise.
1910         * iconvdata/iso8859-5.h: Likewise.
1911         * iconvdata/iso8859-6.c: Likewise.
1912         * iconvdata/iso8859-6.h: Likewise.
1913         * iconvdata/iso8859-7.c: Likewise.
1914         * iconvdata/iso8859-7.h: Likewise.
1915         * iconvdata/iso8859-8.c: Likewise.
1916         * iconvdata/iso8859-8.h: Likewise.
1917         * iconvdata/iso8859-9.c: Likewise.
1918         * iconvdata/iso8859-9.h: Likewise.
1919         * iconvdata/iso8859-generic.c: Likewise.
1920         * iconvdata/t61.c: Likewise.
1921
1922         * string/Makefile (routines): Add strcasestr.
1923         * string/string.h: Add prototype for strcasestr.
1924         * sysdeps/generic/strcasestr.c: New file.
1925         * wcsmbs/mbrtowc.c: Simplify special case a bit.
1926         * wcsmbs/wcrtomb.c: Likewise.
1927         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
1928         * wcsmbs/wcsnrtombs.c: Likewise.
1929         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
1930         partial character is read.
1931         * wcsmbs/wcsrtombs.c: Likewise.
1932         * wcsmbs/wmemrtombs.c: Likewise.
1933         * wcsmbs/wmemrtowcs.c: Likewise.
1934
1935         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
1936         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
1937         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
1938         * sysdeps/i386/elf/setjmp.S: Likewise.
1939         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
1940         <bits/termios.h>.
1941
1942         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
1943         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
1944
1945         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
1946         * sysvipc/sys/ipc.h: Likewise.
1947         * sysvipc/sys/msg.h: Likewise.
1948         * sysvipc/sys/sem.h: Likewise.
1949         * sysvipc/sys/shm.h: Likewise.
1950
1951         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
1952         used directly.
1953         * sysdeps/alpha/bits/setjmp.h: Likewise.
1954         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
1955         * sysdeps/arm/bits/endian.h: Likewise.
1956         * sysdeps/arm/bits/setjmp.h: Likewise.
1957         * sysdeps/generic/bits/byteswap.h: Likewise.
1958         * sysdeps/generic/bits/confname.h: Likewise.
1959         * sysdeps/generic/bits/dirent.h: Likewise.
1960         * sysdeps/generic/bits/dlfcn.h: Likewise.
1961         * sysdeps/generic/bits/endian.h: Likewise.
1962         * sysdeps/generic/bits/fenv.h: Likewise.
1963         * sysdeps/generic/bits/huge_val.h: Likewise.
1964         * sysdeps/generic/bits/in.h: Likewise.
1965         * sysdeps/generic/bits/ioctl-types.h: Likewise.
1966         * sysdeps/generic/bits/ioctls.h: Likewise.
1967         * sysdeps/generic/bits/ipc.h: Likewise.
1968         * sysdeps/generic/bits/msq.h: Likewise.
1969         * sysdeps/generic/bits/poll.h: Likewise.
1970         * sysdeps/generic/bits/resource.h: Likewise.
1971         * sysdeps/generic/bits/sched.h: Likewise.
1972         * sysdeps/generic/bits/sem.h: Likewise.
1973         * sysdeps/generic/bits/setjmp.h: Likewise.
1974         * sysdeps/generic/bits/shm.h: Likewise.
1975         * sysdeps/generic/bits/sigaction.h: Likewise.
1976         * sysdeps/generic/bits/sigcontext.h: Likewise.
1977         * sysdeps/generic/bits/socket.h: Likewise.
1978         * sysdeps/generic/bits/stat.h: Likewise.
1979         * sysdeps/generic/bits/statfs.h: Likewise.
1980         * sysdeps/generic/bits/stdio_lim.h: Likewise.
1981         * sysdeps/generic/bits/termios.h: Likewise.
1982         * sysdeps/generic/bits/time.h: Likewise.
1983         * sysdeps/generic/bits/uio.h: Likewise.
1984         * sysdeps/generic/bits/utmp.h: Likewise.
1985         * sysdeps/generic/bits/utmpx.h: Likewise.
1986         * sysdeps/generic/bits/utsname.h: Likewise.
1987         * sysdeps/generic/bits/waitflags.h: Likewise.
1988         * sysdeps/generic/bits/waitstatus.h: Likewise.
1989         * sysdeps/gnu/bits/utmp.h: Likewise.
1990         * sysdeps/gnu/bits/utmpx.h: Likewise.
1991         * sysdeps/i386/bits/byteswap.h: Likewise.
1992         * sysdeps/i386/bits/endian.h: Likewise.
1993         * sysdeps/i386/bits/huge_val.h: Likewise.
1994         * sysdeps/i386/bits/setjmp.h: Likewise.
1995         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1996         * sysdeps/ieee754/bits/huge_val.h: Likewise.
1997         * sysdeps/m68k/bits/byteswap.h: Likewise.
1998         * sysdeps/m68k/bits/endian.h: Likewise.
1999         * sysdeps/m68k/bits/setjmp.h: Likewise.
2000         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2001         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
2002         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
2003         * sysdeps/mach/hurd/bits/stat.h: Likewise.
2004         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
2005         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
2006         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
2007         * sysdeps/mips/bits/dlfcn.h: Likewise.
2008         * sysdeps/mips/bits/endian.h: Likewise.
2009         * sysdeps/mips/bits/setjmp.h: Likewise.
2010         * sysdeps/mips/dec/bits/endian.h: Likewise.
2011         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
2012         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
2013         * sysdeps/mips/p40/bits/endian.h: Likewise.
2014         * sysdeps/powerpc/bits/endian.h: Likewise.
2015         * sysdeps/powerpc/bits/fenv.h: Likewise.
2016         * sysdeps/powerpc/bits/setjmp.h: Likewise.
2017         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
2018         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
2019         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
2020         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
2021         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
2022         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
2023         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2024         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
2025         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
2026         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2027         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
2028         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
2029         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
2030         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
2031         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
2032         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
2033         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
2034         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
2035         * sysdeps/unix/common/bits/dirent.h: Likewise.
2036         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
2037         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2038         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2039         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2040         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
2041         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2042         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
2043         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
2044         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
2045         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2046         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2047         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2048         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2049         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
2050         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2051         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
2052         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
2053         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2054         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2055         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2056         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2057         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2058         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2059         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2060         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2061         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
2062         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2063         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2064         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
2065         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2066         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2067         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2068         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
2069         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
2070         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
2071         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
2072         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2073         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
2074         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
2075         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2076         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
2077         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2078         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2079         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2080         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2081         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2082         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
2083         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2084         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
2086         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2087         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2088         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
2089         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2090         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2091         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2092         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
2093         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
2094         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
2095         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
2096         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
2097         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
2098         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
2099         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
2100         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
2101         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2102         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2103         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
2104         * sysdeps/vax/bits/huge_val.h: Likewise.
2105         * sysdeps/vax/bits/setjmp.h: Likewise.
2106         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
2107         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
2108
2109 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2110
2111         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
2112
2113 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
2114
2115         * strftime.c (strftime):
2116         No longer any need to undef or declare if emacs is defined.
2117         (my_strftime): When checking a -1 returned by mktime, don't blow up
2118         if localtime_r returns NULL.
2119
2120 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2121
2122         * README.template: Fix spelling.
2123
2124 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2125
2126         * configure.in: Enhance --enable-add-ons description a wee bit.
2127
2128 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2129
2130         * glibcbug.in: Add more information of build environment and flags.
2131
2132 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2133
2134         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
2135         it into ENOENT.
2136
2137 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
2138
2139         * elf/dl-support.c: Call __libc_init_secure to make sure
2140         __libc_enable_secure is defined early.
2141         * sysdeps/generic/enbl-secure.c: Change function name to
2142         __libc_init_secure and make it global instead of a constructor.
2143
2144         * iconv/gconv.c: Fix lots of bugs.
2145         * iconv/gconv.h: Likewise.
2146         * iconv/gconv_builtin.h: Likewise.
2147         * iconv/gconv_close.c: Likewise.
2148         * iconv/gconv_conf.c: Likewise.
2149         * iconv/gconv_db.c: Likewise.
2150         * iconv/gconv_dl.c: Likewise.
2151         * iconv/gconv_open.c: Likewise.
2152         * iconv/gconv_simple.c: Likewise.
2153         * iconv/iconv.c: Likewise.
2154         * iconv/iconv_close.c: Likewise.
2155         * iconv/iconv_open.c: Likewise.
2156
2157         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
2158         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
2159         * wcsmbs/wmemrtombs.c: New file.
2160         * wcsmbs/wmemrtowcs.c: New file.
2161
2162 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
2163
2164         * iconv/gconv_simple.c: Fix lots of bugs.
2165         * iconv/iconv_open.c: Normalize names before passing them to
2166         __gconv_open.
2167
2168         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
2169
2170         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
2171         * stdio-common/test-popen.c: Add test for above change.
2172
2173         * math/libm-test.c: Print test results also using %a format,
2174         specified in PRINTF_XEXPR macro.
2175         * math/test-double.c: Define PRINTF_XEXPR.
2176         * math/test-float.c: Likewise.
2177         * math/test-ldouble.c: Likewise.
2178         * math/test-idouble.c: Likewise.
2179         * math/test-ifloat.c: Likewise.
2180         * math/test-ildoubl.c: Likewise.
2181
2182         * stdio-common/vfscanf.c: Recognize a in format specifier only as
2183         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
2184         FP number format.
2185
2186         * stdlib/strtod.c: Little code cleanup.
2187
2188         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
2189         compiling in math subdir.
2190
2191         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
2192         instead of __LIBC_M81_MATH_INLINES.
2193         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2194         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2195         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2196         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2197         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2198         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2199         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2200         * sysdeps/m68k/fpu/s_atan.c: Likewise.
2201         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2202         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2203         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2204         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2205         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2206         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2207         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2208         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2209         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2210         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2211         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2212         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
2213         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2214         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
2215         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2216         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
2217         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
2218         __LIBC_INTERNAL_MATH_INLINES is defined.
2219
2220         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
2221         of compare macros from ISO C 9X.  Optimize generic versions a bit.
2222         Define __signbit inline functions and __ieee754_sqrt which can be
2223         used if the ompiler is fixed.
2224
2225         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
2226
2227 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2228
2229         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
2230         sysdeps/generic in the whole dep file, not only in the first line.
2231
2232 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2233
2234         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
2235
2236 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2237
2238         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
2239         place.
2240
2241 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2242
2243         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
2244         is non-empty.
2245
2246 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
2247
2248         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
2249         return value.
2250
2251 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
2252
2253         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
2254         readlink succeeds but the return value is too long.
2255
2256         * stdio-common/printf_fphex.c: Determine sign of number correctly.
2257
2258 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
2259
2260         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
2261         __remqu for Alpha.
2262
2263 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
2264
2265         * sysdeps/generic/sys/ucontext.h: Stub context file.
2266
2267         * libio/iofprintf.c: Removed.  We use the stdio-common version.
2268
2269         * manual/Makefile (distribute): Add stdio-fp.c.
2270
2271         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
2272
2273         * db2/Makefile (distribute): Add include/os_func.h, README and
2274         mutex/tsl_parisc.s.
2275
2276         * hesiod/Makefile (distribute): Add README.hesiod.
2277
2278 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
2279
2280         * iconv/gconv.c: Correctly call transformation function.
2281
2282         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
2283
2284 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2285
2286         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
2287         wrong results for e.g. remquo (3,2, &x)).
2288         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
2289         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
2290
2291 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2292
2293         * configure.in (ld --version-script): Test if the same symbol
2294         maybe defined in all versions (needed by recent changes to
2295         libc.map and supported with binutils 2.8.1.0.17) and issue warning
2296         if versioning is not supported/enabled.
2297         (bash test): Correct test case.
2298
2299         * math/libm-test.c: Added counting/reporting of number of test cases.
2300
2301         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
2302         use awk instead.
2303
2304         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
2305
2306 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2307
2308         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
2309
2310 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
2311
2312         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
2313         Replace revoke call by use of REVOKE.
2314         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
2315         empty and #include generic version.
2316         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2317
2318 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
2319
2320         * libc.map: Add socket functions with __libc_* names.
2321         Reported by Andreas Jaeger.
2322
2323 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2324
2325         * libc.map: Tidy up (remove duplicates, sort entries).
2326
2327 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2328
2329         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
2330
2331 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
2332
2333         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
2334         again after successful call.
2335         Patch by Marc Lehmann <pcg@goof.com>.
2336
2337 1997-11-17  Paul Eggert  <eggert@twinsun.com>
2338
2339         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
2340         as some hosts need this to declare localtime_r properly.
2341
2342 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
2343
2344         * libc.map: Add iconv_open, iconv, and iconv_close.
2345
2346 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
2347
2348         * iconv/Makefile: New file.
2349         * iconv/gconv.c: New file.
2350         * iconv/gconv.h: New file.
2351         * iconv/gconv_builtin.c: New file.
2352         * iconv/gconv_builtin.h: New file.
2353         * iconv/gconv_close.c: New file.
2354         * iconv/gconv_conf.c: New file.
2355         * iconv/gconv_db.c: New file.
2356         * iconv/gconv_dl.c: New file.
2357         * iconv/gconv_open.c: New file.
2358         * iconv/gconv_simple.c: New file.
2359         * iconv/iconv.c: New file.
2360         * iconv/iconv.h: New file.
2361         * iconv/iconv_close.c: New file.
2362         * iconv/iconv_open.c: New file.
2363         * include/gconv.h: New file.
2364
2365         * Makeconfig: Define gconvdir.
2366         * Makefile (subdirs): Add iconv.
2367
2368         * string/bits/string2.h: Add optimization for strtok_r.
2369
2370         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
2371         for NULL.
2372         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2373         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
2374
2375         * configure.in: Correct test for bash2.
2376         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2377
2378         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
2379         (CFLAGS-locfile.c): Likewise.
2380         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2381
2382         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
2383         non-existing entry if the table is full.
2384
2385         * posix/regex.h: Pretty print.
2386
2387         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
2388
2389         * sysdeps/posix/ctermid.c: Simplify a bit.
2390
2391         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
2392
2393 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2394
2395         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
2396         <sys/types.h> instead of <asm/types.h>.
2397
2398 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2399
2400         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
2401
2402 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
2403
2404         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
2405         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
2406         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
2407         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
2408         fclose): Added to GLIBC_2.1.
2409
2410         * libio/Makefile (routines, shared-only-routines): Add
2411         oldiofclose.  Remove oldfreopen.
2412
2413         * libio/freopen.c (freopen): When PIC is defined, call
2414         _IO_old_freopen () for old stdio.
2415
2416         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
2417         (_IO_fclose, fclose): Use _IO_new_fclose as default version
2418         for GLIBC_2.1.
2419
2420         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
2421         instead of _IO_file_close_it.
2422
2423         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
2424         to _IO_2_1_stdxxx_.
2425         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
2426         is defined.
2427
2428         * libio/libioP.h (_IO_old_do_flush): New.
2429
2430         * libio/oldfileops.c (_IO_old_file_close_it,
2431         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
2432         Call _IO_old_do_flush () instead of _IO_do_flush ().
2433         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
2434         _IO_do_write ().
2435
2436         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
2437         instead of _IO_file_init ().
2438         Bind old symbols to version GLIBC_2.0.
2439
2440         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
2441         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
2442         _IO_stdxxx_.
2443         (_IO_check_libio): New function in .init.
2444
2445         * libio/oldiofclose.c: New file.
2446
2447         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
2448         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
2449         (DEF_STDFILE): Don't use default_symbol_version.
2450
2451         * libio/stdio.c (stdin, stdout, stderr): Set to
2452         _IO_2_1_stdxxx_._
2453         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
2454         stdxxx.
2455
2456         * csu/Makefile (distribute): Add init.c.
2457         (extra-objs): Add init.o for ELF.
2458         (start-installed-name): Add $(objpfx)init.o.
2459
2460         * csu/init.c: New file.
2461
2462 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
2463
2464         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
2465         definition as the default.
2466
2467 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
2468
2469         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
2470
2471 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2472
2473         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
2474         (PR 351).
2475
2476 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
2477
2478         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
2479         to preserve condition codes on function call.
2480
2481 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2482
2483         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
2484
2485 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2486
2487         * math/libm-test.c (asin_test): Add epsilon for float.
2488         (tan_test): Add epsilon for float.
2489         (log1p_test): Add epsilon for float.
2490         (inverse_functions): Add epsilons.
2491
2492         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
2493         net/if_packet.h.
2494
2495         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
2496
2497 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2498
2499         * md5-crypt/Makefile (extra-objs): Make recursively expanded
2500         variable, since $(object-suffixes) is not defined yet.
2501
2502 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2503
2504         * db2/Makefile (distribute): db185/db185_int.src ->
2505         db185/db185_int.h.
2506
2507 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2508
2509         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
2510         exactly one.
2511
2512 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2513
2514         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
2515         name.
2516         * sysdeps/generic/e_acosl.c: Likewise.
2517         * sysdeps/generic/e_asinl.c: Likewise.
2518         * sysdeps/generic/e_atan2l.c: Likewise.
2519         * sysdeps/generic/e_expl.c: Likewise.
2520         * sysdeps/generic/e_fmodl.c: Likewise.
2521         * sysdeps/generic/e_j0l.c: Likewise.
2522         * sysdeps/generic/e_j1l.c: Likewise.
2523         * sysdeps/generic/e_jnl.c: Likewise.
2524         * sysdeps/generic/e_lgammal_r.c: Likewise.
2525         * sysdeps/generic/e_log10l.c: Likewise.
2526         * sysdeps/generic/e_logl.c: Likewise.
2527         * sysdeps/generic/e_powl.c: Likewise.
2528         * sysdeps/generic/e_sqrtl.c: Likewise.
2529         * sysdeps/generic/e_exp2l.c: Likewise.
2530
2531 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2532
2533         * Make-dist (+sysdep-names): Remove extra paren.
2534         * Makefile (distribute): Add stub-tag.h.
2535         * elf/Makefile (distribute): Add atomicity.h.
2536         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
2537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
2538         [$(subdir)=socket]: Add net/if_packet.h.
2539         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
2540         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
2541         net/if_packet.h, scsi/sg.h.
2542
2543 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2544
2545         * Makefile (install): Quote $(CC) expansion.
2546
2547 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2548
2549         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
2550         working /proc cwd and no restrictions on path length.  Following
2551         some ideas from Andi Kleen <ak@muc.de> (PR 350).
2552
2553 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2554
2555         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
2556         * nis/nss_compat/compat-pwd.c: Likewise.
2557         * nis/nss_compat/compat-spwd.c: Likewise.
2558
2559 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
2560
2561         * sysdeps/libm-i387/s_fdim.S: New file.
2562         * sysdeps/libm-i387/s_fdimf.S: New file.
2563         * sysdeps/libm-i387/s_fdiml.S: New file.
2564         * sysdeps/libm-i387/i686/s_fdim.S: New file.
2565         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
2566         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
2567
2568 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2569
2570         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
2571         pointer to unsigned char.
2572
2573 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2574
2575         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
2576
2577         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
2578
2579         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
2580
2581 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2582
2583         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
2584         ilogb(0/NaN).
2585         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
2586         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
2587
2588 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
2589
2590         * sysdeps/libm-i387/s_fmin.S: New file.
2591         * sysdeps/libm-i387/s_fminf.S: New file.
2592         * sysdeps/libm-i387/s_fminl.S: New file.
2593         * sysdeps/libm-i387/s_fmax.S: New file.
2594         * sysdeps/libm-i387/s_fmaxf.S: New file.
2595         * sysdeps/libm-i387/s_fmaxl.S: New file.
2596         * sysdeps/libm-i387/i686/s_fmin.S: New file.
2597         * sysdeps/libm-i387/i686/s_fminf.S: New file.
2598         * sysdeps/libm-i387/i686/s_fminl.S: New file.
2599         * sysdeps/libm-i387/i686/s_fmax.S: New file.
2600         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
2601         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
2602
2603 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
2604
2605         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
2606         * sysdeps/unix/sysv/linux/send.S: Likewise.
2607         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2608         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2609         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2610         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2611         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2612         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2613         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
2614
2615 See ChangeLog.7 for earlier changes.