f9a3fce48e506c00d1740ae0a6406369cc5b28de
[kopensolaris-gnu/glibc.git] / ChangeLog
1 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
2
3         The kernel expects the arguments in a different order.
4         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
5         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
6
7         * FAQ.in: New file.
8         * gen-FAQ.pl: New file.
9         * Makefile (FAQ): Add rule to generate from FAQ.in.
10
11         * iconvdata/Makefile: Treat libJIS like the other modules.
12
13         * rt/librt.map: New file.
14
15         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
16         inclusion.
17         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
18         comment.
19
20 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
21
22         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
23         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
24         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
25         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
26
27 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
28
29         * string/bits/string2.h: Fix spellings.
30
31         * string/string.h: Fix spellings.
32
33 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
34
35         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
36         declaration to __syscall_rt_sigaction.
37
38         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
39         non-existant <sigcontext.h>.
40
41 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
42
43         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
44         typo.
45
46 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
47
48         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
49
50         * Makeconfig (shared-thread-library): Correct spelling.
51
52         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
53         <asm/pci.h>.
54
55 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
56
57         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
58         constants from Linux headers. Pointed out by
59         csmall@scooter.o.i.net. [PR libc/369]
60
61 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
62
63         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
64
65 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
66
67         * configure.in: If --enable-add-ons is given without an
68         argument, set the addons list to all subdirs with a configure
69         script.
70
71 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
72
73         * Makeconfig: Add shared-thread-library variable.
74
75         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
76         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
77         here.
78         * sysdeps/m68k/fpu/e_acos.c: Likewise.
79         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
80         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
81         * sysdeps/m68k/fpu/e_pow.c: Likewise.
82         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
83         * sysdeps/m68k/fpu/k_cos.c: Likewise.
84         * sysdeps/m68k/fpu/k_sin.c: Likewise.
85         * sysdeps/m68k/fpu/k_tan.c: Likewise.
86         * sysdeps/m68k/fpu/s_atan.c: Likewise.
87         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
88         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
89         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
90         * sysdeps/m68k/fpu/s_csin.c: Likewise.
91         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
92         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
93         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
94         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
95         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
96         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
97         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
98         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
99         * sysdeps/m68k/fpu/s_modf.c: Likewise.
100         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
101         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
102         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
103
104         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
105         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
106         * signal/Makefile (headers): Add bits/siginfo.h.
107         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
108         (distribute): Add testrtsig.h.
109         * signal/allocrtsig.c: New file.
110         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
111         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
112         __libc_current_sigrtmax.
113         * sysdeps/generic/sigqueue.c: New file.
114         * sysdeps/generic/sigtimedwait.c: New file.
115         * sysdeps/generic/sigwaitinfo.c: New file.
116         * sysdeps/generic/testrtsig.h: New file.
117         * sysdeps/generic/bits/siginfo.h: New file.
118         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
119         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
120         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
121         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
122         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
123         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
124         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
125         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
126         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
127         * sysdeps/unix/sysv/linux/sigpending.c: New file.
128         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
129         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
130         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
131         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
132         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
133         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
134         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
135         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
136         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
137         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
138         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
139         and _POSIX_REALTIME_SIGNALS.
140         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
141         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
142         update _NSIG.
143         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
144         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
145         definitions.
146
147         * Makefile (subdirs): Add rt.
148         * shlib-versions: Add entry for librt.
149         * rt/Makefile: New file.
150         * rt/aio.h: New file.
151         * rt/aio_cancel.c: New file.
152         * rt/aio_error.c: New file.
153         * rt/aio_fsync.c: New file.
154         * rt/aio_misc.c: New file.
155         * rt/aio_misc.h: New file.
156         * rt/aio_read.c: New file.
157         * rt/aio_read64.c: New file.
158         * rt/aio_return.c: New file.
159         * rt/aio_suspend.c: New file.
160         * rt/aio_write.c: New file.
161         * rt/aio_write64.c: New file.
162         * rt/lio_listio.c: New file.
163         * rt/lio_listio64.c: New file.
164         * sysdeps/generic/aio_sigqueue.c: New file.
165         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
166         * sysdeps/unix/sysv/linux/Dist: Add new files
167         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
168         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
169         rt_sigqueueinfo, rt_sigaction.
170
171         * posix/Makefile (headers): Add bits/environments.h.
172         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
173         and _CS_LFS_CFLAGS on 64bit platforms.
174         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
175         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
176         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
177         compilation modules.
178         * sysdeps/wordsize-32/bits/environments.h: New file.
179         * sysdeps/wordsize-64/bits/environments.h: New file.
180
181         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
182         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
183         __libc_pid.
184         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
185         0xf00baa.
186
187         * string/string.h: Add declaration of __strverscmp.
188         * string/strverscmp.c: Rename function ot __strverscmp and make old
189         name weak alias.
190
191         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
192         * sysdeps/generic/enbl-secure.c: Likewise.
193         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
194
195         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
196
197         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
198
199 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
200
201         * posix/sys/wait.h: Use __transparent_union__ instead of
202         transparent_union.  Reported by Roland McGrath.
203
204 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
205
206         * resolv/inet_neta.c (inet_neta): Change type of first parameter
207         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
208         [PR libc/366].
209
210         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
211
212         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
213
214 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
215
216         * grp/initgroups.c: Increase buffer if it is too small.
217
218 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
219
220         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
221         fields, this is no ISO C.  Reported by Andreas Jaeger.
222
223 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
224
225         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
226
227 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
228
229         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
230         _SYS_UTSNAME_H not _UTSNAME_H.
231
232 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
233
234         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
235         computing s_scale.
236
237 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
238
239         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
240         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
241         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
242
243         * math/libm-test.c (csqrt_test): Add testcase.
244
245 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
246
247         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
248         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
249         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
250
251 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
252
253         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
254
255 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
256
257         * math/libm-test.c (acos_test): Add more tests.
258         (asin_test): Likewise.
259         (atan_test): Likewise.
260         (exp_test): Likewise.
261         (sin_test): Likewise.
262         (sqrt_test): Likewise.
263         (cpow_test): Likewise.
264         (csqrt_test): Likewise.
265         (cexp_test): Correct typo in gcc version test.
266
267 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
268
269         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
270         <bits/setjmp.h>.
271         * sysdeps/arm/setjmp.S: Likewise.
272
273         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
274
275 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
276
277         * stdio/stdio.h: Add prototype for tmpfile64().
278
279 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
280
281         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
282         prototype to keep in step with libio version.
283
284         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
285
286 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
287
288         * sysdeps/generic/Makefile: Don't try to use make_siglist if
289         cross-compiling.
290
291 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
292
293         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
294         load GOT ptr before jumping to _exit.
295         Reported by Xavier Leroy.
296
297 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
298
299         * Makefile (subdirs): Add iconvdata and localedata.
300
301         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
302
303         * iconv/gconv_conf.c (read_conf_file): Little optimization.
304
305         * iconvdata/8bit-gap.c: New file.
306         * iconvdata/8bit-generic.c: Renamed from ...
307         * iconvdata/iso8859-generic.c: ...this.
308         * iconvdata/configure: Removed.
309         * iconvdata/Makefile: Add new modules and better rules.
310         * iconvdata/iso6937.c: Minor bug fixes.
311         * iconvdata/iso8859-1.c: Likewise.
312         * iconvdata/t61.c: Likewise.
313         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
314         Minor bug fixes.
315         * iconvdata/iso8859-3.c: Likewise.
316         * iconvdata/iso8859-4.c: Likewise.
317         * iconvdata/iso8859-5.c: Likewise.
318         * iconvdata/iso8859-6.c: Likewise.
319         * iconvdata/iso8859-7.c: Likewise.
320         * iconvdata/iso8859-8.c: Likewise.
321         * iconvdata/iso8859-9.c: Likewise.
322         * iconvdata/iso8859-10.c: Likewise.
323         * iconvdata/ebcdic-at-de-a.c: New file.
324         * iconvdata/ebcdic-at-de.c: New file.
325         * iconvdata/ebcdic-ca-fr.c: New file.
326         * iconvdata/hp-roman8.c: New file.
327         * iconvdata/koi-8.c: New file.
328         * iconvdata/koi8-r.c: New file.
329         * iconvdata/koi8-h.c: New file.
330         * iconvdata/latin-greek-1.c: New file.
331         * iconvdata/latin-greek-1.h: New file.
332         * iconvdata/latin-greek.c: New file.
333         * iconvdata/latin-greek.h: New file.
334         * iconvdata/jis0201.c: New file.
335         * iconvdata/jis0201.h: New file.
336         * iconvdata/jis0208.c: New file.
337         * iconvdata/jis0208.h: New file.
338         * iconvdata/jis0212.c: New file.
339         * iconvdata/jis0212.h: New file.
340         * iconvdata/sjis.c: New file.
341         * iconvdata/gap.pl: New file.  Script to generate table header.
342         * iconvdata/gaptab.pl: New file.
343         * iconvdata/gconv-modules: Add info about new modules.
344
345         * locale/programs/charmap.c: Also examine alias names given in charmap
346         files.
347
348         * localedata/*: Add to here from add-on.  We need the information
349         to generate tables for iconv.
350
351         Update from db-2.3.14.
352         * db2/Makefile: Updated.
353         * db2/config.h: Likewise.
354         * db2/db.h: Likewise.
355         * db2/db_int.h: Likewise.
356         * db2/btree/bt_cursor.c: Likewise.
357         * db2/btree/bt_delete.c: Likewise.
358         * db2/btree/bt_put.c: Likewise.
359         * db2/btree/bt_search.c: Likewise.
360         * db2/btree/bt_split.c: Likewise.
361         * db2/btree/btree_auto.c: Likewise.
362         * db2/common/db_appinit.c: Likewise.
363         * db2/common/db_apprec.c: Likewise.
364         * db2/common/db_err.c: Likewise.
365         * db2/common/db_region.c: Likewise.
366         * db2/db/db_auto.c: Likewise.
367         * db2/db/db_dispatch.c: Likewise.
368         * db2/db/db_ret.c: Likewise.
369         * db2/dbm/dbm.c: Likewise.
370         * db2/hash/hash_auto.c: Likewise.
371         * db2/include/btree_ext.h: Likewise.
372         * db2/include/common_ext.h: Likewise.
373         * db2/include/db.h.src: Likewise.
374         * db2/include/db_cxx.h: Likewise.
375         * db2/include/db_ext.h: Likewise.
376         * db2/include/db_int.h.src: Likewise.
377         * db2/include/lock.h: Likewise.
378         * db2/include/log.h: Likewise.
379         * db2/include/mp.h: Likewise.
380         * db2/include/mp_ext.h: Likewise.
381         * db2/include/os_ext.h: Likewise.
382         * db2/include/os_func.h: Likewise.
383         * db2/lock/lock.c: Likewise.
384         * db2/lock/lock_deadlock.c: Likewise.
385         * db2/log/log.c: Likewise.
386         * db2/log/log_archive.c: Likewise.
387         * db2/log/log_auto.c: Likewise.
388         * db2/log/log_get.c: Likewise.
389         * db2/log/log_put.c: Likewise.
390         * db2/mp/mp_bh.c: Likewise.
391         * db2/mp/mp_fget.c: Likewise.
392         * db2/mp/mp_fopen.c: Likewise.
393         * db2/mp/mp_fput.c: Likewise.
394         * db2/mp/mp_fset.c: Likewise.
395         * db2/mp/mp_open.c: Likewise.
396         * db2/mp/mp_pr.c: Likewise.
397         * db2/mp/mp_region.c: Likewise.
398         * db2/mp/mp_sync.c: Likewise.
399         * db2/mutex/README: Likewise.
400         * db2/mutex/mutex.c: Likewise.
401         * db2/os/os_open.c: Likewise.
402         * db2/os/os_func.c: Removed.
403         * db2/os/os_config.c: New file.
404         * db2/os/os_spin.c: New file.
405         * db2/txn/txn.c: Likewise.
406         * db2/txn/txn_auto.c: Likewise.
407
408 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
409
410         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
411         __typeof for C++ since this fails for class members.
412         Reported by Neal Becker <neal@ctd.comsat.com>.
413
414 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
415
416         * configure.in: Check for a working makeinfo (3.11 or better).
417         * config.make.in: Add MAKEINFO to be substituted.
418         * manual/Makefile: Don't update info if makeinfo is too old.
419
420 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
421
422         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
423         * sysdeps/alpha/__longjmp.S: Likewise.
424         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
425         not <bits/termios.h>.
426
427         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
428         __llseek and make llseek and lseek64 weak aliases.
429         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
430         Patches by a sun <asun@zoology.washington.edu>.
431
432 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
433
434         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
435         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
436         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
437         * misc/sys/syslog.h: Clean up BSD header.
438
439 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
440
441         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
442
443         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
444         for ctan(+-inf,x).
445         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
446         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
447
448         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
449         csqrt (-1), ctanh(i*pi/4).
450
451 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
452
453         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
454
455 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
456
457         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
458
459 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
460
461         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
462
463 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
464
465         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
466         and use.  Define GETCWD_RETURN_TYPE instead and use it.
467         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
468         of GETCWD_STORYGE_CLASS and put the return type and the
469         `internal_function' in the right order for gcc 2.7.2.
470
471 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
472
473         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
474         incompatible with Linux 2.1.x.  Packages using modules
475         (e.g. modutils) should/do provide their own version.  Suggested by
476         Richard Henderson.
477
478         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
479
480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
481         [$(subdir)=socket]: Remove sys/module.h.
482
483 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
484
485         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
486         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
487
488         * iconv/gconv_close.c: Correct freeing of descriptor data.
489         * iconv/gconv_simple.c: Return correct error values for illegal or
490         incomplete characters.
491
492         * Makefile (iconvdata/%): Special goal to simplify iconvdata
493         development.
494         * iconvdata/Makefile: New file.
495         * iconvdata/configure: Likewise.
496         * iconvdata/extra-module.mk: Likewise.
497         * iconvdata/gconv-modules: Likewise.
498         * iconvdata/iso6937.c: Likewise.
499         * iconvdata/iso8859-1.c: Likewise.
500         * iconvdata/iso8859-10.c: Likewise.
501         * iconvdata/iso8859-10.h: Likewise.
502         * iconvdata/iso8859-2.c: Likewise.
503         * iconvdata/iso8859-2.h: Likewise.
504         * iconvdata/iso8859-3.c: Likewise.
505         * iconvdata/iso8859-3.h: Likewise.
506         * iconvdata/iso8859-4.c: Likewise.
507         * iconvdata/iso8859-4.h: Likewise.
508         * iconvdata/iso8859-5.c: Likewise.
509         * iconvdata/iso8859-5.h: Likewise.
510         * iconvdata/iso8859-6.c: Likewise.
511         * iconvdata/iso8859-6.h: Likewise.
512         * iconvdata/iso8859-7.c: Likewise.
513         * iconvdata/iso8859-7.h: Likewise.
514         * iconvdata/iso8859-8.c: Likewise.
515         * iconvdata/iso8859-8.h: Likewise.
516         * iconvdata/iso8859-9.c: Likewise.
517         * iconvdata/iso8859-9.h: Likewise.
518         * iconvdata/iso8859-generic.c: Likewise.
519         * iconvdata/t61.c: Likewise.
520
521         * string/Makefile (routines): Add strcasestr.
522         * string/string.h: Add prototype for strcasestr.
523         * sysdeps/generic/strcasestr.c: New file.
524         * wcsmbs/mbrtowc.c: Simplify special case a bit.
525         * wcsmbs/wcrtomb.c: Likewise.
526         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
527         * wcsmbs/wcsnrtombs.c: Likewise.
528         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
529         partial character is read.
530         * wcsmbs/wcsrtombs.c: Likewise.
531         * wcsmbs/wmemrtombs.c: Likewise.
532         * wcsmbs/wmemrtowcs.c: Likewise.
533
534         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
535         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
536         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
537         * sysdeps/i386/elf/setjmp.S: Likewise.
538         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
539         <bits/termios.h>.
540
541         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
542         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
543
544         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
545         * sysvipc/sys/ipc.h: Likewise.
546         * sysvipc/sys/msg.h: Likewise.
547         * sysvipc/sys/sem.h: Likewise.
548         * sysvipc/sys/shm.h: Likewise.
549
550         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
551         used directly.
552         * sysdeps/alpha/bits/setjmp.h: Likewise.
553         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
554         * sysdeps/arm/bits/endian.h: Likewise.
555         * sysdeps/arm/bits/setjmp.h: Likewise.
556         * sysdeps/generic/bits/byteswap.h: Likewise.
557         * sysdeps/generic/bits/confname.h: Likewise.
558         * sysdeps/generic/bits/dirent.h: Likewise.
559         * sysdeps/generic/bits/dlfcn.h: Likewise.
560         * sysdeps/generic/bits/endian.h: Likewise.
561         * sysdeps/generic/bits/fenv.h: Likewise.
562         * sysdeps/generic/bits/huge_val.h: Likewise.
563         * sysdeps/generic/bits/in.h: Likewise.
564         * sysdeps/generic/bits/ioctl-types.h: Likewise.
565         * sysdeps/generic/bits/ioctls.h: Likewise.
566         * sysdeps/generic/bits/ipc.h: Likewise.
567         * sysdeps/generic/bits/msq.h: Likewise.
568         * sysdeps/generic/bits/poll.h: Likewise.
569         * sysdeps/generic/bits/resource.h: Likewise.
570         * sysdeps/generic/bits/sched.h: Likewise.
571         * sysdeps/generic/bits/sem.h: Likewise.
572         * sysdeps/generic/bits/setjmp.h: Likewise.
573         * sysdeps/generic/bits/shm.h: Likewise.
574         * sysdeps/generic/bits/sigaction.h: Likewise.
575         * sysdeps/generic/bits/sigcontext.h: Likewise.
576         * sysdeps/generic/bits/socket.h: Likewise.
577         * sysdeps/generic/bits/stat.h: Likewise.
578         * sysdeps/generic/bits/statfs.h: Likewise.
579         * sysdeps/generic/bits/stdio_lim.h: Likewise.
580         * sysdeps/generic/bits/termios.h: Likewise.
581         * sysdeps/generic/bits/time.h: Likewise.
582         * sysdeps/generic/bits/uio.h: Likewise.
583         * sysdeps/generic/bits/utmp.h: Likewise.
584         * sysdeps/generic/bits/utmpx.h: Likewise.
585         * sysdeps/generic/bits/utsname.h: Likewise.
586         * sysdeps/generic/bits/waitflags.h: Likewise.
587         * sysdeps/generic/bits/waitstatus.h: Likewise.
588         * sysdeps/gnu/bits/utmp.h: Likewise.
589         * sysdeps/gnu/bits/utmpx.h: Likewise.
590         * sysdeps/i386/bits/byteswap.h: Likewise.
591         * sysdeps/i386/bits/endian.h: Likewise.
592         * sysdeps/i386/bits/huge_val.h: Likewise.
593         * sysdeps/i386/bits/setjmp.h: Likewise.
594         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
595         * sysdeps/ieee754/bits/huge_val.h: Likewise.
596         * sysdeps/m68k/bits/byteswap.h: Likewise.
597         * sysdeps/m68k/bits/endian.h: Likewise.
598         * sysdeps/m68k/bits/setjmp.h: Likewise.
599         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
600         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
601         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
602         * sysdeps/mach/hurd/bits/stat.h: Likewise.
603         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
604         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
605         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
606         * sysdeps/mips/bits/dlfcn.h: Likewise.
607         * sysdeps/mips/bits/endian.h: Likewise.
608         * sysdeps/mips/bits/setjmp.h: Likewise.
609         * sysdeps/mips/dec/bits/endian.h: Likewise.
610         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
611         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
612         * sysdeps/mips/p40/bits/endian.h: Likewise.
613         * sysdeps/powerpc/bits/endian.h: Likewise.
614         * sysdeps/powerpc/bits/fenv.h: Likewise.
615         * sysdeps/powerpc/bits/setjmp.h: Likewise.
616         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
617         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
618         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
619         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
620         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
621         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
622         * sysdeps/unix/bsd/bits/stat.h: Likewise.
623         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
624         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
625         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
626         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
627         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
628         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
629         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
630         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
631         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
632         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
633         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
634         * sysdeps/unix/common/bits/dirent.h: Likewise.
635         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
636         * sysdeps/unix/sysv/bits/stat.h: Likewise.
637         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
638         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
639         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
640         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
641         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
642         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
643         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
644         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
645         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
646         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
647         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
648         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
649         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
650         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
651         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
652         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
653         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
654         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
655         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
656         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
657         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
658         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
659         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
660         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
661         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
662         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
663         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
664         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
665         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
666         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
667         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
668         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
669         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
670         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
671         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
672         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
673         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
674         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
675         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
676         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
677         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
678         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
679         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
680         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
681         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
682         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
683         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
684         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
685         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
686         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
687         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
688         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
689         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
690         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
691         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
692         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
693         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
694         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
695         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
696         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
697         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
698         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
699         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
700         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
701         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
702         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
703         * sysdeps/vax/bits/huge_val.h: Likewise.
704         * sysdeps/vax/bits/setjmp.h: Likewise.
705         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
706         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
707
708 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
709
710         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
711
712 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
713
714         * strftime.c (strftime):
715         No longer any need to undef or declare if emacs is defined.
716         (my_strftime): When checking a -1 returned by mktime, don't blow up
717         if localtime_r returns NULL.
718
719 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
720
721         * README.template: Fix spelling.
722
723 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
724
725         * configure.in: Enhance --enable-add-ons description a wee bit.
726
727 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
728
729         * glibcbug.in: Add more information of build environment and flags.
730
731 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
732
733         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
734         it into ENOENT.
735
736 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
737
738         * elf/dl-support.c: Call __libc_init_secure to make sure
739         __libc_enable_secure is defined early.
740         * sysdeps/generic/enbl-secure.c: Change function name to
741         __libc_init_secure and make it global instead of a constructor.
742
743         * iconv/gconv.c: Fix lots of bugs.
744         * iconv/gconv.h: Likewise.
745         * iconv/gconv_builtin.h: Likewise.
746         * iconv/gconv_close.c: Likewise.
747         * iconv/gconv_conf.c: Likewise.
748         * iconv/gconv_db.c: Likewise.
749         * iconv/gconv_dl.c: Likewise.
750         * iconv/gconv_open.c: Likewise.
751         * iconv/gconv_simple.c: Likewise.
752         * iconv/iconv.c: Likewise.
753         * iconv/iconv_close.c: Likewise.
754         * iconv/iconv_open.c: Likewise.
755
756         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
757         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
758         * wcsmbs/wmemrtombs.c: New file.
759         * wcsmbs/wmemrtowcs.c: New file.
760
761 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
762
763         * iconv/gconv_simple.c: Fix lots of bugs.
764         * iconv/iconv_open.c: Normalize names before passing them to
765         __gconv_open.
766
767         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
768
769         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
770         * stdio-common/test-popen.c: Add test for above change.
771
772         * math/libm-test.c: Print test results also using %a format,
773         specified in PRINTF_XEXPR macro.
774         * math/test-double.c: Define PRINTF_XEXPR.
775         * math/test-float.c: Likewise.
776         * math/test-ldouble.c: Likewise.
777         * math/test-idouble.c: Likewise.
778         * math/test-ifloat.c: Likewise.
779         * math/test-ildoubl.c: Likewise.
780
781         * stdio-common/vfscanf.c: Recognize a in format specifier only as
782         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
783         FP number format.
784
785         * stdlib/strtod.c: Little code cleanup.
786
787         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
788         compiling in math subdir.
789
790         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
791         instead of __LIBC_M81_MATH_INLINES.
792         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
793         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
794         * sysdeps/m68k/fpu/e_pow.c: Likewise.
795         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
796         * sysdeps/m68k/fpu/k_cos.c: Likewise.
797         * sysdeps/m68k/fpu/k_sin.c: Likewise.
798         * sysdeps/m68k/fpu/k_tan.c: Likewise.
799         * sysdeps/m68k/fpu/s_atan.c: Likewise.
800         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
801         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
802         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
803         * sysdeps/m68k/fpu/s_csin.c: Likewise.
804         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
805         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
806         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
807         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
808         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
809         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
810         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
811         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
812         * sysdeps/m68k/fpu/s_modf.c: Likewise.
813         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
814         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
815         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
816         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
817         __LIBC_INTERNAL_MATH_INLINES is defined.
818
819         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
820         of compare macros from ISO C 9X.  Optimize generic versions a bit.
821         Define __signbit inline functions and __ieee754_sqrt which can be
822         used if the ompiler is fixed.
823
824         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
825
826 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
827
828         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
829         sysdeps/generic in the whole dep file, not only in the first line.
830
831 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
832
833         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
834
835 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
836
837         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
838         place.
839
840 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
841
842         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
843         is non-empty.
844
845 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
846
847         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
848         return value.
849
850 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
851
852         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
853         readlink succeeds but the return value is too long.
854
855         * stdio-common/printf_fphex.c: Determine sign of number correctly.
856
857 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
858
859         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
860         __remqu for Alpha.
861
862 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
863
864         * sysdeps/generic/sys/ucontext.h: Stub context file.
865
866         * libio/iofprintf.c: Removed.  We use the stdio-common version.
867
868         * manual/Makefile (distribute): Add stdio-fp.c.
869
870         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
871
872         * db2/Makefile (distribute): Add include/os_func.h, README and
873         mutex/tsl_parisc.s.
874
875         * hesiod/Makefile (distribute): Add README.hesiod.
876
877 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
878
879         * iconv/gconv.c: Correctly call transformation function.
880
881         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
882
883 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
884
885         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
886         wrong results for e.g. remquo (3,2, &x)).
887         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
888         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
889
890 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
891
892         * configure.in (ld --version-script): Test if the same symbol
893         maybe defined in all versions (needed by recent changes to
894         libc.map and supported with binutils 2.8.1.0.17) and issue warning
895         if versioning is not supported/enabled.
896         (bash test): Correct test case.
897
898         * math/libm-test.c: Added counting/reporting of number of test cases.
899
900         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
901         use awk instead.
902
903         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
904
905 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
906
907         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
908
909 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
910
911         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
912         Replace revoke call by use of REVOKE.
913         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
914         empty and #include generic version.
915         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
916
917 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
918
919         * libc.map: Add socket functions with __libc_* names.
920         Reported by Andreas Jaeger.
921
922 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
923
924         * libc.map: Tidy up (remove duplicates, sort entries).
925
926 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
927
928         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
929
930 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
931
932         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
933         again after successful call.
934         Patch by Marc Lehmann <pcg@goof.com>.
935
936 1997-11-17  Paul Eggert  <eggert@twinsun.com>
937
938         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
939         as some hosts need this to declare localtime_r properly.
940
941 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
942
943         * libc.map: Add iconv_open, iconv, and iconv_close.
944
945 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
946
947         * iconv/Makefile: New file.
948         * iconv/gconv.c: New file.
949         * iconv/gconv.h: New file.
950         * iconv/gconv_builtin.c: New file.
951         * iconv/gconv_builtin.h: New file.
952         * iconv/gconv_close.c: New file.
953         * iconv/gconv_conf.c: New file.
954         * iconv/gconv_db.c: New file.
955         * iconv/gconv_dl.c: New file.
956         * iconv/gconv_open.c: New file.
957         * iconv/gconv_simple.c: New file.
958         * iconv/iconv.c: New file.
959         * iconv/iconv.h: New file.
960         * iconv/iconv_close.c: New file.
961         * iconv/iconv_open.c: New file.
962         * include/gconv.h: New file.
963
964         * Makeconfig: Define gconvdir.
965         * Makefile (subdirs): Add iconv.
966
967         * string/bits/string2.h: Add optimization for strtok_r.
968
969         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
970         for NULL.
971         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
972         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
973
974         * configure.in: Correct test for bash2.
975         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
976
977         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
978         (CFLAGS-locfile.c): Likewise.
979         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
980
981         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
982         non-existing entry if the table is full.
983
984         * posix/regex.h: Pretty print.
985
986         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
987
988         * sysdeps/posix/ctermid.c: Simplify a bit.
989
990         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
991
992 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
993
994         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
995         <sys/types.h> instead of <asm/types.h>.
996
997 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
998
999         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
1000
1001 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
1002
1003         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
1004         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
1005         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
1006         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
1007         fclose): Added to GLIBC_2.1.
1008
1009         * libio/Makefile (routines, shared-only-routines): Add
1010         oldiofclose.  Remove oldfreopen.
1011
1012         * libio/freopen.c (freopen): When PIC is defined, call
1013         _IO_old_freopen () for old stdio.
1014
1015         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
1016         (_IO_fclose, fclose): Use _IO_new_fclose as default version
1017         for GLIBC_2.1.
1018
1019         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
1020         instead of _IO_file_close_it.
1021
1022         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
1023         to _IO_2_1_stdxxx_.
1024         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
1025         is defined.
1026
1027         * libio/libioP.h (_IO_old_do_flush): New.
1028
1029         * libio/oldfileops.c (_IO_old_file_close_it,
1030         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
1031         Call _IO_old_do_flush () instead of _IO_do_flush ().
1032         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
1033         _IO_do_write ().
1034
1035         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
1036         instead of _IO_file_init ().
1037         Bind old symbols to version GLIBC_2.0.
1038
1039         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
1040         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
1041         _IO_stdxxx_.
1042         (_IO_check_libio): New function in .init.
1043
1044         * libio/oldiofclose.c: New file.
1045
1046         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
1047         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
1048         (DEF_STDFILE): Don't use default_symbol_version.
1049
1050         * libio/stdio.c (stdin, stdout, stderr): Set to
1051         _IO_2_1_stdxxx_._
1052         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
1053         stdxxx.
1054
1055         * csu/Makefile (distribute): Add init.c.
1056         (extra-objs): Add init.o for ELF.
1057         (start-installed-name): Add $(objpfx)init.o.
1058
1059         * csu/init.c: New file.
1060
1061 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
1062
1063         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
1064         definition as the default.
1065
1066 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
1067
1068         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
1069
1070 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1071
1072         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
1073         (PR 351).
1074
1075 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
1076
1077         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
1078         to preserve condition codes on function call.
1079
1080 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1081
1082         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
1083
1084 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1085
1086         * math/libm-test.c (asin_test): Add epsilon for float.
1087         (tan_test): Add epsilon for float.
1088         (log1p_test): Add epsilon for float.
1089         (inverse_functions): Add epsilons.
1090
1091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
1092         net/if_packet.h.
1093
1094         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
1095
1096 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1097
1098         * md5-crypt/Makefile (extra-objs): Make recursively expanded
1099         variable, since $(object-suffixes) is not defined yet.
1100
1101 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1102
1103         * db2/Makefile (distribute): db185/db185_int.src ->
1104         db185/db185_int.h.
1105
1106 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1107
1108         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
1109         exactly one.
1110
1111 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1112
1113         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
1114         name.
1115         * sysdeps/generic/e_acosl.c: Likewise.
1116         * sysdeps/generic/e_asinl.c: Likewise.
1117         * sysdeps/generic/e_atan2l.c: Likewise.
1118         * sysdeps/generic/e_expl.c: Likewise.
1119         * sysdeps/generic/e_fmodl.c: Likewise.
1120         * sysdeps/generic/e_j0l.c: Likewise.
1121         * sysdeps/generic/e_j1l.c: Likewise.
1122         * sysdeps/generic/e_jnl.c: Likewise.
1123         * sysdeps/generic/e_lgammal_r.c: Likewise.
1124         * sysdeps/generic/e_log10l.c: Likewise.
1125         * sysdeps/generic/e_logl.c: Likewise.
1126         * sysdeps/generic/e_powl.c: Likewise.
1127         * sysdeps/generic/e_sqrtl.c: Likewise.
1128         * sysdeps/generic/e_exp2l.c: Likewise.
1129
1130 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1131
1132         * Make-dist (+sysdep-names): Remove extra paren.
1133         * Makefile (distribute): Add stub-tag.h.
1134         * elf/Makefile (distribute): Add atomicity.h.
1135         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
1136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1137         [$(subdir)=socket]: Add net/if_packet.h.
1138         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
1139         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
1140         net/if_packet.h, scsi/sg.h.
1141
1142 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1143
1144         * Makefile (install): Quote $(CC) expansion.
1145
1146 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1147
1148         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
1149         working /proc cwd and no restrictions on path length.  Following
1150         some ideas from Andi Kleen <ak@muc.de> (PR 350).
1151
1152 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1153
1154         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
1155         * nis/nss_compat/compat-pwd.c: Likewise.
1156         * nis/nss_compat/compat-spwd.c: Likewise.
1157
1158 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
1159
1160         * sysdeps/libm-i387/s_fdim.S: New file.
1161         * sysdeps/libm-i387/s_fdimf.S: New file.
1162         * sysdeps/libm-i387/s_fdiml.S: New file.
1163         * sysdeps/libm-i387/i686/s_fdim.S: New file.
1164         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
1165         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
1166
1167 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1168
1169         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
1170         pointer to unsigned char.
1171
1172 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1173
1174         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
1175
1176         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
1177
1178         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
1179
1180 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1181
1182         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
1183         ilogb(0/NaN).
1184         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
1185         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
1186
1187 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
1188
1189         * sysdeps/libm-i387/s_fmin.S: New file.
1190         * sysdeps/libm-i387/s_fminf.S: New file.
1191         * sysdeps/libm-i387/s_fminl.S: New file.
1192         * sysdeps/libm-i387/s_fmax.S: New file.
1193         * sysdeps/libm-i387/s_fmaxf.S: New file.
1194         * sysdeps/libm-i387/s_fmaxl.S: New file.
1195         * sysdeps/libm-i387/i686/s_fmin.S: New file.
1196         * sysdeps/libm-i387/i686/s_fminf.S: New file.
1197         * sysdeps/libm-i387/i686/s_fminl.S: New file.
1198         * sysdeps/libm-i387/i686/s_fmax.S: New file.
1199         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
1200         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
1201
1202 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
1203
1204         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
1205         * sysdeps/unix/sysv/linux/send.S: Likewise.
1206         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1207         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1208         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1209         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1210         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1211         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1212         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
1213
1214 See ChangeLog.7 for earlier changes.