Update.
[glibc/history.git] / ChangeLog
blobe512253cb5696c5932cf016b7e6f936c1a1ba546
1 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
3         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
4         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
6         * iconv/gconv_close.c: Correct freeing of descriptor data.
7         * iconv/gconv_simple.c: Return correct error values for illegal or
8         incomplete characters.
10         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11         development.
12         * iconvdata/Makefile: New file.
13         * iconvdata/configure: Likewise.
14         * iconvdata/extra-module.mk: Likewise.
15         * iconvdata/gconv-modules: Likewise.
16         * iconvdata/iso6937.c: Likewise.
17         * iconvdata/iso8859-1.c: Likewise.
18         * iconvdata/iso8859-10.c: Likewise.
19         * iconvdata/iso8859-10.h: Likewise.
20         * iconvdata/iso8859-2.c: Likewise.
21         * iconvdata/iso8859-2.h: Likewise.
22         * iconvdata/iso8859-3.c: Likewise.
23         * iconvdata/iso8859-3.h: Likewise.
24         * iconvdata/iso8859-4.c: Likewise.
25         * iconvdata/iso8859-4.h: Likewise.
26         * iconvdata/iso8859-5.c: Likewise.
27         * iconvdata/iso8859-5.h: Likewise.
28         * iconvdata/iso8859-6.c: Likewise.
29         * iconvdata/iso8859-6.h: Likewise.
30         * iconvdata/iso8859-7.c: Likewise.
31         * iconvdata/iso8859-7.h: Likewise.
32         * iconvdata/iso8859-8.c: Likewise.
33         * iconvdata/iso8859-8.h: Likewise.
34         * iconvdata/iso8859-9.c: Likewise.
35         * iconvdata/iso8859-9.h: Likewise.
36         * iconvdata/iso8859-generic.c: Likewise.
37         * iconvdata/t61.c: Likewise.
39         * string/Makefile (routines): Add strcasestr.
40         * string/string.h: Add prototype for strcasestr.
41         * sysdeps/generic/strcasestr.c: New file.
42         * wcsmbs/mbrtowc.c: Simplify special case a bit.
43         * wcsmbs/wcrtomb.c: Likewise.
44         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
45         * wcsmbs/wcsnrtombs.c: Likewise.
46         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
47         partial character is read.
48         * wcsmbs/wcsrtombs.c: Likewise.
49         * wcsmbs/wmemrtombs.c: Likewise.
50         * wcsmbs/wmemrtowcs.c: Likewise.
52         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
53         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
54         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
55         * sysdeps/i386/elf/setjmp.S: Likewise.
56         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
57         <bits/termios.h>.
59         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
60         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
62         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
63         * sysvipc/sys/ipc.h: Likewise.
64         * sysvipc/sys/msg.h: Likewise.
65         * sysvipc/sys/sem.h: Likewise.
66         * sysvipc/sys/shm.h: Likewise.
68         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
69         used directly.
70         * sysdeps/alpha/bits/setjmp.h: Likewise.
71         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
72         * sysdeps/arm/bits/endian.h: Likewise.
73         * sysdeps/arm/bits/setjmp.h: Likewise.
74         * sysdeps/generic/bits/byteswap.h: Likewise.
75         * sysdeps/generic/bits/confname.h: Likewise.
76         * sysdeps/generic/bits/dirent.h: Likewise.
77         * sysdeps/generic/bits/dlfcn.h: Likewise.
78         * sysdeps/generic/bits/endian.h: Likewise.
79         * sysdeps/generic/bits/fenv.h: Likewise.
80         * sysdeps/generic/bits/huge_val.h: Likewise.
81         * sysdeps/generic/bits/in.h: Likewise.
82         * sysdeps/generic/bits/ioctl-types.h: Likewise.
83         * sysdeps/generic/bits/ioctls.h: Likewise.
84         * sysdeps/generic/bits/ipc.h: Likewise.
85         * sysdeps/generic/bits/msq.h: Likewise.
86         * sysdeps/generic/bits/poll.h: Likewise.
87         * sysdeps/generic/bits/resource.h: Likewise.
88         * sysdeps/generic/bits/sched.h: Likewise.
89         * sysdeps/generic/bits/sem.h: Likewise.
90         * sysdeps/generic/bits/setjmp.h: Likewise.
91         * sysdeps/generic/bits/shm.h: Likewise.
92         * sysdeps/generic/bits/sigaction.h: Likewise.
93         * sysdeps/generic/bits/sigcontext.h: Likewise.
94         * sysdeps/generic/bits/socket.h: Likewise.
95         * sysdeps/generic/bits/stat.h: Likewise.
96         * sysdeps/generic/bits/statfs.h: Likewise.
97         * sysdeps/generic/bits/stdio_lim.h: Likewise.
98         * sysdeps/generic/bits/termios.h: Likewise.
99         * sysdeps/generic/bits/time.h: Likewise.
100         * sysdeps/generic/bits/uio.h: Likewise.
101         * sysdeps/generic/bits/utmp.h: Likewise.
102         * sysdeps/generic/bits/utmpx.h: Likewise.
103         * sysdeps/generic/bits/utsname.h: Likewise.
104         * sysdeps/generic/bits/waitflags.h: Likewise.
105         * sysdeps/generic/bits/waitstatus.h: Likewise.
106         * sysdeps/gnu/bits/utmp.h: Likewise.
107         * sysdeps/gnu/bits/utmpx.h: Likewise.
108         * sysdeps/i386/bits/byteswap.h: Likewise.
109         * sysdeps/i386/bits/endian.h: Likewise.
110         * sysdeps/i386/bits/huge_val.h: Likewise.
111         * sysdeps/i386/bits/setjmp.h: Likewise.
112         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
113         * sysdeps/ieee754/bits/huge_val.h: Likewise.
114         * sysdeps/m68k/bits/byteswap.h: Likewise.
115         * sysdeps/m68k/bits/endian.h: Likewise.
116         * sysdeps/m68k/bits/setjmp.h: Likewise.
117         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
118         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
119         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
120         * sysdeps/mach/hurd/bits/stat.h: Likewise.
121         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
122         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
123         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
124         * sysdeps/mips/bits/dlfcn.h: Likewise.
125         * sysdeps/mips/bits/endian.h: Likewise.
126         * sysdeps/mips/bits/setjmp.h: Likewise.
127         * sysdeps/mips/dec/bits/endian.h: Likewise.
128         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
129         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
130         * sysdeps/mips/p40/bits/endian.h: Likewise.
131         * sysdeps/powerpc/bits/endian.h: Likewise.
132         * sysdeps/powerpc/bits/fenv.h: Likewise.
133         * sysdeps/powerpc/bits/setjmp.h: Likewise.
134         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
135         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
136         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
137         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
138         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
139         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
140         * sysdeps/unix/bsd/bits/stat.h: Likewise.
141         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
142         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
143         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
144         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
145         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
146         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
147         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
148         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
149         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
150         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
151         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
152         * sysdeps/unix/common/bits/dirent.h: Likewise.
153         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
154         * sysdeps/unix/sysv/bits/stat.h: Likewise.
155         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
156         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
157         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
158         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
159         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
160         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
161         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
162         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
163         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
164         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
165         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
166         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
167         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
168         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
169         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
170         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
171         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
172         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
173         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
174         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
175         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
176         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
177         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
178         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
179         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
180         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
181         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
182         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
183         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
184         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
185         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
186         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
187         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
188         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
189         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
190         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
191         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
192         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
193         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
194         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
195         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
196         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
197         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
198         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
199         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
200         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
201         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
202         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
203         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
204         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
205         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
206         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
207         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
208         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
209         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
210         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
211         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
212         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
213         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
214         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
215         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
216         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
217         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
218         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
219         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
220         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
221         * sysdeps/vax/bits/huge_val.h: Likewise.
222         * sysdeps/vax/bits/setjmp.h: Likewise.
223         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
224         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
226 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
228         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist
230 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
232         * strftime.c (strftime):
233         No longer any need to undef or declare if emacs is defined.
234         (my_strftime): When checking a -1 returned by mktime, don't blow up
235         if localtime_r returns NULL.
237 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
239         * README.template: Fix spelling.
241 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
243         * configure.in: Enhance --enable-add-ons description a wee bit.
245 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
247         * glibcbug.in: Add more information of build environment and flags.
249 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
251         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
252         it into ENOENT.
254 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
256         * elf/dl-support.c: Call __libc_init_secure to make sure
257         __libc_enable_secure is defined early.
258         * sysdeps/generic/enbl-secure.c: Change function name to
259         __libc_init_secure and make it global instead of a constructor.
261         * iconv/gconv.c: Fix lots of bugs.
262         * iconv/gconv.h: Likewise.
263         * iconv/gconv_builtin.h: Likewise.
264         * iconv/gconv_close.c: Likewise.
265         * iconv/gconv_conf.c: Likewise.
266         * iconv/gconv_db.c: Likewise.
267         * iconv/gconv_dl.c: Likewise.
268         * iconv/gconv_open.c: Likewise.
269         * iconv/gconv_simple.c: Likewise.
270         * iconv/iconv.c: Likewise.
271         * iconv/iconv_close.c: Likewise.
272         * iconv/iconv_open.c: Likewise.
274         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
275         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
276         * wcsmbs/wmemrtombs.c: New file.
277         * wcsmbs/wmemrtowcs.c: New file.
279 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
281         * iconv/gconv_simple.c: Fix lots of bugs.
282         * iconv/iconv_open.c: Normalize names before passing them to
283         __gconv_open.
285         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
287         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
288         * stdio-common/test-popen.c: Add test for above change.
290         * math/libm-test.c: Print test results also using %a format,
291         specified in PRINTF_XEXPR macro.
292         * math/test-double.c: Define PRINTF_XEXPR.
293         * math/test-float.c: Likewise.
294         * math/test-ldouble.c: Likewise.
295         * math/test-idouble.c: Likewise.
296         * math/test-ifloat.c: Likewise.
297         * math/test-ildoubl.c: Likewise.
299         * stdio-common/vfscanf.c: Recognize a in format specifier only as
300         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
301         FP number format.
303         * stdlib/strtod.c: Little code cleanup.
305         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
306         compiling in math subdir.
308         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
309         instead of __LIBC_M81_MATH_INLINES.
310         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
311         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
312         * sysdeps/m68k/fpu/e_pow.c: Likewise.
313         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
314         * sysdeps/m68k/fpu/k_cos.c: Likewise.
315         * sysdeps/m68k/fpu/k_sin.c: Likewise.
316         * sysdeps/m68k/fpu/k_tan.c: Likewise.
317         * sysdeps/m68k/fpu/s_atan.c: Likewise.
318         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
319         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
320         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
321         * sysdeps/m68k/fpu/s_csin.c: Likewise.
322         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
323         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
324         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
325         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
326         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
327         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
328         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
329         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
330         * sysdeps/m68k/fpu/s_modf.c: Likewise.
331         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
332         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
333         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
334         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
335         __LIBC_INTERNAL_MATH_INLINES is defined.
337         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
338         of compare macros from ISO C 9X.  Optimize generic versions a bit.
339         Define __signbit inline functions and __ieee754_sqrt which can be
340         used if the ompiler is fixed.
342         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
344 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
346         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
347         sysdeps/generic in the whole dep file, not only in the first line.
349 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
351         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
353 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
355         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
356         place.
358 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
360         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
361         is non-empty.
363 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
365         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
366         return value.
368 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
370         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
371         readlink succeeds but the return value is too long.
373         * stdio-common/printf_fphex.c: Determine sign of number correctly.
375 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
377         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
378         __remqu for Alpha.
380 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
382         * sysdeps/generic/sys/ucontext.h: Stub context file.
384         * libio/iofprintf.c: Removed.  We use the stdio-common version.
386         * manual/Makefile (distribute): Add stdio-fp.c.
388         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
390         * db2/Makefile (distribute): Add include/os_func.h, README and
391         mutex/tsl_parisc.s.
393         * hesiod/Makefile (distribute): Add README.hesiod.
395 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
397         * iconv/gconv.c: Correctly call transformation function.
399         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
401 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
403         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
404         wrong results for e.g. remquo (3,2, &x)).
405         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
406         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
408 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
410         * configure.in (ld --version-script): Test if the same symbol
411         maybe defined in all versions (needed by recent changes to
412         libc.map and supported with binutils 2.8.1.0.17) and issue warning
413         if versioning is not supported/enabled.
414         (bash test): Correct test case.
416         * math/libm-test.c: Added counting/reporting of number of test cases.
418         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
419         use awk instead.
421         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
423 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
425         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
427 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
429         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
430         Replace revoke call by use of REVOKE.
431         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
432         empty and #include generic version.
433         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
435 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
437         * libc.map: Add socket functions with __libc_* names.
438         Reported by Andreas Jaeger.
440 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
442         * libc.map: Tidy up (remove duplicates, sort entries).
444 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
446         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
448 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
450         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
451         again after successful call.
452         Patch by Marc Lehmann <pcg@goof.com>.
454 1997-11-17  Paul Eggert  <eggert@twinsun.com>
456         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
457         as some hosts need this to declare localtime_r properly.
459 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
461         * libc.map: Add iconv_open, iconv, and iconv_close.
463 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
465         * iconv/Makefile: New file.
466         * iconv/gconv.c: New file.
467         * iconv/gconv.h: New file.
468         * iconv/gconv_builtin.c: New file.
469         * iconv/gconv_builtin.h: New file.
470         * iconv/gconv_close.c: New file.
471         * iconv/gconv_conf.c: New file.
472         * iconv/gconv_db.c: New file.
473         * iconv/gconv_dl.c: New file.
474         * iconv/gconv_open.c: New file.
475         * iconv/gconv_simple.c: New file.
476         * iconv/iconv.c: New file.
477         * iconv/iconv.h: New file.
478         * iconv/iconv_close.c: New file.
479         * iconv/iconv_open.c: New file.
480         * include/gconv.h: New file.
482         * Makeconfig: Define gconvdir.
483         * Makefile (subdirs): Add iconv.
485         * string/bits/string2.h: Add optimization for strtok_r.
487         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
488         for NULL.
489         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
490         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
492         * configure.in: Correct test for bash2.
493         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
495         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
496         (CFLAGS-locfile.c): Likewise.
497         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
499         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
500         non-existing entry if the table is full.
502         * posix/regex.h: Pretty print.
504         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
506         * sysdeps/posix/ctermid.c: Simplify a bit.
508         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
510 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
512         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
513         <sys/types.h> instead of <asm/types.h>.
515 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
517         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
519 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
521         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
522         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
523         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
524         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
525         fclose): Added to GLIBC_2.1.
527         * libio/Makefile (routines, shared-only-routines): Add
528         oldiofclose.  Remove oldfreopen.
530         * libio/freopen.c (freopen): When PIC is defined, call
531         _IO_old_freopen () for old stdio.
533         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
534         (_IO_fclose, fclose): Use _IO_new_fclose as default version
535         for GLIBC_2.1.
537         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
538         instead of _IO_file_close_it.
540         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
541         to _IO_2_1_stdxxx_.
542         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
543         is defined.
545         * libio/libioP.h (_IO_old_do_flush): New.
547         * libio/oldfileops.c (_IO_old_file_close_it,
548         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
549         Call _IO_old_do_flush () instead of _IO_do_flush ().
550         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
551         _IO_do_write ().
553         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
554         instead of _IO_file_init ().
555         Bind old symbols to version GLIBC_2.0.
557         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
558         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
559         _IO_stdxxx_.
560         (_IO_check_libio): New function in .init.
562         * libio/oldiofclose.c: New file.
564         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
565         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
566         (DEF_STDFILE): Don't use default_symbol_version.
568         * libio/stdio.c (stdin, stdout, stderr): Set to
569         _IO_2_1_stdxxx_._
570         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
571         stdxxx.
573         * csu/Makefile (distribute): Add init.c.
574         (extra-objs): Add init.o for ELF.
575         (start-installed-name): Add $(objpfx)init.o.
577         * csu/init.c: New file.
579 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
581         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
582         definition as the default.
584 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
586         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
588 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
590         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
591         (PR 351).
593 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
595         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
596         to preserve condition codes on function call.
598 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
600         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
602 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
604         * math/libm-test.c (asin_test): Add epsilon for float.
605         (tan_test): Add epsilon for float.
606         (log1p_test): Add epsilon for float.
607         (inverse_functions): Add epsilons.
609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
610         net/if_packet.h.
612         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
614 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
616         * md5-crypt/Makefile (extra-objs): Make recursively expanded
617         variable, since $(object-suffixes) is not defined yet.
619 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
621         * db2/Makefile (distribute): db185/db185_int.src ->
622         db185/db185_int.h.
624 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
626         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
627         exactly one.
629 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
631         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
632         name.
633         * sysdeps/generic/e_acosl.c: Likewise.
634         * sysdeps/generic/e_asinl.c: Likewise.
635         * sysdeps/generic/e_atan2l.c: Likewise.
636         * sysdeps/generic/e_expl.c: Likewise.
637         * sysdeps/generic/e_fmodl.c: Likewise.
638         * sysdeps/generic/e_j0l.c: Likewise.
639         * sysdeps/generic/e_j1l.c: Likewise.
640         * sysdeps/generic/e_jnl.c: Likewise.
641         * sysdeps/generic/e_lgammal_r.c: Likewise.
642         * sysdeps/generic/e_log10l.c: Likewise.
643         * sysdeps/generic/e_logl.c: Likewise.
644         * sysdeps/generic/e_powl.c: Likewise.
645         * sysdeps/generic/e_sqrtl.c: Likewise.
646         * sysdeps/generic/e_exp2l.c: Likewise.
648 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
650         * Make-dist (+sysdep-names): Remove extra paren.
651         * Makefile (distribute): Add stub-tag.h.
652         * elf/Makefile (distribute): Add atomicity.h.
653         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
655         [$(subdir)=socket]: Add net/if_packet.h.
656         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
657         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
658         net/if_packet.h, scsi/sg.h.
660 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
662         * Makefile (install): Quote $(CC) expansion.
664 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
666         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
667         working /proc cwd and no restrictions on path length.  Following
668         some ideas from Andi Kleen <ak@muc.de> (PR 350).
670 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
672         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
673         * nis/nss_compat/compat-pwd.c: Likewise.
674         * nis/nss_compat/compat-spwd.c: Likewise.
676 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
678         * sysdeps/libm-i387/s_fdim.S: New file.
679         * sysdeps/libm-i387/s_fdimf.S: New file.
680         * sysdeps/libm-i387/s_fdiml.S: New file.
681         * sysdeps/libm-i387/i686/s_fdim.S: New file.
682         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
683         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
685 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
687         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
688         pointer to unsigned char.
690 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
692         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
694         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
696         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
698 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
700         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
701         ilogb(0/NaN).
702         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
703         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
705 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
707         * sysdeps/libm-i387/s_fmin.S: New file.
708         * sysdeps/libm-i387/s_fminf.S: New file.
709         * sysdeps/libm-i387/s_fminl.S: New file.
710         * sysdeps/libm-i387/s_fmax.S: New file.
711         * sysdeps/libm-i387/s_fmaxf.S: New file.
712         * sysdeps/libm-i387/s_fmaxl.S: New file.
713         * sysdeps/libm-i387/i686/s_fmin.S: New file.
714         * sysdeps/libm-i387/i686/s_fminf.S: New file.
715         * sysdeps/libm-i387/i686/s_fminl.S: New file.
716         * sysdeps/libm-i387/i686/s_fmax.S: New file.
717         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
718         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
720 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
722         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
723         * sysdeps/unix/sysv/linux/send.S: Likewise.
724         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
725         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
726         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
727         * sysdeps/unix/sysv/linux/recv.S: Likewise.
728         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
729         * sysdeps/unix/sysv/linux/connect.S: Likewise.
730         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
732 See ChangeLog.7 for earlier changes.