1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
[glibc/pb-stable.git] / ChangeLog
blobe127e82442b1a8d4ed24c168cca55d0c875777e6
1 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
4         bill@taniwha.org [PR libc/1211].
6 1999-07-19  Andreas Schwab  <schwab@suse.de>
8         * libio/Makefile (routines): Add fwprintf.
10         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
11         * math/w_sqrt.c: Moved to ...
12         * sysdeps/generic/w_sqrt.c: ... here.
13         * math/w_sqrtf.c: Moved to ...
14         * sysdeps/generic/w_sqrtf.c: ... here.
16         * Make-dist (generic-dirs): New variable.
17         (try-sysdeps, +sysdep-names): Use it.
18         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
19         instead of $(lib)-routines.
20         * elf/Makefile (distribute): Add dl-cache.h.
21         * db2/Makefile (distribute): Add all new files.
22         * iconvdata/Makefile (distribute): Don't distribute CVS
23         directory.
24         * math/Makefile (distribute): Remove machine/endian.h, add
25         math_ldbl.h.
26         * stdio-common/Makefile (distribute): Add _itowa.h.
27         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
28         * sysdeps/gnu/Dist: Add eval.c
29         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
30         dlfcn]: Add to this instead of libdl-routines.
31         * sysdeps/ieee754/ldbl-128/Dist: New file.
32         * sysdeps/mach/hurd/Dist: Add siglist.h
33         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
35 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
37         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
39         * inet/Makefile (routines): Add getipnodebyad and freehostent.
40         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
41         * inet/freehostent.c: New file.
42         * inet/getipnodebyad.c: New file.
43         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
44         and getipnodebyname.  The latter comes soon.
45         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
46         Add support for getipnode* functions.
48         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
49         Set h_aliases to NULL and not to a pointer to an array with a NULL
50         pointer following XNS 5.2.
52         * posix/sched.h: Remove internal interfaces.
53         * include/sched.h: Add internal interfaces.
55         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
57         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
59         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
60         and return an error in this case.
61         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
62         available.
64 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
66         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
67         1999-07-17 and adjust len parameter.
68         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
69         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
70         * manual/socket.texi (Host Names): Likewise.
71         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
72         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
73         Likewise.
74         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
75         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
76         (ht_gethostbyaddr): Likewise.
77         (_gethtbyaddr): Likewise.
79 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
81         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
82         gethostbyaddr_r.
83         * include/netdb.h: Likewise.
84         * inet/gethstbyad.c: Correct type of len parameter.
85         * inet/gethstbyad_r.c: Likewise.
87         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
89 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
91         * include/libc-symbol.h: Clean up definitions of weak_alias,
92         strong_alias, symbol_version, etc. etc.
93         * posix/getopt.h: Use ctype.h to get features.h included, and don't
94         include it at all if __GNU_LIBRARY__ is already defined.
96 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
98         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
100         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
102         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
103         type for tv_usec element.
104         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
105         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
106         * sysdeps/generic/bits/time.h: Likewise.
107         * sysdeps/mach/hurd/bits/time.h: Likewise.
108         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
109         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
110         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
111         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
112         * sysdeps/generic/bits/types.h: Likewise.
113         * posix/sys/types.h: Define suseconds_t for X/Open.
115 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
117         * stdio-common/bug1.c: Avoid memory leak.
119         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
120         program deterministic.
121         * sysdeps/i386/fpu/e_powf.S: Likewise.
122         * sysdeps/i386/fpu/e_powl.S: Likewise.
124 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
126         * math/Makefile: Add t_sincosl and k_sincosl support routines.
127         * math/math_private.h (__kernel_sincosl): New declaration.
128         * sysdeps/generic/t_sincosl.c: New file.
129         * sysdeps/generic/k_sincosl.c: New file.
130         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
131         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
132         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
133         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
134         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
135         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
136         __kernel_sincosl.
137         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
138         definition.
140 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
142         * posix/unistd.h: Use __PMT for exit.
144 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
146         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
147         _outw, _outl): Added to GLIBC_2.1.2.
149 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
151         * posix/fnmatch.h: Use __name instead of __string in prototype to
152         allow use outside glibc.
154 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
156         * time/tst-strptime.c (main): Add one more test case.  Produce
157         output even when result is ok.
159         * time/strptime.c (get_number): Handle number parsing more
160         consistent with strftime.  Only parse a given number of digits.
161         (get_alt_number):  Fix implementation.  Was broken.
162         (strptime_internal): Add third parameter to get_number and
163         get_alt_number calls.
165 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
167         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
168         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
169         try both 32bit and 64bit dynamic linker.
170         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
171         script on all sparc targets.
173 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
175         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
176         to int.
178 1999-07-13  Andreas Schwab  <schwab@suse.de>
180         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
181         inlining.  Fixes PR libc/1198.
183 1999-07-14  Andreas Schwab  <schwab@suse.de>
185         * Makerules (common-generated): Don't prepend $(common-objpfx).
187 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
189         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
190         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
191         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
192         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
193         macro.
194         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
195         instead of ieee754.
196         * sysdeps/arm/Implies: Likewise.
197         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
198         ieee754/ldbl-96 instead of ieee754.
199         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
200         * sysdeps/generic/e_atanhl.c: New file.
201         * sysdeps/generic/e_coshl.c: New file.
202         * sysdeps/generic/e_sinhl.c: New file.
203         * sysdeps/generic/e_gammal_r.c: New file.
204         * sysdeps/generic/e_hypotl.c: New file.
205         * sysdeps/generic/s_cbrtl.c: New file.
206         * sysdeps/generic/s_asinhl.c: New file.
207         * sysdeps/generic/s_tanhl.c: New file.
208         * sysdeps/generic/w_expl.c: New file.
209         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
210         instead of ieee754.
211         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
212         ieee754/ldbl-96 instead of ieee754.
213         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
214         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
215         printf_fphex.
216         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
217         instead of ieee754.
218         * sysdeps/mips/mips64/Implies: Likewise.
219         * sysdeps/powerpc/Implies: Likewise.
220         * sysdeps/sparc/Implies: Remove.
221         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
222         ieee754/dbl-64.
223         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
224         and ieee754/ldbl-128.
226         * sysdeps/sparc/bits/wordsize.h: Remove.
227         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
228         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
229         only for sparc32.
230         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
231         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
232         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
233         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
234         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
235         support.
237         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
238         of carries. Optimize.
240         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
241         * sysdeps/generic/e_exp10.c: ...here.
242         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
243         * sysdeps/generic/e_exp10f.c: ...here.
244         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
245         * sysdeps/generic/e_exp10l.c: ...here.
246         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
247         * sysdeps/generic/e_scalb.c: ...here.
248         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
249         * sysdeps/generic/e_scalbf.c: ...here.
250         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
251         * sysdeps/generic/e_scalbl.c: ...here.
252         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
253         * sysdeps/generic/s_cacos.c: ...here.
254         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
255         * sysdeps/generic/s_cacosf.c: ...here.
256         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
257         * sysdeps/generic/s_cacosh.c: ...here.
258         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
259         * sysdeps/generic/s_cacoshf.c: ...here.
260         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
261         * sysdeps/generic/s_cacoshl.c: ...here.
262         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
263         * sysdeps/generic/s_cacosl.c: ...here.
264         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
265         * sysdeps/generic/s_casin.c: ...here.
266         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
267         * sysdeps/generic/s_casinf.c: ...here.
268         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
269         * sysdeps/generic/s_casinh.c: ...here.
270         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
271         * sysdeps/generic/s_casinhf.c: ...here.
272         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
273         * sysdeps/generic/s_casinhl.c: ...here.
274         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
275         * sysdeps/generic/s_casinl.c: ...here.
276         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
277         * sysdeps/generic/s_catan.c: ...here.
278         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
279         * sysdeps/generic/s_catanf.c: ...here.
280         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
281         * sysdeps/generic/s_catanh.c: ...here.
282         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
283         * sysdeps/generic/s_catanhf.c: ...here.
284         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
285         * sysdeps/generic/s_catanhl.c: ...here.
286         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
287         * sysdeps/generic/s_catanl.c: ...here.
288         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
289         * sysdeps/generic/s_ccos.c: ...here.
290         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
291         * sysdeps/generic/s_ccosf.c: ...here.
292         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
293         * sysdeps/generic/s_ccosh.c: ...here.
294         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
295         * sysdeps/generic/s_ccoshf.c: ...here.
296         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
297         * sysdeps/generic/s_ccoshl.c: ...here.
298         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
299         * sysdeps/generic/s_ccosl.c: ...here.
300         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
301         * sysdeps/generic/s_cexp.c: ...here.
302         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
303         * sysdeps/generic/s_cexpf.c: ...here.
304         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
305         * sysdeps/generic/s_cexpl.c: ...here.
306         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
307         * sysdeps/generic/s_clog.c: ...here.
308         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
309         * sysdeps/generic/s_clog10.c: ...here.
310         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
311         * sysdeps/generic/s_clog10f.c: ...here.
312         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
313         * sysdeps/generic/s_clog10l.c: ...here.
314         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
315         * sysdeps/generic/s_clogf.c: ...here.
316         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
317         * sysdeps/generic/s_clogl.c: ...here.
318         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
319         * sysdeps/generic/s_cpow.c: ...here.
320         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
321         * sysdeps/generic/s_cpowf.c: ...here.
322         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
323         * sysdeps/generic/s_cpowl.c: ...here.
324         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
325         * sysdeps/generic/s_cproj.c: ...here.
326         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
327         * sysdeps/generic/s_cprojf.c: ...here.
328         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
329         * sysdeps/generic/s_cprojl.c: ...here.
330         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
331         * sysdeps/generic/s_csin.c: ...here.
332         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
333         * sysdeps/generic/s_csinf.c: ...here.
334         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
335         * sysdeps/generic/s_csinh.c: ...here.
336         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
337         * sysdeps/generic/s_csinhf.c: ...here.
338         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
339         * sysdeps/generic/s_csinhl.c: ...here.
340         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
341         * sysdeps/generic/s_csinl.c: ...here.
342         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
343         * sysdeps/generic/s_csqrt.c: ...here.
344         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
345         * sysdeps/generic/s_csqrtf.c: ...here.
346         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
347         * sysdeps/generic/s_csqrtl.c: ...here.
348         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
349         * sysdeps/generic/s_ctan.c: ...here.
350         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
351         * sysdeps/generic/s_ctanf.c: ...here.
352         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
353         * sysdeps/generic/s_ctanh.c: ...here.
354         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
355         * sysdeps/generic/s_ctanhf.c: ...here.
356         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
357         * sysdeps/generic/s_ctanhl.c: ...here.
358         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
359         * sysdeps/generic/s_ctanl.c: ...here.
360         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
361         * sysdeps/generic/s_fdim.c: ...here.
362         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
363         * sysdeps/generic/s_fdimf.c: ...here.
364         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
365         * sysdeps/generic/s_fdiml.c: ...here.
366         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
367         * sysdeps/generic/s_fma.c: ...here.
368         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
369         * sysdeps/generic/s_fmaf.c: ...here.
370         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
371         * sysdeps/generic/s_fmal.c: ...here.
372         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
373         * sysdeps/generic/s_fmax.c: ...here.
374         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
375         * sysdeps/generic/s_fmaxf.c: ...here.
376         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
377         * sysdeps/generic/s_fmaxl.c: ...here.
378         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
379         * sysdeps/generic/s_fmin.c: ...here.
380         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
381         * sysdeps/generic/s_fminf.c: ...here.
382         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
383         * sysdeps/generic/s_fminl.c: ...here.
384         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
385         * sysdeps/generic/s_ldexp.c: ...here.
386         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
387         * sysdeps/generic/s_ldexpf.c: ...here.
388         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
389         * sysdeps/generic/s_ldexpl.c: ...here.
390         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
391         * sysdeps/generic/s_nan.c: ...here.
392         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
393         * sysdeps/generic/s_nanf.c: ...here.
394         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
395         * sysdeps/generic/s_nanl.c: ...here.
396         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
397         * sysdeps/generic/s_significand.c: ...here.
398         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
399         * sysdeps/generic/s_significandf.c: ...here.
400         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
401         * sysdeps/generic/s_significandl.c: ...here.
402         Avoid conversion from int to double and then to long double.
403         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
404         * math/w_acos.c: ...here.
405         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
406         * math/w_acosf.c: ...here.
407         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
408         * math/w_acosh.c: ...here.
409         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
410         * math/w_acoshf.c: ...here.
411         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
412         * math/w_acoshl.c: ...here.
413         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
414         * math/w_acosl.c: ...here.
415         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
416         * math/w_asin.c: ...here.
417         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
418         * math/w_asinf.c: ...here.
419         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
420         * math/w_asinl.c: ...here.
421         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
422         * math/w_atan2.c: ...here.
423         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
424         * math/w_atan2f.c: ...here.
425         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
426         * math/w_atan2l.c: ...here.
427         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
428         * math/w_atanh.c: ...here.
429         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
430         * math/w_atanhf.c: ...here.
431         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
432         * math/w_atanhl.c: ...here.
433         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
434         * math/w_cosh.c: ...here.
435         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
436         * math/w_coshf.c: ...here.
437         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
438         * math/w_coshl.c: ...here.
439         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
440         * math/w_drem.c: ...here.
441         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
442         * math/w_dremf.c: ...here.
443         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
444         * math/w_dreml.c: ...here.
445         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
446         * math/w_exp10.c: ...here.
447         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
448         * math/w_exp10f.c: ...here.
449         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
450         * math/w_exp10l.c: ...here.
451         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
452         * math/w_exp2.c: ...here.
453         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
454         * math/w_exp2f.c: ...here.
455         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
456         * math/w_exp2l.c: ...here.
457         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
458         * math/w_fmod.c: ...here.
459         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
460         * math/w_fmodf.c: ...here.
461         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
462         * math/w_fmodl.c: ...here.
463         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
464         * math/w_hypot.c: ...here.
465         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
466         * math/w_hypotf.c: ...here.
467         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
468         * math/w_hypotl.c: ...here.
469         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
470         * math/w_j0.c: ...here.
471         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
472         * math/w_j0f.c: ...here.
473         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
474         * math/w_j0l.c: ...here.
475         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
476         * math/w_j1.c: ...here.
477         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
478         * math/w_j1f.c: ...here.
479         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
480         * math/w_j1l.c: ...here.
481         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
482         * math/w_jn.c: ...here.
483         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
484         * math/w_jnf.c: ...here.
485         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
486         * math/w_jnl.c: ...here.
487         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
488         * math/w_lgamma.c: ...here.
489         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
490         * math/w_lgamma_r.c: ...here.
491         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
492         * math/w_lgammaf.c: ...here.
493         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
494         * math/w_lgammaf_r.c: ...here.
495         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
496         * math/w_lgammal.c: ...here.
497         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
498         * math/w_lgammal_r.c: ...here.
499         * sysdeps/libm-ieee754/w_log.c: Moved to ...
500         * math/w_log.c: ...here.
501         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
502         * math/w_log10.c: ...here.
503         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
504         * math/w_log10f.c: ...here.
505         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
506         * math/w_log10l.c: ...here.
507         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
508         * math/w_logf.c: ...here.
509         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
510         * math/w_logl.c: ...here.
511         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
512         * math/w_pow.c: ...here.
513         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
514         * math/w_powf.c: ...here.
515         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
516         * math/w_powl.c: ...here.
517         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
518         * math/w_remainder.c: ...here.
519         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
520         * math/w_remainderf.c: ...here.
521         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
522         * math/w_remainderl.c: ...here.
523         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
524         * math/w_scalb.c: ...here.
525         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
526         * math/w_scalbf.c: ...here.
527         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
528         * math/w_scalbl.c: ...here.
529         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
530         * math/w_sinh.c: ...here.
531         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
532         * math/w_sinhf.c: ...here.
533         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
534         * math/w_sinhl.c: ...here.
535         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
536         * math/w_sqrt.c: ...here.
537         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
538         * math/w_sqrtf.c: ...here.
539         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
540         * math/w_sqrtl.c: ...here.
541         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
542         * math/w_tgamma.c: ...here.
543         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
544         * math/w_tgammaf.c: ...here.
545         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
546         * math/w_tgammal.c: ...here.
547         * sysdeps/libm-i387/e_acos.S: Moved to ...
548         * sysdeps/i386/fpu/e_acos.S: ...here.
549         * sysdeps/libm-i387/e_acosf.S: Moved to ...
550         * sysdeps/i386/fpu/e_acosf.S: ...here.
551         * sysdeps/libm-i387/e_acosh.S: Moved to ...
552         * sysdeps/i386/fpu/e_acosh.S: ...here.
553         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
554         * sysdeps/i386/fpu/e_acoshf.S: ...here.
555         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
556         * sysdeps/i386/fpu/e_acoshl.S: ...here.
557         * sysdeps/libm-i387/e_acosl.S: Moved to ...
558         * sysdeps/i386/fpu/e_acosl.S: ...here.
559         * sysdeps/libm-i387/e_asin.S: Moved to ...
560         * sysdeps/i386/fpu/e_asin.S: ...here.
561         * sysdeps/libm-i387/e_asinf.S: Moved to ...
562         * sysdeps/i386/fpu/e_asinf.S: ...here.
563         * sysdeps/libm-i387/e_asinl.S: Moved to ...
564         * sysdeps/i386/fpu/e_asinl.S: ...here.
565         * sysdeps/libm-i387/e_atan2.S: Moved to ...
566         * sysdeps/i386/fpu/e_atan2.S: ...here.
567         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
568         * sysdeps/i386/fpu/e_atan2f.S: ...here.
569         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
570         * sysdeps/i386/fpu/e_atan2l.S: ...here.
571         * sysdeps/libm-i387/e_atanh.S: Moved to ...
572         * sysdeps/i386/fpu/e_atanh.S: ...here.
573         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
574         * sysdeps/i386/fpu/e_atanhf.S: ...here.
575         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
576         * sysdeps/i386/fpu/e_atanhl.S: ...here.
577         * sysdeps/libm-i387/e_exp.S: Moved to ...
578         * sysdeps/i386/fpu/e_exp.S: ...here.
579         * sysdeps/libm-i387/e_exp10.S: Moved to ...
580         * sysdeps/i386/fpu/e_exp10.S: ...here.
581         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
582         * sysdeps/i386/fpu/e_exp10f.S: ...here.
583         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
584         * sysdeps/i386/fpu/e_exp10l.S: ...here.
585         * sysdeps/libm-i387/e_expf.S: Moved to ...
586         * sysdeps/i386/fpu/e_expf.S: ...here.
587         * sysdeps/libm-i387/e_expl.S: Moved to ...
588         * sysdeps/i386/fpu/e_expl.S: ...here.
589         * sysdeps/libm-i387/e_fmod.S: Moved to ...
590         * sysdeps/i386/fpu/e_fmod.S: ...here.
591         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
592         * sysdeps/i386/fpu/e_fmodf.S: ...here.
593         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
594         * sysdeps/i386/fpu/e_fmodl.S: ...here.
595         * sysdeps/libm-i387/e_hypot.S: Moved to ...
596         * sysdeps/i386/fpu/e_hypot.S: ...here.
597         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
598         * sysdeps/i386/fpu/e_hypotf.S: ...here.
599         * sysdeps/libm-i387/e_log.S: Moved to ...
600         * sysdeps/i386/fpu/e_log.S: ...here.
601         * sysdeps/libm-i387/e_log10.S: Moved to ...
602         * sysdeps/i386/fpu/e_log10.S: ...here.
603         * sysdeps/libm-i387/e_log10f.S: Moved to ...
604         * sysdeps/i386/fpu/e_log10f.S: ...here.
605         * sysdeps/libm-i387/e_log10l.S: Moved to ...
606         * sysdeps/i386/fpu/e_log10l.S: ...here.
607         * sysdeps/libm-i387/e_logf.S: Moved to ...
608         * sysdeps/i386/fpu/e_logf.S: ...here.
609         * sysdeps/libm-i387/e_logl.S: Moved to ...
610         * sysdeps/i386/fpu/e_logl.S: ...here.
611         * sysdeps/libm-i387/e_pow.S: Moved to ...
612         * sysdeps/i386/fpu/e_pow.S: ...here.
613         * sysdeps/libm-i387/e_powf.S: Moved to ...
614         * sysdeps/i386/fpu/e_powf.S: ...here.
615         * sysdeps/libm-i387/e_powl.S: Moved to ...
616         * sysdeps/i386/fpu/e_powl.S: ...here.
617         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
618         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
619         * sysdeps/libm-i387/e_remainder.S: Moved to ...
620         * sysdeps/i386/fpu/e_remainder.S: ...here.
621         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
622         * sysdeps/i386/fpu/e_remainderf.S: ...here.
623         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
624         * sysdeps/i386/fpu/e_remainderl.S: ...here.
625         * sysdeps/libm-i387/e_scalb.S: Moved to ...
626         * sysdeps/i386/fpu/e_scalb.S: ...here.
627         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
628         * sysdeps/i386/fpu/e_scalbf.S: ...here.
629         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
630         * sysdeps/i386/fpu/e_scalbl.S: ...here.
631         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
632         * sysdeps/i386/fpu/e_sqrt.S: ...here.
633         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
634         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
635         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
636         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
637         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
638         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
639         * sysdeps/libm-i387/s_asinh.S: Moved to ...
640         * sysdeps/i386/fpu/s_asinh.S: ...here.
641         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
642         * sysdeps/i386/fpu/s_asinhf.S: ...here.
643         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
644         * sysdeps/i386/fpu/s_asinhl.S: ...here.
645         * sysdeps/libm-i387/s_atan.S: Moved to ...
646         * sysdeps/i386/fpu/s_atan.S: ...here.
647         * sysdeps/libm-i387/s_atanf.S: Moved to ...
648         * sysdeps/i386/fpu/s_atanf.S: ...here.
649         * sysdeps/libm-i387/s_atanl.S: Moved to ...
650         * sysdeps/i386/fpu/s_atanl.S: ...here.
651         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
652         * sysdeps/i386/fpu/s_cbrt.S: ...here.
653         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
654         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
655         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
656         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
657         * sysdeps/libm-i387/s_ceil.S: Moved to ...
658         * sysdeps/i386/fpu/s_ceil.S: ...here.
659         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
660         * sysdeps/i386/fpu/s_ceilf.S: ...here.
661         * sysdeps/libm-i387/s_ceill.S: Moved to ...
662         * sysdeps/i386/fpu/s_ceill.S: ...here.
663         * sysdeps/libm-i387/s_cexp.S: Moved to ...
664         * sysdeps/i386/fpu/s_cexp.S: ...here.
665         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
666         * sysdeps/i386/fpu/s_cexpf.S: ...here.
667         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
668         * sysdeps/i386/fpu/s_cexpl.S: ...here.
669         * sysdeps/libm-i387/s_copysign.S: Moved to ...
670         * sysdeps/i386/fpu/s_copysign.S: ...here.
671         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
672         * sysdeps/i386/fpu/s_copysignf.S: ...here.
673         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
674         * sysdeps/i386/fpu/s_copysignl.S: ...here.
675         * sysdeps/libm-i387/s_cos.S: Moved to ...
676         * sysdeps/i386/fpu/s_cos.S: ...here.
677         * sysdeps/libm-i387/s_cosf.S: Moved to ...
678         * sysdeps/i386/fpu/s_cosf.S: ...here.
679         * sysdeps/libm-i387/s_cosl.S: Moved to ...
680         * sysdeps/i386/fpu/s_cosl.S: ...here.
681         * sysdeps/libm-i387/s_exp2.S: Moved to ...
682         * sysdeps/i386/fpu/s_exp2.S: ...here.
683         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
684         * sysdeps/i386/fpu/s_exp2f.S: ...here.
685         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
686         * sysdeps/i386/fpu/s_exp2l.S: ...here.
687         * sysdeps/libm-i387/s_expm1.S: Moved to ...
688         * sysdeps/i386/fpu/s_expm1.S: ...here.
689         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
690         * sysdeps/i386/fpu/s_expm1f.S: ...here.
691         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
692         * sysdeps/i386/fpu/s_expm1l.S: ...here.
693         * sysdeps/libm-i387/s_fdim.S: Moved to ...
694         * sysdeps/i386/fpu/s_fdim.S: ...here.
695         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
696         * sysdeps/i386/fpu/s_fdimf.S: ...here.
697         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
698         * sysdeps/i386/fpu/s_fdiml.S: ...here.
699         * sysdeps/libm-i387/s_finite.S: Moved to ...
700         * sysdeps/i386/fpu/s_finite.S: ...here.
701         * sysdeps/libm-i387/s_finitef.S: Moved to ...
702         * sysdeps/i386/fpu/s_finitef.S: ...here.
703         * sysdeps/libm-i387/s_finitel.S: Moved to ...
704         * sysdeps/i386/fpu/s_finitel.S: ...here.
705         * sysdeps/libm-i387/s_floor.S: Moved to ...
706         * sysdeps/i386/fpu/s_floor.S: ...here.
707         * sysdeps/libm-i387/s_floorf.S: Moved to ...
708         * sysdeps/i386/fpu/s_floorf.S: ...here.
709         * sysdeps/libm-i387/s_floorl.S: Moved to ...
710         * sysdeps/i386/fpu/s_floorl.S: ...here.
711         * sysdeps/libm-i387/s_fma.S: Moved to ...
712         * sysdeps/i386/fpu/s_fma.S: ...here.
713         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
714         * sysdeps/i386/fpu/s_fmaf.S: ...here.
715         * sysdeps/libm-i387/s_fmal.S: Moved to ...
716         * sysdeps/i386/fpu/s_fmal.S: ...here.
717         * sysdeps/libm-i387/s_fmax.S: Moved to ...
718         * sysdeps/i386/fpu/s_fmax.S: ...here.
719         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
720         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
721         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
722         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
723         * sysdeps/libm-i387/s_fmin.S: Moved to ...
724         * sysdeps/i386/fpu/s_fmin.S: ...here.
725         * sysdeps/libm-i387/s_fminf.S: Moved to ...
726         * sysdeps/i386/fpu/s_fminf.S: ...here.
727         * sysdeps/libm-i387/s_fminl.S: Moved to ...
728         * sysdeps/i386/fpu/s_fminl.S: ...here.
729         * sysdeps/libm-i387/s_frexp.S: Moved to ...
730         * sysdeps/i386/fpu/s_frexp.S: ...here.
731         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
732         * sysdeps/i386/fpu/s_frexpf.S: ...here.
733         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
734         * sysdeps/i386/fpu/s_frexpl.S: ...here.
735         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
736         * sysdeps/i386/fpu/s_ilogb.S: ...here.
737         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
738         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
739         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
740         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
741         * sysdeps/libm-i387/s_llrint.S: Moved to ...
742         * sysdeps/i386/fpu/s_llrint.S: ...here.
743         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
744         * sysdeps/i386/fpu/s_llrintf.S: ...here.
745         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
746         * sysdeps/i386/fpu/s_llrintl.S: ...here.
747         * sysdeps/libm-i387/s_log1p.S: Moved to ...
748         * sysdeps/i386/fpu/s_log1p.S: ...here.
749         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
750         * sysdeps/i386/fpu/s_log1pf.S: ...here.
751         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
752         * sysdeps/i386/fpu/s_log1pl.S: ...here.
753         * sysdeps/libm-i387/s_log2.S: Moved to ...
754         * sysdeps/i386/fpu/s_log2.S: ...here.
755         * sysdeps/libm-i387/s_log2f.S: Moved to ...
756         * sysdeps/i386/fpu/s_log2f.S: ...here.
757         * sysdeps/libm-i387/s_log2l.S: Moved to ...
758         * sysdeps/i386/fpu/s_log2l.S: ...here.
759         * sysdeps/libm-i387/s_logb.S: Moved to ...
760         * sysdeps/i386/fpu/s_logb.S: ...here.
761         * sysdeps/libm-i387/s_logbf.S: Moved to ...
762         * sysdeps/i386/fpu/s_logbf.S: ...here.
763         * sysdeps/libm-i387/s_logbl.S: Moved to ...
764         * sysdeps/i386/fpu/s_logbl.S: ...here.
765         * sysdeps/libm-i387/s_lrint.S: Moved to ...
766         * sysdeps/i386/fpu/s_lrint.S: ...here.
767         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
768         * sysdeps/i386/fpu/s_lrintf.S: ...here.
769         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
770         * sysdeps/i386/fpu/s_lrintl.S: ...here.
771         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
772         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
773         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
774         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
775         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
776         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
777         * sysdeps/libm-i387/s_remquo.S: Moved to ...
778         * sysdeps/i386/fpu/s_remquo.S: ...here.
779         * sysdeps/libm-i387/s_remquof.S: Moved to ...
780         * sysdeps/i386/fpu/s_remquof.S: ...here.
781         * sysdeps/libm-i387/s_remquol.S: Moved to ...
782         * sysdeps/i386/fpu/s_remquol.S: ...here.
783         * sysdeps/libm-i387/s_rint.S: Moved to ...
784         * sysdeps/i386/fpu/s_rint.S: ...here.
785         * sysdeps/libm-i387/s_rintf.S: Moved to ...
786         * sysdeps/i386/fpu/s_rintf.S: ...here.
787         * sysdeps/libm-i387/s_rintl.S: Moved to ...
788         * sysdeps/i386/fpu/s_rintl.S: ...here.
789         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
790         * sysdeps/i386/fpu/s_scalbn.S: ...here.
791         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
792         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
793         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
794         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
795         * sysdeps/libm-i387/s_significand.S: Moved to ...
796         * sysdeps/i386/fpu/s_significand.S: ...here.
797         * sysdeps/libm-i387/s_significandf.S: Moved to ...
798         * sysdeps/i386/fpu/s_significandf.S: ...here.
799         * sysdeps/libm-i387/s_significandl.S: Moved to ...
800         * sysdeps/i386/fpu/s_significandl.S: ...here.
801         * sysdeps/libm-i387/s_sin.S: Moved to ...
802         * sysdeps/i386/fpu/s_sin.S: ...here.
803         * sysdeps/libm-i387/s_sincos.S: Moved to ...
804         * sysdeps/i386/fpu/s_sincos.S: ...here.
805         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
806         * sysdeps/i386/fpu/s_sincosf.S: ...here.
807         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
808         * sysdeps/i386/fpu/s_sincosl.S: ...here.
809         * sysdeps/libm-i387/s_sinf.S: Moved to ...
810         * sysdeps/i386/fpu/s_sinf.S: ...here.
811         * sysdeps/libm-i387/s_sinl.S: Moved to ...
812         * sysdeps/i386/fpu/s_sinl.S: ...here.
813         * sysdeps/libm-i387/s_tan.S: Moved to ...
814         * sysdeps/i386/fpu/s_tan.S: ...here.
815         * sysdeps/libm-i387/s_tanf.S: Moved to ...
816         * sysdeps/i386/fpu/s_tanf.S: ...here.
817         * sysdeps/libm-i387/s_tanl.S: Moved to ...
818         * sysdeps/i386/fpu/s_tanl.S: ...here.
819         * sysdeps/libm-i387/s_trunc.S: Moved to ...
820         * sysdeps/i386/fpu/s_trunc.S: ...here.
821         * sysdeps/libm-i387/s_truncf.S: Moved to ...
822         * sysdeps/i386/fpu/s_truncf.S: ...here.
823         * sysdeps/libm-i387/s_truncl.S: Moved to ...
824         * sysdeps/i386/fpu/s_truncl.S: ...here.
825         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
826         * sysdeps/ieee754/k_standard.c: ...here.
827         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
828         * sysdeps/ieee754/s_lib_version.c: ...here.
829         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
830         * sysdeps/ieee754/s_matherr.c: ...here.
831         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
832         * sysdeps/ieee754/s_signgam.c: ...here.
833         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
834         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
835         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
836         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
837         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
838         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
839         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
840         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
841         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
842         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
843         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
844         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
845         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
846         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
847         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
848         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
849         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
850         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
851         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
852         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
853         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
854         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
855         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
856         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
857         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
858         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
859         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
860         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
861         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
862         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
863         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
864         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
865         * sysdeps/libm-ieee754/e_log.c: Moved to ...
866         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
867         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
868         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
869         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
870         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
871         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
872         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
873         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
874         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
875         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
876         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
877         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
878         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
879         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
880         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
881         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
882         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
883         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
884         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
885         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
886         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
887         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
888         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
889         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
890         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
891         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
892         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
893         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
894         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
895         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
896         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
897         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
898         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
899         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
900         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
901         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
902         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
903         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
904         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
905         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
906         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
907         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
908         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
909         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
910         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
911         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
912         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
913         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
914         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
915         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
916         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
917         (__isnan): Comment above function says it returns 0 or 1, but it
918         used to return 0 or -1.
919         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
920         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
921         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
922         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
923         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
924         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
925         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
926         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
927         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
928         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
929         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
930         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
931         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
932         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
933         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
934         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
935         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
936         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
937         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
938         * sysdeps/generic/s_nextafter.c: ...here.
939         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
940         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
941         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
942         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
943         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
944         * sysdeps/libm-ieee754/s_round.c: Moved to ...
945         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
946         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
947         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
948         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
949         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
950         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
951         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
952         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
953         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
954         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
955         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
956         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
957         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
958         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
959         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
960         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
961         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
962         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
963         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
964         * sysdeps/ieee754/mpn2flt.c: Moved to ...
965         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
966         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
967         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
968         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
969         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
970         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
971         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
972         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
973         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
974         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
975         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
976         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
977         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
978         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
979         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
980         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
981         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
982         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
983         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
984         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
985         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
986         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
987         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
988         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
989         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
990         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
991         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
992         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
993         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
994         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
995         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
996         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
997         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
998         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
999         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
1000         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
1001         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
1002         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
1003         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
1004         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
1005         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
1006         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
1007         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
1008         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
1009         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
1010         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
1011         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
1012         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
1013         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
1014         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
1015         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
1016         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
1017         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
1018         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
1019         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
1020         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
1021         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
1022         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
1023         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
1024         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
1025         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
1026         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
1027         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
1028         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
1029         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
1030         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
1031         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
1032         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
1033         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
1034         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
1035         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
1036         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
1037         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
1038         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
1039         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
1040         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
1041         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
1042         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
1043         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
1044         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
1045         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
1046         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
1047         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
1048         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
1049         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
1050         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
1051         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
1052         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
1053         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
1054         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
1055         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
1056         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
1057         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
1058         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
1059         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
1060         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
1061         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
1062         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
1063         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
1064         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
1065         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
1066         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
1067         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
1068         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
1069         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
1070         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
1071         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
1072         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
1073         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
1074         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
1075         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
1076         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
1077         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
1078         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
1079         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
1080         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
1081         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
1082         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
1083         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
1084         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
1085         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
1086         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
1087         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
1088         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
1089         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
1090         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
1091         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
1092         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
1093         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
1094         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
1095         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
1096         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
1097         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
1098         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
1099         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
1100         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
1101         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
1102         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
1103         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
1104         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
1105         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
1106         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
1107         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
1108         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
1109         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
1110         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
1111         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
1112         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
1113         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
1114         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
1115         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
1116         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
1117         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
1118         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
1119         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
1120         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
1121         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
1122         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
1123         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
1124         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
1125         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
1126         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
1127         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
1128         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
1129         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
1130         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
1131         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
1132         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
1133         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
1134         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
1135         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
1136         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
1137         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
1138         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
1139         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
1140         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
1141         INSERT_WORDS.
1142         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
1143         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
1144         (__nearbyintl): Fix for exponents 2^30.
1145         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
1146         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
1147         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
1148         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
1149         (__rintl): Fix for exponents 2^30.
1150         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
1151         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
1152         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
1153         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
1154         (__scalbnl): Fix exponent for subnormal result.
1155         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
1156         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
1157         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
1158         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
1159         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
1160         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
1161         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
1162         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
1163         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
1164         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
1165         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
1166         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
1167         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
1168         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
1169         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
1170         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
1171         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
1172         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
1173         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
1174         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
1175         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
1176         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
1177         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
1178         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
1179         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
1180         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
1181         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
1182         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
1183         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
1184         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
1185         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
1186         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
1187         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
1188         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
1189         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
1190         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
1191         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
1192         * sysdeps/i386/fpu/s_scalbln.c: ...here.
1193         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
1194         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
1195         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
1196         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
1197         * sysdeps/libm-i387/t_exp.c: Moved to ...
1198         * sysdeps/i386/fpu/t_exp.c: ...here.
1199         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
1200         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
1201         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
1202         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
1203         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
1204         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
1205         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
1206         * sysdeps/i386/fpu/s_isinfl.c: ...here.
1207         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
1208         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
1209         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
1210         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
1211         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
1212         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
1213         Fix exponent for subnormal result.
1214         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
1215         * sysdeps/generic/s_nexttowardl.c: ...here.
1216         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
1217         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
1218         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
1219         * sysdeps/i386/fpu/s_isnanl.c: ...here.
1220         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
1221         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
1222         Comment above function says it returns 0 or 1, but it used to return
1223         0 or -1.
1224         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
1225         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
1226         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
1227         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
1228         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
1229         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
1230         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
1231         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
1232         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
1233         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
1234         Cannot compare exponents with different biases without adjusting.
1235         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
1236         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
1237         Cannot compare exponents with different biases without adjusting.
1238         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
1239         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
1240         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
1241         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
1242         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
1243         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
1244         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1245         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
1246         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
1247         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1248         * sysdeps/libm-ieee754/Dist: Split into ...
1249         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
1250         * sysdeps/ieee754/flt-32/Dist: ...this file.
1252         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
1253         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
1254         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
1255         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
1256         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
1257         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
1258         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
1259         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
1260         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
1261         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
1262         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
1263         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
1264         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
1265         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
1266         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
1267         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
1268         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
1269         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
1270         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
1271         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
1272         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
1273         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
1274         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
1275         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
1276         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
1277         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
1278         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
1279         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
1280         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
1281         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
1282         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
1283         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
1284         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
1285         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
1286         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
1287         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
1288         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
1289         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
1290         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
1291         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
1292         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
1293         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
1294         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
1295         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
1296         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
1297         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
1298         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
1300         * sysdeps/generic/math_ldbl.h: New file.
1301         * sysdeps/generic/s_nexttowardf.c: New file.
1302         * sysdeps/generic/strtold.c: New file.
1303         * sysdeps/generic/ldbl2mpn.c: New file.
1305         * math/machine/endian.h: Remove.
1306         * sysdeps/i386/fpu/Implies: Remove.
1307         * sysdeps/ieee754/Implies: Remove.
1309         * math/math_private.h: Move long double macros to math_ldbl.h
1310         header.
1312 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1314         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
1315         connections without a hostname set address to localhost address.
1317 1999-07-11  H.J. Lu  <hjl@gnu.org>
1319         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
1320         nscd's own strong version of the get[a-z]*_r function.
1321         * nscd/hstcache.c: Likewise.
1322         * nscd/pwdcache.c: Likewise.
1324 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1326         * configure.in: Recognize 2.95 as gcc version number.
1327         Patch by Joel Klecker <jk@espy.org>.
1329 1999-07-12  Andreas Schwab  <schwab@suse.de>
1331         * elf/rtld.c (dl_main): When putting back the interpreter object
1332         handle the case where a missing object might occur in the list of
1333         objects but not in the search list when in trace mode.
1335 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
1337         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
1338         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
1339         _nss_hesiod_initgroups.
1341 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1343         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
1344         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
1345         Initialize it from &__data_start if defined, or else &_end.
1347 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1349         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
1350         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1352 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1354         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1356 1999-07-09  H.J. Lu  <hjl@gnu.org>
1358         * Versions.def (GLIBC_2.1.2): Added.
1360         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
1361         old one as GLIBC_2.0.
1362         * nss/getXXbyYY_r.c: Likewise.
1364         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
1365         GLIBC_2.1.2.
1366         * inet/Versions (getaliasbyname_r, getaliasent_r,
1367         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
1368         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
1369         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
1370         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
1371         getservbyname_r): Likewise.
1372         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
1373         * shadow/Versions (getspent_r, getspnam_r): Likewise.
1375 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1377         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
1378         compilers.
1379         (__memset_cc): Likewise.
1381         * sysdeps/generic/libc-start.c: For SUID binaries check whether
1382         the standard file descriptors are open.
1383         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1385         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
1386         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
1387         range of mmap.  If not fail.
1388         Patches by Daniel Jacobowitz <dan@debian.org>.
1390         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
1391         before the relocation happened.
1392         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1394         * Versions.def (libnsl): Add GLIBC_2.2.
1395         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
1397 1999-07-08  Cristian Gafton  <gafton@redhat.com>
1399         * nis/yp_xdr.c (xdr_ypall): New function.
1401 1999-07-09  Andreas Schwab  <schwab@suse.de>
1403         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
1405         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
1407 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1409         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
1410         * hesiod/hesiod-grp.c: Add initgroups support.
1411         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
1413 1999-07-08  Andreas Schwab  <schwab@suse.de>
1415         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
1417         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
1418         negative numbers.
1420         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
1421         EOF.
1422         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
1424 1999-07-08  Andreas Schwab  <schwab@suse.de>
1426         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
1428 1999-07-08  Andreas Schwab  <schwab@suse.de>
1430         * libio/fileno.c: Return -1 instead of EOF and set errno if the
1431         stream is not a real file stream.
1433 1999-07-08  Andreas Schwab  <schwab@suse.de>
1435         * manual/charset.texi: Fix typos.
1437 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1439         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
1441 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
1443         * dlfcn: New directory.  Move the following files from elf:
1444         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
1445         dlopenold.c, dlsym.c, dlvsym.c.
1446         * dlfcn/Makefile: New file.
1447         * dlfcn/Versions: New file.
1448         * dlfcn/dlsym.c: All ELF-specific code split out to new
1449         function _dl_sym.
1450         * dlfcn/dlvsym.c: All ELF-specific code split out to new
1451         function _dl_vsym.
1452         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
1453         implemented here.
1455         * dlfcn/dladdr.c: Remove all references to ELF data structures
1456         or headers.
1457         * dlfcn/dlclose.c: Likewise.
1458         * dlfcn/dlerror.c: Likewise.
1459         * dlfcn/dlopen.c: Likewise.
1460         * dlfcn/dlopenold.c: Likewise.
1462         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
1463         yes, empty otherwise.
1464         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
1465         depending on build-shared.
1466         (subdirs): Add $(dlfcn).
1467         (rpath-dirs): Add dlfcn.
1468         * elf/Makefile: Remove all references to libdl or its
1469         components, except the ones relating to the test cases.
1470         (routines): Add dl-sym.
1471         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
1472         (libdl): Delete.
1474         * elf/dl-close.c (_dl_close): Change argument to void *.
1475         * elf/dl-open.c (_dl_open): Change return type to void *.
1476         * elf/eval.c: Removed.
1477         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
1478         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
1479         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
1480         _CALL_DL_FCT macro.
1481         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
1482         Include real header from dlfcn directory.
1483         * include/ldsodefs.h: Removed.
1485         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
1486         * nss/getXXbyYY_r.c: Likewise.
1487         * nss/getXXent_r.c: Likewise.
1488         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
1489         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
1490         * iconv/skeleton.c: Don't include ldsodefs.h.
1491         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
1493 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
1495         * sysdeps/generic/setenv.c: Describe problem.
1497         * malloc/malloc.c (request2size): Also set errno if failing.
1499         * malloc/malloc.c (request2size): Take care of overflow in
1500         addition.
1502         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
1503         (NULL, != 0) correctly.
1505         * elf/dl-load.c: Use a few more __builtin_expect.
1507         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
1508         is large enough.
1510 1999-07-07  Andreas Schwab  <schwab@suse.de>
1512         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
1513         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
1514         (_PATH_DEVPTMX): Use _PATH_DEV.
1516 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1518         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
1519         * malloc/Makefile (tests): Add tst-malloc.
1521 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
1523         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
1524         convention.
1526         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
1527         motherboards.
1528         Patch by Jay Estabrook.
1530         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
1531         ldd for SPARC.
1532         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
1533         Patch by Cristian Gafton.
1535 1999-07-02  Cristian Gafton  <gafton@redhat.com>
1537         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
1538         instead of "return NULL" to make C++ happy.
1540 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
1542         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
1543         allowed by the file access mode of the open file.
1545 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
1547         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
1548         macros defined.
1550 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
1552         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
1553         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
1554         * sysdeps/sparc/sparc64/rshift.S: Likewise.
1555         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
1557 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1559         * malloc/malloc.c (request2size): Check for overflow and return
1560         NULL whenever it is encountered.
1562 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
1564         * sysdeps/posix/tempname.c (__gen_tempname):   Add
1565         ability to create directories.  Replace OPENIT and LARGEFILE
1566         args with a single flags parameter.
1567         * sysdeps/generic/tempname.c: Likewise.
1568         * include/stdio.h: Adjust prototype of __gen_tempname to
1569         match.  Define symbolic constants for second argument.
1571         * misc/mkdtemp.c: New file, provides new function mkdtemp().
1572         * stdlib/stdlib.h: Prototype it.
1573         * misc/Versions: Export it.
1574         * misc/Makefile (routines): Add mktemp.
1575         * manual/filesys.texi: Document it.
1577         * misc/mktemp.c: Adjust call of __gen_tempname to match new
1578         convention.
1579         * misc/mkstemp.c: Likewise.
1580         * stdio-common/tempnam.c: Likewise.
1581         * stdio-common/tmpfile.c: Likewise.
1582         * stdio-common/tmpfile64.c: Likewise.
1583         * stdio-common/tmpnam.c: Likewise.
1584         * stdio-common/tmpnam_r.c: Likewise.
1586 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
1588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
1589         R_SPARC_OLO10 relocations.
1590         * elf/elf.h (R_SPARC_OLO10): Fix comment.
1592 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
1594         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
1595         doesn't belong in the tests, but in the wordexp implementation.
1597         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
1598         split fields.
1600 1999-07-01  Cristian Gafton  <gafton@redhat.com>
1602         * time/strptime.c (strptime): Initialize the tm struct first to avoid
1603         returning bogus results on incomplete data.
1604         (strptime_internal): day_of_the_week() requres bith tm_mon and
1605         tm_mday to be initializaed.
1606         Computer them first if they are not given.
1607         (strptime_internal): (have_mon, have_mday): New variables.
1609 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1611         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
1613 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1615         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
1616         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1618 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1620         * posix/wordexp.c (parse_tilde): Handle failing call to
1621         get.*_r functions correctly for non-existing entry.
1622         * sysdeps/posix/cuserid.c (cuserid): Likewise.
1623         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
1625 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
1627         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
1628         getxxbyYY_r functions correctly for non-existing entry.
1629         * sunrpc/getrpcport.c: Likewise.
1630         * sunrpc/clnt_simp.c: Likewise.
1631         * inet/rexec.c: Likewise.
1632         * sunrpc/clnt_gen.c: Likewise.
1633         * inet/rcmd.c: Likewise.
1634         * sysdeps/generic/glob.c: Likewise.
1636 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1638         * pwd/Makefile (tests): Add rules for tst-getpw.
1640         * pwd/tst-getpw.c: New program to test getpw.
1642 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1644         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
1645         correctly.
1647 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1649         * manual/arith.texi (System V Number Conversion): Fix the
1650         description which confused pointer and value to pointer.
1651         Reported by Andries.Brouwer@cwi.nl.
1653 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1655         * pwd/getpw.c (__getpw): Check for NULL result pointer.
1657 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1659         * manual/users.texi (Lookup User): Document POSIX return
1660         semantics for getpwuid_r and getgrgid_r.
1662         * manual/socket.texi (Host Names): Document that the result
1663         pointer is null in case of error or host not found and fix a
1664         typo.  Give a small example.
1666 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
1668         * pwd/getpw.c: Add warning since no buffer size is given and
1669         therefore no overrun tests are possible.
1671 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1673         * pwd/pwd.h: Add getpw prototype declaration.
1675 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
1677         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
1678         * wcsmbs/wcschr.c: Likewise.
1680 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
1682         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
1683         returns.
1684         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
1685         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
1686         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
1688         * elf/dl-dst.h: Fix typo.
1689         * elf/dl-open.c: Likewise.
1691 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
1693         * elf/dl-libc.c: New file, provides three functions:
1694         __libc_dlopen, __libc_dlclose, __libc_dlsym.
1695         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
1696         * elf/Makefile (routines): Add dl-libc.c.
1697         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
1698         argument to void *.
1699         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
1701         * iconv/gconv.c: Include dlfcn.h.
1702         * iconv/gconv_db.c: Likewise.
1703         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
1705         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
1706         `handle' to a void *.
1707         (__gconv_find_func): Delete prototype.
1709         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
1710         dlerror_run and related functions and structs.  Use
1711         __libc_dlopen, __libc_dlsym, __libc_dlclose.
1712         * nss/nsswitch.c: Likewise.
1714 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
1716         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
1717         function correctly.
1719         * sunrpc/getrpcport.c: Test for gethostbyname_r function
1720         correctly.
1722         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
1724         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
1725         functions correctly.
1727         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
1729         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
1730         file reading a bit.
1732         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
1734 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1736         * manual/string.texi (Copying and Concatenation): Mention that
1737         strndup is a GNU extension.
1739 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1741         * pwd/getpw.c (__getpw): Fix check for error return.
1743 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1745         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
1746         occurence of the aux object start with the current list entry, not
1747         the new one.  Adjust tail pointer in the unique list.  Explain how
1748         the meaning of the variables changes [PR libc/1168].
1750 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1752         * sysdeps/m68k/fpu/Dist: New file.
1754 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1756         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
1757         definitions...
1758         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
1759         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
1760         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
1761         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1762         * sysdeps/m68k/fpu/e_pow.c: Likewise.
1763         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1764         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
1765         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
1766         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
1767         * sysdeps/m68k/fpu/s_csin.c: Likewise.
1768         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
1769         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1770         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
1771         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
1772         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
1773         * sysdeps/m68k/fpu/s_modf.c: Likewise.
1775 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
1777         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
1778         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
1779         _EXTERN_INLINE, use a macro specific to each file,
1780         _HURD_FD_H_EXTERN_INLINE and the like.
1781         * hurd/Makefile (inline-headers): New variable.
1782         (routines): Remove hurdinline.  Add $(inlines).
1783         (inlines): New variable.
1784         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
1785         (generated): Append those here.
1786         * hurd/hurdinline.c: File removed.
1788         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
1790         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
1792 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1794         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
1796 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
1798         * string/bits/string2.h (strnlen): Remove extra prototype.
1800 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1802         * manual/filesys.texi (Working on Directory Trees): Fix typos.
1803         Reported by Andries.Brouwer@cwi.nl.
1805 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
1807         * nscd/connections.c (handle_request): Use correct type for optlen
1808         variable.
1810         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
1811         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
1813 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
1815         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
1816         * nscd/pwdcache.c: Likewise.
1817         * nscd/hstcache.c: Likewise.
1819 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
1821         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
1823         * posix/getopt.h: Include stdio.h.
1825         * manual/arith.texi: Document restriction of ndigit parameter of
1826         ecvt and friends.
1827         * misc/efgcvt.c: Define NDIGIT_MAX.
1828         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
1829         Do not dynamically allocate the static buffers.  They are small enough.
1830         * misc/efgcvt_r.c: Define NDIGIT_MAX.
1831         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
1832         * misc/qefgcvt.c: Define NDIGIT_MAX.
1833         * misc/qefgcvt_r.c: Likewise.
1834         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
1836 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
1838         * libio/stdio.h: Define stdin, stdout, stderr as macros.
1839         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
1840         These are *pragmas* not macros.
1841         * wcsmbs/wchar.h: Fix comment.
1843         * grp/grp.h: Use __foo_t_defined convention to typedef things
1844         only once.
1845         * io/sys/stat.h: Likewise.
1846         * libio/stdio.h: Likewise.
1847         * posix/unistd.h: Likewise.
1848         * posix/sys/types.h: Likewise.
1849         * posix/sys/wait.h: Likewise.
1850         * pwd/pwd.h: Likewise.
1851         * signal/signal.h: Likewise.
1852         * sysdeps/generic/stdint.h: Likewise.
1853         * sysdeps/gnu/utmpx.h: Likewise.
1854         * termios/termios.h: Likewise.
1856 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
1858         * stdio/fputc.c: Don't define alias if fputc is defined as a
1859         macro.
1860         * stdio/putc.c: Define weak alias here since it is not done
1861         anymore in fputc.c.
1863 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1865         * assert/assert.h: Don't produce `defined' as part of macro
1866         expansion.
1868 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
1870         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
1871         OFFSET argument of (off_t) -1.
1872         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
1873         OFFSET argument of (off_t) -1.
1875         * sysdeps/mach/hurd/pwrite.c: New file.
1876         * sysdeps/mach/hurd/pread.c: New file.
1878         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
1879         pass it in the RPC instead of always -1.
1880         * hurd/fd-write.c (_hurd_fd_write): Likewise.
1881         * hurd/hurd/fd.h: Update decls.
1883 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1885         * libio/wscanf.c: Include <wchar.h> for prototype.
1887 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
1889         * manual/io.texi. Fix typos.
1890         * manual/stdio.texi: Likewise.
1891         Patches by Brian Youmans <3diff@gnu.org>.
1893 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
1895         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
1896         bits of two words differ.
1898 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1900         * libio/Makefile (routines): Add putwchar and putwchar_u.
1902         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
1903         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
1904         stdout.  Fix parameter name.
1906         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
1907         * libio/getchar_u.c: Likewise.
1909         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
1911 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1913         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
1914         macro expansion---it's undefined.  Properly parenthesize
1915         substituted parameters.
1916         (__GLIBC_PREREQ): Likewise.
1918 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
1920         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
1921         weird effects.
1923         * stdlib/longlong.h: Provide __P definition if not already
1924         defined.
1926         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
1928 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
1930         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
1932 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1934         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
1936 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1938         * stdio-common/vfprintf.c (group_member): Make parameters and
1939         return types pointers to CHAR_T instead of UCHAR_T.
1940         (vfprintf): Change type of work_buffer, workend and string to
1941         CHAR_T pointer/array.
1942         (process_arg, process_string_arg): Adjust/remove casts.  Add
1943         missing use of L_ macro.
1944         (printf_unknown): Add missing uses of L_ macro.
1946 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1948         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
1949         warning.
1951 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1953         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
1954         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
1955         (__wunderflow): Likewise.
1956         (_IO_switch_to_wget_mode): Likewise.
1957         (_IO_init_wmarker): Likewise.
1959         * libio/wfileops.c (_IO_wfile_seekoff): Call
1960         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
1961         (_IO_wfile_jumps): Fix pbackfail entry.
1963         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
1964         function if the stream is currently unoriented.
1966 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
1968         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
1969         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
1970         __gnuc_va_list in v*w(printf|scanf) prototypes.
1972 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1974         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
1975         1999-03-29 to iopopen also here.
1976         Reported by Richard Braakman <dark@xs4all.nl>.
1978 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1980         * include/features.h: Use __GNUC_PREREQ.
1981         * sysdeps/i386/fpu/bits/mathinline.h: Likewise
1983 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1985         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
1986         Change EOF to WEOF and remove cast.
1987         (UNGETC): Remove macro.
1988         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
1989         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
1990         Change ISASCII to isascii and MBRLEN to mbrlen.
1991         (parse_one_spec): Compare info.spec always against wchar_t
1992         values.
1993         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
1994         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
1995         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
1997 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1999         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
2000         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
2001         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
2002         oldiofsetpos64 only if doing versioning.
2004 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2006         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
2008 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2010         * libio/libio.h: Fix last patch.
2012 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2014         * libio/libio.h (_IO_putwc): Correct type of first argument.
2015         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
2016         putwc_unlocked, putwchar_unlocked): Likewise.
2017         * libio/fputwc.c: Likewise.
2018         * libio/fputwc_unlocked.c: Likewise.
2019         * libio/putwc.c: Likewise.
2020         * libio/putwc_unlocked.c: Likewise.
2021         * libio/putwchar.c: Likewise.
2022         * libio/putwchar_unlocked.c: Likewise.
2024 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
2026         * sysdeps/gnu/siglist.h: File moved to ...
2027         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
2028         any platform, since it just associates the SIG* macros with text names
2029         and descriptions. For any signal macros do not exist on every
2030         platform, we can use #ifdef tests here and still use this single
2031         common file for all platforms.
2032         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
2033         should be usable for all platforms after the binary compatibility
2034         stuff in the current sysdeps/gnu version is no longer required.
2035         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
2036         * sysdeps/generic/make_siglist.c: File removed.
2037         * sysdeps/mach/hurd/siglist.h: Use #include_next.
2038         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2040 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
2042         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
2043         * sysdeps/gnu/siglist.c: ... here.
2044         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
2045         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
2046         * sysdeps/gnu/siglist.h: New file, contents from linux version.
2047         Add entry for SIGLOST protected by #ifdef.
2048         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
2049         and define OLD_SIGLIST_SIZE_STR.
2050         * sysdeps/mach/hurd/siglist.h: New file, likewise.
2052 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2054         * include/features.h: Define new macros __GNUC_PREREQ and
2055         __GLIBC_PREREQ which can be used to test the version of gcc
2056         and glibc respectively.
2058         * assert/assert.h: Use __GNUC_PREREQ.
2059         * intl/libintl.h: Likewise.
2060         * math/complex.h: Likewise.
2061         * math/tgmath.h: Likewise.
2062         * misc/sys/cdefs.h: Likewise.
2063         * posix/sys/types.h: Likewise.
2064         * socket/sys/socket.h: Likewise.
2065         * string/bits/string2.h: Likewise.
2066         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2067         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2069 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2071         * include/libintl.h: Declare _libc_intl_domainname here.
2072         Define _ and N_ here.
2073         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
2074         define _ and N_.  Don't declare _libc_intl_domainname.
2075         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
2077         * db2/config.h: Don't include sys/stat.h or define
2078         HAVE_ST_BLKSIZE here...
2079         * db2/compat.h: ...do it here.
2081         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
2082         other headers.
2083         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
2084         * iconv/iconv.c: Include stddef.h for NULL.
2085         * malloc/malloc.h: Include features.h.
2086         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
2088         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
2089         into the generated file.
2090         * sysdeps/gnu/errlist.awk: Likewise.
2091         * sysdeps/gnu/errlist.c: Rebuilt.
2093         * assert/assert-perr.c: Include libintl.h.
2094         * assert/assert.c: Likewise.
2095         * elf/dl-open.c: Likewise.
2096         * elf/dlsym.c: Likewise.
2097         * elf/dlvsym.c: Likewise.
2098         * iconv/iconv_prog.c: Likewise.
2099         * inet/rcmd.c: Likewise.
2100         * inet/ruserpass.c: Likewise.
2101         * locale/programs/charset.c: Likewise.
2102         * locale/programs/ld-collate.c: Likewise.
2103         * locale/programs/ld-ctype.c: Likewise.
2104         * locale/programs/ld-messages.c: Likewise.
2105         * locale/programs/ld-monetary.c: Likewise.
2106         * locale/programs/ld-numeric.c: Likewise.
2107         * locale/programs/ld-time.c: Likewise.
2108         * locale/programs/locfile.c: Likewise.
2109         * locale/programs/repertoire.c: Likewise.
2110         * login/programs/database.c: Likewise.
2111         * login/programs/request.c: Likewise.
2112         * malloc/mcheck.c: Likewise.
2113         * misc/error.c: Likewise.
2114         * nis/nis_call.c: Likewise.
2115         * nis/nis_callback.c: Likewise.
2116         * nis/nis_error.c: Likewise.
2117         * nis/nis_local_names.c: Likewise.
2118         * nis/nis_print.c: Likewise.
2119         * nis/nis_print_group_entry.c: Likewise.
2120         * nis/ypclnt.c: Likewise.
2121         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2122         * nscd/cache.c: Likewise.
2123         * nscd/connections.c: Likewise.
2124         * nscd/grpcache.c: Likewise.
2125         * nscd/hstcache.c: Likewise.
2126         * nscd/nscd_conf.c: Likewise.
2127         * nscd/nscd_stat.c: Likewise.
2128         * nscd/pwdcache.c: Likewise.
2129         * posix/id.c: Likewise.
2130         * resolv/herror.c: Likewise.
2131         * stdio-common/psignal.c: Likewise.
2132         * string/strsignal.c: Likewise.
2133         * sunrpc/auth_unix.c: Likewise.
2134         * sunrpc/clnt_perr.c: Likewise.
2135         * sunrpc/clnt_raw.c: Likewise.
2136         * sunrpc/clnt_tcp.c: Likewise.
2137         * sunrpc/clnt_udp.c: Likewise.
2138         * sunrpc/clnt_unix.c: Likewise.
2139         * sunrpc/get_myaddr.c: Likewise.
2140         * sunrpc/pm_getmaps.c: Likewise.
2141         * sunrpc/pmap_clnt.c: Likewise.
2142         * sunrpc/pmap_rmt.c: Likewise.
2143         * sunrpc/rpc_main.c: Likewise.
2144         * sunrpc/rpc_scan.c: Likewise.
2145         * sunrpc/svc_run.c: Likewise.
2146         * sunrpc/svc_simple.c: Likewise.
2147         * sunrpc/svc_tcp.c: Likewise.
2148         * sunrpc/svc_udp.c: Likewise.
2149         * sunrpc/svc_unix.c: Likewise.
2150         * sunrpc/xdr_rec.c: Likewise.
2151         * sunrpc/xdr_ref.c: Likewise.
2152         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
2153         * sysdeps/posix/gai_strerror.c: Likewise.
2154         * sysdeps/unix/siglist.c: Likewise.
2155         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
2156         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2157         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
2158         * timezone/zic.c: Likewise.
2160 1999-06-18  H.J. Lu  <hjl@gnu.org>
2162         * localedata/Makefile (charmaps): Exclude SCCS.
2163         (locales): Likewise.
2164         (repertoiremaps): Likewise.
2166 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
2168         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
2169         * sysdeps/generic/bsd-setjmp.c: Likewise.
2171         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
2173         * iconv/gconv_open.c: Include string.h for memset prototype.
2175         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
2176         definitions.
2178         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
2179         assignment to avoid warning on 64bit platforms.
2181 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2183         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
2185         * nss/getXXbyYY_r.c: Return error code not -1.
2186         * nss/getXXent_r.c: Likewise.
2187         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
2188         small.
2189         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
2190         value > 0 for error.
2191         * nscd/nscd_gethst_r.c: Likewise.
2192         * nscd/nscd_getpw_r.c: Likewise.
2194 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2196         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
2197         disciplines.
2199 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2201         * nscd/nscd_nischeck.c: Fix typos.
2203 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2205         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
2206         always when oact is NULL.
2207         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
2209 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2211         * math/libm-test.c (jn_test): Adjust delta.
2213 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2215         * libio/vwprintf.c: Include <wchar.h> for prototypes.
2216         * libio/wprintf.c: Likewise.
2218 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2220         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
2221         to not write beyond allocated memory.
2222         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
2224 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2226         * malloc/mtrace.c: Keep lock while printing output lines.
2227         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
2229 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
2231         * configure.in: Add warnings about broken code.
2233         * Versions.def: Add GLIBC_2.2 for libc.
2235         * iconv/gconv.h: Make header suitable for inclusion in public header
2236         by protecting all names with __.
2237         * iconv/gconv.c: Adapt for symbol name changes.
2238         * iconv/gconv.h: Likewise.
2239         * iconv/gconv_builtin.c: Likewise.
2240         * iconv/gconv_close.c: Likewise.
2241         * iconv/gconv_db.c: Likewise.
2242         * iconv/gconv_dl.c: Likewise.
2243         * iconv/gconv_int.h: Likewise.
2244         * iconv/gconv_open.c: Likewise.
2245         * iconv/gconv_simple.c: Likewise.
2246         * iconv/iconv.c: Likewise.
2247         * iconv/iconv_close.c: Likewise.
2248         * iconv/iconv_open.c: Likewise.
2249         * iconv/loop.c: Likewise.
2250         * iconv/skeleton.c: Likewise.
2251         * iconvdata/8bit-gap.c: Likewise.
2252         * iconvdata/8bit-generic.c: Likewise.
2253         * iconvdata/ansi_x3.110.c: Likewise.
2254         * iconvdata/big5.c: Likewise.
2255         * iconvdata/cns11643.h: Likewise.
2256         * iconvdata/cns11643l1.h: Likewise.
2257         * iconvdata/euc-cn.c: Likewise.
2258         * iconvdata/euc-jp.c: Likewise.
2259         * iconvdata/euc-kr.c: Likewise.
2260         * iconvdata/euc-tw.c: Likewise.
2261         * iconvdata/gb2312.h: Likewise.
2262         * iconvdata/iso-2022-jp.c: Likewise.
2263         * iconvdata/iso-2022-kr.c: Likewise.
2264         * iconvdata/iso646.c: Likewise.
2265         * iconvdata/iso8859-1.c: Likewise.
2266         * iconvdata/iso_6937-2.c: Likewise.
2267         * iconvdata/iso_6937.c: Likewise.
2268         * iconvdata/jis0201.h: Likewise.
2269         * iconvdata/jis0208.h: Likewise.
2270         * iconvdata/jis0212.h: Likewise.
2271         * iconvdata/johab.c: Likewise.
2272         * iconvdata/ksc5601.h: Likewise.
2273         * iconvdata/sjis.c: Likewise.
2274         * iconvdata/t.61.c: Likewise.
2275         * iconvdata/uhc.c: Likewise.
2276         * stdlib/mblen.c: Likewise.
2277         * stdlib/mbtowc.c: Likewise.
2278         * stdlib/wctomb.c: Likewise.
2279         * wcsmbs/btowc.c: Likewise.
2280         * wcsmbs/mbrtowc.c: Likewise.
2281         * wcsmbs/mbsnrtowcs.c: Likewise.
2282         * wcsmbs/mbsrtowcs.c: Likewise.
2283         * wcsmbs/wchar.h: Likewise.
2284         * wcsmbs/wcrtomb.c: Likewise.
2285         * wcsmbs/wcsmbsload.c: Likewise.
2286         * wcsmbs/wcsmbsload.h: Likewise.
2287         * wcsmbs/wcsnrtombs.c: Likewise.
2288         * wcsmbs/wcsrtombs.c: Likewise.
2289         * wcsmbs/wctob.c: Likewise.
2291         * include/limits.h (MB_LEN_MAX): Increase to 16.
2293         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
2294         _G_iconv_t.
2295         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2296         * include/wchar.h: Change mbstate_t to __mbstate_t.
2298         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
2299         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
2300         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
2301         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
2302         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
2303         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
2304         and iofwide.
2305         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
2306         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
2307         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
2308         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
2309         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
2310         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
2311         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
2312         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
2313         GLIBC_2.2 for libc.
2314         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
2315         Extend _IO_file contain pointer to codecvt, widedata and mode.
2316         (_IO_getwc_unlocked): New macro.
2317         (_IO_putwc_unlocked): New macro.
2318         (_IO_fwide): New macro.
2319         * libio/libioP.h: Add new prototypes and adjust existing declarations.
2320         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
2321         buffers based on mode.
2322         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
2323         oriented.
2324         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
2325         flag to be enough to signal unallocated buffer.  For wide oriented
2326         stream don't make it linebuffered.  Don't use _IO_do_flush, use
2327         _IO_new_do_write directly.
2328         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
2329         (_IO_file_seek): Likewise.
2330         * libio/genops.c (_IO_least_marker): Make global.
2331         (__underflow): Orient stream if not already done.
2332         (__uflow): Likewise.
2333         (_IO_default_seekpos): Change to type _IO_off64_t.
2334         (_IO_default_seekoff): Likewise.
2335         (_IO_default_seek): Likewise.
2336         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
2337         in initialization.
2338         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
2339         to use _IO_off64_t.
2340         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
2341         char stream.
2342         * libio/ftello64.c: Likewise.
2343         * libio/ioftell.c: Likewise.
2344         * libio/iofopncook.c: Likewise.
2345         * libio/ioseekoff.c: Likewise.
2346         * libio/ioseekpos.c: Likewise.
2347         * libio/oldfileops.c: Likewise.
2348         * libio/iofgetpos.c: Store state of conversion if necessary.
2349         * libio/iofgetpos64.c: Likewise.
2350         * libio/iofsetpos.c: Restore conversion state if necessary.
2351         * libio/iofsetpos64.c: Likewise.
2352         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
2353         * libio/iofopen.c: Likewise.
2354         * libio/iofopen64.c: Likewise.
2355         * libio/iopopen.c: Likewise.
2356         * libio/iovdprintf.c: Likewise.
2357         * libio/iovsprintf.c: Likewise.
2358         * libio/iovsscanf.c: Likewise.
2359         * libio/memstream.c: Likewise.
2360         * libio/obprintf.c: Likewise.
2361         * libio/iofputs.c: Orient stream if not already happened.
2362         * libio/iofputs_u.c: Likewise.
2363         * libio/iofwrite.c: Likewise.
2364         * libio/iofwrite_u.c: Likewise.
2365         * libio/ioputs.c: Likewise.
2366         * libio/iosetbuffer.c: Handle not yet oriented stream.
2367         * libio/iosetvbuf.c: Likewise.
2368         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
2369         * libio/stdfiles.c: Likewise.
2370         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
2371         failed allocation.
2372         (_IO_str_seekoff): Use _IO_off64_t.
2373         * libio/vasprintf.c: Pre-orient stream.
2374         * libio/vsnprintf.c: Likewise.
2375         * libio/fputwc.c: New file.
2376         * libio/fputwc_u.c: New file.
2377         * libio/fwprintf.c: New file.
2378         * libio/fwscanf.c: New file.
2379         * libio/getwc.c: New file.
2380         * libio/getwc_u.c: New file.
2381         * libio/getwchar.c: New file.
2382         * libio/getwchar_u.c: New file.
2383         * libio/iofgetws.c: New file.
2384         * libio/iofgetws_u.c: New file.
2385         * libio/iofputws.c: New file.
2386         * libio/iofputws_u.c: New file.
2387         * libio/iofwide.c: New file.
2388         * libio/iogetwline.c: New file.
2389         * libio/ioungetwc.c: New file.
2390         * libio/iovswscanf.c: New file.
2391         * libio/iowpadn.c: New file.
2392         * libio/oldiofgetpos.c: New file.
2393         * libio/oldiofgetpos64.c: New file.
2394         * libio/oldiofsetpos.c: New file.
2395         * libio/oldiofsetpos64.c: New file.
2396         * libio/putwc.c: New file.
2397         * libio/putwc_u.c: New file.
2398         * libio/putwchar.c: New file.
2399         * libio/putwchar_u.c: New file.
2400         * libio/swprintf.c: New file.
2401         * libio/swscanf.c: New file.
2402         * libio/tst_swprintf.c: New file.
2403         * libio/tst_swscanf.c: New file.
2404         * libio/tst_wprintf.c: New file.
2405         * libio/tst_wscanf.c: New file.
2406         * libio/tst_wscanf.input: New file.
2407         * libio/vswprintf.c: New file.
2408         * libio/vwprintf.c: New file.
2409         * libio/vwscanf.c: New file.
2410         * libio/wfiledoalloc.c: New file.
2411         * libio/wfileops.c: New file.
2412         * libio/wgenops.c: New file.
2413         * libio/wprintf.c: New file.
2414         * libio/wscanf.c: New file.
2415         * libio/wstrops.c: New file.
2416         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
2417         vfwprintf, and vfwscanf.
2418         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
2419         make global.
2420         * stdio-common/_itowa.c: New file.
2421         * stdio-common/_itowa.h: New file.
2422         * stdio-common/itoa-digits.c: Minimal optimization.
2423         * stdio-common/itowa-digits.c: New file.
2424         * stdio-common/printf-parse.h: Allow use in wide character context.
2425         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
2426         * stdio-common/printf.h (printf_info): Add wide bit.
2427         * stdio-common/printf_fp.c: Determine from wide bit whether stream
2428         is wide oriented or not.
2429         * stdio-common/printf_size.c: Likewise.
2430         * sysdeps/generic/printf_fphex.c: Likewise.
2431         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
2432         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
2433         context.
2434         * stdio-common/vfscand.c: Likewise.
2435         * stdio-common/vfwprintf.c: New file.
2436         * stdio-common/vfwscanf.c: New file.
2438         * time/Makefile (routines): Add wcsftime.
2439         (tests): Add tst_wcsftime.
2440         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
2441         * time/strftime.c: Make usable as wcsftime.
2442         * time/wcsftime.c: New file.
2443         * time/tst_wcsftime.c: New file.
2445         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
2446         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
2447         * wcsmbs/wcschrnul.c: New file.
2448         * wcsmbs/wmemcpy.c: New file.
2449         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
2450         * wcsmbs/wmemmove.c: Likewise for wmemmove.
2452         * manual/stdio.texi: Document is_char and wide element if printf_info.
2454         * manual/time.texi: Document wcsftime.
2456         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
2457         __wmemmove, __wcschrnul, and __vfwscanf.
2459         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
2460         * locale/C-time.c: Adapt for above change.
2461         * locale/categories.def: Likewise.
2462         * locale/localeinfo.h: Likewise.
2463         * localedata/Makefile: Don't run tests for now.
2465         * manual/errno.texi: Fix typos.
2466         * manual/memory.texi: Likewise.
2467         * manual/ctype.texi: Likewise.
2468         Patches by Brian Youmans <3diff@gnu.org>.
2470 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2472         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
2474 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2476         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
2477         word order.
2478         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
2479         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
2481 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2483         * db2/db/db.c: Restore __nss_db_open alias.
2484         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
2485         include.
2486         * db2/os/os_rw.c (__os_write): Maintain const correctness.
2487         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
2489 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
2491         * stdio-common/printf-parse.h (parse_one_spec): Don't set
2492         is_longlong if not necessary.
2494 1999-06-15  H.J. Lu  <hjl@gnu.org>
2496         * Make-dist (sysdep_dirs): Exclude SCCS.
2497         * MakeTAGS (sysdep_dirs): Likewise.
2499 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
2501         * posix/regex.c (re_error_msgid): Remove extra commas.
2503 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
2505         * stdlib/tst-strtoll.c: New file.
2506         * stdlib/Makefile (tests): Add tst-strtoll.c
2507         * stdlib/strtol.c: It is not generally true that if
2508         (unsigned)a*(unsigned)b overflows, then the result is
2509         less than 'a'.
2511 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
2513         * nscd/connections.c (handle_request): Only root is allowed to
2514         send GETSTAT request in non secure mode.
2515         * nscd/nscd.c: Print error message if other then root try to
2516         use getstat.
2518 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2520         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
2522 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2524         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
2525         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
2527 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2529         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
2530         for character to search, to help the compiler.
2531         * sysdeps/generic/strchrnul.c: Likewise.
2532         * sysdeps/generic/memchr.c: Likewise.
2533         * sysdeps/generic/memccpy.c: Likewise.
2534         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
2536 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2538         * sysdeps/m68k/memchr.S: New file.
2539         * sysdeps/m68k/rawmemchr.S: New file.
2540         * sysdeps/m68k/strchr.S: New file.
2541         * sysdeps/m68k/strchrnul.S: New file.
2543 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
2545         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
2546         add `memory' clobber; optimise for constant `val'.
2547         (atomic_add): Likewise.
2548         (test_and_set): Remove `volatile'; add `memory' clobber; be more
2549         like the original `test_and_set'.
2550         (compare_and_swap): Remove `volatile'; add `memory' clobber;
2551         optimise for constant `oldval'.
2552         (always_swap): Remove `volatile'; add `memory' clobber.
2554 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2556         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
2557         functions for gcc <= 2.7.x.
2559 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
2561         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
2562         change.
2564 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
2566         * db2/Makefile (distribute): Remove files which do not exist
2567         anymore.
2569         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
2570         definitions to calm down gcc.
2572         * db2/db.h: Update from db 2.7.5.
2573         * db2/db_185.h: Likewise.
2574         * db2/db_int.h: Likewise.
2575         * db2/btree/bt_compare.c: Likewise.
2576         * db2/btree/bt_conv.c: Likewise.
2577         * db2/btree/bt_curadj.c: Likewise.
2578         * db2/btree/bt_cursor.c: Likewise.
2579         * db2/btree/bt_delete.c: Likewise.
2580         * db2/btree/bt_open.c: Likewise.
2581         * db2/btree/bt_page.c: Likewise.
2582         * db2/btree/bt_put.c: Likewise.
2583         * db2/btree/bt_rec.c: Likewise.
2584         * db2/btree/bt_recno.c: Likewise.
2585         * db2/btree/bt_rsearch.c: Likewise.
2586         * db2/btree/bt_search.c: Likewise.
2587         * db2/btree/bt_split.c: Likewise.
2588         * db2/btree/bt_stat.c: Likewise.
2589         * db2/btree/btree_auto.c: Likewise.
2590         * db2/common/db_appinit.c: Likewise.
2591         * db2/common/db_apprec.c: Likewise.
2592         * db2/common/db_err.c: Likewise.
2593         * db2/common/db_region.c: Likewise.
2594         * db2/common/db_salloc.c: Likewise.
2595         * db2/db/db.c: Likewise.
2596         * db2/db/db.src: Likewise.
2597         * db2/db/db_am.c: Likewise.
2598         * db2/db/db_auto.c: Likewise.
2599         * db2/db/db_dispatch.c: Likewise.
2600         * db2/db/db_dup.c: Likewise.
2601         * db2/db/db_iface.c: Likewise.
2602         * db2/db/db_join.c: Likewise.
2603         * db2/db/db_overflow.c: Likewise.
2604         * db2/db/db_pr.c: Likewise.
2605         * db2/db/db_rec.c: Likewise.
2606         * db2/db/db_ret.c: Likewise.
2607         * db2/db185/db185.c: Likewise.
2608         * db2/dbm/dbm.c: Likewise.
2609         * db2/hash/hash.c: Likewise.
2610         * db2/hash/hash_auto.c: Likewise.
2611         * db2/hash/hash_dup.c: Likewise.
2612         * db2/hash/hash_page.c: Likewise.
2613         * db2/hash/hash_rec.c: Likewise.
2614         * db2/hash/hash_stat.c: Likewise.
2615         * db2/include/btree.h: Likewise.
2616         * db2/include/btree_ext.h: Likewise.
2617         * db2/include/clib_ext.h: Likewise.
2618         * db2/include/common_ext.h: Likewise.
2619         * db2/include/db_am.h: Likewise.
2620         * db2/include/db_auto.h: Likewise.
2621         * db2/include/db_cxx.h: Likewise.
2622         * db2/include/db_ext.h: Likewise.
2623         * db2/include/db_join.h: Likewise.
2624         * db2/include/db_page.h: Likewise.
2625         * db2/include/hash.h: Likewise.
2626         * db2/include/hash_ext.h: Likewise.
2627         * db2/include/lock.h: Likewise.
2628         * db2/include/lock_ext.h: Likewise.
2629         * db2/include/log.h: Likewise.
2630         * db2/include/log_ext.h: Likewise.
2631         * db2/include/mp.h: Likewise.
2632         * db2/include/mp_ext.h: Likewise.
2633         * db2/include/os.h: Likewise.
2634         * db2/include/os_ext.h: Likewise.
2635         * db2/include/os_func.h: Likewise.
2636         * db2/include/txn.h: Likewise.
2637         * db2/include/txn_auto.h: Likewise.
2638         * db2/include/txn_ext.h: Likewise.
2639         * db2/include/xa.h: Likewise.
2640         * db2/include/xa_ext.h: Likewise.
2641         * db2/lock/lock.c: Likewise.
2642         * db2/lock/lock_conflict.c: Likewise.
2643         * db2/lock/lock_deadlock.c: Likewise.
2644         * db2/lock/lock_region.c: Likewise.
2645         * db2/lock/lock_util.c: Likewise.
2646         * db2/log/log.c: Likewise.
2647         * db2/log/log_archive.c: Likewise.
2648         * db2/log/log_auto.c: Likewise.
2649         * db2/log/log_findckp.c: Likewise.
2650         * db2/log/log_get.c: Likewise.
2651         * db2/log/log_put.c: Likewise.
2652         * db2/log/log_rec.c: Likewise.
2653         * db2/log/log_register.c: Likewise.
2654         * db2/mp/mp_bh.c: Likewise.
2655         * db2/mp/mp_fget.c: Likewise.
2656         * db2/mp/mp_fopen.c: Likewise.
2657         * db2/mp/mp_fput.c: Likewise.
2658         * db2/mp/mp_fset.c: Likewise.
2659         * db2/mp/mp_open.c: Likewise.
2660         * db2/mp/mp_pr.c: Likewise.
2661         * db2/mp/mp_region.c: Likewise.
2662         * db2/mp/mp_sync.c: Likewise.
2663         * db2/mutex/mutex.c: Likewise.
2664         * db2/mutex/uts4_cc.s: Likewise.
2665         * db2/os/os_abs.c: Likewise.
2666         * db2/os/os_alloc.c: Likewise.
2667         * db2/os/os_config.c: Likewise.
2668         * db2/os/os_dir.c: Likewise.
2669         * db2/os/os_fid.c: Likewise.
2670         * db2/os/os_fsync.c: Likewise.
2671         * db2/os/os_map.c: Likewise.
2672         * db2/os/os_oflags.c: Likewise.
2673         * db2/os/os_open.c: Likewise.
2674         * db2/os/os_rw.c: Likewise.
2675         * db2/os/os_seek.c: Likewise.
2676         * db2/os/os_sleep.c: Likewise.
2677         * db2/os/os_spin.c: Likewise.
2678         * db2/os/os_stat.c: Likewise.
2679         * db2/os/os_tmpdir.c: Likewise.
2680         * db2/os/os_unlink.c: Likewise.
2681         * db2/progs/db_archive/db_archive.c: Likewise.
2682         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2683         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2684         * db2/progs/db_dump/db_dump.c: Likewise.
2685         * db2/progs/db_load/db_load.c: Likewise.
2686         * db2/progs/db_printlog/README: Likewise.
2687         * db2/progs/db_printlog/commit.awk: Likewise.
2688         * db2/progs/db_printlog/count.awk: Likewise.
2689         * db2/progs/db_printlog/db_printlog.c: Likewise.
2690         * db2/progs/db_printlog/pgno.awk: Likewise.
2691         * db2/progs/db_printlog/range.awk: Likewise.
2692         * db2/progs/db_printlog/status.awk: Likewise.
2693         * db2/progs/db_printlog/txn.awk: Likewise.
2694         * db2/progs/db_recover/db_recover.c: Likewise.
2695         * db2/progs/db_stat/db_stat.c: Likewise.
2696         * db2/txn/txn.c: Likewise.
2697         * db2/txn/txn.src: Likewise.
2698         * db2/txn/txn_auto.c: Likewise.
2699         * db2/txn/txn_rec.c: Likewise.
2700         * db2/xa/xa.c: Likewise.
2701         * db2/xa/xa_db.c: Likewise.
2702         * db2/xa/xa_map.c: Likewise.
2704         * db2/btree/bt_close.c: Removed.
2705         * db2/db/db_thread.c: Likewise.
2706         * db2/hash/hash_debug.c: Likewise.
2707         * db2/include/db.h.src: Likewise.
2708         * db2/include/db_int.h.src: Likewise.
2709         * db2/include/os_jump.h: Likewise.
2710         * db2/mutex/alpha.dec: Likewise.
2711         * db2/mutex/alpha.gcc: Likewise.
2712         * db2/mutex/parisc.hp: Likewise.
2713         * db2/mutex/uts4.cc.s: Likewise.
2715         * db2/Makefile: Add new routines, remove old for 2.7.5.
2716         * db2/Versions: Add internal function names for the helper programs.
2717         * db2/makedb.c: Update for new cursor callback.
2718         * Versions.def: Define versions for libdb.
2720 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
2722         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
2723         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
2724         * nscd/nscd_nischeck.c: New file.
2725         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
2727 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2729         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
2730         MSG_* flags from Linux 2.2.9.
2732 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
2734         * Makeconfig (static-start-installed-name): Set to
2735         $(start-installed-name) if not defined.
2736         (+link-static): Use $(static-start-installed-name) instead of
2737         $(start-installed-name).
2738         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
2739         Set to crt0.o.
2741 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
2743         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
2744         inserting a send right into the child instead of unconditionally
2745         copying the send right.
2747 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
2749         * locale/lc-time.c: Add free_mem function to free if necessary
2750         statically allocated memory.
2752 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
2754         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
2755         bias from the raw exponent.
2757 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
2759         * inet/arpa/tftp.h: Move attribute declaration in right position.
2761 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
2763         * nscd/nscd.c: Add -S options for separate caching of data for
2764         every user. So one user couldn't see the data another user
2765         has gotten with his credentials.
2766         * nscd/nscd.h: Add new prototypes.
2767         * nscd/cache.c: Compare owner of cache entry if in secure mode.
2768         * nscd/connections.c: Check on shutdown if caller really was root.
2769         In secure mode get uid of caller.
2770         * nscd/grpcache.c: Add support for new secure group mode.
2771         * nscd/hstcache.c: Add support for new secure hosts mode.
2772         * nscd/pwdcache.c: Add support for new secure passwd mode.
2774 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
2776         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
2777         of user-provided buffer.
2779 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
2781         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
2782         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
2784 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
2786         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
2787         and A format.
2789         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
2790         returning after last entry.
2791         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2793 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
2795         * misc/sysexits.h: Remove advertising clause of copyright.
2796         * resolv/getnetnamadr.c: Likewise.
2797         * sysdeps/vax/bcopy.s: Likewise.
2798         * sysdeps/vax/bzero.s: Likewise.
2799         * sysdeps/vax/ffs.s: Likewise.
2800         * sysdeps/vax/memchr.s: Likewise.
2801         * sysdeps/vax/memcmp.s: Likewise.
2802         * sysdeps/vax/memmove.s: Likewise.
2803         * sysdeps/vax/memset.s: Likewise.
2804         * sysdeps/vax/strcat.s: Likewise.
2805         * sysdeps/vax/strchr.s: Likewise.
2806         * sysdeps/vax/strcmp.s: Likewise.
2807         * sysdeps/vax/strcpy.s: Likewise.
2808         * sysdeps/vax/strcspn.s: Likewise.
2809         * sysdeps/vax/strlen.s: Likewise.
2810         * sysdeps/vax/strncat.s: Likewise.
2811         * sysdeps/vax/strncmp.s: Likewise.
2812         * sysdeps/vax/strncpy.s: Likewise.
2813         * sysdeps/vax/strpbrk.s: Likewise.
2814         * sysdeps/vax/strrchr.s: Likewise.
2815         * sysdeps/vax/strsep.s: Likewise.
2816         * sysdeps/vax/strspn.s: Likewise.
2817         * sysdeps/vax/strstr.s: Likewise.
2819         * libio/iofopncook.c: Adjust for renaming of structure elements.
2820         * libio/libio.h: Define cookie functions with all the names.
2822         * pwd/fgetpwent_r.c: Set errno in the correct way.
2823         * shadow/fgetspent_r.c: Likewise.
2824         * pwd/fgetpwent.c: Handle long lines correctly.  Little
2825         optimizations.  Free static buffer when debugging memory handling.
2826         * shadow/fgetspent.c: Likewise.
2828         * grp/fgetgrent.c: Little optimization in loop.
2830 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2832         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
2833         in a different way.
2835 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
2837         * stdlib/longlong.h: gas changed sethi handling when without
2838         %hi(). Fix assembly.
2839         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
2840         port specific cache id checks.
2841         * sysdeps/generic/dl-cache.h: New file.
2842         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
2844 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
2846         * gmon/gmon.c: Remove advertising clause of copyright.
2847         * gmon/mcount.c: Likewise.
2848         * gmon/sys/gmon.h: Likewise.
2849         * inet/arpa/ftp.h: Likewise.
2850         * inet/arpa/telnet.h: Likewise.
2851         * inet/arpa/tftp.h: Likewise.
2852         * inet/inet_lnaof.c: Likewise.
2853         * inet/inet_mkadr.c: Likewise.
2854         * inet/inet_net.c: Likewise.
2855         * inet/inet_netof.c: Likewise.
2856         * inet/protocols/routed.h: Likewise.
2857         * inet/protocols/rwhod.h: Likewise.
2858         * inet/protocols/talkd.h: Likewise.
2859         * inet/protocols/timed.h: Likewise.
2860         * inet/rcmd.c: Likewise.
2861         * inet/rexec.c: Likewise.
2862         * inet/ruserpass.c: Likewise.
2863         * io/fts.c: Likewise.
2864         * io/fts.h: Likewise.
2865         * login/login_tty.c: Likewise.
2866         * misc/fstab.h: Likewise.
2867         * misc/getttyent.c: Likewise.
2868         * misc/getusershell.c: Likewise.
2869         * misc/sys/queue.h: Likewise.
2870         * misc/sys/syslog.h: Likewise.
2871         * misc/syslog.c: Likewise.
2872         * misc/ttyent.h: Likewise.
2873         * misc/ttyslot.c: Likewise.
2874         * resolv/arpa/nameser.h: Likewise.
2875         * resolv/gethnamaddr.c: Likewise.
2876         * resolv/herror.c: Likewise.
2877         * resolv/inet_addr.c: Likewise.
2878         * resolv/mapv4v6addr.h: Likewise.
2879         * resolv/mapv4v6hostent.h: Likewise
2880         * resolv/nss_dns/dns-host.c: Likewise.
2881         * resolv/nss_dns/dns-network.c: Likewise.
2882         * resolv/res_comp.c: Likewise.
2883         * resolv/res_data.c: Likewise.
2884         * resolv/res_debug.c: Likewise.
2885         * resolv/res_init.c: Likewise.
2886         * resolv/res_mkquery.c: Likewise.
2887         * resolv/res_query.c: Likewise.
2888         * resolv/res_send.c: Likewise.
2889         * resolv/resolv.h: Likewise.
2890         * sysdeps/generic/div.c: Likewise.
2891         * sysdeps/generic/netinet/ip.h: Likewise.
2892         * sysdeps/generic/netinet/tcp.h: Likewise.
2893         * sysdeps/generic/paths.h: Likewise.
2894         * sysdeps/generic/prof-freq.c: Likewise.
2895         * sysdeps/generic/sys/ttydefaults.h: Likewise.
2896         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2897         * sysdeps/gnu/netinet/tcp.h: Likewise.
2898         * sysdeps/ieee754/support.c: Likewise.
2899         * sysdeps/mach/hurd/sys/param.h: Likewise.
2900         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
2901         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2902         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
2903         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2904         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
2905         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
2906         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
2907         * sysdeps/unix/sysv/linux/paths.h: Likewise.
2908         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
2909         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
2910         * sysdeps/vax/DEFS.h: Likewise.
2911         * termios/sys/ttychars.h: Likewise.
2912         * misc/daemon.c: Likewise.  Call fork.
2914         * grp/fgetgrent.c (buffer): Make file local variable.
2915         (free_mem): New function.  Call for malloc debugging.
2917         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
2919 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2921         * grp/Makefile: Add rules for tst_fgetgrent.
2923         * grp/tst_fgetgrent.c: Rewritten to read only one file.
2925         * grp/tst_fgetgrent.sh: New file.
2927 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
2929         * grp/Makefile (tests): Add tst_fgetgrent.
2930         * grp/tst_fgetgrent.c: New file.
2931         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2933 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
2935         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
2936         be POSIX compliant.  Prior definition was broken for Hurd.
2937         Reported by Mark Kettenis <kettenis@gnu.org>.
2939 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
2941         * ctype/ctype.h: Protect __tobody code by __extension__.
2943 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
2945         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
2946         reading and reset in case the buffer was too small.
2948         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
2949         of EOF.
2951 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2953         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
2954         another SIOGIFNAME typo.
2956 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
2958         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
2960         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
2961         bit.
2963 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2965         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
2966         the precision if the mantissa is zero.
2968 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2970         * manual/lang.texi (Floating Point Parameters): GCC already
2971         supports long double for a long time.
2973 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2975         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
2976         yn_test): Increase some epsilons.
2978 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
2980         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
2981         parameters.
2983 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
2985         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2986         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
2987         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
2988         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
2990         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
2991         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
2992         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
2993         * sysdeps/libm-ieee754/w_j1.c: Likewise.
2994         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
2995         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
2996         * sysdeps/libm-ieee754/w_jn.c: Likewise.
2997         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
2998         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
3000         * stdio-common/vfprintf.c: Correct typos.
3002         * math/libm-test.c (jn_test): Adjust delta.
3003         (y1_test): Likewise.
3004         (yn_test): Likewise.
3006         * elf/do-lookup.h: It should never happen that if we expect a versioned
3007         symbol from a file the file has no version table.  This should have
3008         been checked in dl-version.c.
3009         * elf/dl-lookup.c: Include assert.h.
3011         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
3012         function handling.
3014         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
3016 1999-06-06  Andi Kleen  <ak@muc.de>
3018         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
3019         SA_RESTORER flag.
3021 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3023         * math/libm-test.c (yn_test): Change one delta.
3024         (jn_test): Likewise.
3025         (j1_test): Likewise.
3026         (y0_test): Likewise.
3028 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3030         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
3031         avoid multiple calls to getpagesize() which might be a syscall.
3033 1999-06-06  Philip Blundell  <philb@gnu.org>
3035         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
3037 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3039         * manual/install.texi (Running make install): Correct typo in
3040         dynamic linker invocation.
3042 1999-06-05  Philip Blundell  <philb@gnu.org>
3044         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
3045         problems with GOT addressing.
3047 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3049         * malloc/malloc.c (check_action): Change into bitmap so that both
3050         diagnostic and abort can be requested by setting it to 3.
3051         (mALLOC_SET_STATe): Disable malloc checking if necessary.
3053 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
3055         * configure.in: Few changes for HPUX.
3057         * scripts/config.guess: Update from latest version.
3058         * scripts/config.sub: Likewise.
3060 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3062         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
3063         map files.  Closes PR libc/1147.
3065 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3067         * math/libm-test.c (main): Add new test functions.
3068         (jn_test): New tests.
3069         (j1_test): Add some more tests.
3070         (j0_test): Add some more tests.
3071         (y0_test): Add some more tests.
3072         (y1_test): Add some more tests.
3074 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3076         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
3077         Patch by mhagger@dera.gov.uk [PR libc/1145].
3079         * math/libm-test.c (y1_test): New tests.
3080         (y0_test): Likewise.
3081         (j1_test): Likewise.
3082         (j0_test): Likewise.
3083         (main): Added new tests.
3085 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
3087         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
3088         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
3089         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
3090         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
3091         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
3092         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
3094 1999-06-02  David S. Miller  <davem@redhat.com>
3096         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
3097         pointers properly.
3099 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
3101         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
3102         and elide compatibility code if possible.
3104 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
3106         * manual/llio.texi: Remove menu entry for removed section.
3108 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3110         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
3111         variables.
3113 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3115         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
3116         (from Linux 2.3.4).
3118 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
3120         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
3122 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3124         * manual/stdio.texi: Fix some typos.
3126 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3128         * malloc/malloc.h: Properly handle future GCC versions.
3130 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3132         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
3133         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
3134         text of error message.
3136         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
3138 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3140         * manual/filesys.texi: Extend (f)truncate documentation.
3141         * manual/llio.texi: Remove duplicate (f)truncate definition.
3143 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3145         * manual/stdio.texi (Formatted Output Functions): Mention
3146         semantics of snprintf in glibc 2.0.
3147         Reported by Ben Pfaff <pfaffben@msu.edu>.
3149 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3151         * include/features.h (__GLIBC_MINOR__): Bump to 2.
3153 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
3155         * math/libm-test.c: Adjust a few more deltas for the poor ARM
3156         FPU emulator.
3158 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3160         * configure.in: Fix typo.
3162 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3164         * manual/socket.texi (Host Names): Remove statement that h_errno
3165         needs to be declared since this isn't true anymore.
3166         Closes PR libc/1138.
3168 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
3170         * config.h.in: Add __LINUX_KERNEL_VERSION.
3171         * configure.in: Recognize --enable-kernel.
3172         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
3173         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
3174         appropriately.
3175         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
3176         given perform runtime test.
3178         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
3179         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
3180         minimal supported kernel is known to have the feature.
3181         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3182         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3183         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3184         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3185         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3186         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
3187         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3188         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3189         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3190         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3191         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3192         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
3193         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
3194         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3195         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3197         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
3199 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3201         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
3203 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
3205         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
3206         Optimized sparc64 routines.
3208 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3210         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
3211         they are the same as ints.
3212         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3214         * version.h (VERSION): Bump to 2.1.90.
3215         (RELEASE): Mark as development.
3217         * stdio-common/vfprintf.c (vfprintf): Don't implement special
3218         handling for long long if it is the same as long.
3219         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3221         * stdlib/strtol.c: Moved to ...
3222         * sysdeps/generic/strtol.c: ...here.
3223         * stdlib/strtoul.c: Moved to ...
3224         * sysdeps/generic/strtoul.c: ...here.
3225         * stdlib/strtoll.c: Moved to ...
3226         * sysdeps/generic/strtoll.c: ...here.
3227         * stdlib/strtoull.c: Moved to ...
3228         * sysdeps/generic/strtoull.c: ...here.
3229         * stdlib/strtol_l.c: Moved to ...
3230         * sysdeps/generic/strtol_l.c: ...here.
3231         * stdlib/strtoul_l.c: Moved to ...
3232         * sysdeps/generic/strtoul_l.c: ...here.
3233         * stdlib/strtoll_l.c: Moved to ...
3234         * sysdeps/generic/strtoll_l.c: ...here.
3235         * stdlib/strtoull_l.c: Moved to ...
3236         * sysdeps/generic/strtoull_l.c: ...here.
3238         * sysdeps/wordsize-64/strtol.c: New file.
3239         * sysdeps/wordsize-64/strtoul.c: New file.
3240         * sysdeps/wordsize-64/strtoll.c: New file.
3241         * sysdeps/wordsize-64/strtoull.c: New file.
3242         * sysdeps/wordsize-64/strtol_l.c: New file.
3243         * sysdeps/wordsize-64/strtoul_l.c: New file.
3244         * sysdeps/wordsize-64/strtoll_l.c: New file.
3245         * sysdeps/wordsize-64/strtoull_l.c: New file.
3247         * wcsmbs/wcstol.c: Moved to ...
3248         * sysdeps/generic/wcstol.c: ...here.
3249         * wcsmbs/wcstoul.c: Moved to ...
3250         * sysdeps/generic/wcstoul.c: ...here.
3251         * wcsmbs/wcstoll.c: Moved to ...
3252         * sysdeps/generic/wcstoll.c: ...here.
3253         * wcsmbs/wcstoull.c: Moved to ...
3254         * sysdeps/generic/wcstoull.c: ...here.
3255         * wcsmbs/wcstol_l.c: Moved to ...
3256         * sysdeps/generic/wcstol_l.c: ...here.
3257         * wcsmbs/wcstoul_l.c: Moved to ...
3258         * sysdeps/generic/wcstoul_l.c: ...here.
3259         * wcsmbs/wcstoll_l.c: Moved to ...
3260         * sysdeps/generic/wcstoll_l.c: ...here.
3261         * wcsmbs/wcstoull_l.c: Moved to ...
3262         * sysdeps/generic/wcstoull_l.c: ...here.
3264         * sysdeps/wordsize-64/wcstol.c: New file.
3265         * sysdeps/wordsize-64/wcstoul.c: New file.
3266         * sysdeps/wordsize-64/wcstoll.c: New file.
3267         * sysdeps/wordsize-64/wcstoull.c: New file.
3268         * sysdeps/wordsize-64/wcstol_l.c: New file.
3269         * sysdeps/wordsize-64/wcstoul_l.c: New file.
3270         * sysdeps/wordsize-64/wcstoll_l.c: New file.
3271         * sysdeps/wordsize-64/wcstoull_l.c: New file.
3273 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
3275         * sysdeps/sparc/bits/wordsize.h: New file.
3276         * sysdeps/sparc/fpu/bits/fenv.h: New file.
3277         * sysdeps/sparc/fpu/fpu_control.h: New file.
3278         * sysdeps/sparc/gmp-mparam.h: New file.
3280         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
3281         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
3282         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
3283         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
3284         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
3285         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
3287         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
3288         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
3289         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
3290         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
3292         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
3293         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
3294         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
3295         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
3296         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
3298 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
3300         * login/openpty.c (openpty): Make sure pty does not because
3301         controlling TTY.
3303         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
3305 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
3307         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
3308         Do proper error return.
3310 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3312         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
3313         of __P in the rest of glibc; define __MALLOC_PMT and use it.
3314         Reported by Stephan Kulow <coolo@kde.org>.
3316 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
3318         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
3320         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
3322 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3324         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
3325         names to protect from user's macro namespace.
3326         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
3327         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
3328         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
3329         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
3330         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
3331         Adapted.
3332         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
3333         sysdeps/arm/fpu/fesetenv.c: Likewise.
3334         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
3335         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
3336         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3337         * sysdeps/mips/fesetenv.c: Likewise.
3339 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
3341         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
3343 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
3345         * configure.in: Recognize and allow gcc 2.95.
3347 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3349         * sysdeps/generic/bits/elfclass.h: Version common to
3350         wordsize-32 and wordsize-64.
3351         * sysdeps/generic/bits/environments.h: Ditto.
3352         * sysdeps/generic/stdint.h: Ditto.
3353         * sysdeps/generic/inttypes.h: Ditto.
3355         * sysdeps/generic/bits/wordsize.h: New file.
3356         * stdlib/Makefile: Add bits/wordsize.h to headers.
3358         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3360         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
3361         headers to be used for 32bit and 64bit ABI compilations.
3362         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
3363         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
3364         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
3365         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
3366         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
3368         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
3369         * sysdeps/wordsize-64/bits/environments.h: Remove.
3370         * sysdeps/wordsize-64/stdint.h: Remove.
3371         * sysdeps/wordsize-64/inttypes.h: Remove.
3372         * sysdeps/wordsize-64/bits/wordsize.h: New file.
3374         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
3375         * sysdeps/wordsize-32/bits/environments.h: Remove.
3376         * sysdeps/wordsize-32/stdint.h: Remove.
3377         * sysdeps/wordsize-32/inttypes.h: Remove.
3378         * sysdeps/wordsize-32/bits/wordsize.h: New file.
3380 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3382         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
3383         __align_cpy_16): New functions.
3384         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
3386         * sysdeps/sparc/sparc32/Versions: New file.
3387         * sysdeps/sparc/sparc64/Versions: New file.
3388         * sysdeps/sparc/Versions: Remove.
3390 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3392         * sysdeps/unix/sysv/linux/configure.in:
3393         On sparc64-*-linux*, set slibdir to /lib64 if prefix
3394         is /usr, plus set libdir to ${exec_prefix}/lib64.
3395         * sysdeps/unix/sysv/linux/configure: Regenerated.
3396         * config.make.in: Propagate libdir settings from configure
3397         to the Makefiles.
3398         * shlib-versions: sparc64-*-linux* dynamic linker is
3399         /lib64/ld-linux.so.2.
3401 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
3403         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
3404         RPC connection.
3406 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
3408         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
3409         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
3411         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
3412         contains garbage in bits 8-63.
3413         * sysdeps/sparc/sparc64/memset.S: Ditto.
3414         * sysdeps/sparc/sparc64/strchr.S: Ditto.
3416 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
3418         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
3420 1999-05-17  David S. Miller  <davem@redhat.com>
3422         * sysdeps/sparc/sparc32/atomicity.h: New file.
3423         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
3424         * sysdeps/sparc/sparc64/atomicity.h: New file.
3425         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
3426         sysdep-CFLAGS.
3428 1999-05-18  Richard Henderson  <rth@twiddle.net>
3430         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
3432 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3434         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
3435         posix/sys/types.h: Handle the case of __GNUC__=3,
3436         __GNUC_MINOR__=(anything).
3438 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3440         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
3441         if _FORCE_INLINES.
3443 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
3445         * elf/Makefile (distribute): Remove dl-origin.h.
3446         Add dl-dst.h and gen-trusted-dirs.awk.
3448 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3450         * sysdeps/i386/i486/Versions: New file with inline functions from
3451         sysdeps/i386/i486/bits/string.h for now.
3453         * sysdeps/i386/Versions: Add inline functions from
3454         sysdeps/i386/bits/string.h.
3456         * string/Versions: Add inline functions from <bits/string2.h>.
3458         * string/Makefile (routines): Add string-inlines.
3459         * string/string-inlines.c: New file, used for implementation of
3460         extern inline functions.
3462         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
3463         non inlined versions of functions.
3464         * string/bits/string2.h: Likewise.
3465         * sysdeps/i386/bits/string.h: Likewise.
3467 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
3469         * inet/arpa/tftp.h: Add second packed attribute.
3471 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3473         * malloc/malloc.c: Cleanup to bring in line with released
3474         stand-alone version `ptmalloc'.  Update some comments.
3475         (internal_function): Move fallback definition so that the source
3476         compiles outside of libc, and use it in more places.
3477         (malloc_atfork): Fix when malloc_check is in use.
3479 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3481         * stdlib/tst-strtod.c: Fix typo.
3483 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3485         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
3486         const incorrectness.
3488 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
3490         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
3492 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
3494         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
3495         * sunrpc/key_call.c: Fix memory leak, close file handle.
3496         * nis/nis_creategroup.c: Use malloc instead of calloc,
3497         set ctime and mtime.
3498         * nis/nis_subr.c: Check for realloc result.
3499         * nis/nis_file.c: Fix memory leak.
3500         * nis/nis_table.c: Pretty print.
3501         * nis/nis_getservlist.c: Likewise.
3502         * nis/nis_ismember.c: Likewise.
3503         * nis/nis_lookup.c: Likewise.
3504         * nis/nis_ping.c: Likewise.
3505         * nis/nis_removemember.c: Likewise.
3506         * nis/nis_util.c: Likewise, check calloc result.
3508 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
3510         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
3511         * sysdeps/generic/sys/socketvar.h: ... here.
3512         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
3513         * sysdeps/generic/netinet/in_systm.h: ... here.
3514         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
3515         sys/socketvar.h.
3516         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
3517         * inet/Makefile (headers): Add netinet/in_systm.h here.
3518         * socket/Makefile (headers): Add sys/socketvar.h here.
3520 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
3522         * stdlib/strtol.c: Optimize inner loop of long long versions.
3524         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
3525         Unix98.  Add forward declaration of struct utmp.
3527 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
3529         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
3530         calloc.
3532         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
3533         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
3534         memory allocation results.
3536 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
3538         * sysdeps/generic/getutmp.c: Include <string.h>
3539         (getutmp): Rewrite to only copy those members that are really
3540         present in `struct utmp'.
3541         * sysdeps/generic/getutmpx.c: Likewise.
3543 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
3545         * nss/getXXbyYY.c: Add free_mem function which disposes all
3546         statically allocated memory when debugging.
3547         * nss/getXXent.c: Likewise.
3548         * nss/nsswitch.c: Likewise.
3550 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
3552         * sysdeps/gnu/getutmpx.c: New file.
3553         * sysdeps/gnu/getutmp.c: New file.
3555 1999-05-13  H.J. Lu  <hjl@gnu.org>
3557         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
3558         (getutmp): Likewise.
3560         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
3561         getutmpx for login.
3563         * sysdeps/gnu/utmpx.h (getutmp): Added.
3564         (getutmpx): Likewise.
3566         * sysdeps/generic/getutmp.c: New file.
3568         * sysdeps/generic/getutmpx.c: New file.
3570 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3572         * glibcbug.in (BUGGLIBC): Change address to
3573         libc-alpha@sourceware.cygnus.com.
3575 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3577         * resolv/arpa/nameser.h: Add C++ protectors.
3579 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3581         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
3582         Elad Tsur <eladts@post.tau.ac.il>.
3584 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
3586         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
3587         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
3588         lazily if LD_BIND_NOW is not set.
3589         * elf/dl-support.c (_dl_lazy): New variable.
3590         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
3591         * elf/rtld.c (_dl_lazy): new global variable.
3592         ( dl_main): Remove lazy, replace it by _dl_lazy.
3594 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3596         * locale/setlocale.c (new_composite_name): Check also whether the
3597         first category name differs.
3599 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3601         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
3602         the generic one.
3604 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
3606         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
3607         structure; storage suitable for any socket address.
3608         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
3609         Likewise.
3610         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
3611         sockaddr_storage): Likewise.
3613         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
3614         platform.
3616 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
3618         * hesiod/Versions: Change _nss_hesiod_getpwuid and
3619         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
3620         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
3622 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
3624         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
3625         if the file is empty.
3627 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
3629         * elf/do-lookup.h: Fix typo in comment.
3631         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
3632         f_bsize to help some broken programs.
3634         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
3636         * stdio-common/vfprintf.c: Fix typo.
3638 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
3640         * elf/link.h (struct link_map): New field l_phdr_allocated.
3641         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
3642         the program header being part of any loaded segment.  If it is not
3643         allocate memory and set l_phdr_allocated flag.
3644         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
3646         * nss/digits_dots.c: Correct return value interpretation of
3647         inet_ntoa.  Fix PR libc/1109.
3649 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
3651         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
3653 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
3655         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
3656         * stdlib/fpioconst.c: Move #endif before end of struct.
3658 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
3660         * Versions.def (ld.so): Add GLIBC_2.1.1.
3661         * elf/Makefile (routines): Add dl-origin.
3662         (tests): Add origtest.  Add dependencies for the program.
3663         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
3664         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
3665         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
3666         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
3667         DT_AUXILIARY, and DT_FILTER filenames.
3668         * elf/dl-load.c (expand_dynamic_string_token): Explode into
3669         two functions and three macros.
3670         (_dl_dst_count, _dl_dst_substitute): New functions.
3671         * elf/dl-dst.h: New file.
3672         * elf/dl-open.c (_dl_open): Take extra parameter with address of
3673         caller.  Pass address in args structure.
3674         (dl_open_worker): Recognize and expand DSTs in filename.
3675         * elf/ldsodefs.h (_dl_open): Adapt prototype.
3676         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
3677         (__dlopen_check): Pass caller address to dlopen_doit in args.
3678         * elf/dlopendoit.c: Likewise.
3679         * iconv/gconv_dl.c: Adapt call of _dl_open.
3680         * nss/nsswitch.c: Likewise.
3681         * elf/origtest.c: New file.
3682         * sysdeps/generic/dl-origin.h: Moved to...
3683         * sysdeps/generic/dl-origin.c: ...here.
3684         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
3685         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
3687         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
3688         with specific bases and only few bits set in second word.
3690         * timezone/Makefile (install-others): Create target directory
3691         before creating tzfiles.
3693 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
3695         * nis/nis_file.c (readColdStartFile): Allocate memory only after
3696         the file is opened successfully.
3698         * nis/nis_table.c: Fix some memory leaks.
3700 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
3702         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
3703         variable.
3705         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
3706         around DST.  Correctly ignore ORIGIN IN SUID binaries.
3708 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
3710         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
3711         * sysdeps/generic/strtok.c: Likewise.
3713         * string/tester.c: Add test of rawmemchr.
3715         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
3716         specification.  It's not necessary.
3718         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
3719         * elf/gen-trusted-dirs.awk: New file.
3720         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
3721         from SYSTEM_DIRS macro.
3722         (system_dirs_len): New variable.  Contains lengths of system_dirs
3723         strings.
3724         (fillin_rpath): Rewrite for systems_dirs being a simple string.
3725         Improve string comparisons.  Change parameter trusted to be a flag.
3726         Change all callers.
3727         (_dt_init_paths): Improve using new format for system_dirs.
3729         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
3730         $ORIGIN for SUID binaries.
3732         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
3734 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3736         * sunrpc/Makefile: Generate dependencies for all flavors of
3737         librpcsvc objects.
3738         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
3739         invocations.
3741 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3743         * elf/dlopenold.c: Move #if down after includes to get
3744         dependencies right.
3746 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3748         * sysdeps/generic/bzero.c: Undefine __bzero.
3750 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
3752         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
3753         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
3754         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
3755         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
3757         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
3758         parameter to struct gaih_servtuple *.  Adapt appropriately.
3759         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
3760         This fixes a memory leak.
3761         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
3763         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
3764         and fpregset_t definition.  They are defined in ucontext.h.
3766 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
3768         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
3769         and struct ether_header must be packed on the ARM.  The default
3770         alignment constraints add padding to the end of the structures.
3772 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
3774         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
3775         default alignment constraints add padding to the end of the
3776         structure and between members.
3778 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
3780         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3781         _dl_cache_libcmp instead of strcmp.
3783         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
3784         fails on a file.
3785         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
3787 1998-03-30  Joel Klecker  <espy@debian.org>
3789         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
3790         (sysdep-others,install-bin): Add lddlibc4.
3792 1999-05-02  H.J. Lu  <hjl@gnu.org>
3794         * timezone/zic.c (dolink): Remove the symlink destination first.
3796         * catgets/open_catalog.c (__open_catalog): Set catalog->status
3797         to "nonexisting" if failed to open the file.
3799 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
3801         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
3802         gcc3.
3804         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
3805         Prevent warnings from multiplication with 0x01010101 by another cast.
3807 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3809         * string/bits/string2.h (memset): Revert to previous version if
3810         unaligned writes are not available.
3812 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
3814         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
3815         better code in presence of the asm.
3817 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3819         * stdlib/fmtmsg.c (keywords): Increase array size for faster
3820         indexing.
3822         * locale/localeinfo.h (_nl_category_names): Increase array element
3823         size for faster indexing.
3824         * locale/setlocale.c (_nl_category_names): Adjusted.
3826 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3828         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
3830 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3832         * sysdeps/m68k/stackinfo.h: New file.
3834 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
3836         * string/tester.c (test_strchrnul): New function.
3837         (test_memset): Test one more special case.
3839         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
3840         25% of all cases.
3842         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
3843         base types.
3845         * string/bits/string2.h: Fix bugs I introduced in last change.
3847         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
3848         register stall.
3849         Extend memset optimization.
3850         Correct i686 version of memchr.
3852 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
3854         * sysdeps/i386/bzero.c: Add #undef __bzero.
3856         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
3857         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
3858         exec server simulated a SIGTRAP before we even started up, so gdb is
3859         already happy.
3861 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
3863         * nss/digits_dots.c: Always initialize not_ok.
3865 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
3867         * string/bits/string2.h (memset): Avoid arithmetic overflow at
3868         compile time, which produces obnoxious warnings.  If GCCv2 is
3869         in use, map __bzero to __builtin_memset to enable that
3870         optimization.
3872 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
3874         * string/bits/string2.h: Add more memset optimizations.
3876         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
3878         * resolv/inet_pton.c (inet_pton4): Little optimizations.
3879         (inet_pton6): Likewise.
3881         * nss/getXXbyYY_r.c: Include assert.h.
3882         * nss/getXXbyYY.c: Likewise.
3884 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3886         * termios/tcgetsid.c (tcgetsid): Rename variable to
3887         tiocgsid_does_not_work.
3889 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
3891         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
3893 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3895         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
3896         This allows e.g. gethostbyname to accept "10.1234".
3897         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
3899         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
3900         non quad IPv4 numbers.
3902 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3904         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
3906 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
3908         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
3909         * argp/argp-parse.c (_argp_hang): Likewise.
3910         * argp/argp-pv.c (argp_program_version): Likewise.
3911         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
3912         * inet/ether_hton.c (ether_hton, startp): Likewise.
3913         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
3914         * inet/getnetgrent_r.c (setup, startp): Likewise.
3915         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
3916         * intl/localealias.c (string_space, string_space_act, string_space_max,
3917         nmap, maxmap): Likewise.
3918         * libio/iopopen.c (proc_file_chain): Likewise.
3919         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
3920         * locale/lc-collate.c (__collate_table, __collate_extra,
3921         __collate_element_hash, __collate_element_strings,
3922         __collate_element_values): Likewise.
3923         * malloc/mcheck.c (mcheck_used): Likewise.
3924         * malloc/mtrace.c (added_atexit_handler): Likewise.
3925         * malloc/set-freeres.c (already_called): Likewise.
3926         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
3927         * misc/syslog.c (LogStat, LogTag): Likewise.
3928         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
3929         * nss/getXXbyYY_r.c (startp): Likewise.
3930         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
3931         * posix/regex.c (init_syntax_once) [done]: Likewise.
3932         (debug): Likewise.
3933         * string/strfry.c (init): Likewise.
3934         * sunrpc/svc_run.c (svc_top): Likewise.
3935         * posix/euidaccess.c (have_ids): Likewise.
3936         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
3937         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
3938         * time/getdate.c (getdate_err): Likewise.
3939         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
3940         Likewise.
3941         * time/tzset.c (old_tz, is_initialized): Likewise.
3943         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
3944         of static data with zero.
3945         * signal/allocrtsig.c (init): Likewise.
3947         * string/Makefile (routines): Add strchrnul.
3948         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
3949         * string/string.c: Add strchrnul prototype.
3950         * include/string.h: Add __strchrnul prototype.
3951         * sysdeps/generic/strchrnul.c: New file.
3952         * sysdeps/i386/strchrnul.S: New file.
3953         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
3954         * sysdeps/i386/i486/bits/string.c: Likewise.
3955         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
3956         * inet/ether_line.c (ether_line): Likewise.
3957         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
3958         * nss/nsswitch.c (nss_parse_file): Likewise.
3959         * posix/execvp.c (execvp): Likewise.
3960         * posix/fnmatch.c (internal_fnmatch): Likewise.
3961         * resolv/res_hconf.c (_res_hconv_init): Likewise.
3962         * resolv/res_init.c (res_init): Likewise.
3963         * stdlib/fmtmsg.c (init): Likewise.
3964         * stdlib/getsubopt.c (getsubopt): Likewise.
3966         * catgets/catgets.c (catopen): Only allocate one memory block.
3967         (catclose): Only one free call necessary.
3969         * catgets/open_catalog.c (__open_catalog): Simplify handling of
3970         file descriptor.
3972         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
3973         of real functions.  Simplify _tolower and _toupper.
3975         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
3976         variable.
3978         * iconv/gconv.h (struct gconv_info): Change data element from pointer
3979         to array of size 0.
3980         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
3981         * iconv/gconv_close.c (__gconv_close): Don't free data.
3983         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
3984         insert new alias.
3986         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
3987         for error while inserting in tree.
3989         * include/time.h: Pretty print.
3991         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
3992         in table and lots of relocations.
3993         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
3994         string pointers in table and lots of relocations.
3996         * intl/finddomain.c: Remove definition of strchr macro.
3998         * io/ftw.c (nftw_arr, ftw_arr): Make const.
4000         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
4002         * locale/localeinfo.h (_nl_category_names): Change into an array with
4003         fixed width char string elements.
4004         * locale/setlocale.c (_nl_category_names): Likewise.
4005         (_nl_current): Make global.
4006         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
4008         * malloc/Makefile (distribute): Add stackinfo.h.
4009         * sysdeps/generic/stackinfo.h: New file.
4010         * sysdeps/i386/stackinfo.h: New file.
4011         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
4012         * posix/execle.c: Likewise.
4013         * posix/execlp.c: Likewise.
4015         * nis/nis_table.c (__create_ib_request): Always use realloc.
4017         * posix/execvp.c (execute): Rename to script_execute and keep only
4018         code to execute using shell.
4019         (execvp): Call execv directly and only fall back on script_execute.
4021         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
4022         and always use xdigits instead.
4024         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
4025         where appropriate.
4027         * stdlib/fpioconst.h (__tens): New declaration.
4028         (struct mp_power): Remove array, add arrayoff element.
4029         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
4030         __tens array and add in _fpioconst_pow10 offsets into __tens.
4031         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
4032         * stdlib/strtod.c: Likewise.
4034         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
4036         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
4037         of the list.
4038         * stdlib/atexit.c (__exit_funcs): Don't initialize.
4040         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
4042         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
4043         a single and an array with offsets.
4045         * sunrpc/des_soft.c (partab): Make it const.
4047         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
4048         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
4049         (__key_decryptsession_pk_LOCAL): Likewise.
4050         (__key_gendes_LOCAL): Likewise.
4051         (MESSENGER): Mark const.
4052         (key_call_private_main): Don't initialize with 0.
4053         (use_keyenvoy): Don't initialize with 0.
4054         (key_call): Rewrite to reverse logic of use_doors variable.
4056         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
4057         (startp): Don't initialize with zero.
4059         * sunrpc/openchild.c (_openchild): Make first argument const.
4061         * sunrpc/pmap_rmt.c (timeout): Mark const.
4062         * sunrpc/xcrypt.c (hex): Likewise.
4064         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
4065         initialization of global variables.
4066         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4067         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4068         * termios/tcgetsid.c: Likewise.
4070         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
4071         fxsr to osfxsr.
4073         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
4074         block.  Add function to free memory if wanted.
4075         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
4077         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
4079         * wcsmbs/wmemset.c: Little code optimization.
4081 1999-04-23  Paul Eggert  <eggert@twinsun.com>
4083         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
4084         ifdef _LIBC.
4086 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
4088         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
4089         implementation and just always fail with ENOSYS.  This entry point is
4090         obsolete.  Add link warning to that effect.
4092 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
4094         * hurd/get-host.c: Include <hurd/lookup.h>.
4096 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4098         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
4099         is != NULL.
4101 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4103         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
4104         ISO C9x and Unix98.
4106 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4108         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
4109         Patch by Peter Miller <millerp@canb.auug.org.au>.
4111 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
4113         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
4114         prefers loopback device.
4116 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4118         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
4119         no_leading_period change.
4121         * posix/testfnm.c: More test cases.
4123 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
4125         * include/dirent.h: Remove __getdirentries declaration, add __getdents
4126         and __getdents64.
4127         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
4128         * sysdeps/unix/readdir_r.c: Likewise.
4129         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4130         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
4131         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
4132         __getdirentries.  Remove fourth argument.
4133         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
4134         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
4135         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
4136         Add getdirentries and getdirentries64.
4137         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
4139         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
4140         pointer in case of an invalid [[: expression.
4142         * posix/testfnm.c: Add more test cases.
4144 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
4146         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
4147         set, pass EXEC_SIGTRAP flag in exec RPC.
4149 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
4151         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
4152         extra parameter.  Fix several more bugs involving wildcard and
4153         ranges.
4154         (fnmatch): New function.  Call internal_fnmatch.
4156         * posix/testfnm.c: More test cases.
4158 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4160         * manual/install.texi (Configuring and compiling): Explain that
4161         files are changed in the source directory.
4162         Closes PR libc/981.
4163         (Configuring and compiling): Explain situation with PARALLELMFLAGS
4164         in the source directory.
4166 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4168         * locale/programs/ld-ctype.c: Spelling fixes.
4169         (ctype_finish): Fix argument of error message format.
4170         * locale/programs/ld-messages.c: Spelling fixes.
4171         * locale/programs/ld-monetary.c: Spelling fixes.
4172         * locale/programs/ld-time.c (time_finish): Make sure that name and
4173         format of era_entries are adjacent.
4174         (time_output): Reduce the size of the io vector.
4176 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4178         * manual/filesys.texi (Attribute Meanings): Move a misplaced
4179         paragraph.
4181 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4183         * locale/programs/ld-collate.c (collate_output): Convert
4184         undefined_offset to an array index.  Fix computation of other
4185         endian extra table.
4187 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
4189         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
4190         return success with empty value.
4192 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
4194         * posix/fnmatch.c: Include string.h also for glibc.
4195         (fnmatch, case '?'): Optimize if cascades a bit.
4196         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
4198         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
4200 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
4202         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
4203         * iconv/gconv_int.h: Declare UTF16 functions.
4204         * iconv/gconv_simple.c: Add UTF16 conversion functions.
4206 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4208         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
4209         be used correctly as parameter for parse_dollars/parse_tilde.
4211 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4213         * manual/conf.texi (Utility Limits): Remove duplicate description
4214         of BC_DIM_MAX.
4216 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
4218         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
4219         outbufend for dst==NULL.
4221 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
4223         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
4224         for dst==NULL.
4225         Fixes PR libc/1084.
4227         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
4228         Fixes PR libc/1083.
4230 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
4232         * sunrpc/Makefile: Remove special handling of bootparam.x,
4233         add rpcsvc/bootparam.h to headers.
4234         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
4235         * sunrpc/rpcsvc/bootparam.x: Renamed to...
4236         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
4238 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
4240         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
4241         detect and handle invalid descriptors.
4243 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
4245         * timezone/zic.c (dolink): Append complete path not only filename
4246         to ../ list.
4248 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4250         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
4252 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
4254         * iconvdata/gconv-modules: Rename CP874 to IBM874.
4255         * iconvdata/Makefile: Likewise.
4256         * iconvdata/cp874.h: Removed.
4257         * iconvdata/cp874.c: Renamed to...
4258         * iconvdata/ibm874.c: ...this.
4260 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
4262         * sysdeps/unix/sysv/linux/bits/types.h: Correct
4263         signed/unsigned-ness of blkcnt and fsblkcnt.
4264         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4265         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4267         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
4268         SOL_AAL, and SOL_IRDA.
4270 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4272         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
4273         include "linux_fsinfo.h".
4274         Based on a patch by H.J. Lu <hjl@gnu.org>.
4276 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
4278         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
4280 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
4282         * nscd/cache.c (prune_cache): Only disable file checking for
4283         future if the file does not exist.
4284         Update file_mtime if cache was flushed.
4286 1999-04-15  David S. Miller  <davem@redhat.com>
4288         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
4289         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
4291 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
4293         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
4294         compilation of file.
4296 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4298         * Versions.def: Add GLIBC_2.1.1 to libpthread.
4300         * iconvdata/Makefile (modules): Add KOI8-U.
4301         (distribute): Add koi8-u.c.
4302         (gen-8bit-gap-modules): Add koi8-u.
4303         * iconvdata/gconv-modules: Add KOI8-U entries.
4304         * iconvdata/koi8-u.c: New file.
4306 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
4308         * sunrpc/auth_des.c: 64bit fixes, security fixes.
4309         * sunrpc/auth_none.c: Pretty print.
4310         * sunrpc/auth_unix.c: Likewise.
4311         * sunrpc/authdes_prot.c: Likewise.
4312         * sunrpc/authuxprot.c: Likewise.
4313         * sunrpc/bindrsvprt.c: Likewise.
4314         * sunrpc/clnt_gen.c: Likewise.
4315         * sunrpc/rpc/xdr.h: Likewise.
4316         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
4317         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
4318         * sunrpc/rtime.c: Use new rpc_timeval.
4319         * sunrpc/svc_authux.c: Don't use *long pointers.
4320         * sunrpc/svcauth_des.c: Likewise + security fixes.
4321         * sunrpc/xdr_mem.c: Don't use *long pointers.
4322         * sunrpc/xdr_rec.c: Likewise.
4323         * sunrpc/xdr_sizeof.c: Likewise.
4324         * sunrpc/xdr_stdio.c: Likewise.
4326 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4328         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
4329         so that it is redone for each sending.
4331 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4333         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
4335 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4337         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
4338         known to not exist don't try to load shared objects.
4339         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
4341         * nscd/cache.c (prune_cache): The table might not be unused.  In
4342         this case do nothing.
4344         * catgets/gencat.c (read_input_file): Don't drop white spaces
4345         between number/identifier and string.
4346         Patch by Dima Barsky <dima@pwd.hp.com>.
4347         If no white space at all follows number/identifier remove existing
4348         message with the number/identifier.
4350 1999-04-14  H.J. Lu  <hjl@gnu.org>
4352         * sunrpc/clnt_udp.c (is_network_up): New function.
4353         (clntudp_call): Call is_network_up () to check if any network
4354         interface is up in case of timeout.
4356 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4358         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
4359         * wctype/Makefile (tests): Add test_wcfuncs.
4361 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
4363         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
4364         architectures.
4365         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
4366         instead of CFLAGS.
4367         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
4368         instead of CFLAGS. For gnulib and string directories use
4369         -Wa,-Av9a gcc ASFLAGS.
4370         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
4371         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
4372         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
4373         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
4374         the same way as sparc-*.
4376 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
4378         * locale/programs/locfile.c (locfile_read): Fix typo.
4379         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
4381 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
4383         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
4384         restarted after being interrupted by a signal.  The parameters on
4385         the stack were corrupted by the signal handler.
4387         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
4388         restarted after being interrupted by a signal.  The parameters on
4389         the stack were corrupted by the signal handler.
4391 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4393         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
4394         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
4396 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
4398         * posix/wordexp-test.c: In field-splitting test cases where
4399         subshells were involved, unset IFS first: some shells (ash) use
4400         IFS even when no expansion is performed.
4402 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4404         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
4405         the real end of the chunk, not some random point inbetween.
4406         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
4407         obstack when growing.  Use fast version of obstack_blank when
4408         shrinking.
4409         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
4410         allocating the vtable pointer.
4411         (_IO_obstack_vprintf): Adjust for above change and avoid
4412         unnecessary casts.  Use fast version of obstack_blank when
4413         shrinking.
4414         Fixes PR libc/1075.
4416 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
4418         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
4419         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
4421 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
4423         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
4424         is seen, as well as fixing semantics.  Don't reset the word count
4425         to zero when an invalid character is seen, but leave it as it was
4426         (this makes a difference with WRDE_APPEND).
4428         * posix/wordexp-test.c: More test cases.
4430         * posix/wordexp.c (parse_param): In words like ${var#pattern},
4431         always expand pattern when it is needed.  Also, handle quoting in
4432         pattern properly.
4434 1999-04-12  Philip Blundell  <philb@gnu.org>
4436         * elf/elf.h: Update ARM definitions to match current gas2.
4438         * sysdeps/arm/bits/endian.h: Support big endian operation.
4440         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
4441         Don't bother range checking the port number.
4443         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
4445         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
4446         the syscall name in assembler output for ease of debugging.
4448         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
4449         compiler behaviour.
4450         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
4451         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
4452         (sysdep_routines): Add sigrestorer.
4454         * string/tester.c (test_strcpy): Add new tests for unaligned
4455         arguments.
4456         * sysdeps/arm/bits/string.h: Delete inline implementations of
4457         strcpy and stpcpy.
4459 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
4461         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
4463 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
4465         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
4467 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
4469         * iconvdata/Makefile (modules): Add TIS-620.
4470         (distribute): Add tis-620.c.
4471         (gen-8bit-gap-modules): tis-620.
4472         * iconvdata/tis-620.c: New file.
4473         * iconvdata/gconv-modules: Add TIS-620 entries.
4475         * iconvdata/asmo_449.c: Correct comment.
4477 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4479         * manual/install.texi (Configuring and compiling): Comment out
4480         description of --disable-static since this doesn't work currently
4481         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
4483 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
4485         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
4486         use binary search.
4487         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
4489 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4491         * scripts/test-installation.pl (installation_problem): Skip
4492         libnss1_* libraries from glibc-compat add-on.
4494 1999-04-07  H.J. Lu  <hjl@gnu.org>
4496         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
4497         libstdc++ 2.7.2.
4498         * posix/Versions (__waitpid): Likewise.
4500 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4502         * manual/install.texi (Reporting Bugs): Add section about reported
4503         bugs and correct email address of glibcbug script.
4505 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
4507         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
4508         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
4509         xdr_u_longlong_t. Based on patch from Dan Shechter
4510         <damageboy@isdn.net.il>.
4511         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
4512         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
4514         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
4516 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4518         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
4519         directly if getdents returns with error set.
4521 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4523         * locale/langinfo.h (THOUSEP): Rename second occurence of
4524         THOUSANDS_SEP to THOUSEP.
4525         Reported by Roman Belenov <roman@nstl.nnov.ru>.
4527 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
4529         * hurd/STATUS: File removed.  Moved items that are still relevant into
4530         TODO list in hurd source.
4532 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
4534         * sysdeps/mach/hurd/bits/time.h: New file.
4535         * sysdeps/mach/hurd/getrusage.c: New file.
4536         * sysdeps/mach/hurd/clk_tck.c: New file.
4537         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
4538         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
4539         (sysdep_routines): Add clk_tck.
4540         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
4541         implemented.
4543 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
4545         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
4546         (closelog): But instead here.
4547         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
4549 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4551         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4552         the source directory.  Fixes PR libc/1059.
4554 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4556         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
4557         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4559 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
4561         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
4562         * iconvdata/testdata/ISO-8859-14: New file.
4563         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
4564         * iconvdata/testdata/ISO-8859-15: New file.
4565         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
4567 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
4569         * iconvdata/testdata/CP1258: New file.
4570         * iconvdata/testdata/CP1258..UTF8: New file.
4571         * iconvdata/TESTS: Add CP1258 entry.
4573         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
4575         * timezone/africa: Update from tzdata1999d.
4576         * timezone/europe: Likewise.
4577         * timezone/northamerica: Likewise.
4579 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
4581         * login/programs/pt_chown.c (main): Save effective user ID before
4582         dropping priviliges and use this to check if the program is
4583         properly installed.
4585 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
4587         * iconvdata/testdata/CP1254: Update for charmap changes.
4588         * iconvdata/testdata/CP1254..UTF8: Likewise.
4589         * iconvdata/testdata/CP1255: Likewise.
4590         * iconvdata/testdata/CP1255..UTF8: Likewise.
4591         * iconvdata/testdata/CP1256: Likewise.
4592         * iconvdata/testdata/CP1256..UTF8: Likewise.
4593         * iconvdata/testdata/CP1257: Likewise.
4594         * iconvdata/testdata/CP1257..UTF8: Likewise.
4596         * iconvdata/Makefile (distribute): Remove cp1258.h.
4597         (gen-8bit-gap-modules): Add cp1258.
4598         * iconvdata/cp1258.h: Removed.
4600 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
4602         * timezone/tst-timezone.c (tests): Add more cases.
4603         (check_tzvars): Mark errors clearer.
4604         (main): Likewise.
4606 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4608         * login/programs/pt_chown.c: Drop privileges if invoked with
4609         arguments.  Don't close the master pty.
4611 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
4613         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
4614         Minor optimization.
4616 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
4618         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
4619         relocation for SUID binaries.
4621 1999-03-29  Paul Eggert  <eggert@twinsun.com>
4623         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
4624         while in child process.
4626 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
4628         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
4629         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
4630         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
4631         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
4632         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
4634         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
4635         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
4636         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
4637         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
4638         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
4639         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
4640         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
4641         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
4642         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
4643         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
4644         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
4645         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
4646         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
4647         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
4648         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
4649         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
4650         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
4651         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
4652         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
4653         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
4654         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
4655         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
4656         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
4657         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
4658         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
4659         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
4661         * sysdeps/sparc/sparc32/bcopy.c: New file.
4662         * sysdeps/sparc/sparc32/bzero.c: New file.
4663         * sysdeps/sparc/sparc32/memchr.S: New file.
4664         * sysdeps/sparc/sparc32/memcpy.S: New file.
4665         * sysdeps/sparc/sparc32/memmove.c: New file.
4666         * sysdeps/sparc/sparc32/memset.S: New file.
4667         * sysdeps/sparc/sparc32/stpcpy.S: New file.
4668         * sysdeps/sparc/sparc32/strchr.S: New file.
4669         * sysdeps/sparc/sparc32/strrchr.c: New file.
4670         * sysdeps/sparc/sparc32/strcpy.S: New file.
4671         * sysdeps/sparc/sparc32/strlen.S: New file.
4672         * sysdeps/sparc/sparc32/strcat.S: New file.
4673         * sysdeps/sparc/sparc32/strcmp.S: New file.
4675         * sysdeps/sparc/sparc64/bcopy.c: New file.
4676         * sysdeps/sparc/sparc64/bzero.c: New file.
4677         * sysdeps/sparc/sparc64/memchr.S: New file.
4678         * sysdeps/sparc/sparc64/memcmp.S: New file.
4679         * sysdeps/sparc/sparc64/memcpy.S: New file.
4680         * sysdeps/sparc/sparc64/memset.S: New file.
4681         * sysdeps/sparc/sparc64/stpcpy.S: New file.
4682         * sysdeps/sparc/sparc64/strcat.S: New file.
4683         * sysdeps/sparc/sparc64/strchr.S: New file.
4684         * sysdeps/sparc/sparc64/strcmp.S: New file.
4685         * sysdeps/sparc/sparc64/strcpy.S: New file.
4686         * sysdeps/sparc/sparc64/strcspn.S: New file.
4687         * sysdeps/sparc/sparc64/strlen.S: New file.
4688         * sysdeps/sparc/sparc64/strncpy.S: New file.
4689         * sysdeps/sparc/sparc64/strpbrk.S: New file.
4690         * sysdeps/sparc/sparc64/strrchr.c: New file.
4691         * sysdeps/sparc/sparc64/strspn.S: New file.
4692         * sysdeps/sparc/sparc64/stpncpy.S: New file.
4693         * sysdeps/sparc/sparc64/strncmp.S: New file.
4695         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
4696         Append -fPIC, don't replace.
4698         * configure.in: Recognize sparcv8plus / sparcv9.
4700 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4702         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
4703         char * to avoid C++ warning.
4704         Patch by yasushi@cs.washington.edu [PR libc/1035].
4706 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4708         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
4709         declared in stdlib.h, correct return value of mkstemp.
4710         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
4712         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
4713         from Linux 2.2.5.
4715 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4717         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
4718         C++ warning.
4720         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
4721         inline functions.  Closes PR libc/1049.
4723 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4725         * timezone/README: Update from tzdata1999c and tzcode1999c.
4727         * timezone/africa: Update from tzdata1999c.
4728         * timezone/antarctica: Likewise.
4729         * timezone/asia: Likewise.
4730         * timezone/australasia: Likewise.
4731         * timezone/europe: Likewise.
4732         * timezone/northamerica: Likewise.
4733         * timezone/southamerica: Likewise.
4734         * timezone/zone.tab: Likewise.
4736         * timezone/zic.c: Update from tzcode1999c.
4738 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4740         * Makerules: Add $(common-objpfx)Versions.all to common-generated
4741         outside of ifndef avoid-generated.
4743         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
4744         in iofdopen.c.
4745         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
4746         iofopen.c.
4747         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
4748         in iofclose.c.
4749         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
4750         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
4752 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
4754         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
4755         if we build the profiled library.
4757 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4759         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
4760         Jaeger <aj@arthur.rhein-neckar.de>
4762 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
4764         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
4765         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
4766         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
4768 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
4770         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
4771         works properly in subdirs.
4773 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
4775         * sysdeps/mach/hurd/Makefile: Undo last change.
4776         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
4777         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
4779         * mach/Machrules (+preinit, +postinit, +interp,
4780         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
4781         linked just like other shared libraries.
4782         (interface.so): Fix typo in defn, so it works.
4783         ($(objpfx)$(interface.so)): Make it depend on libc.so.
4785 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
4787         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
4788         $(link-rpcuserlibs).
4790 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4792         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
4793         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
4794         targets if not building shared libraries.
4796 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4798         * configure.in: Also look in $PATH when searching for
4799         install-info.  Remove autoconf bug workaround and require autoconf
4800         2.13.
4802 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4804         * db/Makefile: Don't try to install shared library link if not
4805         building with shared libs.
4807 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4809         * rt/Makefile: Link against static library if no shared lib is
4810         available.
4812         * localedata/Makefile: The shells scripts implementing the test
4813         require the dynamic linker which is not available with
4814         --disable-shared.  Skip the test if --disable-shared is given.
4816         * linuxthreads/Makefile: Link test against static libpthread if no
4817         shared lib is available.
4819         * iconvdata/Makefile (tests): Run iconv-test only if we're
4820         building shared libraries.
4821         * elf/Makefile (tests): Likewise for elf tests.
4823         * posix/Makefile: The test frameworks globtest and wordexp-test
4824         require the dynamic linker which is not available with
4825         --disable-shared.  Skip the test if --disable-shared is given.
4827         * grp/Makefile (otherlibs): For static nss build link against
4828         necessary libs.
4830 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4832         * debug/Makefile (install-bin): Install and build catchsegv only
4833         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
4834         libc/965].
4836 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4838         * time/tzfile.c (__tzfile_read): Handle the case where there are
4839         transitions but no DST.
4841 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
4843         * mach/Machrules (extra-libs-others): Add $(interface-library) here
4844         too, so it gets built in the others pass rather than the lib pass.
4845         This is necessary since the RPC libraries need to be linked against
4846         libc.
4848 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
4850         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
4851         _itoa_word decl.
4853         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
4854         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
4855         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
4856         versions of lib{mach,hurd}user.so without reference to libc.so,
4857         then link libc.so against that to get deps and symbol versions, then
4858         finally link real lib*user.so against libc.so.
4860         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
4861         Support whole-file locking (only) by using the file_lock RPC.  This
4862         has very wrong semantics, but is better than nothing for the time
4863         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
4864         protocols that will be somewhat hairy to specify.)
4866 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
4868         * sysdeps/mach/hurd/ptsname.c: New file.
4870 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4872         * timezone/asia: Fix rule in Asia/Nicosia entry.
4874 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4876         * manual/getopt.texi (Using Getopt): Explain "::" in option
4877         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
4879 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
4881         * sunrpc/clnt_unix.c: Fix creation of parameters for
4882         sendmsg/recvmsg on non intel platforms.
4883         * sunrpc/svc_unix.c: Likewise.
4885 1999-03-18  Philip Blundell  <philb@gnu.org>
4887         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
4888         implementation.
4890 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4892         * timezone/africa: Update from tzdata1999b.
4893         * timezone/asia: Likewise.
4894         * timezone/australasia: Likewise.
4895         * timezone/europe: Likewise.
4896         * timezone/northamerica: Likewise.
4897         * timezone/southamerica: Likewise.
4898         * timezone/zone.tab: Likewise.
4900         * timezone/README: Mention tzdata1999b.
4902 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
4904         * sysdeps/generic/segfault.c (write_strsignal): New function.
4905         (catch_segfault): Use it instead of calling strsignal.
4907 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4909         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
4910         char to avoid warning.
4912 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
4914         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
4916         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
4917         outbuf to unsigned char to avoid warning.
4919 1999-03-11  David S. Miller  <davem@redhat.com>
4921         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
4922         masks.
4923         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
4925 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
4927         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
4928         `unsigned char'.
4929         (gconv_step_data): Likewise.
4930         * iconv/gconv_int.h (__gconv): Likewise.
4931         (__BUILINT_TRANS): Likewise.
4932         * iconv/gconv.c (__gconv): Likewise.
4933         * iconv/iconv.c (iconv): Add casts for call of __gconv.
4934         * iconv/skeleton.c: Change local parameters and variable from `char' to
4935         `unsigned char'.  Remove casts from calls into modules.
4936         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
4937         `char' to `unsigned char'.
4938         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
4939         * wcsmbs/mbrtowc.c: Likewise.
4940         * wcsmbs/mbsnrtowcs.c: Likewise.
4941         * wcsmbs/mbsrtowcs.c: Likewise.
4942         * wcsmbs/wcrtomb.c: Likewise.
4943         * wcsmbs/wcsnrtombs.c: Likewise.
4944         * wcsmbs/wcsrtombs.c: Likewise.
4945         * wcsmbs/wctob.c: Likewise.
4947 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
4949         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
4950         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
4951         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
4952         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
4953         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
4954         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
4956 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
4958         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
4959         _hurd_select if TIMEMOUT is -1.
4961 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
4963         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
4965 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
4967         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
4968         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
4970 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4972         * manual/libc.texinfo: Undo last change for now.
4974 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
4976         * intl/locale.alias: Add entries for Croatian.
4977         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
4979 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
4981         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
4982         if the opened master pty really is a pty.  `isatty' checks for
4983         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
4984         if we are out of pty's.
4986 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
4988         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
4989         opened file is closed on exec.
4990         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
4991         opened socket.
4993 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4995         * manual/llio.texi (File Position Primitive): Reformat @end
4996         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
4998 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
5000         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
5001         entry is found.
5002         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5003         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5005         * locale/programs/localedef.c (main): Initialize `cat' to please
5006         the compiler.
5008 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
5010         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
5011         check for root-owned symlinks and reject them too.
5013 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5015         * stdio-common/printf_fphex.c: Move to ...
5016         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
5017         extended precision number.
5018         * sysdeps/m68k/printf_fphex.c: New file.
5020 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5022         * manual/stdio.texi: Fix typos.
5024 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
5026         * version.h (VERSION): Bump to 2.1.1.
5028 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
5030         * nis/ypclnt.c: Try only twice to connect to NIS server.
5032 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
5034         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
5036 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5038         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
5039         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
5040         * stdlib/strtold.c: Moved to ...
5041         * sysdeps/generic/strtold.c: ... here.
5042         * sysdeps/m68k/strtold.c: New file.
5044 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5046         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
5047         point if the precision is zero, even if the mantissa is non-zero.
5049 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
5051         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
5052         arguments into the request message buffer inside `send_rpc'
5053         subfunction.  We must repeat the marshalling when retrying the RPC
5054         after a SIGTTOU delivery.
5056         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
5057         path when there is no ctty port.
5058         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5059         Move sigstate check inside loop so we recheck after handling a signal.
5061 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5063         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
5064         O_EXLOCK are BSD extensions.
5065         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
5067 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
5069         * manual/signal.texi (Termination in Handler): Correct example.
5070         Install default handler before reraising the signal.
5071         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
5073 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
5075         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
5076         null, in which case send an empty string.
5078 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
5080         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
5081         backward compatibility EH functions to be linked when using
5082         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
5084 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5086         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
5087         /dev/pts status may change during runtime.
5089 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5091         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
5092         change.  /dev/pts status can change during runtime.
5094 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
5096         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
5097         poll reports error.
5098         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
5099         add some more sanity checks.
5100         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
5101         parser prototype.
5103 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
5105         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
5106         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
5107         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
5108         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
5109         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
5110         for x_getint32.
5111         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
5112         * nis/nis_print.c: Fix ctime argument for platforms where
5113         sizeof (time_t) != sizeof (int).
5115 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
5117         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
5118         CLOCKS_PER_SEC instead of CLK_TCK.
5120 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
5122         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
5123         whether /dev/pts is available.
5124         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
5125         dev_pts_available.
5127         * posix/globtest.sh: Make common_objpfx path absolute and and db2
5128         and hesiod directory to library path [PR libc/1007].
5130 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5132         * resolv/inet_addr.c (inet_aton): Don't allow componets >
5133         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
5135 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
5137         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5138         DT_PLTGOT has already been relocated.
5139         (__elf_machine_fixup_plt): Likewise.
5140         Minor cleanups.
5142 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
5144         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
5146 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
5148         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
5149         and fold string to uppercase [PR libc/1005].
5151 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5153         * elf/dl-load.c (lose): Fix return type.
5155 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
5157         * sysdeps/mach/hurd/bits/fcntl.h
5158         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
5159         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
5160         set O_NOTRANS as well.
5161         (__hurd_file_name_lookup_retry): At successful end of lookup,
5162         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
5163         it is a translated node not owned by root.
5164         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
5165         on the file name passed to LOOKUP.
5167 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
5169         * manual/time.texi (High Resolution Timer): Correct computation in
5170         example.  Reported by jjf@devel.cemsys.com.
5172 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
5174         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
5175         entry is already relocated.
5177 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5179         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
5180         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
5182 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5184         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
5185         uc_link which is the right name according to Unix98.
5186         Reported by Craig Metz [PR libc/1001].
5187         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
5188         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
5189         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
5190         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
5191         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
5192         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
5194 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5196         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
5197         @ifinfo.
5199 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5201         * iconvdata/Makefile: Always include iconv-rules, but disable rule
5202         to regenerate it if avoid-generated.
5204         * Makeconfig: Always include sys-dirs, but disable rule to
5205         regenerate it when avoid-generated.
5207         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
5208         rule to generate sysd-syscalls.
5210         * elf/Makefile (generated): Remove $(objpfx) from names.
5212 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
5214         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
5215         actual length if the adress length is smaller than the input
5216         value.  Change type of *LEN paramater to socklen_t.
5217         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
5218         * sysdeps/mach/hurd/accept.c (accept): Likewise.
5219         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
5220         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
5221         paramater to socklen_t.
5223 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
5225         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
5226         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
5227         with the RPC.
5229 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
5231         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
5232         __get_phys_pages): Cast &HBI to silence warning.
5234         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
5235         * hurd/hurdchdir.c: New file.
5236         * hurd/hurdfchdir.c: New file.
5237         * sysdeps/mach/hurd/chroot.c: Call
5238         _hurd_change_directory_port_from_name to do the work.
5239         * sysdeps/mach/hurd/chdir.c: Likewise.
5240         * sysdeps/mach/hurd/fchdir.c: Call
5241         _hurd_change_directory_port_from_fd to do the work.
5242         * hurd/fchroot.c: Likewise.
5243         * hurd/hurd.h: Declare them.
5245 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
5247         * elf/dl-load.c (lose): Add more comments to explain the `why'.
5248         (_dl_map_object): Remove redundant test.
5250 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
5252         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
5253         try to _hurd_port_free a lower-numbered descriptor that was not in any
5254         fd_set.
5256 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5258         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
5259         declaration for ____wcstod_l_internal.
5261         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
5262         __strtod_internal prototype.
5263         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
5264         (____strtold_l_internal): Add prototype declaration.
5265         (__strtold_l): Call correct function.
5267 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
5269         * elf/elf.h: Add 32bit HPPA definitions.
5271 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5273         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
5274         non-checked heap is restored when malloc checking was requested by
5275         the user.
5276         (struct malloc_state): Add using_malloc_checking.
5277         (MALLOC_STATE_VERSION): Increment minor.
5278         (using_malloc_checking, disallow_malloc_check): New variables.
5279         (__malloc_check_init): Use them.
5280         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
5281         that it can the chunk is properly instrumented when malloc
5282         checking is enabled.  Set the new using_malloc_checking field.
5283         (malloc_hook_ini): Correct signature when _LIBC is not defined.
5285 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5287         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
5288         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
5289         time.
5291         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
5292         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
5293         if ld.so is the main program.
5295 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
5297         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
5298         large for work_buffer, allocate new buffer.
5299         (printf_unknown): Likewise.  [PR libc/988]
5301 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
5303         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
5304         instead of stat and fstat.
5305         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5307 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5309         * elf/dl-error.c (_dl_signal_cerror): New function.
5310         (_dl_signal_error): Don't call receiver function.
5311         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
5312         instead of _dl_signal_error when reporting references to undefined
5313         symbols or versions.
5314         (_dl_lookup_versioned_symbol): Likewise.
5315         (_dl_lookup_versioned_symbol_skip): Likewise.
5316         * elf/dl-version.c (match_symbol): Likewise.
5318         * elf/ldsodefs.h: Declare _dl_signal_cerror.
5320 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
5322         * misc/getttyent.c (getttyent): Release lock on stream later to
5323         also protect global variable zapchar.
5325         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
5326         __times [PR libc/990].
5328 1999-02-21  David S. Miller  <davem@redhat.com>
5330         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
5331         parentheses in Feb 2 changes.
5332         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5334 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5336         * sysdeps/generic/glob.c (glob): Save previous errno.
5338 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
5340         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
5341         lookup functions if it is too small.
5343 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
5345         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
5346         for tracing to the scope lists.
5347         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
5348         DT_SYMTAB is always available according to ELF spec.
5350         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
5351         call test whether there is any scope left.
5352         (_dl_lookup_versioned_symbol_skip): Likewise.
5354         * elf/Makefile (distribute): Add do-lookup.h.
5355         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
5356         * elf/dl-lookup.c: Move do_lookup function in separate file and
5357         include the file twice, for handling versioning and without it.
5359         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
5360         entry is already relocated.
5361         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
5362         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5363         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
5364         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
5365         Likewise.
5366         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
5367         Likewise.
5368         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
5369         Likewise.
5371         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
5372         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
5373         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
5374         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
5375         rel and rela relocations can both happen and skip one test if this
5376         is not possible.
5377         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
5378         appropriately.
5379         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
5380         already relocated.
5381         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
5382         relocated.
5383         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
5384         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
5385         (_dl_map_object): DT_STRTAB entry is already relocated.
5386         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
5387         already relocated.
5388         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
5389         relocated.
5390         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
5391         DT_VERSYM entries are already relocated.
5392         (profile_fixup): Likewise.
5393         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
5394         all users.
5395         (match_symbol): DT_STRTAB entry is already relocated.
5396         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
5397         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
5398         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
5399         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
5400         (find_needed): DT_STRTAB entry is already relocated.
5401         (dl_main): Pass extra argument to elf_get_dynamic_info.
5402         DT_STRTAB entry is already relocated.
5403         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
5404         DT_PLTGOT entries are already relocated.
5405         (elf_machine_rela): Likewise for DT_SYMTAB.
5406         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
5407         relocated.
5408         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5409         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5410         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5411         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5412         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
5413         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
5414         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
5415         * sysdeps/mips/mips64/dl-machine.h: Likewise.
5417         * grp/initgroups.c (initgroups): If function in current module was
5418         successful don't stop but continue to process to get all the groups.
5420         * elf/dl-load.c (_dl_map_object_from_fd): Use global
5421         _dl_pf_to_proot array to convert p_flags value.
5422         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5424         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
5425         loop to clear `info'.
5427         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
5428         do the work and don't use inline assembler.
5430 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
5432         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
5433         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
5434         noreturn, and prevent it from being inlined.
5435         Define LOSE appropriately.
5436         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
5437         Optimize decoding of p_flags for certain platforms.
5439 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
5441         * Makeconfig (link-libc): When doing a static link, make sure that
5442         libgcc.a is included both before and after libc.a.
5444 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
5446         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
5447         sp_warn, sp_inact, sp_expire and sp_flag.
5449 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
5451         * elf/link.h (link_map): Add l_dev and l_ino.
5452         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
5453         loaded shared object with all loaded objects.  Initialize l_ino
5454         and l_dev in case it's new.
5455         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
5456         object.
5457         * elf/Makefile: Compile and run new test.
5458         * elf/multiload.c: New file.
5460         * nss/nsswitch.h (service_user): Change name field from const char *
5461         to char[0].
5462         (name_database_entry): Likewise.
5463         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
5464         for change of `service_user'.
5465         (nss_getline): Adjust memory allocation for change of
5466         `name_database_entry'.
5468         * catgets/catgets.c: Correctly handle NLSPATH from environment
5469         [PR libc/980].
5471         * io/Makefile (routines): Add lock64.
5472         * io/Versions: Add lockf64 for GLIBC_2.1.1.
5473         * sysdeps/generic/lockf64.c: New file.
5475 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
5477         * string/bits/string2.h: Only use strncmp optimization if count
5478         argument is constant.
5480 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
5482         * sysdeps/mach/hurd/revoke.c: New file.
5484 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
5486         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
5487         int to avoid warning about `ISO C restricts enumerator values to
5488         range of `int''.
5490 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5492         * elf/dlfcn.h: Fix typo.
5493         * sysdeps/generic/bits/dlfcn.h: Likewise.
5494         * sysdeps/mips/bits/dlfcn.h: Likewise.
5496 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
5498         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
5499         for the case N == 0.
5501         * db2/Makefile (distribute): Add LICENSE.
5503 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
5505         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
5506         generated files.
5508         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
5510 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
5512         * time/mktime.c: Use ISO C form for function definitions and
5513         remove unnecessary prototypes.
5515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
5517         * time/time.h: Avoid unneccesary #ifdef.
5519 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
5521         * stdio-common/_itoa.c (_itoa): Correct parameters to
5522         udiv_qrnnd_preinv.
5524 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5526         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
5527         before (e.g. in glob.h).
5528         Closes PR libc/959.
5530 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5532         * sysdeps/mips/fpu_control.h: Fix typo.
5533         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
5534         Remove __setfpucw.
5536 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
5538         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
5539         the "unused" ends of the sockets.  Let pipes be bidirectional.
5541 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
5543         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
5544         invalid ai_flags.
5546 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5548         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
5549         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
5551         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
5552         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
5554 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
5556         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
5558 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5560         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
5561         check for priority mask.
5563 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
5565         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
5566         Reported by Craig Metz <cmetz@inner.net> .
5568 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5570         * stdio-common/Makefile (tests): tllformat added.
5572         * stdio-common/tllformat.c: New program, based on tiformat.c with
5573         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5575 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5577         * posix/test-vfork.c: Fix exit status test.
5579 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5581         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
5582         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
5584 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5586         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
5587         of separare explicit comparisons.
5589 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5591         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
5592         defined.
5594         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
5595         defined.
5597 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
5599         * po/el.po: Update from translation team.
5601 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5603         * intl/locale.alias: Fix slovenian entry [PR libc/948].
5605 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5607         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
5608         * inet/ruserpass.c: Likewise.
5609         * locale/programs/stringtrans.c: Likewise.
5610         * locale/programs/localedef.c: Likewise.
5611         * nscd/grpcache.c: Likewise.
5612         * nss/nss_files/files-XXX.c: Likewise.
5613         * stdlib/canonicalize.c: Likewise.
5614         * sysdeps/posix/sigwait.c: Likewise.
5616 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5618         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
5619         even on 64 bit platforms.
5621         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5622         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
5624 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
5626         * intl/dcgettext.c: Include locale.h is available.
5628 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
5630         * po/nl.po: Update from translation team.
5632         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
5634         * Makefile: Allow calling goals for po subdir.
5636         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
5637         signal definitions.
5639         * po/el.po: New file.
5641 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5643         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
5644         when processing DT_SYMBOLIC objects.
5646 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5648         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
5649         program headers without PT_PHDR only require that they are
5650         contained within one of the loaded segments.  Don't use assert,
5651         since that would be a bug in the object, not the dynamic linker.
5653 1999-02-08  Richard Henderson  <rth@cygnus.com>
5655         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
5656         restore all call-clobbered fp regs.
5658 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
5660         * po/cs.po: New file.
5662         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
5663         SUID binaries.
5665 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
5667         * signal/signal.h: Don't declare __libc_allocate_rtsig.
5668         * include/signal.h: Declare __libc_allocate_rtsig here.
5670         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
5671         point functions, not do_lookup since the later can be called more
5672         than once.
5674 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
5676         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
5677         macro, so that architectures which need to add some special
5678         offset to stack pointer can share this file.
5680         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
5681         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
5682         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
5683         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
5685         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
5686         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
5687         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
5688         between sparc32 and sparc64.
5690         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
5691         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
5692         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
5693         between sparc32 and sparc64.
5695         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
5696         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
5697         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
5698         between sparc32 and sparc64.
5700         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
5701         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
5702         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
5703         between sparc32 and sparc64.
5705 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
5707         * Versions.def: New version GLIBC_2.1.1 for libc.
5708         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
5709         * stdlib/labs.c: Moved to...
5710         * sysdeps/generic/labs.c: ...here.
5711         * stdlib/llabs.c: Moved to...
5712         * sysdeps/generic/llabs.c: ...here.
5713         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
5714         header.  Declare _Exit.
5715         * sysdeps/generic/_exit.c: Add alias _Exit.
5716         * sysdeps/mach/hurd/_exit.c: Likewise.
5717         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
5718         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
5719         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
5720         * sysdeps/unix/_exit.c: Likewise.
5721         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
5722         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
5723         * sysdeps/wordsize-64/inttypes.h: Likewise.
5724         * sysdeps/wordsize-32/llabs.c: New file.
5725         * sysdeps/wordsize-32/lldiv.c: New file.
5726         * sysdeps/wordsize-64/labs.c: New file.
5727         * sysdeps/wordsize-64/ldiv.c: New file.
5728         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
5729         * manual/startup.texi: Document _Exit.
5731 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5733         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
5735 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
5737         * Versions.def: Add versions for ld.so.
5738         * csu/Versions: Remove __libc_stack_end here.
5739         * elf/Versions: Split libc definitions in libc and ld.so definitions.
5740         * elf/Makefile (ld-map): Change to ld.so.map.
5741         * scripts/versions.awk: Recognize dot in library names.
5743         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
5744         Don't use __tolower and __toupper in inline functions.
5745         Add optimizing macros for tolower and toupper.
5746         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
5747         (_toupper): Don't use __toupper.
5748         * ctype/ctype.c (tolower): Don't use __tolower.
5749         (toupper): Don't use toupper.
5751         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
5753         * resolv/Versions (libresolv): Export __ns_name_unpack and
5754         __ns_name_ntop.
5755         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
5756         make it global.  Change all users.  Similar for ns_name_ntop.
5757         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
5758         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
5759         directly to detect too small buffer.
5760         * resolv/nss_dns/dns-network.c: Likewise.
5762         * stdio-common/Makefile (tests): Add scanf12.
5763         * stdio-common/scanf12.c: New file.
5764         * stdio-common/scanf12.input: New file.
5765         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
5766         floating-point correctly if the number is invalid.
5768         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
5769         functions.
5770         * stdio-common/printf_fp.c: Likewise.
5771         * stdio-common/printf_fphex.c: Likewise.
5772         * stdio-common/vfprintf.c: Likewise.
5775 See ChangeLog.9 for earlier changes.