Update.
[platform/upstream/glibc.git] / ChangeLog
1 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
2
3         * manual/math.texi (Errors in Math Functions): New section.
4         * math/libm-err-tab.pl: Moved to...
5         * manual/libm-err-tab.pl: ...here.
6         * manual/Makefile: Add rules for math function error table generation.
7
8         * stdlib/tst-strtod.c: Add more hexadecimal tests.
9
10         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
11         != 1 correctly and more than one digit before decimal point..
12
13 1999-10-27  Andreas Jaeger  <aj@suse.de>
14
15         * sysdeps/generic/ifreq.h: New file.
16
17         * resolv/res_hconf.c: Add missing includes to get all prototypes.
18         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
19         Reported by John DiMarco <jdd@cs.toronto.edu>.
20
21         (_res_hconf_reorder_addrs): Made thread safe.
22         (free_mem): New function, needed for malloc debugging.
23
24 1999-10-29  Andreas Jaeger  <aj@suse.de>
25
26         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
27         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
28         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
29         opensock to use __opensock.
30
31         * socket/Makefile (routines): Add opensock.
32
33         * include/sys/socket.h (__opensock): Add prototype declaration.
34
35 1999-10-29  Andreas Jaeger  <aj@suse.de>
36
37         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
38         N_* constants.
39         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40
41         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
42         new constant from Linux 2.3.25pre1.
43
44         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
45
46 1999-10-29  Andreas Jaeger  <aj@suse.de>
47
48         * math/libm-err-tab.pl: New file to generate a table of
49         libm-test-ulps values.
50
51 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
52
53         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
54         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
55         struct sigcontext* object as second parameter for profil_counter.
56         Patches by Jakub Jelinek <jakub@redhat.com>.
57
58 1999-10-29  Andreas Jaeger  <aj@suse.de>
59
60         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
61         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
62
63         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
64         efs, qnx4 and reiser file systems.
65
66 1999-10-29  Andreas Jaeger  <aj@suse.de>
67
68         * locale/Makefile (others): Set to localedef and locale for make
69         clean.
70
71         * debug/Makefile (generated): Add xtrace for make clean to work.
72
73 1999-10-29  Andreas Jaeger  <aj@suse.de>
74
75         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
76
77 1999-10-25  Andreas Jaeger  <aj@suse.de>
78
79         * math/libm-test.inc: Added code to ignore the given max ulps.
80         (print_max_error): Check for ignore_max_ulp.
81         (check_float_internal): Likewise.
82         (parse_opt): Parse --ignore-max-ulp.
83         (main): Initialize ignore_max_ulp.
84
85 1999-10-26  Andreas Jaeger  <aj@suse.de>
86
87         * stdlib/msort.c: Include <alloca.h> for prototype.
88         Remove K&R compatibility and _quicksort prototype.
89
90         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
91         some comments.
92         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
93         Remove K&R compatibility.
94         Move prototype declaration to include/stdlib.h.
95         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
96
97         * include/stdlib.h: Prototype declaration for _quicksort.
98
99 1999-10-27  Andreas Jaeger  <aj@suse.de>
100
101         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
102         shifted a bit too much.
103         Reported by Eugen Dedu <dedu@ese-metz.fr>.
104
105 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
106
107         * resolv/gethnamaddr.c: Account bytes needed for alignment in
108         buflen.  Patch by Olaf Kirch <okir@lst.de>.
109
110         * md5-crypt/md5test.c: Correct names of MD5 functions after
111         removing of public names.
112
113         * configure.in: Don't allow --enable-kernel without parameter.
114
115 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
116
117         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
118         problems.
119
120 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
121
122         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
123         only used internally.
124         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
125         remove weak alias for public names.
126         * md5-crypt/md5.c: Remove weak aliase.
127
128 1999-10-25  Andreas Jaeger  <aj@suse.de>
129
130         * math/README.libm-test: New file, documents libm-test.inc.
131
132 1999-10-25  Andreas Jaeger  <aj@suse.de>
133
134         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
135         given.
136         (print_ulps_file): Fix loops to not read @tests and @functions
137         since those are not initialized with -n now.
138         (parse_ulps): Set $results{..}{"kind"}.
139
140 1999-10-25  Andreas Jaeger  <aj@suse.de>
141
142         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
143
144         * math/libm-test.inc (check_float_internal): Don't print ulps for
145         wrong sign of zero.
146
147 1999-10-20  Andreas Jaeger  <aj@suse.de>
148
149         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
150         versus AF_LOCAL.
151         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
152
153 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
154
155         * math/libm-test.inc: Disable some boundary case tests for inline
156         function testing.
157
158         * math/math.h: Pretty printing.
159
160         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
161         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
162         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
163         * sysdeps/i386/fpu/e_log10.S: Likewise.
164         * sysdeps/i386/fpu/e_log10f.S: Likewise.
165         * sysdeps/i386/fpu/e_log10l.S: Likewise.
166         * sysdeps/i386/fpu/s_log1p.S: Likewise.
167         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
168         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
169         * sysdeps/i386/fpu/s_log2.S: Likewise.
170         * sysdeps/i386/fpu/s_log2f.S: Likewise.
171         * sysdeps/i386/fpu/s_log2l.S: Likewise.
172
173         * sysdeps/i386/fpu/libm-test-ulps: New file.
174
175         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
176         value for x == 0.
177         (pow): Correct case x == 0.
178         (__sgn1l): Correct handling of -0.0.
179
180 1999-10-22  Andreas Jaeger  <aj@suse.de>
181
182         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
183         (atan_test): Likewise.
184         (atanh_test): Likewise.
185         (atan2_test): Likewise.
186         (carg_test): Likewise.
187         (ceil_test): Likewise.
188         (cos_test): Likewise.
189         (cosh_test): Likewise.
190         (cpow_test): Likewise.
191         (erf_test): Likewise.
192         (erfc_test): Likewise.
193         (exp_test): Likewise.
194         (exp10_test): Likewise.
195         (exp2_test): Likewise.
196         (expm1_test): Likewise.
197         (fabs_test): Likewise.
198         (floor_test): Likewise.
199         (fmod_test): Likewise.
200         (gamma_test): Likewise.
201         (lgamma_test): Likewise.
202         (log10_test): Likewise.
203         (log1p_test): Likewise.
204         (log2_test): Likewise.
205         (logb_test): Likewise.
206         (nearbyint_test): Likewise.
207         (remainder_test): Likewise.
208         (remquo_test): Likewise.
209         (sin_test): Likewise.
210         (sincos_test): Likewise.
211         (sinh_test): Likewise.
212         (sqrt_test): Likewise.
213         (tan_test): Likewise.
214         (tanh_test): Likewise.
215         (tgamma_test): Likewise.
216
217 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
218
219         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
220
221         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
222
223         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
224         for -Inf and return NaN.
225
226         * configure.in: Correct test for Cygnus gcc versions.
227
228 1999-10-21  Andreas Jaeger  <aj@suse.de>
229
230         * math/libm-test.inc (cimag_test): New function, tests cimag.
231         (creal_test): New function, tests creal.
232         (conj_test): New function, tests conj.
233         (main): Add new functions.
234
235 1999-10-20  Andreas Jaeger  <aj@suse.de>
236
237         * math/libm-test.inc: Rewrite to allow different deltas for real
238         and imaginary part of complex functions.
239         * math/gen-libm-test.pl: Likewise.
240
241 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
242
243         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
244         aliases.
245
246         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
247
248         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
249         for -Inf and return NaN.
250
251         * math/gen-libm-test.pl: Fix program name in help message.
252
253         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
254
255         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
256
257         * sysdeps/i386/Implies: Correct order of libm directories.
258
259 1999-10-19  Andreas Jaeger  <aj@suse.de>
260
261         * include/bits/ipc.h: Remove K&R compatibility.
262         * include/libintl.h: Likewise.
263         * include/math.h: Likewise.
264         * include/mntent.h: Likewise
265         * include/netdb.h: Likewise.
266         * include/pwd.h: Likewise.
267         * include/sched.h: Likewise.
268         * include/shadow.h: Likewise
269         * include/stdlib.h: Likewise.
270         * include/sys/file.h: Likewise.
271         * include/sys/gmon.h: Likewise.
272         * include/sys/ioctl.h: Likewise.
273         * include/sys/mman.h: Likewise.
274         * include/sys/resource.h: Likewise.
275         * include/sys/socket.h: Likewise.
276         * include/sys/stat.h: Likewise.
277         * include/sys/sysinfo.h: Likewise.
278         * include/sys/time.h: Likewise.
279         * include/sys/times.h: Likewise.
280         * include/sys/uio.h: Likewise.
281         * include/sys/wait.h: Likewise.
282         * include/termios.h: Likewise.
283         * include/time.h: Likewise.
284         * include/ulimit.h: Likewise.
285         * include/utmp.h: Likewise.
286         * include/wchar.h: Likewise.
287         * include/wctype.h: Likewise.
288
289 1999-10-19  Andreas Jaeger  <aj@suse.de>
290
291         * math/libm-test.inc: Remove one K&R compatibility.
292         (main): Enable nexttoward_test.
293
294         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
295         libm-test-ulps.h; pretty print output a bit.
296
297 1999-10-19  Andreas Jaeger  <aj@suse.de>
298
299         * iconv/iconv_prog.c (main): Set exit value in case that reading
300         from stdin failed [PR libc/1404].
301
302 1999-10-18  Andreas Jaeger  <aj@suse.de>
303
304         Added improved math testsuite:
305         * math/libm-test.inc: New file, contains all tests from
306         libm-test.c but in a different form.
307         * math/libm-test.c: Removed.
308         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
309         * math/gen-libm-test.pl: New file: Preprocessor.
310         * math/test-double.c: Adopted to new testsuite.
311         * math/test-idouble.c: Likewise.
312         * math/test-float.c: Likewise.
313         * math/test-ifloat.c: Likewise.
314         * math/test-ldouble.c: Likewise.
315         * math/test-ildoubl.c: Likewise.
316         * math/Makefile: Added rules to generate new suite.
317
318 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
319
320         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
321         Patch by J. Richard Sladkey <jrs@world.std.com>.
322
323         * scripts/config.sub: Update from latest autoconf version.
324         * scripts/config.guess: Likewise.
325
326 1999-10-18  Andreas Jaeger  <aj@suse.de>
327
328         * inet/arpa/inet.h: Remove K&R compatibility.
329         * math/fenv.h: Likewise.
330
331 1999-10-18  Andreas Jaeger  <aj@suse.de>
332
333         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
334         kernel_sigaction): Remove K&R compatibility.
335         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
336         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
337         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
338         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
339         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
340         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
341         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
342         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
343         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
344         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
345         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
346         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
347         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
348         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
349         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
350         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
351         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
352
353 1999-10-18  Andreas Jaeger  <aj@suse.de>
354
355         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
356         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
357
358 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
359
360         * po/gl.po: New file.
361
362 1999-10-18  Andreas Schwab  <schwab@suse.de>
363
364         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
365         namespace selection.
366
367 1999-10-18  Andreas Schwab  <schwab@suse.de>
368
369         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
370         clash with the TERM environment variable.
371
372 1999-10-18  Andreas Jaeger  <aj@suse.de>
373
374         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
375         returns now NaN + i NaN.
376         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
377         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
378
379 1999-10-18  Andreas Jaeger  <aj@suse.de>
380
381         * include/aio.h: Remove K&R compatiblity.
382         * include/alloca.h: Likewise.
383         * include/db.h: Likewise.
384         * include/dirent.h: Likewise.
385         * include/fcntl.h: Likewise.
386         * include/fpu_control.h: Likewise.
387         * include/glob.h: Likewise.
388         * include/grp.h: Likewise.
389         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
390         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
391         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
392         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
393
394         * include/execinfo.h: Add __THROW.
395
396 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
397
398         * sysdeps/mips/Implies: Remove wordsize-32 reference.
399         * sysdeps/mips/mips3/Implies: Add it here.
400
401 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
402
403         * elf/elf.h: Add various platform and architecture extensions.
404
405         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
406         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
407         LC_ALL.
408
409         * socket/sys/socket.h: Remove K&R compatibility.
410
411 1999-10-16  Andreas Jaeger  <aj@suse.de>
412
413         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
414
415 1999-10-15  Andreas Jaeger  <aj@suse.de>
416
417         * stdlib/Makefile (tests): Added tst-xpg-basename.
418
419         * stdlib/tst-xpg-basename.c: New test file.
420
421 1999-10-14  Cristian Gafton  <gafton@redhat.com>
422
423         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
424
425 1999-10-14  Andreas Jaeger  <aj@suse.de>
426
427         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
428         endian version works for both endiannesses.
429
430         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
431         seconds.
432
433 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
434
435         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
436         register names unconditionally, only if __USE_GNU.
437
438         * debug/Makefile: Fix rules to generate pcprofiledump.
439
440         * include/ucontext.h: New file.
441
442         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
443
444 1999-10-12  Andreas Jaeger  <aj@suse.de>
445
446         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
447
448         * math/basic-test.c: Fix typo.
449
450         * locale/programs/xstrdup.c: Include string.h for glibc
451         compilation to get string prototypes.
452
453         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
454         gregset_t and fpregset_t.
455
456         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
457         warnings.  Correct value for x == 0.
458
459         * argp/argp-help.c: Remove broken definition of flockfile and
460         funlockfile.
461
462 1999-10-12  Andreas Schwab  <schwab@suse.de>
463
464         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
465         generic Linux version.
466
467 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
468
469         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
470
471 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
472
473         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
474         and fpregset_t definitions.
475
476         * malloc/memprof.c (GETSP): Define for PowerPC.
477         (GETTIME): Fix generic version.
478
479 1999-10-10  Philip Blundell  <philb@gnu.org>
480
481         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
482         __BYTE_ORDER.
483
484 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
485
486         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
487         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
488         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
489         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
490
491         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
492
493         * sysdeps/powerpc/e_sqrt.c: Moved to...
494         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
495         * sysdeps/powerpc/e_sqrtf.c: Moved to...
496         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
497
498         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
499         * sysdeps/powerpc/sub_n.S: Likewise.
500         * sysdeps/powerpc/strlen.S: Likewise.
501         * sysdeps/powerpc/strcpy.S: Likewise.
502         * sysdeps/powerpc/strcmp.S: Likewise.
503         * sysdeps/powerpc/strchr.S: Likewise.
504         * sysdeps/powerpc/stpcpy.S: Likewise.
505         * sysdeps/powerpc/setjmp.S: Likewise.
506         * sysdeps/powerpc/rshift.S: Likewise.
507         * sysdeps/powerpc/ppc-mcount.S: Likewise.
508         * sysdeps/powerpc/mul_1.S: Likewise.
509         * sysdeps/powerpc/memset.S: Likewise.
510         * sysdeps/powerpc/lshift.S: Likewise.
511         * sysdeps/powerpc/dl-start.S: Likewise.
512         * sysdeps/powerpc/bzero.S: Likewise.
513         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
514         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
515         * sysdeps/powerpc/addmul_1.S: Likewise.
516         * sysdeps/powerpc/add_n.S: Likewise.
517         * sysdeps/powerpc/__longjmp.S: Likewise.
518         * sysdeps/powerpc/elf/start.S: Likewise.
519
520 1999-10-11  Cristian Gafton  <gafton@redhat.com>
521
522         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
523         SA_SIGINFO.
524
525 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
526
527         * stdlib/atexit.c (initial): New variable.  Use to initialize
528         __exit_funcs.
529         * stdlib/exit.c (exit): Beware to not free statically allocated
530         list element [PR libc/1305].
531
532         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
533         slash before the basename [PR libc/1383].
534
535         * argp/argp.h: Fix typo in last patch.
536
537         * sysdeps/powerpc/sysdep.h: New file.
538         * sysdeps/unix/powerpc/sysdep.h: New file.
539         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
540         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
541         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
542         instead of bare numbers.
543         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
544         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
545         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
546
547         * sysdeps/hppa/sysdep.h: New file.
548
549 1999-10-10  Andreas Jaeger  <aj@suse.de>
550
551         * misc/sgtty.h: Fix typo in last patch.
552
553 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
554
555         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
556         * sysdeps/powerpc/s_copysign.S: Move to...
557         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
558         * sysdeps/powerpc/s_copysignf.S: Move to...
559         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
560         * sysdeps/powerpc/s_fabs.S: Move to...
561         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
562         * sysdeps/powerpc/s_fabsf.S: Move to...
563         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
564         * sysdeps/powerpc/s_fdim.c: Move to...
565         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
566         * sysdeps/powerpc/s_fdimf.c: Move to...
567         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
568         * sysdeps/powerpc/s_fmax.S: Move to...
569         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
570         * sysdeps/powerpc/s_fmaxf.S: Move to...
571         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
572         * sysdeps/powerpc/s_fmin.S: Move to...
573         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
574         * sysdeps/powerpc/s_fminf.S: Move to...
575         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
576         * sysdeps/powerpc/s_isnan.S: Move to...
577         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
578         * sysdeps/powerpc/s_isnanf.S: Move to...
579         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
580         * sysdeps/powerpc/s_llrint.c: Move to...
581         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
582         * sysdeps/powerpc/s_llrintf.c: Move to...
583         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
584         * sysdeps/powerpc/s_llround.c: Move to...
585         * sysdeps/powerpc/fpu/s_llround.c: ...here.
586         * sysdeps/powerpc/s_llroundf.c: Move to...
587         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
588         * sysdeps/powerpc/s_lrint.c: Move to...
589         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
590         * sysdeps/powerpc/s_lrintf.S: Move to...
591         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
592         * sysdeps/powerpc/s_lround.c: Move to...
593         * sysdeps/powerpc/fpu/s_lround.c: ...here.
594         * sysdeps/powerpc/s_lroundf.c: Move to...
595         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
596         * sysdeps/powerpc/s_rint.c: Move to...
597         * sysdeps/powerpc/fpu/s_rint.c: ...here.
598         * sysdeps/powerpc/s_rintf.c: Move to...
599         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
600         * sysdeps/powerpc/t_sqrt.c: Move to...
601         * sysdeps/powerpc/fpu/t_sqrt: ...here.
602         * sysdeps/powerpc/w_sqrt.c: Move to...
603         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
604         * sysdeps/powerpc/w_sqrtf.c: Move to...
605         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
606         * configure.in: Support platforms which have no .text pseudo-op.
607         Patches partly by Jimi X <jimix@pobox.com>.
608
609         * Makeconfig: Look also in all subdirs for shlib-versions files.
610
611         * malloc/memprof.sh: Fix --help string a bit.
612
613         * argp/argp.h: Remove K&R compatiblity.
614         * assert/assert.h: Likewise.
615         * catgets/nl_types.h: Likewise.
616         * ctype/ctype.h: Likewise.
617         * db/db.h: Likewise.
618         * db/ndbm.h: Likewise.
619         * db2/db.h: Likewise.
620         * db2/db_185.h: Likewise.
621         * debug/execinfo.h: Likewise.
622         * dirent/dirent.h: Likewise.
623         * dlfcn/dlfcn.h: Likewise.
624         * gmon/sys/gmon.h: Likewise.
625         * grp/grp.h: Likewise.
626         * iconv/gconv.h: Likewise.
627         * iconv/iconv.h: Likewise.
628         * include/execinfo.h: Likewise.
629         * inet/aliases.h: Likewise.
630         * inet/netinet/ether.h: Likewise.
631         * inet/netinet/in.h: Likewise.
632         * intl/libintl.h: Likewise.
633         * io/fcntl.h: Likewise.
634         * io/fts.h: Likewise.
635         * io/ftw.h: Likewise.
636         * io/utime.h: Likewise.
637         * io/sys/poll.h: Likewise.
638         * io/sys/stat.h: Likewise.
639         * io/sys/statfs.h: Likewise.
640         * io/sys/statvfs.h: Likewise.
641         * libio/libio.h: Likewise.
642         * libio/stdio.h: Likewise.
643         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
644         * locale/locale.h: Likewise.
645         * login/pty.h: Likewise.
646         * login/utmp.h: Likewise.
647         * malloc/mcheck.h: Likewise.
648         * math/complex.h: Likewise.
649         * math/math.h: Likewise.
650         * math/math_private.h: Likewise.
651         * misc/err.h: Likewise.
652         * misc/fstab.h: Likewise.
653         * misc/libgen.h: Likewise.
654         * misc/mntent.h: Likewise.
655         * misc/regexp.h: Likewise.
656         * misc/search.h: Likewise.
657         * misc/sgtty.h: Likewise.
658         * misc/ttyent.h: Likewise.
659         * misc/sys/cdefs.h: Likewise.
660         * misc/sys/file.h: Likewise.
661         * misc/sys/ioctl.h: Likewise.
662         * misc/sys/mman.h: Likewise.
663         * misc/sys/select.h: Likewise.
664         * misc/sys/syslog.h: Likewise.
665         * misc/sys/uio.h: Likewise.
666         * misc/sys/ustat.h: Likewise.
667         * nss/nss.h: Likewise.
668         * posix/sched.h: Likewise.
669         * posix/unistd.h: Likewise.
670         * posix/wordexp.h: Likewise.
671         * posix/sys/times.h: Likewise.
672         * posix/sys/utsname.h: Likewise.
673         * posix/sys/wait.h: Likewise.
674         * pwd/pwd.h: Likewise.
675         * resolv/netdb.h: Likewise.
676         * resolv/resolv.h: Likewise.
677         * resource/ulimit.h: Likewise.
678         * resource/sys/resource.h: Likewise.
679         * resource/sys/vlimit.h: Likewise.
680         * resource/sys/vtimes.h: Likewise.
681         * rt/aio.h: Likewise.
682         * setjmp/setjmp.h: Likewise.
683         * shadow/shadow.h: Likewise.
684         * signal/signal.h: Likewise.
685         * socket/socket.h: Likewise.
686         * stdio/stdio.h: Likewise.
687         * stdio-common/_itoa.h: Likewise.
688         * stdio-common/_itowa.h: Likewise.
689         * stdio-common/printf.h: Likewise.
690         * stdlib/alloca.h: Likewise.
691         * stdlib/fmtmsg.h: Likewise.
692         * stdlib/monetary.h: Likewise.
693         * stdlib/stdlib.h: Likewise.
694         * stdlib/ucontext.h: Likewise.
695         * streams/stropts.h: Likewise.
696         * string/argz.h: Likewise.
697         * string/envz.h: Likewise.
698         * string/string.h: Likewise.
699         * string/strings.h: Likewise.
700         * string/bits/string2.h: Likewise.
701         * sunrpc/rpc/auth.h: Likewise.
702         * sunrpc/rpc/auth_des.h: Likewise.
703         * sunrpc/rpc/auth_unix.h: Likewise.
704         * sunrpc/rpc/clnt.h: Likewise.
705         * sunrpc/rpc/des_crypt.h: Likewise.
706         * sunrpc/rpc/netdb.h: Likewise.
707         * sunrpc/rpc/pmap_clnt.h: Likewise.
708         * sunrpc/rpc/pmap_prot.h: Likewise.
709         * sunrpc/rpc/pmap_rmt.h: Likewise.
710         * sunrpc/rpc/rpc_msg.h: Likewise.
711         * sunrpc/rpc/svc.h: Likewise.
712         * sunrpc/rpc/svc_auth.h: Likewise.
713         * sunrpc/rpc/xdr.h: Likewise.
714         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
715         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
716         * sysvipc/sys/ipc.h: Likewise.
717         * sysvipc/sys/msg.h: Likewise.
718         * sysvipc/sys/sem.h: Likewise.
719         * sysvipc/sys/shm.h: Likewise.
720         * termios/termios.h: Likewise.
721         * time/time.h: Likewise.
722         * time/sys/time.h: Likewise.
723         * time/sys/timeb.h: Likewise.
724         * wcsmbs/wchar.h: Likewise.
725         * wctype/wctype.h: Likewise.
726
727 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
728
729         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
730         _GNU_SOURCE be defined.
731
732 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
733
734         * ctype/ctype.h: Pretty print.
735
736         * po/cs.po: Fix typos.
737
738         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
739         handling of empty entries.  [PR libc/1345]
740         Patch by Thorsten Kukuk <kukuk@suse.de>.
741
742 1999-10-08  Andreas Schwab  <schwab@suse.de>
743
744         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
745
746 1999-10-08  Andreas Schwab  <schwab@suse.de>
747
748         * debug/pcprofiledump.c: Fix typos.
749
750 1999-10-07  Andreas Jaeger  <aj@suse.de>
751
752         * math/Makefile (tests): Added basic-tests.
753
754         * math/basic-test.c: New file.  Contains function basic_tests from
755         libm-test.
756
757 1999-10-07  Andreas Schwab  <schwab@suse.de>
758
759         * malloc/memprof.sh: Fix quoting bugs.
760
761 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
762
763         * timezone/europe: Update from tzdata1999h.
764
765 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
766
767         * elf/elf.h: Update from last gABI draft.
768
769         * elf/elf.h: Remove EM_486 entry.
770         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
771         test for EM_486.
772
773 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
774
775         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
776         Add rules for both programs.
777         * debug/pcprofiledump.c: New file.
778         * debug/xtrace.sh: New file.
779         * debug/pcprofile.c: Allow creating output file.  Add magic signature
780         to let reader recognize file format.
781
782 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
783
784         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
785
786 1999-10-05  Andreas Jaeger  <aj@suse.de>
787
788         * locale/programs/ld-identification.c: Fix typo in comment.
789         * locale/programs/ld-messages.c: Likewise.
790         * locale/programs/ld-monetary.c: Likewise.
791         * locale/programs/ld-name.c: Likewise.
792
793         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
794         (collate_read): Remove unnecessary comparisons with ignore_content.
795
796         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
797         assigned elements.
798         (ctype_read): Remove unnecessary comparisons with ignore_content.
799         Fix typos in comments.
800
801         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
802         comparisons with ignore_content.
803
804 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
805
806         * po/cs.po: Update.
807
808         * time/time.h: Move __gmtime_r declaration to ...
809         * include/time.h: ...here.
810
811 1999-10-05  Andreas Jaeger  <aj@suse.de>
812
813         * manual/message.texi (The message catalog files): Fix description
814         to match gencat implementation and Unix98: Message fields are
815         separated by a single blank space.
816
817 1999-10-05  Andreas Jaeger  <aj@suse.de>
818
819         * manual/string.texi (Search Functions): Add missing end for
820         memrchr description.
821
822 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
823
824         * malloc/memprof.sh: Various small cleanups.  Add short options.
825         Write error messages to stderr.
826
827         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
828
829         * malloc/memprof.sh: Take options to control memprofstat.
830
831         * malloc/Makefile: Add rule to generate memprof script.
832         * malloc/memprof.sh: New file.
833
834         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
835         GNU standard.
836
837 1999-10-04  Andreas Jaeger  <aj@suse.de>
838
839         * configure.in: Allow makeinfo 4.*.
840
841 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
842
843         * stdio-common/vfprintf.c: Correct last patch and use outchar
844         instead of PUTC to output single characters.
845         * stdio-common/Makefile (tests): Add bug13.
846         * stdio-common/bug13.c: New file.
847
848         * configure.in: Add additional options --with-gd-include and
849         --with-gd-lib to help people with strange installations.
850
851         * malloc/Makefile: Add libdl dependency to libmemprof.so.
852         * malloc/Depend: New file.
853
854 1999-10-04  Andreas Jaeger  <aj@suse.de>
855
856         * timezone/README: Change wording to not mention the current
857         version.  This way we can't forget to update the file.
858
859 1999-10-04  Andreas Jaeger  <aj@suse.de>
860
861         * manual/time.texi (Basic CPU Time): Fix typo.
862         Reported by Ben Pfaff <pfaffben@msu.edu>.
863
864 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
865
866         * string/string.h: Move __memrchr declaration to ...
867         * include/string.h: ...here.
868
869 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
870
871         * string/Makefile (routines): Add memrchr.
872
873         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
874         Correct order of tests for matching bytes.
875
876         * string/tester.c: Add tests for memrchr.
877
878         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
879         Start from the last character and take decrement not increment
880         into account for correction in return line.  Add memrchr alias.
881         * sysdeps/i386/bits/string.h: Likewise.
882
883 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
884
885         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
886
887 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
888
889         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
890
891         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
892         conventions.
893
894         * string/Versions: Export memrchr.
895
896 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
897
898         * misc/Versions (GLIBC_2.2): Add getloadavg.
899         * misc/Makefile (routines): Add getloadavg.
900         * sysdeps/generic/getloadavg.c: New file.
901         * sysdeps/mach/getloadavg.c: New file.
902         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
903
904         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
905         * sysdeps/i386/bits/string.h (__memrchr): New function.
906         * string/string.h: Declare memrchr, __memrchr.
907         * manual/string.texi (Search Functions): Document memrchr.
908
909 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
910
911         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
912         CFLAGS-memprofstat.c, and LIBGD variables.
913         * config.make.in: Add LIBGD.
914         * malloc/Makefile: Add rules to generate libmemprof.so and
915         memprofstat.
916         * malloc/memprof.c: New file.
917         * malloc/memprofstat.c: New file.
918
919 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
920
921         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
922
923         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
924         (inet_ntop6): Likewise.
925
926         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
927         overruns.
928
929         * resolv/tst-aton.c (main): Add more tests.
930
931         * resolv/inet_addr.c (inet_aton): Correct some problems with to
932         large numbers.  Optimize a bit.
933
934 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
935
936         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
937         account for added '0'.
938
939         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
940         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
941         len argument to be greater than needed address size.
942
943 1999-10-01  Andreas Jaeger  <aj@suse.de>
944
945         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
946         warning.
947         * intl/finddomain.c (_nl_find_domain): Likewise.
948
949 1999-09-30  Andreas Schwab  <schwab@suse.de>
950
951         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
952
953 1999-09-30  Andreas Jaeger  <aj@suse.de>
954
955         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
956         * sysdeps/i386/rshift.S: Likewise.
957         * sysdeps/i386/strchrnul.S: Likewise.
958         * sysdeps/i386/strchr.S: Likewise.
959         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
960         PR libc/1339.
961
962 1999-09-30  Andreas Jaeger  <aj@suse.de>
963
964         * manual/examples/pipe.c: Close other end of pipe to make example work.
965
966 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
967
968         * timezone/checktab.awk: Update from tzcode1999g.
969         * timezone/tzselect.ksh: Likewise.
970         * timezone/africa: Update from tzdata1999g.
971         * timezone/asia: Likewise.
972         * timezone/australasia: Likewise.
973         * timezone/europe: Likewise.
974         * timezone/northamerica: Likewise.
975         * timezone/southamerica: Likewise.
976         * timezone/iso3166.tab: Likewise.
977         * timezone/zone.tab: Likewise.
978
979 1999-09-27  Andreas Jaeger  <aj@suse.de>
980
981         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
982         been renamed to getipnodebyname.  Move flags around.
983
984 1999-09-27  Andreas Schwab  <schwab@suse.de>
985
986         * manual/message.texi (Locating gettext catalog): Fix typos.
987
988 1999-09-27  Andreas Jaeger  <aj@suse.de>
989
990         * manual/socket.texi (Out-of-Band Data): Correct example program,
991         rename some variables for clarity.
992         Reported by James Antill <james@and.org>, close PR libc/1329.
993
994 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
995
996         * locale/programs/ld-collate.c (insert_value): Add hack to not
997         crash in incomplete collate implementation.
998
999         * locale/programs/ld-collate.c (read_directions): Read new token
1000         after accepting sorting rule.
1001
1002 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
1003
1004         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1005         error message printing.  Correctly test whether all characters of
1006         current token are used.
1007         (ctype_read): NUL terminate last_str.
1008
1009 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
1010
1011         * nscd/connections.c: Invalidate caches on request.
1012         * nscd/nscd-client.h: Add INVALIDATE to request_type.
1013         * nscd/nscd.c: Add invalidate cache option.
1014         * nscd/nscd.conf: Change log directory to /var/log (FHS).
1015
1016 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
1017
1018         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
1019         not ovverwrite last group member with NULL pointer.
1020         Reported by Thomas Winder <thomas.winder@newlogic.at>.
1021
1022 1999-09-24  Andreas Jaeger  <aj@suse.de>
1023
1024         * stdio-common/tst-printf.c (main): Add a testcase for large
1025         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
1026
1027 1999-09-24  Andreas Schwab  <schwab@suse.de>
1028
1029         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
1030
1031 1999-09-24  Andreas Jaeger  <aj@suse.de>
1032
1033         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
1034         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
1035
1036 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
1037
1038         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
1039         variable.  Define MORECORE_CLEARS to 2.
1040
1041         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
1042         doesn't clear the contents of memory that is reallocated after
1043         decrementing the break value first.  Update comment about
1044         MORECORE_CLEARS, explaining the meaning of the values it can be
1045         set to.
1046
1047 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
1048
1049         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
1050         one more case.
1051
1052         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
1053         (log): Likewise.
1054         (log10): Likewise.
1055         (log1p): Likewise.
1056         (log2): Likewise.
1057
1058 1999-09-22  Andreas Jaeger  <aj@suse.de>
1059
1060         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
1061         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
1062
1063 1999-09-22  Andreas Schwab  <schwab@suse.de>
1064
1065         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
1066
1067 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1068
1069         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1070         the source directory.  Fixes PR libc/1059.
1071
1072 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
1073
1074         * locale/programs/repertoire.c (repertoire_find_value): Abort if
1075         rep parameter is NULL.
1076         (repertoire_find_symbol): Likewise.
1077         (repertoire_find_seq): Likewise.
1078
1079 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
1080
1081         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
1082         returned errno value in some cases.
1083
1084 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
1085
1086         * iconvdata/Makefile (modules): Add GBK.
1087         (distribute): Add gbk.c.
1088         * iconvdata/gbk.c: New file.
1089         * iconvdata/gconv-modules: Add GBK entry.
1090         Contributed by Sean Chen <sean.chen@turbolinux.com>.
1091
1092         * locale/programs/ld-monetary.c (monetary_output): Remove
1093         byte-order code.
1094
1095         * locale/programs/ld-time.c (time_output): Correct expected number
1096         of iov entries.
1097
1098         * manual/filesys.texi (Testing File Access): Correct description of
1099         SUID.
1100
1101 1999-080-25  H.J. Lu  <hjl@gnu.org>
1102
1103         * csu/defs.awk (.end): Only match with leading white spaces.
1104         (.align): Likewise.
1105
1106 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
1107
1108         * stdlib/isomac.c: Add va_copy to allowed macros.
1109
1110         * po/pl.po: Updated.
1111
1112 1999-09-17  Andreas Schwab  <schwab@suse.de>
1113
1114         * Makefile (clean): Also remove $(postclean) files.
1115
1116 1999-09-15  Andreas Jaeger  <aj@suse.de>
1117
1118         * pwd/Makefile (otherlibs): Add for building with static-nss.
1119         * inet/Makefile (otherlibs): Likewise.
1120
1121 1999-09-15  Andreas Jaeger  <aj@suse.de>
1122
1123         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
1124         function definition to avoid a compilation failure.
1125
1126 1999-09-15  Andreas Jaeger  <aj@suse.de>
1127
1128         * stdlib/tst-environ.c (main): Add getenv regression test for
1129         environment variable that's one character long.
1130
1131 1999-09-15  Andreas Jaeger  <aj@suse.de>
1132
1133         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
1134         signal definitions to let glibc compile with older Linux versions
1135         (2.0.10 to 2.1.100 or so).
1136
1137 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
1138
1139         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
1140         return zero to indicate no children died yet (assuming WNOHANG).
1141
1142         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
1143
1144 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
1145
1146         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
1147
1148         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
1149         Return _hurd_pgrp instead of 0.
1150
1151 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
1152
1153         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
1154         pages rather than just reprotecting them.  This way we don't hold on
1155         to the backing space.
1156
1157         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
1158         Use __munmap instead of __vm_deallocate.
1159
1160 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
1161
1162         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
1163         returned errno value in some cases.
1164
1165 1999-09-17  Andreas Jaeger  <aj@suse.de>
1166
1167         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
1168         to override user settings.
1169
1170 1999-09-17  Andreas Schwab  <schwab@suse.de>
1171
1172         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
1173         using a pointer to it.
1174
1175 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
1176
1177         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
1178         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
1179
1180 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
1181
1182         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
1183
1184         * elf/elf.h (PF_MASKOS): New definition.
1185         (EM_VAX): New definition.
1186
1187 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
1188
1189         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
1190         'unsigned char ftype[8]', and 'unsigned int init_flag' to
1191         struct user_fp.  These were added in version 2.2.12 of the
1192         ARM Linux kernel.
1193         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
1194         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
1195         The generic procfs.h included <asm/elf.h>.  This causes
1196         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
1197         are included in the same source file.  Found when building GDB.
1198
1199 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
1200
1201         * locale/langinfo.h: Remove byte-order dependent names.
1202         * locale/categories.def: Update after removal of byte-order dependent
1203         names.
1204         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
1205         with magic number in other byte order.
1206         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
1207         * locale/C-collate.c: Remove initializers for other byte-order.
1208         * locale/C-ctype.c: Likewise.
1209         * locale/C-monetary.c: Likewise.
1210         * locale/C-paper.c: Likewise.
1211         * locale/C-time.c: Likewise.
1212         * locale/lc-collate.c: Remove byte-order oriented initialization.
1213         * locale/lc-ctype.c: Likewise.
1214         * locale/lc-monetary.c: Likewise.
1215         * locale/lc-time.c: Likewise.
1216         * locale/programs/ld-address.c: Don't generate output in both
1217         byte-orders.
1218         * locale/programs/ld-ctype.c: Likewise.
1219         * locale/programs/ld-paper.c: Likewise.
1220         * locale/programs/ld-time.c: Likewise.
1221         * time/strftime.c (NLW): Don't use different byte-orders.
1222         * wctype/cname-lookup.h (cname_lookup): Likewise.
1223
1224         * Makeconfig (localedir): Define using libdir, not datadir.
1225         (msgcatdir): New variable.
1226         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
1227         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
1228         msgcatdir.
1229         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
1230         (CPPFLAGS): Define paths using msgcatdir.
1231         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
1232         * po/Makefile (mo-installed): Define using msgcatdir.
1233
1234         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
1235
1236 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
1237
1238         * stdio-common/vfprintf.c: Remove limitation on size of precision
1239         for integers.
1240
1241         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
1242         glibc by defining internal_function if it isn't already.
1243
1244         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
1245         fails don't rely on errno value.
1246         (getanswer_r): Set *ERRNOP in error cases.
1247
1248         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
1249         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
1250         associated data.  Test for matching numeric address and family.
1251         (getaddrinfo): Remember EAI_NODATA result and return this in case
1252         everything fails.
1253         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
1254
1255         * locale/programs/ld-address.c: Fix handling of non-existing
1256         definitions for this category.  Correctly ignore content of this
1257         category is this is necessary.
1258         * locale/programs/ld-collate.c: Likewise.
1259         * locale/programs/ld-ctype.c: Likewise.
1260         * locale/programs/ld-identification.c: Likewise.
1261         * locale/programs/ld-measurement.c: Likewise.
1262         * locale/programs/ld-messages.c: Likewise.
1263         * locale/programs/ld-monetary.c: Likewise.
1264         * locale/programs/ld-name.c: Likewise.
1265         * locale/programs/ld-numeric.c: Likewise.
1266         * locale/programs/ld-paper.c: Likewise.
1267         * locale/programs/ld-telephone.c: Likewise.
1268         * locale/programs/ld-time.c: Likewise.
1269         * locale/programs/locfile.h (handle_copy): Take extra parameter
1270         with result pointer.  Fill in name of locale from which to copy.
1271         Correctly read token after `END'.
1272
1273         * locale/programs/localedef.c (main): Correct handling copy.
1274         (add_to_readlist): Take extra parameter which says whether we
1275         are supposed to read the file or not.
1276         (find_locale): Call add_to_readlist with extra parameter set to 0.
1277
1278         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
1279         instead of wrong number in array definitions.
1280         (add_to_readlist): Update prototype.
1281
1282         * locale/programs/locfile.c (locfile_read): Mark categories not
1283         available in source file as read.
1284         (write_all_categories): Fix typo.
1285
1286         * locale/programs/locales.h: Removed.
1287
1288 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1289
1290         * elf/elf.h (SHF_MASKOS): Added.
1291
1292         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
1293
1294 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1295
1296         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
1297
1298 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1299
1300         * configure.in: Fix make version test for make 3.77.95 and later
1301         versions.
1302         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
1303
1304 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1305
1306         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
1307
1308         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
1309         WINT_MAX values.
1310
1311         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
1312
1313 1999-09-09  Andreas Schwab  <schwab@suse.de>
1314
1315         * elf/link.h: Fix comment.
1316
1317 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1318
1319         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
1320
1321         * math/math.h: Pretty print.
1322
1323 1999-09-10  Andreas Schwab  <schwab@suse.de>
1324
1325         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
1326         character variable on bigendian platforms without unaligned memory
1327         access.
1328
1329 1999-09-07  Cristian Gafton  <gafton@redhat.com>
1330
1331         * sysdeps/unix/sysv/linux/sys/raw.h: New file
1332         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
1333         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
1334
1335 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
1336
1337         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
1338
1339         * time/ap.c: Removed.  It was not used.
1340         * time/date.c: Likewise.
1341         * sysdeps/unix/nlist.c: Likewise.
1342         * sysdeps/generic/nlist.c: Likewise.
1343         * sysdeps/generic/varargs.h: Likewise.
1344         * stdio-common/scanf11.c: Likewise.
1345         * stdio-common/scanf6.c: Likewise.
1346         * scripts/=__ify: Likewise.
1347         * scripts/printsources: Likewise.
1348         * resolv/getnetnamadr.c: Likewise.
1349         * posix/id.c: Likewise.
1350         * misc/ioctltst.c: Likewise.
1351         * misc/nlist.h: Likewise.
1352         * math/test-math.h: Likewise.
1353         * include/nlist.h: Likewise.
1354
1355 1999-09-06  Andreas Schwab  <schwab@suse.de>
1356
1357         * time/tzset.c (compute_change): Replace slow loop to compute T by
1358         simple algorithm.
1359
1360 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
1361
1362         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
1363         escape sequences out even if the character itself does not fit
1364         into the buffer.
1365
1366         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
1367
1368 1999-08-31  H.J. Lu  <hjl@gnu.org>
1369
1370         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
1371
1372 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1373
1374         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
1375         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
1376         (_hurd_priority_which_map):
1377
1378 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
1379
1380         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
1381
1382 1999-09-03  Andreas Schwab  <schwab@suse.de>
1383
1384         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
1385         fork from __syscall_fork to __libc_fork.
1386         * posix/Versions: Add __libc_fork and __vfork to version
1387         GLIBC_2.1.2.
1388
1389 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1390
1391         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
1392         dependencies in sort.
1393
1394 1999-09-01  H.J. Lu  <hjl@gnu.org>
1395
1396         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
1397
1398         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
1399         <sys/user.h> instead of <asm/user.h>.
1400
1401 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
1402
1403         * elf/elf.h: Update PARISC-specific flags and symbolic names.
1404
1405 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
1406
1407         * elf/elf.h: Update PARISC relocations.
1408
1409 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
1410
1411         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
1412         #ifdef statement to prevent it from being included twice.
1413         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
1414         #include <bits/armsigctx.h>.
1415
1416 1999-08-31  Andreas Schwab  <schwab@suse.de>
1417
1418         * locale/C-collate.c: Add missing initialisations.
1419         * locale/C-ctype.c: Likewise.
1420
1421 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
1422
1423         * time/strftime.c (my_strftime): Remove unneeded variable len.
1424
1425         * time/strptime.c: Undo last change.
1426
1427 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
1428
1429         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
1430         Change charset.h to charmap.h.
1431         (categories): Add new categories.  Leave out collate for now.
1432         Update build rules.
1433         * locale/categories.def: Add definitions for new categories.
1434         * locale/langinfo.h: Likewise.
1435         * locale/locale.h: Likewise.
1436         * locale/C-address.c: New file.
1437         * locale/C-identification.c: New file.
1438         * locale/C-measurement.c: New file.
1439         * locale/C-name.c: New file.
1440         * locale/C-paper.c: New file.
1441         * locale/C-telephone.c: New file.
1442         * locale/lc-address.c: Likewise.
1443         * locale/lc-identification.c: Likewise.
1444         * locale/lc-measurement.c: Likewise.
1445         * locale/lc-name.c: Likewise.
1446         * locale/lc-paper.c: Likewise.
1447         * locale/lc-telephone.c: Likewise.
1448         * locale/C-ctype.c: Update for locale rewrite.
1449         * locale/C-messages.c: Likewise.
1450         * locale/C-monetary.c: Likewise.
1451         * locale/C-time.c: Likewise.
1452         * locale/lc-collate.c: Likewise.
1453         * locale/lc-ctype.c: Likewise.
1454         * locale/lc-monetary.c: Likewise.
1455         * locale/lc-time.c: Likewise.
1456         * locale/localeinfo.h: Likewise.
1457         * locale/newlocale.c: Likewise.
1458         * locale/setlocale.c: Likewise.
1459         * locale/weight.h: Likewise.
1460         * locale/findlocale.c: Unconditionally use mmap.
1461         Handle new categories.
1462         * locale/loadlocale.c: Likewise.
1463         * locale/iso-3166.def: New file.
1464         * locale/iso-639.def: New file.
1465         * locale/programs/charmap-kw.gperf: Add new keywords.
1466         * locale/programs/locfile-kw.gperf: Likewise.
1467         * locale/programs/locfile-token.h: Define new tokens.
1468         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
1469         * locale/programs/charmap.h: New file.
1470         * locale/programs/charset.h: Removed.
1471         * locale/programs/config.h: Add __LC_LAST.
1472         * locale/programs/lc-address.c: New file.
1473         * locale/programs/lc-identification.c: New file.
1474         * locale/programs/lc-measurement.c: New file.
1475         * locale/programs/lc-name.c: New file.
1476         * locale/programs/lc-paper.c: New file.
1477         * locale/programs/lc-telephone.c: New file.
1478         * locale/programs/lc-collate.c: Update for locale rewrite.
1479         * locale/programs/lc-ctype.c: Likewise.
1480         * locale/programs/lc-messages.c: Likewise.
1481         * locale/programs/lc-monetary.c: Likewise.
1482         * locale/programs/lc-numeric.c: Likewise.
1483         * locale/programs/lc-time.c: Likewise.
1484         * locale/programs/locale.c: Likewise.
1485         * locale/programs/localedef.c: Likewise.
1486         * locale/programs/locfile.c: Likewise.
1487         * locale/programs/repertoire.c: Likewise.
1488         * locale/programs/repertoire.h: Likewise.
1489         * locale/programs/locfile.c: Update prototypes.
1490         Update handle_copy definition.
1491         * locale/programs/linereader.c: Add handling of wide char strings and
1492         new definition file syntax.
1493         * locale/programs/linereader.h (struct token): Add elements for wide
1494         character strings.
1495         * locale/programs/locale-spec.c: Disable handling of collation
1496         elements for now.
1497         * locale/programs/simple-hash.h: Cleanup.
1498         * locale/programs/stringtrans.h: Handle quite of end of line.
1499         * string/strcoll.c: Fall back on strcmp for now.
1500         * string/strxfrm.c: Fall back on strncpy/strlen for now.
1501         * time/strftime.c: Use new wide character data for wcsftime.
1502         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
1503         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
1504
1505         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
1506         compiling for i386 to avoid i686-like GOT pointer computation.
1507
1508         * db2/db_int.h: Change tsl_t type to u_int32_t.
1509         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
1510         * db2/mutex/alpha.h: New file.
1511         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
1512         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
1513         known.
1514         Patches by Richard Henderson.
1515
1516         * stdlib/tst-environ.c: Add cast to avoid warning.
1517         * timezone/test-tz.c: Use setenv instead of putenv.
1518
1519 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1520
1521         * manual/libc.texinfo: Update version and date.
1522
1523         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
1524
1525         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
1526         (File System Interface): Correct entry.
1527         (Permission Bits): Add missing commata after @xref.
1528
1529 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1530
1531         * timezone/tst-timezone.c (main): Don't pass const strings to
1532         putenv to avoid warnings.
1533
1534         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
1535
1536 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
1537
1538         * nis/Versions: Add _nss_*_getipnodebyname_r.
1539         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
1540         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
1541         * nss/Versions: Add _nss_files_getipnodebyname_r.
1542
1543 1999-08-28  H.J. Lu  <hjl@gnu.org>
1544
1545         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
1546         memory for buffer.
1547
1548 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1549
1550         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
1551         kernel.
1552         * inet/netinet/in.h: Likewise.
1553         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1554         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1555
1556 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
1557
1558         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
1559         thresholds for SUID binaries.  [PR libc/1277]
1560
1561         * posix/regexbug1.c: Add one more similar case.
1562
1563 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1564
1565         * manual/install.texi (Running make install): Give examples for
1566         timezone and locale installation.
1567
1568 1999-08-28  Zack Weinberg  <zack@bitmover.com>
1569
1570         * glibcbug.in: Get CCVERSION from autoconf substitution.
1571         * configure.in: Calculate and substitute CCVERSION.
1572
1573 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1574
1575         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
1576         partially reverting a patch from 1998-12-29.  We just can't change
1577         the flags, kernels with different flags lead to
1578         incompatibilities.
1579
1580 1999-08-26  Andreas Schwab  <schwab@suse.de>
1581
1582         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1583
1584 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1585
1586         * inet/rexec.c (rexec): Free memory if strings were allocated in
1587         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
1588
1589 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1590
1591         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1592
1593         * manual/argp.texi: Fixing language and typos.
1594         * manual/conf.texi: Likewise.
1595         * manual/contrib.texi: Likewise.
1596         * manual/ctype.texi: Likewise.
1597         * manual/filesys.texi: Likewise.
1598         * manual/install.texi: Likewise.
1599         * manual/job.texi: Likewise.
1600         * manual/lang.texi: Likewise.
1601         * manual/llio.texi: Likewise.
1602         * manual/locale.texi: Likewise.
1603         * manual/math.texi: Likewise.
1604         * manual/nss.texi: Likewise.
1605         * manual/pipe.texi: Likewise.
1606         * manual/signal.texi: Likewise.
1607         * manual/socket.texi: Likewise.
1608         * manual/stdio.texi: Likewise.
1609         * manual/sysinfo.texi: Likewise.
1610         * manual/users.texi: Likewise.
1611         Patches by Neil Booth <NeilB@earthling.net>.
1612
1613 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
1614
1615         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
1616         unsigned to avoid warning.  [PR libc/1271].
1617
1618         * conform/conformtest.pl: Allow testing regex.h which requires
1619         sys/types.h being included.
1620
1621         * conform/data/regex.h-data: Allow *_t types.
1622         * conform/data/pwd.h-data: Likewise.
1623         * conform/data/sched.h-data: Likewise.
1624         * conform/data/pthread.h-data: Likewise.
1625         * conform/data/search.h-data: Likewise.
1626
1627         * misc/search.h: Avoid namespace pollution.
1628
1629         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
1630         pwd.h, and pthread.h.
1631         * conform/data/pthread.h-data: New file.
1632         * conform/data/pwd.h-data: New file.
1633         * conform/data/regex.h-data: New file.
1634         * conform/data/sched.h-data: New file.
1635         * conform/data/search.h-data: New file.
1636
1637         * NAMESPACE: Add REG_ for regex.h.
1638
1639         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
1640         they are removed.
1641
1642         * configure.in (libc_cv_asm_global_directive): Indent .text in
1643         test code so that the lame HPUX compiler recognizes it.
1644         * sysdeps/hppa/bits/endian.h: New file.
1645         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
1646         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
1647         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
1648         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
1649
1650         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
1651         Patch by John Tobey <jtobey@banta-im.com>.
1652
1653         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
1654
1655         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
1656         old_siocfifconf definition to toplevel.
1657         (__protocol_available): Remove old_siocfifconf definition.
1658
1659 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
1660
1661         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
1662         really dealing with a master pseudo terminal, and really returning
1663         the name of the associated slave pseudo terminal by checking the
1664         device number.
1665         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
1666         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
1667
1668 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1669
1670         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
1671         underscore in _llseek entry.
1672
1673         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
1674         entry.
1675
1676         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
1677         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
1678
1679         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
1680         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1681
1682 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
1683
1684         * inet/Makefile (routines): Add getipnodebynm.
1685         * inet/getipnodebynm.c: New file.
1686         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
1687         interface type.
1688         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1689         EXTRA_ARGS_VALUE is not already done.
1690         (internal_getent): Allow extra parameters and pass them to parse_line.
1691         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
1692         (_nss_files_get##name##_r): Likewise.
1693         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
1694         and EXTRA_ARGS_VALUE to pass flags and type to parser.
1695         Add getipnodebyname function.
1696         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1697         EXTRA_ARGS_VALUE is not already done.
1698         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
1699         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
1700         to parse_line.
1701         (_nss_db_get##name##_r): Pass extra parameters to lookup.
1702         (_nss_db_get,ENTNAME_r): Likewise.
1703         * sysdeps/generic/if_index.c (__protocol_available): New function.
1704         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1705
1706 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
1707
1708         * login/pty-private.h: Move to...
1709         * sysdeps/generic/pty-private.h: ...here.
1710         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
1711         version.
1712         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
1713         available.
1714
1715         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
1716         of __overflow.
1717
1718         * conform/conformtest.pl (@headers): Add monetary.h-data,
1719         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
1720         * conform/data/monetary.h-data: New file.
1721         * conform/data/mqueue.h-data: New file.
1722         * conform/data/ndbm.h-data: New file.
1723         * conform/data/nl_types.h.h-data: New file.
1724         * conform/data/poll.h-data: New file.
1725
1726         * stdio-common/Makefile (test): Add tst-cookie.
1727         * stdio-common/tst-cookie.c: New file.
1728
1729         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
1730         changed in last patch.  Reported by Ralf Baechle.
1731
1732 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1733
1734         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
1735
1736         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
1737         Patches by Ralf Baechle <ralf@uni-koblenz.de>
1738
1739 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1740
1741         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
1742         Linux 2.3.15.
1743
1744 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
1745
1746         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
1747         syscall.
1748         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1749
1750         * misc/libgen.h: Don't take basename macro as taking arguments.
1751
1752         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
1753         for gcc >= 2.95.
1754         * sysdeps/i386/bits/huge_val.h: Likewise.
1755         * sysdeps/i386/bits/huge_val.h: Likewise.
1756         * sysdeps/ieee754/bits/huge_val.h: Likewise.
1757         * sysdeps/m68k/bits/huge_val.h: Likewise.
1758         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
1759         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
1760
1761         * conform/Makefile: New file.
1762         * conform/conformtest.pl: New file.
1763         * conform/data/aio.h-data: New file.
1764         * conform/data/assert.h-data: New file.
1765         * conform/data/cpio.h-data: New file.
1766         * conform/data/ctype.h-data: New file.
1767         * conform/data/dirent.h-data: New file.
1768         * conform/data/dlfcn.h-data: New file.
1769         * conform/data/errno.h-data: New file.
1770         * conform/data/fcntl.h-data: New file.
1771         * conform/data/float.h-data: New file.
1772         * conform/data/fmtmsg.h-data: New file.
1773         * conform/data/fnmatch.h-data: New file.
1774         * conform/data/ftw.h-data: New file.
1775         * conform/data/glob.h-data: New file.
1776         * conform/data/grp.h-data: New file.
1777         * conform/data/iconv.h-data: New file.
1778         * conform/data/inttypes.h-data: New file.
1779         * conform/data/iso646.h-data: New file.
1780         * conform/data/langinfo.h-data: New file.
1781         * conform/data/libgen.h-data: New file.
1782         * conform/data/locale.h-data: New file.
1783         * conform/data/math.h-data: New file.
1784
1785 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1786
1787         * posix/execvp.c (execvp): Correct copying of file name.
1788
1789 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
1790
1791         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
1792
1793 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1794
1795         * stdio-common/Makefile: Move addition to routines to the right place.
1796
1797 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1798
1799         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
1800         since mips*-linux has ECANCELED.
1801
1802 1999-08-23  Andreas Schwab  <schwab@suse.de>
1803
1804         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
1805         SIGCONTEXT_EXTRA_ARGS.
1806         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1807         * sysdeps/generic/sigcontextinfo.h: Likewise.
1808         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1809         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1810         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1811         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1812         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1813         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1814
1815 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1816
1817         * posix/regexbug1.c: Make it an error if the test fails.
1818
1819 1999-08-23  Andreas Schwab  <schwab@suse.de>
1820
1821         * posix/regex.c (re_match_2_internal): Correct check for charset
1822         after exactn in loop.
1823
1824 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
1825
1826         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
1827         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1828         Patch by Joel Klecker.
1829
1830         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
1831         (__gconv_find_transform): Update prototype.
1832         (__gconv_open): Likewise.
1833         * iconv/gconv_open.c: Take extra parameter and pass it to
1834         __gconv_find_transform.
1835         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
1836         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
1837         transformation.
1838         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
1839         * wcsmbs/wcsmbsload.c: Likewise.
1840         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
1841         iconv for glibc.
1842         * intl/gettextP.h: Likewise.
1843         * intl/loadmsgcat.c: Likewise.
1844
1845         * posix/regexbug1.c: New file.
1846         * posix/Makefile (tests): Add regexbug1.
1847
1848 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
1849
1850         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
1851         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
1852         installing PORT in the descriptor cell.
1853
1854 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
1855
1856         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
1857         TIMEOUT as outputs of the asm to indicate that the signal thread
1858         might mutate them.
1859         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
1860         mach_msg if only sending or only receiving (i.e., not an RPC).  When
1861         making an RPC that might get interrupted, save OPTION and the portion
1862         of the message buffer that gets clobbered by an EINTR reply message,
1863         and properly restore them before attempting to retry the request
1864         message send.
1865
1866 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1867
1868         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
1869         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
1870         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
1871         stdio is used instead of libio.
1872         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
1873         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
1874         to make the code compile again when stdio is used instead of
1875         libio.
1876         (vfprintf): Only check for correct orientation if ORIENT is
1877         defined.
1878         * stdio-common/Makefile (routines): Only add vfwprintf and
1879         vfwscanf if we're using libio.
1880
1881 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1882
1883         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
1884         any additional prototype just as we do for libio.
1885
1886 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1887
1888         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
1889         TZNAME_MAX.  These limits are not X/Open specific.
1890         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
1891         is defined.
1892
1893 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1894
1895         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
1896         UIO_MAXIOV is left undefined in sys/uio.h.
1897         * stdio-common/stdio_lim.h.in: Adapt for change above.
1898
1899 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1900
1901         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
1902         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
1903         Patches by Ralf Baechle <ralf@uni-koblenz.de>
1904
1905 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
1906
1907         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1908
1909 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
1910
1911         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1912
1913         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
1914         call.  It should not be necessary andis harmful for Alpha.
1915
1916         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
1917         type.  [PR libc/1269]
1918
1919         * posix/execvp.c (execvp): Allocate array name of correct size.
1920         Optimize inner loop.  Use execve directly, not execv.
1921
1922         * elf/elf.h: Corrected SHT_ values from new draft.
1923
1924         * intl/gettextP.h (struct loaded_domain): Add conv element.
1925         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
1926         Instead of returning found message directly convert it using iconv
1927         if a conversion was found when opening the file.
1928         * intl/loadinfo.h: Protect against multiple inclusion.
1929         Declare _nl_find_msg.
1930         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
1931         in the message file and if necessary find approrpiate
1932         conversion to match currently selected charset.
1933         * include/libintl.h: Declare __dgettext and __dcgettext.
1934         * include/iconv.h: New file.
1935
1936 1999-08-20  Andreas Schwab  <schwab@suse.de>
1937
1938         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1939
1940 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
1941
1942         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
1943         all threads [PR libc/1223].
1944
1945         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
1946         [PR libc/1165].
1947
1948         * configure.in: Search for programs with prefix gnu* and g* first.
1949         [PR libc/1104].
1950
1951         * dirent/Makefile (routines): Add getdents64.
1952         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
1953         Remove getdents64.
1954         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
1955         compiled with _FILE_OFFSET_BITS=64.
1956         * sysdeps/generic/getdents64.c: New file.
1957         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
1958         __lseek for getdirentries64 definition.
1959
1960         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
1961
1962         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
1963         _FILE_OFFSET_BITS=64.
1964
1965         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
1966         parameter.
1967
1968         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
1969         after we have the lock.
1970
1971         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
1972         Patch by Richard Henderson.
1973
1974 1999-08-19  Andreas Schwab  <schwab@suse.de>
1975
1976         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
1977         and call _IO_fwide, to get the wide stream state initialized
1978         correctly.  Don't set _IO_JUMPS.
1979         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
1980         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
1981         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
1982         directly.
1983
1984 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1985
1986         * math/libm-test.c (jn_test): Fix typo in description.
1987         (erfc_test): Add some more tests.
1988         (erf_test): Add some more tests.
1989
1990 1999-08-19  Andreas Schwab  <schwab@suse.de>
1991
1992         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
1993         expression using $(exceptions).
1994
1995 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
1996
1997         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
1998
1999         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
2000         allocated so far.  [PR libc/1261].
2001
2002         * math/libm-test.c (j0_test): Adjust deltas for m68k.
2003         (jn_test): Likewise.
2004
2005         * dirent/dirent.h: Only define ino64_t if not already done.
2006         * posix/sys/types.h: Likewise.
2007
2008         * ctype/ctype.h: Avoid useless #endif #if pairs.
2009
2010         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
2011         (seekdir): Fix type of second parameter.
2012         * sysdeps/generic/seekdir.c: Likewise.
2013         * sysdeps/mach/hurd/seekdir.c: Likewise.
2014         * sysdeps/unix/seekdir.c: Likewise.
2015
2016         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
2017
2018 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2019
2020         * manual/install.texi (Configuring and compiling): Clarify ix86
2021         situation.
2022
2023 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
2024
2025         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
2026         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
2027         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
2028         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
2029
2030         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
2031
2032         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
2033
2034         * misc/search.h: Don't define NULL.
2035
2036         * posix/sys/types.h: Define blksize_t if it hasn't happened.
2037         Only define key_t and blkcnt_t if it hasn't happened before.
2038         Define blksize_t if not happened before.
2039         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
2040         * sysdeps/generic/bits/types.h: Define __blksize_t.
2041         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2042         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2043         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2044         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2045         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2046         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
2047         st_blksize member.
2048         (struct stat64): Likewise.
2049         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2050         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2051         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2052         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2053         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2054         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
2055         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2056
2057         * stdlib/getsubopt.c: Correct type of second argument.
2058         * stdlib/stdlib.h: Likewise.
2059
2060         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
2061         and ssize_t.
2062
2063         * sysdeps/generic/putenv.c: Correct type of parameter.
2064         * stdlib/stdlib.h: Likewise.
2065
2066         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
2067         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2068         * sysvips/sys/msg.h: Likewise.
2069
2070         * sysdeps/generic/semop.c: Correct type of third parameter.
2071         * sysdeps/unix/sysv/linux/semop.c: Likewise.
2072         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
2073         size_t.
2074
2075         * sysdeps/generic/shmget.c: Correct type of second parameter.
2076         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
2077         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
2078         Declare __getpagesize here.
2079
2080         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
2081         sys/types.h.
2082         * sysdeps/gnu/bits/ipc.h: Likewise.
2083         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
2084         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2086         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
2087         already done.
2088
2089         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
2090
2091         * debug/versions: Export __cyg_profile_func_enter and
2092         __cyg_profile_func_exit.
2093
2094         * math/bits/mathcalls.h: Pretty print.
2095
2096 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
2097
2098         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
2099         case for new tzdata.
2100
2101         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
2102         unsigned.
2103         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2104         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2105         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2106         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2107
2108         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
2109
2110         * sysdeps/generic/ualarm.c (ualarm): Change return value and
2111         parameter type to useconds_t.
2112         * sysdeps/unix/bsd/ualarm.c: Likewise.
2113
2114         * sysdeps/generic/usleep.c (usleep): Change parameter type to
2115         useconds_t.
2116         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
2117         * sysdeps/mach/usleep.c: Likewise.
2118
2119         * locale/weight.h: Include <errno.h>.
2120
2121         * posix/sys/types.h: Define type useconds_t if not done already.
2122         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
2123         declarations.
2124         * sysdeps/generic/bits/types.h: Define type __useconds_t.
2125         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2126         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2127         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2128         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2129         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2130
2131         * dirent/dirent.h (telldir): Change return type to long int.
2132         * sysdeps/generic/telldir.c: Likewise.
2133         * sysdeps/mach/hurd/telldir.c: Likewise.
2134         * sysdeps/unix/telldir.c: Likewise.
2135         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
2136
2137         * locale/weight.h: Set errno if an invalid character is found.
2138
2139 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2140
2141         * math/libm-test.c (erfc_test): Add test for example from PR
2142         libc/1259.
2143         (erf_test): Likewise.
2144
2145 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
2146
2147         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
2148         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
2149
2150         * timezone/private.h: Update from tzcode1999e.
2151         * timezone/zic.c: Likewise.
2152
2153         * timezone/africa: Update from tzdata1999e.
2154         * timezone/antarctica: Likewise.
2155         * timezone/asia: Likewise.
2156         * timezone/australasia: Likewise.
2157         * timezone/europe: Likewise.
2158         * timezone/leapseconds: Likewise.
2159         * timezone/northamerica: Likewise.
2160         * timezone/southamerica: Likewise.
2161
2162         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
2163         and write correct number of bytes in case of %ls with precision.
2164         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2165
2166 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
2167
2168         * nscd/nscd.init: Test for kernel version and make LSB compliant.
2169         Patch by Christian Gafton.
2170
2171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
2172         O_RSYNC.  Patch by Christian Gafton.
2173
2174         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
2175         possibly unterminated strings for %ls when a precision is
2176         specified.
2177         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2178
2179         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
2180         update_conversion_ptrs.
2181         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2182
2183 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2184
2185         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
2186         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2187
2188         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
2189         * wcsmbs/tst-wcsnlen.c: New file.
2190
2191 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2192
2193         * libio/ioputs.c (_IO_puts): Add missing brace.
2194
2195 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
2196
2197         * math/libm-test.c: Tweak deltas for a clean run on ppc.
2198
2199 1999-08-10  H.J. Lu  <hjl@gnu.org>
2200
2201         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
2202         (vfprintf): Likewise.
2203         * stdio-common/vfscanf.c (ORIENT): Likewise.
2204         * libio/genops.c (__underflow): Likewise.
2205         (__uflow): Likewise.
2206         * libio/iofputs.c (_IO_fputs): Likewise.
2207         * libio/ioftell.c (_IO_ftell): Likewise.
2208         * libio/iofwrite.c (_IO_fwrite): Likewise.
2209         * libio/ioputs.c (_IO_puts): Likewise.
2210         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2211         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2212
2213 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2214
2215         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
2216
2217 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2218
2219         * manual/job.texi (Process Group Functions): Document getpgid,
2220         getsid.
2221
2222 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2223
2224         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
2225         initialize si_pid from it.
2226         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
2227         parameter.
2228         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
2229         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
2230         (struct requestlist): Likewise.
2231         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
2232         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
2233         to __aio_sigqueue.
2234         (__aio_notify): Pass caller PID to __aio_notify_only.
2235         * rt/aio_suspend.c: Initialize caller_pid.
2236         * rt/lio_listio.c: Likewise.
2237         * rt/lio_listio64.c: Likewise.
2238
2239         * rt/lio_listio.c: If nothing has to be done free mutex before
2240         signalling.
2241         * rt/lio_listio64.c: Likewise.
2242
2243 1999-08-10  H.J. Lu  <hjl@gnu.org>
2244
2245         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
2246         handling.
2247
2248 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2249
2250         * elf/elf.h: Define ElfXX_Versym.
2251         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
2252         definition.
2253
2254         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
2255         for string output correctly in the wide character case.
2256         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2257
2258         * intl/locale.alias: Add catalan.
2259
2260 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2261
2262         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
2263
2264 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2265
2266         * po/pt_BR.po: New file.
2267
2268 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2269
2270         * math/libm-test.c (yn_test): Adjust deltas for i386.
2271         (ccosh_test): Likewise.
2272         (jn_test): Likewise.
2273
2274 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2275
2276         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
2277
2278 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2279
2280         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
2281         problem.
2282
2283 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2284
2285         * configure.in: install-sh lives now in scripts subdir.
2286         PR libc/1255 (bug 4).
2287
2288 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2289
2290         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
2291         version.
2292
2293         * po/fr.po: Update.
2294
2295 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
2296
2297         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
2298
2299 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2300
2301         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
2302         exponent.
2303
2304 1999-08-10  Andreas Schwab  <schwab@suse.de>
2305
2306         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
2307         header.
2308
2309 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
2310
2311         * elf/elf.h: Added definition of ELFOSABI_ARM.
2312         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
2313         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
2314         object's header and ABI values are acceptable.
2315         (VALID_ELF_HEADER): New macro; provide default definition.
2316         (VALID_ELF_OSABI): New macro; provide default definition.
2317         (VALID_ELF_ABIVERSION): New macro; provide default definition.
2318         * sysdeps/arm/dl-machine.h Define ARM specific versions of
2319         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
2320
2321 1999-08-09  Andreas Schwab  <schwab@suse.de>
2322
2323         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
2324
2325 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
2326
2327         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
2328
2329 1999-08-09  Andreas Schwab  <schwab@suse.de>
2330
2331         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
2332
2333 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
2334
2335         * sysdeps/ieee754/ieee754.h: Handle platforms with special
2336         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
2337
2338         * string/bits/string2.h: Mark void* operations as extensions.
2339         * sysdeps/i386/i486/bits/string.h: Likewise.
2340
2341         * debug/Makefile (routines): Add noophooks.
2342         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
2343         * debug/noophooks.c: New file.
2344         * debug/pcprofile.c: New file.
2345
2346 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2347
2348         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
2349         systems which allow using the functions also on non-seekable
2350         devices.
2351
2352         * resolv/res_send.c (res_send): Recompute timeout for poll for
2353         each jump to `wait'.
2354
2355         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
2356         braces to avoid warnings.
2357         (IN6ADDR_LOOPBACK_INIT): Likewise.
2358
2359         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
2360         MSG_DONTWAIT).
2361
2362 1999-08-06  H.J. Lu  <hjl@gnu.org>
2363
2364         * malloc/malloc.c: Initialize __libc_pagesize early.
2365
2366 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2367
2368         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
2369         defining it.
2370
2371         * inet/Makefile (tests): Add tst-ipnode.
2372         * inet/tst-ipnode.c: New file.
2373
2374 1999-08-06  Andreas Schwab  <schwab@suse.de>
2375
2376         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
2377         New definitions.
2378         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
2379         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2380         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
2381         New definitions.
2382         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2383         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
2384
2385 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
2386
2387         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
2388         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
2389         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
2390
2391 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2392
2393         * resolv/res_send.c (res_send): Don't test file descriptor for
2394         range, we use poll now.  [PR libc/1240]
2395
2396 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
2397
2398         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
2399         2.0 defined if they are not available.
2400
2401 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
2402
2403         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
2404         Define.
2405
2406 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
2407
2408         * rt/aio_read.c: Fix return value.
2409         * rt/aio_read64.c: Likewise.
2410         Reported by Christian Gafton.
2411
2412         * rt/aio_write.c: Fix return value.
2413         * rt/aio_write64.c: Likewise.
2414         * rt/aio_fsync.c: Likewise.
2415
2416         * rt/aio_misc.c: Set errno at correct place.
2417
2418         * rt/aio_fsync.c: Test OP parameter for correct values.
2419
2420         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
2421
2422 1999-08-04  Andreas Schwab  <schwab@suse.de>
2423
2424         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2425         Initialize result to one.
2426         (GET_NPROCS_CONF_PARSER): Likewise.
2427
2428 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
2429
2430         * inet/ether_hton.c: Pass errno pointer to NSS function.
2431         * inet/getnetgrent_r.c: Likewise.
2432         Reported by Marty Leisner <leisner@rochester.rr.com>.
2433
2434 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2435
2436         * nis/nis_callback.c: Fix port problem on big-endian machines
2437         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
2438         fields are always 32 bit.
2439         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
2440
2441         * nis/nss_nis/nis-service.c: Remove htons, port is always in
2442         network-byte-order.
2443         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
2444
2445 1999-08-03  Andreas Schwab  <schwab@suse.de>
2446
2447         * sysdeps/posix/sigset.c: Unblock the signal after setting its
2448         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
2449         avoid two calls to sigprocmask.
2450
2451 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2452
2453         * sysdeps/generic/s_nexttowardf.c: Fix typo.
2454
2455 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2456
2457         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2458         Only allow rt signal frames. No SA_SIGINFO signals will have the
2459         siginfo_t just not filled out with SI_NOINFO code.
2460         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
2461         (register_dump): Take the above change into account.
2462         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
2463         (rt_signal_frame): Likewise.
2464
2465         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
2466
2467 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2468
2469         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
2470         instead of select().
2471
2472 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2473
2474         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
2475         nexttoward so something else so that aliasing works.
2476
2477 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2478
2479         * sysdeps/generic/math_ldbl.h: Fix typo.
2480         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
2481         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
2482
2483 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2484
2485         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
2486
2487 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
2488
2489         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
2490         program.
2491         * elf/resolvfail.c: New file.
2492
2493         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
2494         pass it to _dl_lookup_symbol.
2495
2496         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
2497         bit.  Reword message.
2498
2499         * dlfcn/dlerror.c: Make code thread-safe.
2500
2501 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
2502
2503         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
2504         initializer in CHECK: a bit size, not the type code repeated!
2505
2506 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2507
2508         * string/tester.c: Add tests with constant arguments for strcpy
2509         and stpcpy.
2510
2511 1999-07-31  H.J. Lu  <hjl@gnu.org>
2512
2513         * string/bits/string2.h (__strcpy_small): Fix a typo.
2514
2515 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2516
2517         * Makeconfig (link-libc): Always define it, not only for shared
2518         builds.
2519
2520         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
2521         * sysdeps/i386/fpu/e_powf.S: Likewise.
2522         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
2523
2524         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
2525         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
2526
2527 1999-07-30  Andreas Schwab  <schwab@suse.de>
2528
2529         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
2530         definition.
2531         (__get_nprocs): Use it.
2532         (__get_nprocs_conf): Define as separate function if
2533         GET_NPROCS_CONF_PARSER is defined.
2534         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
2535
2536         * include/sys/sysinfo.h: New file.
2537         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
2538         interface.
2539         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2540
2541 1999-07-30  H.J. Lu  <hjl@gnu.org>
2542
2543         * libio/iofflush.c (fflush_unlocked): Weak aliase if
2544         _IO_MTSAFE_IO is not defined.
2545         * libio/clearerr.c (clearerr_unlocked): Likewise.
2546         * libio/feof.c (feof_unlocked): Likewise.
2547         * libio/ferror.c (ferror_unlocked): Likewise.
2548         * libio/fputc.c (fputc_unlocked): Likewise.
2549         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
2550         * libio/getchar.c (getchar_unlocked): Likewise.
2551         * libio/putc.c (putc_unlocked): Likewise.
2552         * libio/putchar.c (putchar_unlocked): Likewise.
2553
2554 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
2555
2556         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
2557           svc_max_pollfd and svc_pollfd to GLIBC_2.2
2558         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
2559           for svc_run/poll interface.
2560         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
2561         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
2562           global variable.
2563         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
2564           rewrite other svc_getreq* functions to use svc_getreq_common.
2565         * sunrpc/svc_run.c: Use poll().
2566
2567 1999-07-30  Andreas Schwab  <schwab@suse.de>
2568
2569         * Makerules: Put sysd-versions and Versions.all on
2570         postclean-generated instead of common-generated.
2571
2572 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2573
2574         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
2575         around and CLOCKS_PER_SEC is 1e6.
2576
2577 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
2578
2579         * configure.in: Add test for local label subtraction.
2580         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
2581         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
2582         labels to reduce number of runtime relocations and move jump
2583         tables in read-only seciton.
2584
2585         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
2586         assignment cannot be moved.
2587
2588 1999-07-29  H.J. Lu  <hjl@gnu.org>
2589
2590         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
2591         if no threads are used.
2592
2593         * libio/iofwrite.c: Add weak alias for _unlocked function if not
2594         _IO_MTSAFE_IO.
2595         * libio/iofread.c: Likewise.
2596         * libio/iofgets.c: Likewise.
2597         * libio/iofputs.c: Likewise.
2598
2599         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
2600         definition.
2601
2602         * stdlib/mbtowc.c: Include <string.h>.
2603         * stdlib/wctomb.c: Likewise.
2604         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
2605         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
2606
2607         * misc/mntent_r.c: Include <alloca.h>.
2608         * elf/dl-runtime.c: Likewise.
2609
2610 1999-07-29  Andreas Schwab  <schwab@suse.de>
2611
2612         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
2613         all floating point formats supported by gcc.  Error out for
2614         unhandled precisions.
2615         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
2616         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
2617         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
2618
2619 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
2620
2621         * sysdeps/generic/setenv.c: Move setenv code in new function
2622         __add_to_environ.  Add new parameter specifying already
2623         constructed string for the environment.
2624         (setenv): Call __add_to_environ with new parameter set to NULL.
2625         (unsetenv): Really test all elements for duplicated name.  Missed those
2626         cases where the two are following each other.
2627         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
2628         * include/stdlib.h: Add prototype of __add_to_environ.
2629         * stdlib/tst-environ.c: New file.
2630         * stdlib/Makefile (tests): Add tst-environ.
2631
2632         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
2633
2634         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
2635         argument in realloc call.
2636         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
2637         Likewise.
2638         Reported by Danny Braniss <danny@cs.huji.ac.il>.
2639
2640 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
2641
2642         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
2643         to print.
2644         * misc/efgcvt_r.c: Likewise.
2645         * misc/qefgcvt.c: Likewise.
2646         * misc/qefgcvt_r.c: Likewise.
2647         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
2648         anymore.
2649
2650 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2651
2652         * manual/math.texi (FP Function Optimization): Mention drawbacks.
2653
2654 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
2655
2656         * stdlib/mblen.c: Use static state.
2657         Reported by Bruno Haible <haible@ilog.fr>.
2658
2659         * stdlib/mbtowc.c: Reset state for s == NULL.
2660         * stdlib/wctomb.c: Likewise.
2661         Reported by Bruno Haible <haible@ilog.fr>.
2662
2663         * stdlib/mbstowcs.c: Do not use global state.
2664         Reported by Bruno Haible <haible@ilog.fr>.
2665
2666 1999-07-28  Andeas Schwab  <schwab@suse.de>
2667
2668         * iconvdata/Makefile: Don't try to run iconv tests when cross
2669         compiling.
2670
2671 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
2672
2673         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
2674         assembler code to switch stacks and call init1 outside this
2675         function.  Inside `init' the code was optimized away by gcc
2676         2.95 since it was "clearly" unreachable.
2677         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2678         Do something similar for the trampoline code.
2679
2680 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
2681
2682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
2683         for the hinted protocol.
2684
2685 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2686
2687         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
2688
2689 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2690
2691         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
2692         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
2693         * elf/dl-load.c (_dl_map_object): Likewise.
2694         * elf/do-lookup.h (do_lookup*): Likewise.
2695         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
2696         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
2697         as uint64_t.
2698         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
2699
2700 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2701
2702         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
2703         * sysdeps/generic/getpgrp.c: Likewise.
2704         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
2705         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
2706         Patch by John Tobey <jtobey@banta-im.com>.
2707
2708         * sysdeps/posix/wait3.c: Help compiling in presence of
2709         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
2710
2711 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2712
2713         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
2714         as much as possible. Declare them using .register pseudo-op if they
2715         are still used.
2716         * sysdeps/sparc/sparc64/lshift.S: Likewise.
2717         * sysdeps/sparc/sparc64/memchr.S: Likewise.
2718         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2719         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2720         * sysdeps/sparc/sparc64/memset.S: Likewise.
2721         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2722         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2723         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
2724         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2725         * sysdeps/sparc/sparc64/strcat.S: Likewise.
2726         * sysdeps/sparc/sparc64/strchr.S: Likewise.
2727         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
2728         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
2729         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
2730         * sysdeps/sparc/sparc64/strlen.S: Likewise.
2731         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2732         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2733         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
2734         * sysdeps/sparc/sparc64/strspn.S: Likewise.
2735         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
2736         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2737         Optimize trampoline code for .plt4-.plt32767.
2738         Fix trampolines for .plt32768+.
2739
2740 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2741
2742         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
2743         -mcpu=v8.
2744         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
2745         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
2746         libc's private use (as assembly routine clobber it anyway).
2747
2748 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2749
2750         * README.template (configurations): The crypt add-on has a new
2751         ftp site.
2752         * manual/install.texi (Installation): Likewise.
2753
2754 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2755
2756         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
2757         requires to have a full definition but we wait for a bug report
2758         based on the test suite.
2759
2760         * sysdeps/generic/clock_getres.c: New file.
2761         * sysdeps/generic/clock_gettime.c: New file.
2762         * sysdeps/generic/clock_settime.c: New file.
2763         * sysdeps/generic/timer_create.c: New file.
2764         * sysdeps/generic/timer_delete.c: New file.
2765         * sysdeps/generic/timer_getoverr.c: New file.
2766         * sysdeps/generic/timer_gettime.c: New file.
2767         * sysdeps/generic/timer_settime.c: New file.
2768
2769         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
2770         CLOCK_REALTIME, and TIMER_ABSTIME.
2771         * sysdeps/mach/hurd/bits/time.h: Likewise.
2772         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2773         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2774
2775         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
2776
2777         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
2778         si_timer2.
2779
2780         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
2781
2782         * time/Makefile (routines): Add clock_getres, clock_gettime,
2783         clock_setres, timer_create, timer_delete, timer_getoverr,
2784         timer_gettime, and timer_settime.
2785
2786         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
2787         POSIX.1b.  Add prototypes for clock and timer functions.
2788
2789 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
2790
2791         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
2792         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
2793
2794 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2795
2796         * stdlib/wcstombs.c: Do not use global state.
2797         Reported by Bruno Haible <haible@ilog.fr>.
2798
2799         * wcsmbs/wctob.c: Avoid sign extension when returning character.
2800         Reported by Bruno Haible <haible@ilog.fr>.
2801
2802         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
2803         of wide characters to convert do it right and don't overestimate
2804         by multiplying with MB_CUR_MAX.
2805         Reported by Bruno Haible <haible@ilog.fr>.
2806
2807 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
2808
2809         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
2810         (__stpcpy_small): Likewise.
2811         Union has no __uc member but __c.
2812
2813 1999-07-26  Andreas Schwab  <schwab@suse.de>
2814
2815         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
2816
2817 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
2818
2819         * libio/iofclose.c (_IO_new_fclose): Only fall back on
2820         _IO_old_fclose if doing versioning.
2821
2822         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
2823         them appropriately.
2824         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2825
2826         * misc/mntent_r.c: Allow spaces and tabs in entry names by
2827         encoding these characters.
2828         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
2829
2830         * string/bits/string2.h: Fix aliasing problems.
2831         * sysdeps/i386/i486/bits/string.h: Likewise.
2832         * sysdeps/i386/bits/string.h: Likewise.
2833
2834 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
2835
2836         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
2837         * elf/rtld.c (dl_main): Don't call malloc() between
2838         re-relocating the dynamic linker and running the application's crt0.
2839
2840 1999-07-21  Paul D. Smith  <psmith@gnu.org>
2841
2842         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
2843         glob.h to get __P() macro.
2844
2845         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
2846         not ANSI.
2847         (__strchrnul): This won't exist outside GLIBC, so create one.
2848
2849 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
2850
2851         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
2852         __ino64_t should be 32bit unsigned type on sparc32.
2853         Define __off64_t to __quad_t instead of __int64_t.
2854         Make __pic_pid_t unsigned on sparc32.
2855
2856 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2857
2858         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
2859         in bash 2.03.
2860
2861 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
2862
2863         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
2864         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
2865
2866 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
2867
2868         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
2869         accesses.
2870
2871         * resolv/res_send.c: Add locks for res_send and res_close use.
2872
2873         * elf/Makefile (dl-routines): Add preinit.
2874         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
2875         * elf/link.h (struct link_map): Add new field l_preinitcount.
2876         * elf/dl-preinit.c: New file.
2877         * elf/dynamic-link.h: Initialize l_preinitcount.
2878         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
2879
2880         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
2881         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
2882         and l_initcount.
2883         * elf/dl-init.c: Handle DT_INIT_ARRAY.
2884         * elf/dynamic-link.h: Change parameters.  Now only get link_map
2885         pointer.  Calculate l_initcount.
2886
2887         * elf/link.h (struct link_map): Add l_runpath_dirs.
2888         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
2889         * elf/dl-load.c: Pretty print.
2890         (decompose_rpath): Take new parameter with info from where the path
2891         comes.  Pass it the fillin_rpath.
2892         (_dl_init_paths): Initialize l_runpath_dirs.
2893         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
2894         Search using RUNPATH after LD_LIBRARY_PATH.
2895         * elf/dl-support.c: Adjust comment.
2896         * elf/rtld.c: Adjust help message.
2897
2898 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2899
2900         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
2901         interface.
2902
2903 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
2904
2905         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
2906         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
2907         ever used this, so I'm not going to worry about compatibility.
2908         [__USE_GNU] (IUCLC, OLCUC): New macros.
2909
2910 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
2911
2912         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
2913
2914         * elf/elf.h: Add ET_LOOS and ET_HIOS.
2915         Add various EM_* constants.
2916         Add SHN_LOOS and SHN_HIOS.
2917         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
2918         Add SHF_MERGE and SHF_STRINGS.
2919         (ElfXX_Sym): Update description of st_other field.
2920         Add STT_COMMON.
2921         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
2922         Add STV_* macros.
2923         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
2924         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
2925         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
2926
2927         * posix/unistd.h: Move declaration of __libc_enable_secure to...
2928         * include/unistd.h: ...here.
2929
2930         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
2931         * elf/dl-deps.c (expand_dst): Likewise.
2932
2933         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
2934         based on DT_FLAGS value.
2935
2936         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
2937         Add test for symbols marked STV_HIDDEN.
2938         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
2939         add undef_map.  Compute reference_name locally.  Update call to
2940         do_lookup.
2941         (_dl_lookup_symbol_skip): Likewise.
2942         (_dl_lookup_versioned_symbol): Likewise.
2943         (_dl_lookup_versioned_symbol_skip): Likewise.
2944         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
2945         * elf/dl-runtime.c: Likewise.
2946         * elf/dl-sym.c: Likewise.
2947         * elf/dl-symbol.c: Likewise.
2948         * elf/ldsodefs.h: Adjust prototypes.
2949
2950         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
2951         handle appropriately.  Add comment about DT_TEXTREL.
2952         * elf/dl-runtime.c: Likewise.
2953
2954 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
2955
2956         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
2957         * elf/ldsodefs.h: Declare it.
2958         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
2959         instead of assert.
2960         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
2961         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2962         (elf_machine_lazy_rel): Likewise.
2963         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
2964         (elf_machine_lazy_rel): Likewise.
2965         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
2966         (elf_machine_lazy_rel): Likewise.
2967         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2968         (elf_machine_lazy_rel): Likewise.
2969         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2970         (elf_machine_lazy_rel): Likewise.
2971         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
2972         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
2973         (elf_machine_lazy_rel): Likewise.
2974         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2975         (elf_machine_lazy_rel): Likewise.
2976         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
2977         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
2978         _dl_reloc_bad_type instead of _dl_signal_error.
2979         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
2980
2981 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
2982
2983         * sysdeps/mach/_strerror.c: Include <libintl.h>.
2984
2985 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
2986
2987         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
2988         hurd_signal_preemptor matches but its `preemptor' field is null, use
2989         its `handler' field directly.  This is to comply with behavior
2990         documented in <hurd/sigpreempt.h>.
2991
2992 1999-07-21  Andreas Schwab  <schwab@suse.de>
2993
2994         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
2995         when reading from write-only stream.
2996         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
2997         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2998
2999 1999-07-21  Andreas Schwab  <schwab@suse.de>
3000
3001         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
3002         NULL.
3003
3004 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
3005
3006         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
3007         <hurd/fd.h>.
3008         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
3009         <hurd/fd.h>.
3010         (__libc_write): Call __pwrite instead of __pread.
3011
3012 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
3013
3014         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
3015         __vm_allocate calls.
3016
3017         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
3018         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
3019
3020         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
3021         _hurd_fd_read with new OFFSET argument set to -1.
3022         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
3023         to -1.
3024
3025 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
3026
3027         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
3028         descriptor table sent in the RPC.
3029
3030 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3031
3032         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
3033         bill@taniwha.org [PR libc/1211].
3034
3035 1999-07-19  Andreas Schwab  <schwab@suse.de>
3036
3037         * libio/Makefile (routines): Add fwprintf.
3038
3039         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
3040         * math/w_sqrt.c: Moved to ...
3041         * sysdeps/generic/w_sqrt.c: ... here.
3042         * math/w_sqrtf.c: Moved to ...
3043         * sysdeps/generic/w_sqrtf.c: ... here.
3044
3045         * Make-dist (generic-dirs): New variable.
3046         (try-sysdeps, +sysdep-names): Use it.
3047         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
3048         instead of $(lib)-routines.
3049         * elf/Makefile (distribute): Add dl-cache.h.
3050         * db2/Makefile (distribute): Add all new files.
3051         * iconvdata/Makefile (distribute): Don't distribute CVS
3052         directory.
3053         * math/Makefile (distribute): Remove machine/endian.h, add
3054         math_ldbl.h.
3055         * stdio-common/Makefile (distribute): Add _itowa.h.
3056         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
3057         * sysdeps/gnu/Dist: Add eval.c
3058         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
3059         dlfcn]: Add to this instead of libdl-routines.
3060         * sysdeps/ieee754/ldbl-128/Dist: New file.
3061         * sysdeps/mach/hurd/Dist: Add siglist.h
3062         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
3063
3064 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
3065
3066         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
3067
3068         * inet/Makefile (routines): Add getipnodebyad and freehostent.
3069         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
3070         * inet/freehostent.c: New file.
3071         * inet/getipnodebyad.c: New file.
3072         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
3073         and getipnodebyname.  The latter comes soon.
3074         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
3075         Add support for getipnode* functions.
3076
3077         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
3078         Set h_aliases to NULL and not to a pointer to an array with a NULL
3079         pointer following XNS 5.2.
3080
3081         * posix/sched.h: Remove internal interfaces.
3082         * include/sched.h: Add internal interfaces.
3083
3084         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
3085
3086         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
3087
3088         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
3089         and return an error in this case.
3090         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
3091         available.
3092
3093 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3094
3095         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
3096         1999-07-17 and adjust len parameter.
3097         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
3098         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
3099         * manual/socket.texi (Host Names): Likewise.
3100         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
3101         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
3102         Likewise.
3103         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3104         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3105         (ht_gethostbyaddr): Likewise.
3106         (_gethtbyaddr): Likewise.
3107
3108 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
3109
3110         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
3111         gethostbyaddr_r.
3112         * include/netdb.h: Likewise.
3113         * inet/gethstbyad.c: Correct type of len parameter.
3114         * inet/gethstbyad_r.c: Likewise.
3115
3116         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
3117
3118 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
3119
3120         * include/libc-symbol.h: Clean up definitions of weak_alias,
3121         strong_alias, symbol_version, etc. etc.
3122         * posix/getopt.h: Use ctype.h to get features.h included, and don't
3123         include it at all if __GNU_LIBRARY__ is already defined.
3124
3125 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
3126
3127         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
3128
3129         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
3130
3131         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
3132         type for tv_usec element.
3133         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3134         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
3135         * sysdeps/generic/bits/time.h: Likewise.
3136         * sysdeps/mach/hurd/bits/time.h: Likewise.
3137         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3138         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3139         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3140         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3141         * sysdeps/generic/bits/types.h: Likewise.
3142         * posix/sys/types.h: Define suseconds_t for X/Open.
3143
3144 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3145
3146         * stdio-common/bug1.c: Avoid memory leak.
3147
3148         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
3149         program deterministic.
3150         * sysdeps/i386/fpu/e_powf.S: Likewise.
3151         * sysdeps/i386/fpu/e_powl.S: Likewise.
3152
3153 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
3154
3155         * math/Makefile: Add t_sincosl and k_sincosl support routines.
3156         * math/math_private.h (__kernel_sincosl): New declaration.
3157         * sysdeps/generic/t_sincosl.c: New file.
3158         * sysdeps/generic/k_sincosl.c: New file.
3159         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
3160         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
3161         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
3162         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
3163         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
3164         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
3165         __kernel_sincosl.
3166         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
3167         definition.
3168
3169 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3170
3171         * posix/unistd.h: Use __PMT for exit.
3172
3173 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
3174
3175         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
3176         _outw, _outl): Added to GLIBC_2.1.2.
3177
3178 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3179
3180         * posix/fnmatch.h: Use __name instead of __string in prototype to
3181         allow use outside glibc.
3182
3183 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
3184
3185         * time/tst-strptime.c (main): Add one more test case.  Produce
3186         output even when result is ok.
3187
3188         * time/strptime.c (get_number): Handle number parsing more
3189         consistent with strftime.  Only parse a given number of digits.
3190         (get_alt_number):  Fix implementation.  Was broken.
3191         (strptime_internal): Add third parameter to get_number and
3192         get_alt_number calls.
3193
3194 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
3195
3196         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
3197         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
3198         try both 32bit and 64bit dynamic linker.
3199         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
3200         script on all sparc targets.
3201
3202 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
3203
3204         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
3205         to int.
3206
3207 1999-07-13  Andreas Schwab  <schwab@suse.de>
3208
3209         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
3210         inlining.  Fixes PR libc/1198.
3211
3212 1999-07-14  Andreas Schwab  <schwab@suse.de>
3213
3214         * Makerules (common-generated): Don't prepend $(common-objpfx).
3215
3216 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
3217
3218         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
3219         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
3220         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
3221         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
3222         macro.
3223         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3224         instead of ieee754.
3225         * sysdeps/arm/Implies: Likewise.
3226         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
3227         ieee754/ldbl-96 instead of ieee754.
3228         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
3229         * sysdeps/generic/e_atanhl.c: New file.
3230         * sysdeps/generic/e_coshl.c: New file.
3231         * sysdeps/generic/e_sinhl.c: New file.
3232         * sysdeps/generic/e_gammal_r.c: New file.
3233         * sysdeps/generic/e_hypotl.c: New file.
3234         * sysdeps/generic/s_cbrtl.c: New file.
3235         * sysdeps/generic/s_asinhl.c: New file.
3236         * sysdeps/generic/s_tanhl.c: New file.
3237         * sysdeps/generic/w_expl.c: New file.
3238         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3239         instead of ieee754.
3240         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
3241         ieee754/ldbl-96 instead of ieee754.
3242         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
3243         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
3244         printf_fphex.
3245         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3246         instead of ieee754.
3247         * sysdeps/mips/mips64/Implies: Likewise.
3248         * sysdeps/powerpc/Implies: Likewise.
3249         * sysdeps/sparc/Implies: Remove.
3250         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
3251         ieee754/dbl-64.
3252         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
3253         and ieee754/ldbl-128.
3254
3255         * sysdeps/sparc/bits/wordsize.h: Remove.
3256         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
3257         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
3258         only for sparc32.
3259         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
3260         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
3261         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
3262         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3263         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
3264         support.
3265
3266         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
3267         of carries. Optimize.
3268
3269         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
3270         * sysdeps/generic/e_exp10.c: ...here.
3271         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
3272         * sysdeps/generic/e_exp10f.c: ...here.
3273         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
3274         * sysdeps/generic/e_exp10l.c: ...here.
3275         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
3276         * sysdeps/generic/e_scalb.c: ...here.
3277         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
3278         * sysdeps/generic/e_scalbf.c: ...here.
3279         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
3280         * sysdeps/generic/e_scalbl.c: ...here.
3281         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
3282         * sysdeps/generic/s_cacos.c: ...here.
3283         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
3284         * sysdeps/generic/s_cacosf.c: ...here.
3285         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
3286         * sysdeps/generic/s_cacosh.c: ...here.
3287         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
3288         * sysdeps/generic/s_cacoshf.c: ...here.
3289         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
3290         * sysdeps/generic/s_cacoshl.c: ...here.
3291         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
3292         * sysdeps/generic/s_cacosl.c: ...here.
3293         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
3294         * sysdeps/generic/s_casin.c: ...here.
3295         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
3296         * sysdeps/generic/s_casinf.c: ...here.
3297         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
3298         * sysdeps/generic/s_casinh.c: ...here.
3299         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
3300         * sysdeps/generic/s_casinhf.c: ...here.
3301         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
3302         * sysdeps/generic/s_casinhl.c: ...here.
3303         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
3304         * sysdeps/generic/s_casinl.c: ...here.
3305         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
3306         * sysdeps/generic/s_catan.c: ...here.
3307         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
3308         * sysdeps/generic/s_catanf.c: ...here.
3309         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
3310         * sysdeps/generic/s_catanh.c: ...here.
3311         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
3312         * sysdeps/generic/s_catanhf.c: ...here.
3313         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
3314         * sysdeps/generic/s_catanhl.c: ...here.
3315         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
3316         * sysdeps/generic/s_catanl.c: ...here.
3317         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
3318         * sysdeps/generic/s_ccos.c: ...here.
3319         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
3320         * sysdeps/generic/s_ccosf.c: ...here.
3321         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
3322         * sysdeps/generic/s_ccosh.c: ...here.
3323         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
3324         * sysdeps/generic/s_ccoshf.c: ...here.
3325         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
3326         * sysdeps/generic/s_ccoshl.c: ...here.
3327         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
3328         * sysdeps/generic/s_ccosl.c: ...here.
3329         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
3330         * sysdeps/generic/s_cexp.c: ...here.
3331         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
3332         * sysdeps/generic/s_cexpf.c: ...here.
3333         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
3334         * sysdeps/generic/s_cexpl.c: ...here.
3335         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
3336         * sysdeps/generic/s_clog.c: ...here.
3337         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
3338         * sysdeps/generic/s_clog10.c: ...here.
3339         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
3340         * sysdeps/generic/s_clog10f.c: ...here.
3341         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
3342         * sysdeps/generic/s_clog10l.c: ...here.
3343         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
3344         * sysdeps/generic/s_clogf.c: ...here.
3345         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
3346         * sysdeps/generic/s_clogl.c: ...here.
3347         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
3348         * sysdeps/generic/s_cpow.c: ...here.
3349         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
3350         * sysdeps/generic/s_cpowf.c: ...here.
3351         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
3352         * sysdeps/generic/s_cpowl.c: ...here.
3353         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
3354         * sysdeps/generic/s_cproj.c: ...here.
3355         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
3356         * sysdeps/generic/s_cprojf.c: ...here.
3357         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
3358         * sysdeps/generic/s_cprojl.c: ...here.
3359         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
3360         * sysdeps/generic/s_csin.c: ...here.
3361         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
3362         * sysdeps/generic/s_csinf.c: ...here.
3363         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
3364         * sysdeps/generic/s_csinh.c: ...here.
3365         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
3366         * sysdeps/generic/s_csinhf.c: ...here.
3367         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
3368         * sysdeps/generic/s_csinhl.c: ...here.
3369         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
3370         * sysdeps/generic/s_csinl.c: ...here.
3371         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
3372         * sysdeps/generic/s_csqrt.c: ...here.
3373         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
3374         * sysdeps/generic/s_csqrtf.c: ...here.
3375         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
3376         * sysdeps/generic/s_csqrtl.c: ...here.
3377         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
3378         * sysdeps/generic/s_ctan.c: ...here.
3379         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
3380         * sysdeps/generic/s_ctanf.c: ...here.
3381         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
3382         * sysdeps/generic/s_ctanh.c: ...here.
3383         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
3384         * sysdeps/generic/s_ctanhf.c: ...here.
3385         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
3386         * sysdeps/generic/s_ctanhl.c: ...here.
3387         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
3388         * sysdeps/generic/s_ctanl.c: ...here.
3389         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
3390         * sysdeps/generic/s_fdim.c: ...here.
3391         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
3392         * sysdeps/generic/s_fdimf.c: ...here.
3393         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
3394         * sysdeps/generic/s_fdiml.c: ...here.
3395         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
3396         * sysdeps/generic/s_fma.c: ...here.
3397         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
3398         * sysdeps/generic/s_fmaf.c: ...here.
3399         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
3400         * sysdeps/generic/s_fmal.c: ...here.
3401         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
3402         * sysdeps/generic/s_fmax.c: ...here.
3403         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
3404         * sysdeps/generic/s_fmaxf.c: ...here.
3405         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
3406         * sysdeps/generic/s_fmaxl.c: ...here.
3407         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
3408         * sysdeps/generic/s_fmin.c: ...here.
3409         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
3410         * sysdeps/generic/s_fminf.c: ...here.
3411         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
3412         * sysdeps/generic/s_fminl.c: ...here.
3413         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
3414         * sysdeps/generic/s_ldexp.c: ...here.
3415         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
3416         * sysdeps/generic/s_ldexpf.c: ...here.
3417         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
3418         * sysdeps/generic/s_ldexpl.c: ...here.
3419         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
3420         * sysdeps/generic/s_nan.c: ...here.
3421         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
3422         * sysdeps/generic/s_nanf.c: ...here.
3423         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
3424         * sysdeps/generic/s_nanl.c: ...here.
3425         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
3426         * sysdeps/generic/s_significand.c: ...here.
3427         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
3428         * sysdeps/generic/s_significandf.c: ...here.
3429         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
3430         * sysdeps/generic/s_significandl.c: ...here.
3431         Avoid conversion from int to double and then to long double.
3432         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
3433         * math/w_acos.c: ...here.
3434         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
3435         * math/w_acosf.c: ...here.
3436         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
3437         * math/w_acosh.c: ...here.
3438         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
3439         * math/w_acoshf.c: ...here.
3440         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
3441         * math/w_acoshl.c: ...here.
3442         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
3443         * math/w_acosl.c: ...here.
3444         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
3445         * math/w_asin.c: ...here.
3446         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
3447         * math/w_asinf.c: ...here.
3448         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
3449         * math/w_asinl.c: ...here.
3450         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
3451         * math/w_atan2.c: ...here.
3452         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
3453         * math/w_atan2f.c: ...here.
3454         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
3455         * math/w_atan2l.c: ...here.
3456         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
3457         * math/w_atanh.c: ...here.
3458         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
3459         * math/w_atanhf.c: ...here.
3460         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
3461         * math/w_atanhl.c: ...here.
3462         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
3463         * math/w_cosh.c: ...here.
3464         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
3465         * math/w_coshf.c: ...here.
3466         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
3467         * math/w_coshl.c: ...here.
3468         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
3469         * math/w_drem.c: ...here.
3470         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
3471         * math/w_dremf.c: ...here.
3472         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
3473         * math/w_dreml.c: ...here.
3474         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
3475         * math/w_exp10.c: ...here.
3476         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
3477         * math/w_exp10f.c: ...here.
3478         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
3479         * math/w_exp10l.c: ...here.
3480         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
3481         * math/w_exp2.c: ...here.
3482         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
3483         * math/w_exp2f.c: ...here.
3484         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
3485         * math/w_exp2l.c: ...here.
3486         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
3487         * math/w_fmod.c: ...here.
3488         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
3489         * math/w_fmodf.c: ...here.
3490         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
3491         * math/w_fmodl.c: ...here.
3492         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
3493         * math/w_hypot.c: ...here.
3494         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
3495         * math/w_hypotf.c: ...here.
3496         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
3497         * math/w_hypotl.c: ...here.
3498         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
3499         * math/w_j0.c: ...here.
3500         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
3501         * math/w_j0f.c: ...here.
3502         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
3503         * math/w_j0l.c: ...here.
3504         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
3505         * math/w_j1.c: ...here.
3506         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
3507         * math/w_j1f.c: ...here.
3508         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
3509         * math/w_j1l.c: ...here.
3510         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
3511         * math/w_jn.c: ...here.
3512         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
3513         * math/w_jnf.c: ...here.
3514         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
3515         * math/w_jnl.c: ...here.
3516         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
3517         * math/w_lgamma.c: ...here.
3518         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
3519         * math/w_lgamma_r.c: ...here.
3520         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
3521         * math/w_lgammaf.c: ...here.
3522         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
3523         * math/w_lgammaf_r.c: ...here.
3524         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
3525         * math/w_lgammal.c: ...here.
3526         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
3527         * math/w_lgammal_r.c: ...here.
3528         * sysdeps/libm-ieee754/w_log.c: Moved to ...
3529         * math/w_log.c: ...here.
3530         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
3531         * math/w_log10.c: ...here.
3532         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
3533         * math/w_log10f.c: ...here.
3534         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
3535         * math/w_log10l.c: ...here.
3536         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
3537         * math/w_logf.c: ...here.
3538         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
3539         * math/w_logl.c: ...here.
3540         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
3541         * math/w_pow.c: ...here.
3542         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
3543         * math/w_powf.c: ...here.
3544         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
3545         * math/w_powl.c: ...here.
3546         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
3547         * math/w_remainder.c: ...here.
3548         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
3549         * math/w_remainderf.c: ...here.
3550         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
3551         * math/w_remainderl.c: ...here.
3552         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
3553         * math/w_scalb.c: ...here.
3554         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
3555         * math/w_scalbf.c: ...here.
3556         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
3557         * math/w_scalbl.c: ...here.
3558         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
3559         * math/w_sinh.c: ...here.
3560         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
3561         * math/w_sinhf.c: ...here.
3562         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
3563         * math/w_sinhl.c: ...here.
3564         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
3565         * math/w_sqrt.c: ...here.
3566         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
3567         * math/w_sqrtf.c: ...here.
3568         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
3569         * math/w_sqrtl.c: ...here.
3570         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
3571         * math/w_tgamma.c: ...here.
3572         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
3573         * math/w_tgammaf.c: ...here.
3574         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
3575         * math/w_tgammal.c: ...here.
3576         * sysdeps/libm-i387/e_acos.S: Moved to ...
3577         * sysdeps/i386/fpu/e_acos.S: ...here.
3578         * sysdeps/libm-i387/e_acosf.S: Moved to ...
3579         * sysdeps/i386/fpu/e_acosf.S: ...here.
3580         * sysdeps/libm-i387/e_acosh.S: Moved to ...
3581         * sysdeps/i386/fpu/e_acosh.S: ...here.
3582         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
3583         * sysdeps/i386/fpu/e_acoshf.S: ...here.
3584         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
3585         * sysdeps/i386/fpu/e_acoshl.S: ...here.
3586         * sysdeps/libm-i387/e_acosl.S: Moved to ...
3587         * sysdeps/i386/fpu/e_acosl.S: ...here.
3588         * sysdeps/libm-i387/e_asin.S: Moved to ...
3589         * sysdeps/i386/fpu/e_asin.S: ...here.
3590         * sysdeps/libm-i387/e_asinf.S: Moved to ...
3591         * sysdeps/i386/fpu/e_asinf.S: ...here.
3592         * sysdeps/libm-i387/e_asinl.S: Moved to ...
3593         * sysdeps/i386/fpu/e_asinl.S: ...here.
3594         * sysdeps/libm-i387/e_atan2.S: Moved to ...
3595         * sysdeps/i386/fpu/e_atan2.S: ...here.
3596         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
3597         * sysdeps/i386/fpu/e_atan2f.S: ...here.
3598         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
3599         * sysdeps/i386/fpu/e_atan2l.S: ...here.
3600         * sysdeps/libm-i387/e_atanh.S: Moved to ...
3601         * sysdeps/i386/fpu/e_atanh.S: ...here.
3602         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
3603         * sysdeps/i386/fpu/e_atanhf.S: ...here.
3604         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
3605         * sysdeps/i386/fpu/e_atanhl.S: ...here.
3606         * sysdeps/libm-i387/e_exp.S: Moved to ...
3607         * sysdeps/i386/fpu/e_exp.S: ...here.
3608         * sysdeps/libm-i387/e_exp10.S: Moved to ...
3609         * sysdeps/i386/fpu/e_exp10.S: ...here.
3610         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
3611         * sysdeps/i386/fpu/e_exp10f.S: ...here.
3612         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
3613         * sysdeps/i386/fpu/e_exp10l.S: ...here.
3614         * sysdeps/libm-i387/e_expf.S: Moved to ...
3615         * sysdeps/i386/fpu/e_expf.S: ...here.
3616         * sysdeps/libm-i387/e_expl.S: Moved to ...
3617         * sysdeps/i386/fpu/e_expl.S: ...here.
3618         * sysdeps/libm-i387/e_fmod.S: Moved to ...
3619         * sysdeps/i386/fpu/e_fmod.S: ...here.
3620         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
3621         * sysdeps/i386/fpu/e_fmodf.S: ...here.
3622         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
3623         * sysdeps/i386/fpu/e_fmodl.S: ...here.
3624         * sysdeps/libm-i387/e_hypot.S: Moved to ...
3625         * sysdeps/i386/fpu/e_hypot.S: ...here.
3626         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
3627         * sysdeps/i386/fpu/e_hypotf.S: ...here.
3628         * sysdeps/libm-i387/e_log.S: Moved to ...
3629         * sysdeps/i386/fpu/e_log.S: ...here.
3630         * sysdeps/libm-i387/e_log10.S: Moved to ...
3631         * sysdeps/i386/fpu/e_log10.S: ...here.
3632         * sysdeps/libm-i387/e_log10f.S: Moved to ...
3633         * sysdeps/i386/fpu/e_log10f.S: ...here.
3634         * sysdeps/libm-i387/e_log10l.S: Moved to ...
3635         * sysdeps/i386/fpu/e_log10l.S: ...here.
3636         * sysdeps/libm-i387/e_logf.S: Moved to ...
3637         * sysdeps/i386/fpu/e_logf.S: ...here.
3638         * sysdeps/libm-i387/e_logl.S: Moved to ...
3639         * sysdeps/i386/fpu/e_logl.S: ...here.
3640         * sysdeps/libm-i387/e_pow.S: Moved to ...
3641         * sysdeps/i386/fpu/e_pow.S: ...here.
3642         * sysdeps/libm-i387/e_powf.S: Moved to ...
3643         * sysdeps/i386/fpu/e_powf.S: ...here.
3644         * sysdeps/libm-i387/e_powl.S: Moved to ...
3645         * sysdeps/i386/fpu/e_powl.S: ...here.
3646         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
3647         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
3648         * sysdeps/libm-i387/e_remainder.S: Moved to ...
3649         * sysdeps/i386/fpu/e_remainder.S: ...here.
3650         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
3651         * sysdeps/i386/fpu/e_remainderf.S: ...here.
3652         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
3653         * sysdeps/i386/fpu/e_remainderl.S: ...here.
3654         * sysdeps/libm-i387/e_scalb.S: Moved to ...
3655         * sysdeps/i386/fpu/e_scalb.S: ...here.
3656         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
3657         * sysdeps/i386/fpu/e_scalbf.S: ...here.
3658         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
3659         * sysdeps/i386/fpu/e_scalbl.S: ...here.
3660         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
3661         * sysdeps/i386/fpu/e_sqrt.S: ...here.
3662         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
3663         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
3664         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
3665         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
3666         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
3667         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
3668         * sysdeps/libm-i387/s_asinh.S: Moved to ...
3669         * sysdeps/i386/fpu/s_asinh.S: ...here.
3670         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
3671         * sysdeps/i386/fpu/s_asinhf.S: ...here.
3672         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
3673         * sysdeps/i386/fpu/s_asinhl.S: ...here.
3674         * sysdeps/libm-i387/s_atan.S: Moved to ...
3675         * sysdeps/i386/fpu/s_atan.S: ...here.
3676         * sysdeps/libm-i387/s_atanf.S: Moved to ...
3677         * sysdeps/i386/fpu/s_atanf.S: ...here.
3678         * sysdeps/libm-i387/s_atanl.S: Moved to ...
3679         * sysdeps/i386/fpu/s_atanl.S: ...here.
3680         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
3681         * sysdeps/i386/fpu/s_cbrt.S: ...here.
3682         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
3683         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
3684         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
3685         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
3686         * sysdeps/libm-i387/s_ceil.S: Moved to ...
3687         * sysdeps/i386/fpu/s_ceil.S: ...here.
3688         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
3689         * sysdeps/i386/fpu/s_ceilf.S: ...here.
3690         * sysdeps/libm-i387/s_ceill.S: Moved to ...
3691         * sysdeps/i386/fpu/s_ceill.S: ...here.
3692         * sysdeps/libm-i387/s_cexp.S: Moved to ...
3693         * sysdeps/i386/fpu/s_cexp.S: ...here.
3694         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
3695         * sysdeps/i386/fpu/s_cexpf.S: ...here.
3696         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
3697         * sysdeps/i386/fpu/s_cexpl.S: ...here.
3698         * sysdeps/libm-i387/s_copysign.S: Moved to ...
3699         * sysdeps/i386/fpu/s_copysign.S: ...here.
3700         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
3701         * sysdeps/i386/fpu/s_copysignf.S: ...here.
3702         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
3703         * sysdeps/i386/fpu/s_copysignl.S: ...here.
3704         * sysdeps/libm-i387/s_cos.S: Moved to ...
3705         * sysdeps/i386/fpu/s_cos.S: ...here.
3706         * sysdeps/libm-i387/s_cosf.S: Moved to ...
3707         * sysdeps/i386/fpu/s_cosf.S: ...here.
3708         * sysdeps/libm-i387/s_cosl.S: Moved to ...
3709         * sysdeps/i386/fpu/s_cosl.S: ...here.
3710         * sysdeps/libm-i387/s_exp2.S: Moved to ...
3711         * sysdeps/i386/fpu/s_exp2.S: ...here.
3712         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
3713         * sysdeps/i386/fpu/s_exp2f.S: ...here.
3714         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
3715         * sysdeps/i386/fpu/s_exp2l.S: ...here.
3716         * sysdeps/libm-i387/s_expm1.S: Moved to ...
3717         * sysdeps/i386/fpu/s_expm1.S: ...here.
3718         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
3719         * sysdeps/i386/fpu/s_expm1f.S: ...here.
3720         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
3721         * sysdeps/i386/fpu/s_expm1l.S: ...here.
3722         * sysdeps/libm-i387/s_fdim.S: Moved to ...
3723         * sysdeps/i386/fpu/s_fdim.S: ...here.
3724         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
3725         * sysdeps/i386/fpu/s_fdimf.S: ...here.
3726         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
3727         * sysdeps/i386/fpu/s_fdiml.S: ...here.
3728         * sysdeps/libm-i387/s_finite.S: Moved to ...
3729         * sysdeps/i386/fpu/s_finite.S: ...here.
3730         * sysdeps/libm-i387/s_finitef.S: Moved to ...
3731         * sysdeps/i386/fpu/s_finitef.S: ...here.
3732         * sysdeps/libm-i387/s_finitel.S: Moved to ...
3733         * sysdeps/i386/fpu/s_finitel.S: ...here.
3734         * sysdeps/libm-i387/s_floor.S: Moved to ...
3735         * sysdeps/i386/fpu/s_floor.S: ...here.
3736         * sysdeps/libm-i387/s_floorf.S: Moved to ...
3737         * sysdeps/i386/fpu/s_floorf.S: ...here.
3738         * sysdeps/libm-i387/s_floorl.S: Moved to ...
3739         * sysdeps/i386/fpu/s_floorl.S: ...here.
3740         * sysdeps/libm-i387/s_fma.S: Moved to ...
3741         * sysdeps/i386/fpu/s_fma.S: ...here.
3742         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
3743         * sysdeps/i386/fpu/s_fmaf.S: ...here.
3744         * sysdeps/libm-i387/s_fmal.S: Moved to ...
3745         * sysdeps/i386/fpu/s_fmal.S: ...here.
3746         * sysdeps/libm-i387/s_fmax.S: Moved to ...
3747         * sysdeps/i386/fpu/s_fmax.S: ...here.
3748         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
3749         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
3750         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
3751         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
3752         * sysdeps/libm-i387/s_fmin.S: Moved to ...
3753         * sysdeps/i386/fpu/s_fmin.S: ...here.
3754         * sysdeps/libm-i387/s_fminf.S: Moved to ...
3755         * sysdeps/i386/fpu/s_fminf.S: ...here.
3756         * sysdeps/libm-i387/s_fminl.S: Moved to ...
3757         * sysdeps/i386/fpu/s_fminl.S: ...here.
3758         * sysdeps/libm-i387/s_frexp.S: Moved to ...
3759         * sysdeps/i386/fpu/s_frexp.S: ...here.
3760         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
3761         * sysdeps/i386/fpu/s_frexpf.S: ...here.
3762         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
3763         * sysdeps/i386/fpu/s_frexpl.S: ...here.
3764         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
3765         * sysdeps/i386/fpu/s_ilogb.S: ...here.
3766         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
3767         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
3768         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
3769         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
3770         * sysdeps/libm-i387/s_llrint.S: Moved to ...
3771         * sysdeps/i386/fpu/s_llrint.S: ...here.
3772         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
3773         * sysdeps/i386/fpu/s_llrintf.S: ...here.
3774         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
3775         * sysdeps/i386/fpu/s_llrintl.S: ...here.
3776         * sysdeps/libm-i387/s_log1p.S: Moved to ...
3777         * sysdeps/i386/fpu/s_log1p.S: ...here.
3778         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
3779         * sysdeps/i386/fpu/s_log1pf.S: ...here.
3780         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
3781         * sysdeps/i386/fpu/s_log1pl.S: ...here.
3782         * sysdeps/libm-i387/s_log2.S: Moved to ...
3783         * sysdeps/i386/fpu/s_log2.S: ...here.
3784         * sysdeps/libm-i387/s_log2f.S: Moved to ...
3785         * sysdeps/i386/fpu/s_log2f.S: ...here.
3786         * sysdeps/libm-i387/s_log2l.S: Moved to ...
3787         * sysdeps/i386/fpu/s_log2l.S: ...here.
3788         * sysdeps/libm-i387/s_logb.S: Moved to ...
3789         * sysdeps/i386/fpu/s_logb.S: ...here.
3790         * sysdeps/libm-i387/s_logbf.S: Moved to ...
3791         * sysdeps/i386/fpu/s_logbf.S: ...here.
3792         * sysdeps/libm-i387/s_logbl.S: Moved to ...
3793         * sysdeps/i386/fpu/s_logbl.S: ...here.
3794         * sysdeps/libm-i387/s_lrint.S: Moved to ...
3795         * sysdeps/i386/fpu/s_lrint.S: ...here.
3796         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
3797         * sysdeps/i386/fpu/s_lrintf.S: ...here.
3798         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
3799         * sysdeps/i386/fpu/s_lrintl.S: ...here.
3800         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
3801         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
3802         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
3803         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
3804         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
3805         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
3806         * sysdeps/libm-i387/s_remquo.S: Moved to ...
3807         * sysdeps/i386/fpu/s_remquo.S: ...here.
3808         * sysdeps/libm-i387/s_remquof.S: Moved to ...
3809         * sysdeps/i386/fpu/s_remquof.S: ...here.
3810         * sysdeps/libm-i387/s_remquol.S: Moved to ...
3811         * sysdeps/i386/fpu/s_remquol.S: ...here.
3812         * sysdeps/libm-i387/s_rint.S: Moved to ...
3813         * sysdeps/i386/fpu/s_rint.S: ...here.
3814         * sysdeps/libm-i387/s_rintf.S: Moved to ...
3815         * sysdeps/i386/fpu/s_rintf.S: ...here.
3816         * sysdeps/libm-i387/s_rintl.S: Moved to ...
3817         * sysdeps/i386/fpu/s_rintl.S: ...here.
3818         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
3819         * sysdeps/i386/fpu/s_scalbn.S: ...here.
3820         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
3821         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
3822         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
3823         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
3824         * sysdeps/libm-i387/s_significand.S: Moved to ...
3825         * sysdeps/i386/fpu/s_significand.S: ...here.
3826         * sysdeps/libm-i387/s_significandf.S: Moved to ...
3827         * sysdeps/i386/fpu/s_significandf.S: ...here.
3828         * sysdeps/libm-i387/s_significandl.S: Moved to ...
3829         * sysdeps/i386/fpu/s_significandl.S: ...here.
3830         * sysdeps/libm-i387/s_sin.S: Moved to ...
3831         * sysdeps/i386/fpu/s_sin.S: ...here.
3832         * sysdeps/libm-i387/s_sincos.S: Moved to ...
3833         * sysdeps/i386/fpu/s_sincos.S: ...here.
3834         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
3835         * sysdeps/i386/fpu/s_sincosf.S: ...here.
3836         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
3837         * sysdeps/i386/fpu/s_sincosl.S: ...here.
3838         * sysdeps/libm-i387/s_sinf.S: Moved to ...
3839         * sysdeps/i386/fpu/s_sinf.S: ...here.
3840         * sysdeps/libm-i387/s_sinl.S: Moved to ...
3841         * sysdeps/i386/fpu/s_sinl.S: ...here.
3842         * sysdeps/libm-i387/s_tan.S: Moved to ...
3843         * sysdeps/i386/fpu/s_tan.S: ...here.
3844         * sysdeps/libm-i387/s_tanf.S: Moved to ...
3845         * sysdeps/i386/fpu/s_tanf.S: ...here.
3846         * sysdeps/libm-i387/s_tanl.S: Moved to ...
3847         * sysdeps/i386/fpu/s_tanl.S: ...here.
3848         * sysdeps/libm-i387/s_trunc.S: Moved to ...
3849         * sysdeps/i386/fpu/s_trunc.S: ...here.
3850         * sysdeps/libm-i387/s_truncf.S: Moved to ...
3851         * sysdeps/i386/fpu/s_truncf.S: ...here.
3852         * sysdeps/libm-i387/s_truncl.S: Moved to ...
3853         * sysdeps/i386/fpu/s_truncl.S: ...here.
3854         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
3855         * sysdeps/ieee754/k_standard.c: ...here.
3856         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
3857         * sysdeps/ieee754/s_lib_version.c: ...here.
3858         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
3859         * sysdeps/ieee754/s_matherr.c: ...here.
3860         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
3861         * sysdeps/ieee754/s_signgam.c: ...here.
3862         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
3863         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
3864         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
3865         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
3866         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
3867         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
3868         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
3869         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
3870         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
3871         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
3872         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
3873         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
3874         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
3875         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
3876         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
3877         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
3878         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
3879         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
3880         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
3881         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
3882         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
3883         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
3884         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
3885         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
3886         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
3887         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
3888         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
3889         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
3890         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
3891         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
3892         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
3893         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
3894         * sysdeps/libm-ieee754/e_log.c: Moved to ...
3895         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
3896         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
3897         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
3898         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
3899         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
3900         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
3901         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
3902         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
3903         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
3904         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
3905         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
3906         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
3907         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
3908         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
3909         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
3910         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
3911         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
3912         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
3913         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
3914         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
3915         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
3916         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
3917         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
3918         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
3919         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
3920         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
3921         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
3922         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
3923         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
3924         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
3925         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
3926         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
3927         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
3928         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
3929         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
3930         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
3931         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
3932         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
3933         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
3934         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
3935         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
3936         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
3937         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
3938         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
3939         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
3940         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
3941         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
3942         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
3943         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
3944         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
3945         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
3946         (__isnan): Comment above function says it returns 0 or 1, but it
3947         used to return 0 or -1.
3948         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
3949         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
3950         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
3951         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
3952         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
3953         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
3954         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
3955         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
3956         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
3957         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
3958         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
3959         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
3960         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
3961         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
3962         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
3963         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
3964         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
3965         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
3966         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
3967         * sysdeps/generic/s_nextafter.c: ...here.
3968         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
3969         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
3970         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
3971         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
3972         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
3973         * sysdeps/libm-ieee754/s_round.c: Moved to ...
3974         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
3975         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
3976         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
3977         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
3978         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
3979         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
3980         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
3981         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
3982         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
3983         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
3984         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
3985         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
3986         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
3987         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
3988         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
3989         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
3990         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
3991         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
3992         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
3993         * sysdeps/ieee754/mpn2flt.c: Moved to ...
3994         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
3995         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
3996         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
3997         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
3998         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
3999         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
4000         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
4001         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
4002         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
4003         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
4004         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
4005         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
4006         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
4007         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
4008         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
4009         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
4010         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
4011         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
4012         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
4013         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
4014         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
4015         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
4016         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
4017         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
4018         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
4019         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
4020         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
4021         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
4022         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
4023         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
4024         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
4025         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
4026         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
4027         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
4028         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
4029         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
4030         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
4031         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
4032         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
4033         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
4034         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
4035         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
4036         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
4037         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
4038         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
4039         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
4040         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
4041         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
4042         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
4043         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
4044         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
4045         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
4046         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
4047         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
4048         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
4049         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
4050         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
4051         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
4052         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
4053         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
4054         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
4055         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
4056         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
4057         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
4058         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
4059         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
4060         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
4061         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
4062         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
4063         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
4064         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
4065         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
4066         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
4067         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
4068         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
4069         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
4070         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
4071         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
4072         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
4073         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
4074         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
4075         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
4076         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
4077         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
4078         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
4079         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
4080         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
4081         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
4082         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
4083         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
4084         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
4085         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
4086         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
4087         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
4088         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
4089         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
4090         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
4091         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
4092         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
4093         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
4094         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
4095         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
4096         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
4097         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
4098         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
4099         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
4100         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
4101         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
4102         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
4103         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
4104         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
4105         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
4106         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
4107         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
4108         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
4109         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
4110         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
4111         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
4112         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
4113         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
4114         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
4115         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
4116         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
4117         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
4118         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
4119         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
4120         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
4121         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
4122         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
4123         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
4124         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
4125         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
4126         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
4127         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
4128         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
4129         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
4130         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
4131         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
4132         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
4133         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
4134         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
4135         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
4136         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
4137         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
4138         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
4139         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
4140         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
4141         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
4142         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
4143         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
4144         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
4145         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
4146         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
4147         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
4148         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
4149         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
4150         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
4151         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
4152         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
4153         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
4154         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
4155         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
4156         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
4157         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
4158         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
4159         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
4160         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
4161         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
4162         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
4163         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
4164         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
4165         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
4166         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
4167         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
4168         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
4169         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
4170         INSERT_WORDS.
4171         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
4172         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
4173         (__nearbyintl): Fix for exponents 2^30.
4174         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
4175         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
4176         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
4177         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
4178         (__rintl): Fix for exponents 2^30.
4179         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
4180         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
4181         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
4182         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
4183         (__scalbnl): Fix exponent for subnormal result.
4184         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
4185         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
4186         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
4187         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
4188         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
4189         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
4190         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
4191         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
4192         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
4193         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
4194         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
4195         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
4196         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
4197         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
4198         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
4199         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
4200         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
4201         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
4202         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
4203         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
4204         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
4205         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
4206         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
4207         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
4208         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
4209         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
4210         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
4211         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
4212         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
4213         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
4214         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
4215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
4216         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
4217         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
4218         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
4219         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
4220         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
4221         * sysdeps/i386/fpu/s_scalbln.c: ...here.
4222         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
4223         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
4224         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
4225         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
4226         * sysdeps/libm-i387/t_exp.c: Moved to ...
4227         * sysdeps/i386/fpu/t_exp.c: ...here.
4228         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
4229         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
4230         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
4231         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
4232         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
4233         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
4234         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
4235         * sysdeps/i386/fpu/s_isinfl.c: ...here.
4236         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
4237         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
4238         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
4239         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
4240         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
4241         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
4242         Fix exponent for subnormal result.
4243         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
4244         * sysdeps/generic/s_nexttowardl.c: ...here.
4245         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
4246         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
4247         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
4248         * sysdeps/i386/fpu/s_isnanl.c: ...here.
4249         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
4250         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
4251         Comment above function says it returns 0 or 1, but it used to return
4252         0 or -1.
4253         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
4254         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
4255         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
4256         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
4257         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
4258         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
4259         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
4260         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
4261         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
4262         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
4263         Cannot compare exponents with different biases without adjusting.
4264         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
4265         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
4266         Cannot compare exponents with different biases without adjusting.
4267         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
4268         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
4269         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
4270         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
4271         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
4272         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
4273         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
4274         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
4275         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
4276         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
4277         * sysdeps/libm-ieee754/Dist: Split into ...
4278         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
4279         * sysdeps/ieee754/flt-32/Dist: ...this file.
4280
4281         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
4282         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
4283         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
4284         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
4285         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
4286         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
4287         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
4288         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
4289         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
4290         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
4291         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
4292         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
4293         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
4294         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
4295         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
4296         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
4297         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
4298         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
4299         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
4300         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
4301         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
4302         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
4303         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
4304         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
4305         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
4306         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
4307         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
4308         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
4309         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
4310         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
4311         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
4312         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
4313         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
4314         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
4315         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
4316         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
4317         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
4318         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
4319         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
4320         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
4321         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
4322         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
4323         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
4324         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
4325         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
4326         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
4327         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
4328
4329         * sysdeps/generic/math_ldbl.h: New file.
4330         * sysdeps/generic/s_nexttowardf.c: New file.
4331         * sysdeps/generic/strtold.c: New file.
4332         * sysdeps/generic/ldbl2mpn.c: New file.
4333
4334         * math/machine/endian.h: Remove.
4335         * sysdeps/i386/fpu/Implies: Remove.
4336         * sysdeps/ieee754/Implies: Remove.
4337
4338         * math/math_private.h: Move long double macros to math_ldbl.h
4339         header.
4340
4341 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
4342
4343         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
4344         connections without a hostname set address to localhost address.
4345
4346 1999-07-11  H.J. Lu  <hjl@gnu.org>
4347
4348         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
4349         nscd's own strong version of the get[a-z]*_r function.
4350         * nscd/hstcache.c: Likewise.
4351         * nscd/pwdcache.c: Likewise.
4352
4353 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
4354
4355         * configure.in: Recognize 2.95 as gcc version number.
4356         Patch by Joel Klecker <jk@espy.org>.
4357
4358 1999-07-12  Andreas Schwab  <schwab@suse.de>
4359
4360         * elf/rtld.c (dl_main): When putting back the interpreter object
4361         handle the case where a missing object might occur in the list of
4362         objects but not in the search list when in trace mode.
4363
4364 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
4365
4366         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
4367         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
4368         _nss_hesiod_initgroups.
4369
4370 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
4371
4372         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
4373         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
4374         Initialize it from &__data_start if defined, or else &_end.
4375
4376 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
4377
4378         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
4379         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
4380
4381 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4382
4383         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
4384
4385 1999-07-09  H.J. Lu  <hjl@gnu.org>
4386
4387         * Versions.def (GLIBC_2.1.2): Added.
4388
4389         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
4390         old one as GLIBC_2.0.
4391         * nss/getXXbyYY_r.c: Likewise.
4392
4393         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
4394         GLIBC_2.1.2.
4395         * inet/Versions (getaliasbyname_r, getaliasent_r,
4396         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
4397         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
4398         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
4399         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
4400         getservbyname_r): Likewise.
4401         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
4402         * shadow/Versions (getspent_r, getspnam_r): Likewise.
4403
4404 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4405
4406         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
4407         compilers.
4408         (__memset_cc): Likewise.
4409
4410         * sysdeps/generic/libc-start.c: For SUID binaries check whether
4411         the standard file descriptors are open.
4412         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4413
4414         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
4415         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
4416         range of mmap.  If not fail.
4417         Patches by Daniel Jacobowitz <dan@debian.org>.
4418
4419         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
4420         before the relocation happened.
4421         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4422
4423         * Versions.def (libnsl): Add GLIBC_2.2.
4424         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
4425
4426 1999-07-08  Cristian Gafton  <gafton@redhat.com>
4427
4428         * nis/yp_xdr.c (xdr_ypall): New function.
4429
4430 1999-07-09  Andreas Schwab  <schwab@suse.de>
4431
4432         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
4433
4434         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
4435
4436 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4437
4438         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
4439         * hesiod/hesiod-grp.c: Add initgroups support.
4440         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
4441
4442 1999-07-08  Andreas Schwab  <schwab@suse.de>
4443
4444         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
4445
4446         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
4447         negative numbers.
4448
4449         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
4450         EOF.
4451         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
4452
4453 1999-07-08  Andreas Schwab  <schwab@suse.de>
4454
4455         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
4456
4457 1999-07-08  Andreas Schwab  <schwab@suse.de>
4458
4459         * libio/fileno.c: Return -1 instead of EOF and set errno if the
4460         stream is not a real file stream.
4461
4462 1999-07-08  Andreas Schwab  <schwab@suse.de>
4463
4464         * manual/charset.texi: Fix typos.
4465
4466 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4467
4468         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
4469
4470 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
4471
4472         * dlfcn: New directory.  Move the following files from elf:
4473         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
4474         dlopenold.c, dlsym.c, dlvsym.c.
4475         * dlfcn/Makefile: New file.
4476         * dlfcn/Versions: New file.
4477         * dlfcn/dlsym.c: All ELF-specific code split out to new
4478         function _dl_sym.
4479         * dlfcn/dlvsym.c: All ELF-specific code split out to new
4480         function _dl_vsym.
4481         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
4482         implemented here.
4483
4484         * dlfcn/dladdr.c: Remove all references to ELF data structures
4485         or headers.
4486         * dlfcn/dlclose.c: Likewise.
4487         * dlfcn/dlerror.c: Likewise.
4488         * dlfcn/dlopen.c: Likewise.
4489         * dlfcn/dlopenold.c: Likewise.
4490
4491         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
4492         yes, empty otherwise.
4493         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
4494         depending on build-shared.
4495         (subdirs): Add $(dlfcn).
4496         (rpath-dirs): Add dlfcn.
4497         * elf/Makefile: Remove all references to libdl or its
4498         components, except the ones relating to the test cases.
4499         (routines): Add dl-sym.
4500         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
4501         (libdl): Delete.
4502
4503         * elf/dl-close.c (_dl_close): Change argument to void *.
4504         * elf/dl-open.c (_dl_open): Change return type to void *.
4505         * elf/eval.c: Removed.
4506         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
4507         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
4508         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
4509         _CALL_DL_FCT macro.
4510         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
4511         Include real header from dlfcn directory.
4512         * include/ldsodefs.h: Removed.
4513
4514         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
4515         * nss/getXXbyYY_r.c: Likewise.
4516         * nss/getXXent_r.c: Likewise.
4517         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
4518         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
4519         * iconv/skeleton.c: Don't include ldsodefs.h.
4520         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
4521
4522 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4523
4524         * sysdeps/generic/setenv.c: Describe problem.
4525
4526         * malloc/malloc.c (request2size): Also set errno if failing.
4527
4528         * malloc/malloc.c (request2size): Take care of overflow in
4529         addition.
4530
4531         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
4532         (NULL, != 0) correctly.
4533
4534         * elf/dl-load.c: Use a few more __builtin_expect.
4535
4536         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
4537         is large enough.
4538
4539 1999-07-07  Andreas Schwab  <schwab@suse.de>
4540
4541         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
4542         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
4543         (_PATH_DEVPTMX): Use _PATH_DEV.
4544
4545 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4546
4547         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
4548         * malloc/Makefile (tests): Add tst-malloc.
4549
4550 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4551
4552         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
4553         convention.
4554
4555         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
4556         motherboards.
4557         Patch by Jay Estabrook.
4558
4559         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
4560         ldd for SPARC.
4561         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
4562         Patch by Cristian Gafton.
4563
4564 1999-07-02  Cristian Gafton  <gafton@redhat.com>
4565
4566         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
4567         instead of "return NULL" to make C++ happy.
4568
4569 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
4570
4571         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
4572         allowed by the file access mode of the open file.
4573
4574 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4575
4576         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
4577         macros defined.
4578
4579 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
4580
4581         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
4582         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
4583         * sysdeps/sparc/sparc64/rshift.S: Likewise.
4584         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
4585
4586 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4587
4588         * malloc/malloc.c (request2size): Check for overflow and return
4589         NULL whenever it is encountered.
4590
4591 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
4592
4593         * sysdeps/posix/tempname.c (__gen_tempname):   Add
4594         ability to create directories.  Replace OPENIT and LARGEFILE
4595         args with a single flags parameter.
4596         * sysdeps/generic/tempname.c: Likewise.
4597         * include/stdio.h: Adjust prototype of __gen_tempname to
4598         match.  Define symbolic constants for second argument.
4599
4600         * misc/mkdtemp.c: New file, provides new function mkdtemp().
4601         * stdlib/stdlib.h: Prototype it.
4602         * misc/Versions: Export it.
4603         * misc/Makefile (routines): Add mktemp.
4604         * manual/filesys.texi: Document it.
4605
4606         * misc/mktemp.c: Adjust call of __gen_tempname to match new
4607         convention.
4608         * misc/mkstemp.c: Likewise.
4609         * stdio-common/tempnam.c: Likewise.
4610         * stdio-common/tmpfile.c: Likewise.
4611         * stdio-common/tmpfile64.c: Likewise.
4612         * stdio-common/tmpnam.c: Likewise.
4613         * stdio-common/tmpnam_r.c: Likewise.
4614
4615 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
4616
4617         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
4618         R_SPARC_OLO10 relocations.
4619         * elf/elf.h (R_SPARC_OLO10): Fix comment.
4620
4621 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
4622
4623         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
4624         doesn't belong in the tests, but in the wordexp implementation.
4625
4626         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
4627         split fields.
4628
4629 1999-07-01  Cristian Gafton  <gafton@redhat.com>
4630
4631         * time/strptime.c (strptime): Initialize the tm struct first to avoid
4632         returning bogus results on incomplete data.
4633         (strptime_internal): day_of_the_week() requres bith tm_mon and
4634         tm_mday to be initializaed.
4635         Computer them first if they are not given.
4636         (strptime_internal): (have_mon, have_mday): New variables.
4637
4638 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4639
4640         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
4641
4642 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4643
4644         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
4645         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4646
4647 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4648
4649         * posix/wordexp.c (parse_tilde): Handle failing call to
4650         get.*_r functions correctly for non-existing entry.
4651         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4652         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
4653
4654 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4655
4656         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
4657         getxxbyYY_r functions correctly for non-existing entry.
4658         * sunrpc/getrpcport.c: Likewise.
4659         * sunrpc/clnt_simp.c: Likewise.
4660         * inet/rexec.c: Likewise.
4661         * sunrpc/clnt_gen.c: Likewise.
4662         * inet/rcmd.c: Likewise.
4663         * sysdeps/generic/glob.c: Likewise.
4664
4665 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4666
4667         * pwd/Makefile (tests): Add rules for tst-getpw.
4668
4669         * pwd/tst-getpw.c: New program to test getpw.
4670
4671 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4672
4673         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
4674         correctly.
4675
4676 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4677
4678         * manual/arith.texi (System V Number Conversion): Fix the
4679         description which confused pointer and value to pointer.
4680         Reported by Andries.Brouwer@cwi.nl.
4681
4682 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4683
4684         * pwd/getpw.c (__getpw): Check for NULL result pointer.
4685
4686 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4687
4688         * manual/users.texi (Lookup User): Document POSIX return
4689         semantics for getpwuid_r and getgrgid_r.
4690
4691         * manual/socket.texi (Host Names): Document that the result
4692         pointer is null in case of error or host not found and fix a
4693         typo.  Give a small example.
4694
4695 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4696
4697         * pwd/getpw.c: Add warning since no buffer size is given and
4698         therefore no overrun tests are possible.
4699
4700 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4701
4702         * pwd/pwd.h: Add getpw prototype declaration.
4703
4704 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4705
4706         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
4707         * wcsmbs/wcschr.c: Likewise.
4708
4709 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
4710
4711         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
4712         returns.
4713         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
4714         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
4715         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
4716
4717         * elf/dl-dst.h: Fix typo.
4718         * elf/dl-open.c: Likewise.
4719
4720 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
4721
4722         * elf/dl-libc.c: New file, provides three functions:
4723         __libc_dlopen, __libc_dlclose, __libc_dlsym.
4724         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
4725         * elf/Makefile (routines): Add dl-libc.c.
4726         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
4727         argument to void *.
4728         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
4729
4730         * iconv/gconv.c: Include dlfcn.h.
4731         * iconv/gconv_db.c: Likewise.
4732         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
4733
4734         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
4735         `handle' to a void *.
4736         (__gconv_find_func): Delete prototype.
4737
4738         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
4739         dlerror_run and related functions and structs.  Use
4740         __libc_dlopen, __libc_dlsym, __libc_dlclose.
4741         * nss/nsswitch.c: Likewise.
4742
4743 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
4744
4745         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
4746         function correctly.
4747
4748         * sunrpc/getrpcport.c: Test for gethostbyname_r function
4749         correctly.
4750
4751         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
4752
4753         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
4754         functions correctly.
4755
4756         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
4757
4758         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
4759         file reading a bit.
4760
4761         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
4762
4763 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4764
4765         * manual/string.texi (Copying and Concatenation): Mention that
4766         strndup is a GNU extension.
4767
4768 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4769
4770         * pwd/getpw.c (__getpw): Fix check for error return.
4771
4772 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4773
4774         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
4775         occurence of the aux object start with the current list entry, not
4776         the new one.  Adjust tail pointer in the unique list.  Explain how
4777         the meaning of the variables changes [PR libc/1168].
4778
4779 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4780
4781         * sysdeps/m68k/fpu/Dist: New file.
4782
4783 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4784
4785         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
4786         definitions...
4787         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
4788         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
4789         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4790         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4791         * sysdeps/m68k/fpu/e_pow.c: Likewise.
4792         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4793         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4794         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4795         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4796         * sysdeps/m68k/fpu/s_csin.c: Likewise.
4797         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4798         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4799         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4800         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4801         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4802         * sysdeps/m68k/fpu/s_modf.c: Likewise.
4803
4804 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
4805
4806         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
4807         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
4808         _EXTERN_INLINE, use a macro specific to each file,
4809         _HURD_FD_H_EXTERN_INLINE and the like.
4810         * hurd/Makefile (inline-headers): New variable.
4811         (routines): Remove hurdinline.  Add $(inlines).
4812         (inlines): New variable.
4813         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
4814         (generated): Append those here.
4815         * hurd/hurdinline.c: File removed.
4816
4817         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
4818
4819         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
4820
4821 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4822
4823         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
4824
4825 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
4826
4827         * string/bits/string2.h (strnlen): Remove extra prototype.
4828
4829 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4830
4831         * manual/filesys.texi (Working on Directory Trees): Fix typos.
4832         Reported by Andries.Brouwer@cwi.nl.
4833
4834 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
4835
4836         * nscd/connections.c (handle_request): Use correct type for optlen
4837         variable.
4838
4839         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
4840         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
4841
4842 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
4843
4844         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
4845         * nscd/pwdcache.c: Likewise.
4846         * nscd/hstcache.c: Likewise.
4847
4848 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
4849
4850         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
4851
4852         * posix/getopt.h: Include stdio.h.
4853
4854         * manual/arith.texi: Document restriction of ndigit parameter of
4855         ecvt and friends.
4856         * misc/efgcvt.c: Define NDIGIT_MAX.
4857         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
4858         Do not dynamically allocate the static buffers.  They are small enough.
4859         * misc/efgcvt_r.c: Define NDIGIT_MAX.
4860         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
4861         * misc/qefgcvt.c: Define NDIGIT_MAX.
4862         * misc/qefgcvt_r.c: Likewise.
4863         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
4864
4865 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
4866
4867         * libio/stdio.h: Define stdin, stdout, stderr as macros.
4868         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
4869         These are *pragmas* not macros.
4870         * wcsmbs/wchar.h: Fix comment.
4871
4872         * grp/grp.h: Use __foo_t_defined convention to typedef things
4873         only once.
4874         * io/sys/stat.h: Likewise.
4875         * libio/stdio.h: Likewise.
4876         * posix/unistd.h: Likewise.
4877         * posix/sys/types.h: Likewise.
4878         * posix/sys/wait.h: Likewise.
4879         * pwd/pwd.h: Likewise.
4880         * signal/signal.h: Likewise.
4881         * sysdeps/generic/stdint.h: Likewise.
4882         * sysdeps/gnu/utmpx.h: Likewise.
4883         * termios/termios.h: Likewise.
4884
4885 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
4886
4887         * stdio/fputc.c: Don't define alias if fputc is defined as a
4888         macro.
4889         * stdio/putc.c: Define weak alias here since it is not done
4890         anymore in fputc.c.
4891
4892 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4893
4894         * assert/assert.h: Don't produce `defined' as part of macro
4895         expansion.
4896
4897 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
4898
4899         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
4900         OFFSET argument of (off_t) -1.
4901         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
4902         OFFSET argument of (off_t) -1.
4903
4904         * sysdeps/mach/hurd/pwrite.c: New file.
4905         * sysdeps/mach/hurd/pread.c: New file.
4906
4907         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
4908         pass it in the RPC instead of always -1.
4909         * hurd/fd-write.c (_hurd_fd_write): Likewise.
4910         * hurd/hurd/fd.h: Update decls.
4911
4912 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4913
4914         * libio/wscanf.c: Include <wchar.h> for prototype.
4915
4916 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
4917
4918         * manual/io.texi. Fix typos.
4919         * manual/stdio.texi: Likewise.
4920         Patches by Brian Youmans <3diff@gnu.org>.
4921
4922 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
4923
4924         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
4925         bits of two words differ.
4926
4927 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4928
4929         * libio/Makefile (routines): Add putwchar and putwchar_u.
4930
4931         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
4932         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
4933         stdout.  Fix parameter name.
4934
4935         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
4936         * libio/getchar_u.c: Likewise.
4937
4938         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
4939
4940 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4941
4942         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
4943         macro expansion---it's undefined.  Properly parenthesize
4944         substituted parameters.
4945         (__GLIBC_PREREQ): Likewise.
4946
4947 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
4948
4949         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
4950         weird effects.
4951
4952         * stdlib/longlong.h: Provide __P definition if not already
4953         defined.
4954
4955         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
4956
4957 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
4958
4959         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
4960
4961 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4962
4963         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
4964
4965 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4966
4967         * stdio-common/vfprintf.c (group_member): Make parameters and
4968         return types pointers to CHAR_T instead of UCHAR_T.
4969         (vfprintf): Change type of work_buffer, workend and string to
4970         CHAR_T pointer/array.
4971         (process_arg, process_string_arg): Adjust/remove casts.  Add
4972         missing use of L_ macro.
4973         (printf_unknown): Add missing uses of L_ macro.
4974
4975 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4976
4977         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
4978         warning.
4979
4980 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4981
4982         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
4983         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
4984         (__wunderflow): Likewise.
4985         (_IO_switch_to_wget_mode): Likewise.
4986         (_IO_init_wmarker): Likewise.
4987
4988         * libio/wfileops.c (_IO_wfile_seekoff): Call
4989         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
4990         (_IO_wfile_jumps): Fix pbackfail entry.
4991
4992         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
4993         function if the stream is currently unoriented.
4994
4995 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
4996
4997         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
4998         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
4999         __gnuc_va_list in v*w(printf|scanf) prototypes.
5000
5001 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5002
5003         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
5004         1999-03-29 to iopopen also here.
5005         Reported by Richard Braakman <dark@xs4all.nl>.
5006
5007 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5008
5009         * include/features.h: Use __GNUC_PREREQ.
5010         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5011
5012 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5013
5014         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
5015         Change EOF to WEOF and remove cast.
5016         (UNGETC): Remove macro.
5017         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
5018         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
5019         Change ISASCII to isascii and MBRLEN to mbrlen.
5020         (parse_one_spec): Compare info.spec always against wchar_t
5021         values.
5022         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
5023         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
5024         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
5025
5026 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5027
5028         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
5029         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
5030         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
5031         oldiofsetpos64 only if doing versioning.
5032
5033 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
5034
5035         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
5036
5037 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5038
5039         * libio/libio.h: Fix last patch.
5040
5041 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
5042
5043         * libio/libio.h (_IO_putwc): Correct type of first argument.
5044         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
5045         putwc_unlocked, putwchar_unlocked): Likewise.
5046         * libio/fputwc.c: Likewise.
5047         * libio/fputwc_unlocked.c: Likewise.
5048         * libio/putwc.c: Likewise.
5049         * libio/putwc_unlocked.c: Likewise.
5050         * libio/putwchar.c: Likewise.
5051         * libio/putwchar_unlocked.c: Likewise.
5052
5053 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
5054
5055         * sysdeps/gnu/siglist.h: File moved to ...
5056         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
5057         any platform, since it just associates the SIG* macros with text names
5058         and descriptions. For any signal macros do not exist on every
5059         platform, we can use #ifdef tests here and still use this single
5060         common file for all platforms.
5061         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
5062         should be usable for all platforms after the binary compatibility
5063         stuff in the current sysdeps/gnu version is no longer required.
5064         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
5065         * sysdeps/generic/make_siglist.c: File removed.
5066         * sysdeps/mach/hurd/siglist.h: Use #include_next.
5067         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
5068
5069 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
5070
5071         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
5072         * sysdeps/gnu/siglist.c: ... here.
5073         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
5074         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
5075         * sysdeps/gnu/siglist.h: New file, contents from linux version.
5076         Add entry for SIGLOST protected by #ifdef.
5077         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
5078         and define OLD_SIGLIST_SIZE_STR.
5079         * sysdeps/mach/hurd/siglist.h: New file, likewise.
5080
5081 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
5082
5083         * include/features.h: Define new macros __GNUC_PREREQ and
5084         __GLIBC_PREREQ which can be used to test the version of gcc
5085         and glibc respectively.
5086
5087         * assert/assert.h: Use __GNUC_PREREQ.
5088         * intl/libintl.h: Likewise.
5089         * math/complex.h: Likewise.
5090         * math/tgmath.h: Likewise.
5091         * misc/sys/cdefs.h: Likewise.
5092         * posix/sys/types.h: Likewise.
5093         * socket/sys/socket.h: Likewise.
5094         * string/bits/string2.h: Likewise.
5095         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
5096         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5097
5098 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
5099
5100         * include/libintl.h: Declare _libc_intl_domainname here.
5101         Define _ and N_ here.
5102         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
5103         define _ and N_.  Don't declare _libc_intl_domainname.
5104         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
5105
5106         * db2/config.h: Don't include sys/stat.h or define
5107         HAVE_ST_BLKSIZE here...
5108         * db2/compat.h: ...do it here.
5109
5110         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
5111         other headers.
5112         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
5113         * iconv/iconv.c: Include stddef.h for NULL.
5114         * malloc/malloc.h: Include features.h.
5115         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
5116
5117         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
5118         into the generated file.
5119         * sysdeps/gnu/errlist.awk: Likewise.
5120         * sysdeps/gnu/errlist.c: Rebuilt.
5121
5122         * assert/assert-perr.c: Include libintl.h.
5123         * assert/assert.c: Likewise.
5124         * elf/dl-open.c: Likewise.
5125         * elf/dlsym.c: Likewise.
5126         * elf/dlvsym.c: Likewise.
5127         * iconv/iconv_prog.c: Likewise.
5128         * inet/rcmd.c: Likewise.
5129         * inet/ruserpass.c: Likewise.
5130         * locale/programs/charset.c: Likewise.
5131         * locale/programs/ld-collate.c: Likewise.
5132         * locale/programs/ld-ctype.c: Likewise.
5133         * locale/programs/ld-messages.c: Likewise.
5134         * locale/programs/ld-monetary.c: Likewise.
5135         * locale/programs/ld-numeric.c: Likewise.
5136         * locale/programs/ld-time.c: Likewise.
5137         * locale/programs/locfile.c: Likewise.
5138         * locale/programs/repertoire.c: Likewise.
5139         * login/programs/database.c: Likewise.
5140         * login/programs/request.c: Likewise.
5141         * malloc/mcheck.c: Likewise.
5142         * misc/error.c: Likewise.
5143         * nis/nis_call.c: Likewise.
5144         * nis/nis_callback.c: Likewise.
5145         * nis/nis_error.c: Likewise.
5146         * nis/nis_local_names.c: Likewise.
5147         * nis/nis_print.c: Likewise.
5148         * nis/nis_print_group_entry.c: Likewise.
5149         * nis/ypclnt.c: Likewise.
5150         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5151         * nscd/cache.c: Likewise.
5152         * nscd/connections.c: Likewise.
5153         * nscd/grpcache.c: Likewise.
5154         * nscd/hstcache.c: Likewise.
5155         * nscd/nscd_conf.c: Likewise.
5156         * nscd/nscd_stat.c: Likewise.
5157         * nscd/pwdcache.c: Likewise.
5158         * posix/id.c: Likewise.
5159         * resolv/herror.c: Likewise.
5160         * stdio-common/psignal.c: Likewise.
5161         * string/strsignal.c: Likewise.
5162         * sunrpc/auth_unix.c: Likewise.
5163         * sunrpc/clnt_perr.c: Likewise.
5164         * sunrpc/clnt_raw.c: Likewise.
5165         * sunrpc/clnt_tcp.c: Likewise.
5166         * sunrpc/clnt_udp.c: Likewise.
5167         * sunrpc/clnt_unix.c: Likewise.
5168         * sunrpc/get_myaddr.c: Likewise.
5169         * sunrpc/pm_getmaps.c: Likewise.
5170         * sunrpc/pmap_clnt.c: Likewise.
5171         * sunrpc/pmap_rmt.c: Likewise.
5172         * sunrpc/rpc_main.c: Likewise.
5173         * sunrpc/rpc_scan.c: Likewise.
5174         * sunrpc/svc_run.c: Likewise.
5175         * sunrpc/svc_simple.c: Likewise.
5176         * sunrpc/svc_tcp.c: Likewise.
5177         * sunrpc/svc_udp.c: Likewise.
5178         * sunrpc/svc_unix.c: Likewise.
5179         * sunrpc/xdr_rec.c: Likewise.
5180         * sunrpc/xdr_ref.c: Likewise.
5181         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
5182         * sysdeps/posix/gai_strerror.c: Likewise.
5183         * sysdeps/unix/siglist.c: Likewise.
5184         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
5185         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5186         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
5187         * timezone/zic.c: Likewise.
5188
5189 1999-06-18  H.J. Lu  <hjl@gnu.org>
5190
5191         * localedata/Makefile (charmaps): Exclude SCCS.
5192         (locales): Likewise.
5193         (repertoiremaps): Likewise.
5194
5195 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
5196
5197         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
5198         * sysdeps/generic/bsd-setjmp.c: Likewise.
5199
5200         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
5201
5202         * iconv/gconv_open.c: Include string.h for memset prototype.
5203
5204         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
5205         definitions.
5206
5207         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
5208         assignment to avoid warning on 64bit platforms.
5209
5210 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5211
5212         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
5213
5214         * nss/getXXbyYY_r.c: Return error code not -1.
5215         * nss/getXXent_r.c: Likewise.
5216         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
5217         small.
5218         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
5219         value > 0 for error.
5220         * nscd/nscd_gethst_r.c: Likewise.
5221         * nscd/nscd_getpw_r.c: Likewise.
5222
5223 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5224
5225         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
5226         disciplines.
5227
5228 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5229
5230         * nscd/nscd_nischeck.c: Fix typos.
5231
5232 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5233
5234         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
5235         always when oact is NULL.
5236         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
5237
5238 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5239
5240         * math/libm-test.c (jn_test): Adjust delta.
5241
5242 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5243
5244         * libio/vwprintf.c: Include <wchar.h> for prototypes.
5245         * libio/wprintf.c: Likewise.
5246
5247 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5248
5249         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
5250         to not write beyond allocated memory.
5251         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
5252
5253 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5254
5255         * malloc/mtrace.c: Keep lock while printing output lines.
5256         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
5257
5258 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
5259
5260         * configure.in: Add warnings about broken code.
5261
5262         * Versions.def: Add GLIBC_2.2 for libc.
5263
5264         * iconv/gconv.h: Make header suitable for inclusion in public header
5265         by protecting all names with __.
5266         * iconv/gconv.c: Adapt for symbol name changes.
5267         * iconv/gconv.h: Likewise.
5268         * iconv/gconv_builtin.c: Likewise.
5269         * iconv/gconv_close.c: Likewise.
5270         * iconv/gconv_db.c: Likewise.
5271         * iconv/gconv_dl.c: Likewise.
5272         * iconv/gconv_int.h: Likewise.
5273         * iconv/gconv_open.c: Likewise.
5274         * iconv/gconv_simple.c: Likewise.
5275         * iconv/iconv.c: Likewise.
5276         * iconv/iconv_close.c: Likewise.
5277         * iconv/iconv_open.c: Likewise.
5278         * iconv/loop.c: Likewise.
5279         * iconv/skeleton.c: Likewise.
5280         * iconvdata/8bit-gap.c: Likewise.
5281         * iconvdata/8bit-generic.c: Likewise.
5282         * iconvdata/ansi_x3.110.c: Likewise.
5283         * iconvdata/big5.c: Likewise.
5284         * iconvdata/cns11643.h: Likewise.
5285         * iconvdata/cns11643l1.h: Likewise.
5286         * iconvdata/euc-cn.c: Likewise.
5287         * iconvdata/euc-jp.c: Likewise.
5288         * iconvdata/euc-kr.c: Likewise.
5289         * iconvdata/euc-tw.c: Likewise.
5290         * iconvdata/gb2312.h: Likewise.
5291         * iconvdata/iso-2022-jp.c: Likewise.
5292         * iconvdata/iso-2022-kr.c: Likewise.
5293         * iconvdata/iso646.c: Likewise.
5294         * iconvdata/iso8859-1.c: Likewise.
5295         * iconvdata/iso_6937-2.c: Likewise.
5296         * iconvdata/iso_6937.c: Likewise.
5297         * iconvdata/jis0201.h: Likewise.
5298         * iconvdata/jis0208.h: Likewise.
5299         * iconvdata/jis0212.h: Likewise.
5300         * iconvdata/johab.c: Likewise.
5301         * iconvdata/ksc5601.h: Likewise.
5302         * iconvdata/sjis.c: Likewise.
5303         * iconvdata/t.61.c: Likewise.
5304         * iconvdata/uhc.c: Likewise.
5305         * stdlib/mblen.c: Likewise.
5306         * stdlib/mbtowc.c: Likewise.
5307         * stdlib/wctomb.c: Likewise.
5308         * wcsmbs/btowc.c: Likewise.
5309         * wcsmbs/mbrtowc.c: Likewise.
5310         * wcsmbs/mbsnrtowcs.c: Likewise.
5311         * wcsmbs/mbsrtowcs.c: Likewise.
5312         * wcsmbs/wchar.h: Likewise.
5313         * wcsmbs/wcrtomb.c: Likewise.
5314         * wcsmbs/wcsmbsload.c: Likewise.
5315         * wcsmbs/wcsmbsload.h: Likewise.
5316         * wcsmbs/wcsnrtombs.c: Likewise.
5317         * wcsmbs/wcsrtombs.c: Likewise.
5318         * wcsmbs/wctob.c: Likewise.
5319
5320         * include/limits.h (MB_LEN_MAX): Increase to 16.
5321
5322         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
5323         _G_iconv_t.
5324         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5325         * include/wchar.h: Change mbstate_t to __mbstate_t.
5326
5327         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
5328         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
5329         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
5330         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
5331         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
5332         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
5333         and iofwide.
5334         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
5335         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
5336         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
5337         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
5338         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
5339         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
5340         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
5341         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
5342         GLIBC_2.2 for libc.
5343         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
5344         Extend _IO_file contain pointer to codecvt, widedata and mode.
5345         (_IO_getwc_unlocked): New macro.
5346         (_IO_putwc_unlocked): New macro.
5347         (_IO_fwide): New macro.
5348         * libio/libioP.h: Add new prototypes and adjust existing declarations.
5349         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
5350         buffers based on mode.
5351         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
5352         oriented.
5353         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
5354         flag to be enough to signal unallocated buffer.  For wide oriented
5355         stream don't make it linebuffered.  Don't use _IO_do_flush, use
5356         _IO_new_do_write directly.
5357         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
5358         (_IO_file_seek): Likewise.
5359         * libio/genops.c (_IO_least_marker): Make global.
5360         (__underflow): Orient stream if not already done.
5361         (__uflow): Likewise.
5362         (_IO_default_seekpos): Change to type _IO_off64_t.
5363         (_IO_default_seekoff): Likewise.
5364         (_IO_default_seek): Likewise.
5365         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
5366         in initialization.
5367         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
5368         to use _IO_off64_t.
5369         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
5370         char stream.
5371         * libio/ftello64.c: Likewise.
5372         * libio/ioftell.c: Likewise.
5373         * libio/iofopncook.c: Likewise.
5374         * libio/ioseekoff.c: Likewise.
5375         * libio/ioseekpos.c: Likewise.
5376         * libio/oldfileops.c: Likewise.
5377         * libio/iofgetpos.c: Store state of conversion if necessary.
5378         * libio/iofgetpos64.c: Likewise.
5379         * libio/iofsetpos.c: Restore conversion state if necessary.
5380         * libio/iofsetpos64.c: Likewise.
5381         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
5382         * libio/iofopen.c: Likewise.
5383         * libio/iofopen64.c: Likewise.
5384         * libio/iopopen.c: Likewise.
5385         * libio/iovdprintf.c: Likewise.
5386         * libio/iovsprintf.c: Likewise.
5387         * libio/iovsscanf.c: Likewise.
5388         * libio/memstream.c: Likewise.
5389         * libio/obprintf.c: Likewise.
5390         * libio/iofputs.c: Orient stream if not already happened.
5391         * libio/iofputs_u.c: Likewise.
5392         * libio/iofwrite.c: Likewise.
5393         * libio/iofwrite_u.c: Likewise.
5394         * libio/ioputs.c: Likewise.
5395         * libio/iosetbuffer.c: Handle not yet oriented stream.
5396         * libio/iosetvbuf.c: Likewise.
5397         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
5398         * libio/stdfiles.c: Likewise.
5399         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
5400         failed allocation.
5401         (_IO_str_seekoff): Use _IO_off64_t.
5402         * libio/vasprintf.c: Pre-orient stream.
5403         * libio/vsnprintf.c: Likewise.
5404         * libio/fputwc.c: New file.
5405         * libio/fputwc_u.c: New file.
5406         * libio/fwprintf.c: New file.
5407         * libio/fwscanf.c: New file.
5408         * libio/getwc.c: New file.
5409         * libio/getwc_u.c: New file.
5410         * libio/getwchar.c: New file.
5411         * libio/getwchar_u.c: New file.
5412         * libio/iofgetws.c: New file.
5413         * libio/iofgetws_u.c: New file.
5414         * libio/iofputws.c: New file.
5415         * libio/iofputws_u.c: New file.
5416         * libio/iofwide.c: New file.
5417         * libio/iogetwline.c: New file.
5418         * libio/ioungetwc.c: New file.
5419         * libio/iovswscanf.c: New file.
5420         * libio/iowpadn.c: New file.
5421         * libio/oldiofgetpos.c: New file.
5422         * libio/oldiofgetpos64.c: New file.
5423         * libio/oldiofsetpos.c: New file.
5424         * libio/oldiofsetpos64.c: New file.
5425         * libio/putwc.c: New file.
5426         * libio/putwc_u.c: New file.
5427         * libio/putwchar.c: New file.
5428         * libio/putwchar_u.c: New file.
5429         * libio/swprintf.c: New file.
5430         * libio/swscanf.c: New file.
5431         * libio/tst_swprintf.c: New file.
5432         * libio/tst_swscanf.c: New file.
5433         * libio/tst_wprintf.c: New file.
5434         * libio/tst_wscanf.c: New file.
5435         * libio/tst_wscanf.input: New file.
5436         * libio/vswprintf.c: New file.
5437         * libio/vwprintf.c: New file.
5438         * libio/vwscanf.c: New file.
5439         * libio/wfiledoalloc.c: New file.
5440         * libio/wfileops.c: New file.
5441         * libio/wgenops.c: New file.
5442         * libio/wprintf.c: New file.
5443         * libio/wscanf.c: New file.
5444         * libio/wstrops.c: New file.
5445         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
5446         vfwprintf, and vfwscanf.
5447         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
5448         make global.
5449         * stdio-common/_itowa.c: New file.
5450         * stdio-common/_itowa.h: New file.
5451         * stdio-common/itoa-digits.c: Minimal optimization.
5452         * stdio-common/itowa-digits.c: New file.
5453         * stdio-common/printf-parse.h: Allow use in wide character context.
5454         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
5455         * stdio-common/printf.h (printf_info): Add wide bit.
5456         * stdio-common/printf_fp.c: Determine from wide bit whether stream
5457         is wide oriented or not.
5458         * stdio-common/printf_size.c: Likewise.
5459         * sysdeps/generic/printf_fphex.c: Likewise.
5460         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
5461         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
5462         context.
5463         * stdio-common/vfscand.c: Likewise.
5464         * stdio-common/vfwprintf.c: New file.
5465         * stdio-common/vfwscanf.c: New file.
5466
5467         * time/Makefile (routines): Add wcsftime.
5468         (tests): Add tst_wcsftime.
5469         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
5470         * time/strftime.c: Make usable as wcsftime.
5471         * time/wcsftime.c: New file.
5472         * time/tst_wcsftime.c: New file.
5473
5474         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
5475         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
5476         * wcsmbs/wcschrnul.c: New file.
5477         * wcsmbs/wmemcpy.c: New file.
5478         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
5479         * wcsmbs/wmemmove.c: Likewise for wmemmove.
5480
5481         * manual/stdio.texi: Document is_char and wide element if printf_info.
5482
5483         * manual/time.texi: Document wcsftime.
5484
5485         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
5486         __wmemmove, __wcschrnul, and __vfwscanf.
5487
5488         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
5489         * locale/C-time.c: Adapt for above change.
5490         * locale/categories.def: Likewise.
5491         * locale/localeinfo.h: Likewise.
5492         * localedata/Makefile: Don't run tests for now.
5493
5494         * manual/errno.texi: Fix typos.
5495         * manual/memory.texi: Likewise.
5496         * manual/ctype.texi: Likewise.
5497         Patches by Brian Youmans <3diff@gnu.org>.
5498
5499 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5500
5501         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
5502
5503 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5504
5505         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
5506         word order.
5507         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
5508         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
5509
5510 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5511
5512         * db2/db/db.c: Restore __nss_db_open alias.
5513         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
5514         include.
5515         * db2/os/os_rw.c (__os_write): Maintain const correctness.
5516         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
5517
5518 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5519
5520         * stdio-common/printf-parse.h (parse_one_spec): Don't set
5521         is_longlong if not necessary.
5522
5523 1999-06-15  H.J. Lu  <hjl@gnu.org>
5524
5525         * Make-dist (sysdep_dirs): Exclude SCCS.
5526         * MakeTAGS (sysdep_dirs): Likewise.
5527
5528 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5529
5530         * posix/regex.c (re_error_msgid): Remove extra commas.
5531
5532 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
5533
5534         * stdlib/tst-strtoll.c: New file.
5535         * stdlib/Makefile (tests): Add tst-strtoll.c
5536         * stdlib/strtol.c: It is not generally true that if
5537         (unsigned)a*(unsigned)b overflows, then the result is
5538         less than 'a'.
5539
5540 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
5541
5542         * nscd/connections.c (handle_request): Only root is allowed to
5543         send GETSTAT request in non secure mode.
5544         * nscd/nscd.c: Print error message if other then root try to
5545         use getstat.
5546
5547 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5548
5549         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
5550
5551 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5552
5553         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
5554         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
5555
5556 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5557
5558         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
5559         for character to search, to help the compiler.
5560         * sysdeps/generic/strchrnul.c: Likewise.
5561         * sysdeps/generic/memchr.c: Likewise.
5562         * sysdeps/generic/memccpy.c: Likewise.
5563         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
5564
5565 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5566
5567         * sysdeps/m68k/memchr.S: New file.
5568         * sysdeps/m68k/rawmemchr.S: New file.
5569         * sysdeps/m68k/strchr.S: New file.
5570         * sysdeps/m68k/strchrnul.S: New file.
5571
5572 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
5573
5574         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
5575         add `memory' clobber; optimise for constant `val'.
5576         (atomic_add): Likewise.
5577         (test_and_set): Remove `volatile'; add `memory' clobber; be more
5578         like the original `test_and_set'.
5579         (compare_and_swap): Remove `volatile'; add `memory' clobber;
5580         optimise for constant `oldval'.
5581         (always_swap): Remove `volatile'; add `memory' clobber.
5582
5583 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5584
5585         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
5586         functions for gcc <= 2.7.x.
5587
5588 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
5589
5590         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
5591         change.
5592
5593 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
5594
5595         * db2/Makefile (distribute): Remove files which do not exist
5596         anymore.
5597
5598         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
5599         definitions to calm down gcc.
5600
5601         * db2/db.h: Update from db 2.7.5.
5602         * db2/db_185.h: Likewise.
5603         * db2/db_int.h: Likewise.
5604         * db2/btree/bt_compare.c: Likewise.
5605         * db2/btree/bt_conv.c: Likewise.
5606         * db2/btree/bt_curadj.c: Likewise.
5607         * db2/btree/bt_cursor.c: Likewise.
5608         * db2/btree/bt_delete.c: Likewise.
5609         * db2/btree/bt_open.c: Likewise.
5610         * db2/btree/bt_page.c: Likewise.
5611         * db2/btree/bt_put.c: Likewise.
5612         * db2/btree/bt_rec.c: Likewise.
5613         * db2/btree/bt_recno.c: Likewise.
5614         * db2/btree/bt_rsearch.c: Likewise.
5615         * db2/btree/bt_search.c: Likewise.
5616         * db2/btree/bt_split.c: Likewise.
5617         * db2/btree/bt_stat.c: Likewise.
5618         * db2/btree/btree_auto.c: Likewise.
5619         * db2/common/db_appinit.c: Likewise.
5620         * db2/common/db_apprec.c: Likewise.
5621         * db2/common/db_err.c: Likewise.
5622         * db2/common/db_region.c: Likewise.
5623         * db2/common/db_salloc.c: Likewise.
5624         * db2/db/db.c: Likewise.
5625         * db2/db/db.src: Likewise.
5626         * db2/db/db_am.c: Likewise.
5627         * db2/db/db_auto.c: Likewise.
5628         * db2/db/db_dispatch.c: Likewise.
5629         * db2/db/db_dup.c: Likewise.
5630         * db2/db/db_iface.c: Likewise.
5631         * db2/db/db_join.c: Likewise.
5632         * db2/db/db_overflow.c: Likewise.
5633         * db2/db/db_pr.c: Likewise.
5634         * db2/db/db_rec.c: Likewise.
5635         * db2/db/db_ret.c: Likewise.
5636         * db2/db185/db185.c: Likewise.
5637         * db2/dbm/dbm.c: Likewise.
5638         * db2/hash/hash.c: Likewise.
5639         * db2/hash/hash_auto.c: Likewise.
5640         * db2/hash/hash_dup.c: Likewise.
5641         * db2/hash/hash_page.c: Likewise.
5642         * db2/hash/hash_rec.c: Likewise.
5643         * db2/hash/hash_stat.c: Likewise.
5644         * db2/include/btree.h: Likewise.
5645         * db2/include/btree_ext.h: Likewise.
5646         * db2/include/clib_ext.h: Likewise.
5647         * db2/include/common_ext.h: Likewise.
5648         * db2/include/db_am.h: Likewise.
5649         * db2/include/db_auto.h: Likewise.
5650         * db2/include/db_cxx.h: Likewise.
5651         * db2/include/db_ext.h: Likewise.
5652         * db2/include/db_join.h: Likewise.
5653         * db2/include/db_page.h: Likewise.
5654         * db2/include/hash.h: Likewise.
5655         * db2/include/hash_ext.h: Likewise.
5656         * db2/include/lock.h: Likewise.
5657         * db2/include/lock_ext.h: Likewise.
5658         * db2/include/log.h: Likewise.
5659         * db2/include/log_ext.h: Likewise.
5660         * db2/include/mp.h: Likewise.
5661         * db2/include/mp_ext.h: Likewise.
5662         * db2/include/os.h: Likewise.
5663         * db2/include/os_ext.h: Likewise.
5664         * db2/include/os_func.h: Likewise.
5665         * db2/include/txn.h: Likewise.
5666         * db2/include/txn_auto.h: Likewise.
5667         * db2/include/txn_ext.h: Likewise.
5668         * db2/include/xa.h: Likewise.
5669         * db2/include/xa_ext.h: Likewise.
5670         * db2/lock/lock.c: Likewise.
5671         * db2/lock/lock_conflict.c: Likewise.
5672         * db2/lock/lock_deadlock.c: Likewise.
5673         * db2/lock/lock_region.c: Likewise.
5674         * db2/lock/lock_util.c: Likewise.
5675         * db2/log/log.c: Likewise.
5676         * db2/log/log_archive.c: Likewise.
5677         * db2/log/log_auto.c: Likewise.
5678         * db2/log/log_findckp.c: Likewise.
5679         * db2/log/log_get.c: Likewise.
5680         * db2/log/log_put.c: Likewise.
5681         * db2/log/log_rec.c: Likewise.
5682         * db2/log/log_register.c: Likewise.
5683         * db2/mp/mp_bh.c: Likewise.
5684         * db2/mp/mp_fget.c: Likewise.
5685         * db2/mp/mp_fopen.c: Likewise.
5686         * db2/mp/mp_fput.c: Likewise.
5687         * db2/mp/mp_fset.c: Likewise.
5688         * db2/mp/mp_open.c: Likewise.
5689         * db2/mp/mp_pr.c: Likewise.
5690         * db2/mp/mp_region.c: Likewise.
5691         * db2/mp/mp_sync.c: Likewise.
5692         * db2/mutex/mutex.c: Likewise.
5693         * db2/mutex/uts4_cc.s: Likewise.
5694         * db2/os/os_abs.c: Likewise.
5695         * db2/os/os_alloc.c: Likewise.
5696         * db2/os/os_config.c: Likewise.
5697         * db2/os/os_dir.c: Likewise.
5698         * db2/os/os_fid.c: Likewise.
5699         * db2/os/os_fsync.c: Likewise.
5700         * db2/os/os_map.c: Likewise.
5701         * db2/os/os_oflags.c: Likewise.
5702         * db2/os/os_open.c: Likewise.
5703         * db2/os/os_rw.c: Likewise.
5704         * db2/os/os_seek.c: Likewise.
5705         * db2/os/os_sleep.c: Likewise.
5706         * db2/os/os_spin.c: Likewise.
5707         * db2/os/os_stat.c: Likewise.
5708         * db2/os/os_tmpdir.c: Likewise.
5709         * db2/os/os_unlink.c: Likewise.
5710         * db2/progs/db_archive/db_archive.c: Likewise.
5711         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5712         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5713         * db2/progs/db_dump/db_dump.c: Likewise.
5714         * db2/progs/db_load/db_load.c: Likewise.
5715         * db2/progs/db_printlog/README: Likewise.
5716         * db2/progs/db_printlog/commit.awk: Likewise.
5717         * db2/progs/db_printlog/count.awk: Likewise.
5718         * db2/progs/db_printlog/db_printlog.c: Likewise.
5719         * db2/progs/db_printlog/pgno.awk: Likewise.
5720         * db2/progs/db_printlog/range.awk: Likewise.
5721         * db2/progs/db_printlog/status.awk: Likewise.
5722         * db2/progs/db_printlog/txn.awk: Likewise.
5723         * db2/progs/db_recover/db_recover.c: Likewise.
5724         * db2/progs/db_stat/db_stat.c: Likewise.
5725         * db2/txn/txn.c: Likewise.
5726         * db2/txn/txn.src: Likewise.
5727         * db2/txn/txn_auto.c: Likewise.
5728         * db2/txn/txn_rec.c: Likewise.
5729         * db2/xa/xa.c: Likewise.
5730         * db2/xa/xa_db.c: Likewise.
5731         * db2/xa/xa_map.c: Likewise.
5732
5733         * db2/btree/bt_close.c: Removed.
5734         * db2/db/db_thread.c: Likewise.
5735         * db2/hash/hash_debug.c: Likewise.
5736         * db2/include/db.h.src: Likewise.
5737         * db2/include/db_int.h.src: Likewise.
5738         * db2/include/os_jump.h: Likewise.
5739         * db2/mutex/alpha.dec: Likewise.
5740         * db2/mutex/alpha.gcc: Likewise.
5741         * db2/mutex/parisc.hp: Likewise.
5742         * db2/mutex/uts4.cc.s: Likewise.
5743
5744         * db2/Makefile: Add new routines, remove old for 2.7.5.
5745         * db2/Versions: Add internal function names for the helper programs.
5746         * db2/makedb.c: Update for new cursor callback.
5747         * Versions.def: Define versions for libdb.
5748
5749 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
5750
5751         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
5752         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
5753         * nscd/nscd_nischeck.c: New file.
5754         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
5755
5756 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5757
5758         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
5759         MSG_* flags from Linux 2.2.9.
5760
5761 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
5762
5763         * Makeconfig (static-start-installed-name): Set to
5764         $(start-installed-name) if not defined.
5765         (+link-static): Use $(static-start-installed-name) instead of
5766         $(start-installed-name).
5767         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
5768         Set to crt0.o.
5769
5770 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
5771
5772         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
5773         inserting a send right into the child instead of unconditionally
5774         copying the send right.
5775
5776 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
5777
5778         * locale/lc-time.c: Add free_mem function to free if necessary
5779         statically allocated memory.
5780
5781 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
5782
5783         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
5784         bias from the raw exponent.
5785
5786 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
5787
5788         * inet/arpa/tftp.h: Move attribute declaration in right position.
5789
5790 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
5791
5792         * nscd/nscd.c: Add -S options for separate caching of data for
5793         every user. So one user couldn't see the data another user
5794         has gotten with his credentials.
5795         * nscd/nscd.h: Add new prototypes.
5796         * nscd/cache.c: Compare owner of cache entry if in secure mode.
5797         * nscd/connections.c: Check on shutdown if caller really was root.
5798         In secure mode get uid of caller.
5799         * nscd/grpcache.c: Add support for new secure group mode.
5800         * nscd/hstcache.c: Add support for new secure hosts mode.
5801         * nscd/pwdcache.c: Add support for new secure passwd mode.
5802
5803 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
5804
5805         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
5806         of user-provided buffer.
5807
5808 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
5809
5810         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
5811         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
5812
5813 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
5814
5815         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
5816         and A format.
5817
5818         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
5819         returning after last entry.
5820         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5821
5822 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
5823
5824         * misc/sysexits.h: Remove advertising clause of copyright.
5825         * resolv/getnetnamadr.c: Likewise.
5826         * sysdeps/vax/bcopy.s: Likewise.
5827         * sysdeps/vax/bzero.s: Likewise.
5828         * sysdeps/vax/ffs.s: Likewise.
5829         * sysdeps/vax/memchr.s: Likewise.
5830         * sysdeps/vax/memcmp.s: Likewise.
5831         * sysdeps/vax/memmove.s: Likewise.
5832         * sysdeps/vax/memset.s: Likewise.
5833         * sysdeps/vax/strcat.s: Likewise.
5834         * sysdeps/vax/strchr.s: Likewise.
5835         * sysdeps/vax/strcmp.s: Likewise.
5836         * sysdeps/vax/strcpy.s: Likewise.
5837         * sysdeps/vax/strcspn.s: Likewise.
5838         * sysdeps/vax/strlen.s: Likewise.
5839         * sysdeps/vax/strncat.s: Likewise.
5840         * sysdeps/vax/strncmp.s: Likewise.
5841         * sysdeps/vax/strncpy.s: Likewise.
5842         * sysdeps/vax/strpbrk.s: Likewise.
5843         * sysdeps/vax/strrchr.s: Likewise.
5844         * sysdeps/vax/strsep.s: Likewise.
5845         * sysdeps/vax/strspn.s: Likewise.
5846         * sysdeps/vax/strstr.s: Likewise.
5847
5848         * libio/iofopncook.c: Adjust for renaming of structure elements.
5849         * libio/libio.h: Define cookie functions with all the names.
5850
5851         * pwd/fgetpwent_r.c: Set errno in the correct way.
5852         * shadow/fgetspent_r.c: Likewise.
5853         * pwd/fgetpwent.c: Handle long lines correctly.  Little
5854         optimizations.  Free static buffer when debugging memory handling.
5855         * shadow/fgetspent.c: Likewise.
5856
5857         * grp/fgetgrent.c: Little optimization in loop.
5858
5859 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5860
5861         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
5862         in a different way.
5863
5864 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
5865
5866         * stdlib/longlong.h: gas changed sethi handling when without
5867         %hi(). Fix assembly.
5868         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
5869         port specific cache id checks.
5870         * sysdeps/generic/dl-cache.h: New file.
5871         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
5872
5873 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5874
5875         * gmon/gmon.c: Remove advertising clause of copyright.
5876         * gmon/mcount.c: Likewise.
5877         * gmon/sys/gmon.h: Likewise.
5878         * inet/arpa/ftp.h: Likewise.
5879         * inet/arpa/telnet.h: Likewise.
5880         * inet/arpa/tftp.h: Likewise.
5881         * inet/inet_lnaof.c: Likewise.
5882         * inet/inet_mkadr.c: Likewise.
5883         * inet/inet_net.c: Likewise.
5884         * inet/inet_netof.c: Likewise.
5885         * inet/protocols/routed.h: Likewise.
5886         * inet/protocols/rwhod.h: Likewise.
5887         * inet/protocols/talkd.h: Likewise.
5888         * inet/protocols/timed.h: Likewise.
5889         * inet/rcmd.c: Likewise.
5890         * inet/rexec.c: Likewise.
5891         * inet/ruserpass.c: Likewise.
5892         * io/fts.c: Likewise.
5893         * io/fts.h: Likewise.
5894         * login/login_tty.c: Likewise.
5895         * misc/fstab.h: Likewise.
5896         * misc/getttyent.c: Likewise.
5897         * misc/getusershell.c: Likewise.
5898         * misc/sys/queue.h: Likewise.
5899         * misc/sys/syslog.h: Likewise.
5900         * misc/syslog.c: Likewise.
5901         * misc/ttyent.h: Likewise.
5902         * misc/ttyslot.c: Likewise.
5903         * resolv/arpa/nameser.h: Likewise.
5904         * resolv/gethnamaddr.c: Likewise.
5905         * resolv/herror.c: Likewise.
5906         * resolv/inet_addr.c: Likewise.
5907         * resolv/mapv4v6addr.h: Likewise.
5908         * resolv/mapv4v6hostent.h: Likewise.
5909         * resolv/nss_dns/dns-host.c: Likewise.
5910         * resolv/nss_dns/dns-network.c: Likewise.
5911         * resolv/res_comp.c: Likewise.
5912         * resolv/res_data.c: Likewise.
5913         * resolv/res_debug.c: Likewise.
5914         * resolv/res_init.c: Likewise.
5915         * resolv/res_mkquery.c: Likewise.
5916         * resolv/res_query.c: Likewise.
5917         * resolv/res_send.c: Likewise.
5918         * resolv/resolv.h: Likewise.
5919         * sysdeps/generic/div.c: Likewise.
5920         * sysdeps/generic/netinet/ip.h: Likewise.
5921         * sysdeps/generic/netinet/tcp.h: Likewise.
5922         * sysdeps/generic/paths.h: Likewise.
5923         * sysdeps/generic/prof-freq.c: Likewise.
5924         * sysdeps/generic/sys/ttydefaults.h: Likewise.
5925         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5926         * sysdeps/gnu/netinet/tcp.h: Likewise.
5927         * sysdeps/ieee754/support.c: Likewise.
5928         * sysdeps/mach/hurd/sys/param.h: Likewise.
5929         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
5930         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5931         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
5932         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5933         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
5934         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
5935         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
5936         * sysdeps/unix/sysv/linux/paths.h: Likewise.
5937         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
5938         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
5939         * sysdeps/vax/DEFS.h: Likewise.
5940         * termios/sys/ttychars.h: Likewise.
5941         * misc/daemon.c: Likewise.  Call fork.
5942
5943         * grp/fgetgrent.c (buffer): Make file local variable.
5944         (free_mem): New function.  Call for malloc debugging.
5945
5946         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
5947
5948 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5949
5950         * grp/Makefile: Add rules for tst_fgetgrent.
5951
5952         * grp/tst_fgetgrent.c: Rewritten to read only one file.
5953
5954         * grp/tst_fgetgrent.sh: New file.
5955
5956 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5957
5958         * grp/Makefile (tests): Add tst_fgetgrent.
5959         * grp/tst_fgetgrent.c: New file.
5960         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
5961
5962 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
5963
5964         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
5965         be POSIX compliant.  Prior definition was broken for Hurd.
5966         Reported by Mark Kettenis <kettenis@gnu.org>.
5967
5968 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5969
5970         * ctype/ctype.h: Protect __tobody code by __extension__.
5971
5972 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5973
5974         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
5975         reading and reset in case the buffer was too small.
5976
5977         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
5978         of EOF.
5979
5980 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5981
5982         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
5983         another SIOGIFNAME typo.
5984
5985 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5986
5987         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
5988
5989         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
5990         bit.
5991
5992 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5993
5994         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
5995         the precision if the mantissa is zero.
5996
5997 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5998
5999         * manual/lang.texi (Floating Point Parameters): GCC already
6000         supports long double for a long time.
6001
6002 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6003
6004         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
6005         yn_test): Increase some epsilons.
6006
6007 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
6008
6009         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
6010         parameters.
6011
6012 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
6013
6014         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6015         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
6016         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
6017         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
6018
6019         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
6020         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
6021         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
6022         * sysdeps/libm-ieee754/w_j1.c: Likewise.
6023         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
6024         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
6025         * sysdeps/libm-ieee754/w_jn.c: Likewise.
6026         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
6027         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
6028
6029         * stdio-common/vfprintf.c: Correct typos.
6030
6031         * math/libm-test.c (jn_test): Adjust delta.
6032         (y1_test): Likewise.
6033         (yn_test): Likewise.
6034
6035         * elf/do-lookup.h: It should never happen that if we expect a versioned
6036         symbol from a file the file has no version table.  This should have
6037         been checked in dl-version.c.
6038         * elf/dl-lookup.c: Include assert.h.
6039
6040         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
6041         function handling.
6042
6043         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
6044
6045 1999-06-06  Andi Kleen  <ak@muc.de>
6046
6047         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
6048         SA_RESTORER flag.
6049
6050 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6051
6052         * math/libm-test.c (yn_test): Change one delta.
6053         (jn_test): Likewise.
6054         (j1_test): Likewise.
6055         (y0_test): Likewise.
6056
6057 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
6058
6059         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
6060         avoid multiple calls to getpagesize() which might be a syscall.
6061
6062 1999-06-06  Philip Blundell  <philb@gnu.org>
6063
6064         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
6065
6066 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6067
6068         * manual/install.texi (Running make install): Correct typo in
6069         dynamic linker invocation.
6070
6071 1999-06-05  Philip Blundell  <philb@gnu.org>
6072
6073         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
6074         problems with GOT addressing.
6075
6076 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6077
6078         * malloc/malloc.c (check_action): Change into bitmap so that both
6079         diagnostic and abort can be requested by setting it to 3.
6080         (mALLOC_SET_STATe): Disable malloc checking if necessary.
6081
6082 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
6083
6084         * configure.in: Few changes for HPUX.
6085
6086         * scripts/config.guess: Update from latest version.
6087         * scripts/config.sub: Likewise.
6088
6089 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6090
6091         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
6092         map files.  Closes PR libc/1147.
6093
6094 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6095
6096         * math/libm-test.c (main): Add new test functions.
6097         (jn_test): New tests.
6098         (j1_test): Add some more tests.
6099         (j0_test): Add some more tests.
6100         (y0_test): Add some more tests.
6101         (y1_test): Add some more tests.
6102
6103 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6104
6105         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
6106         Patch by mhagger@dera.gov.uk [PR libc/1145].
6107
6108         * math/libm-test.c (y1_test): New tests.
6109         (y0_test): Likewise.
6110         (j1_test): Likewise.
6111         (j0_test): Likewise.
6112         (main): Added new tests.
6113
6114 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
6115
6116         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
6117         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
6118         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
6119         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
6120         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
6121         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
6122
6123 1999-06-02  David S. Miller  <davem@redhat.com>
6124
6125         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
6126         pointers properly.
6127
6128 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
6129
6130         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
6131         and elide compatibility code if possible.
6132
6133 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
6134
6135         * manual/llio.texi: Remove menu entry for removed section.
6136
6137 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6138
6139         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
6140         variables.
6141
6142 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6143
6144         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
6145         (from Linux 2.3.4).
6146
6147 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
6148
6149         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
6150
6151 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6152
6153         * manual/stdio.texi: Fix some typos.
6154
6155 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6156
6157         * malloc/malloc.h: Properly handle future GCC versions.
6158
6159 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6160
6161         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
6162         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
6163         text of error message.
6164
6165         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
6166
6167 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
6168
6169         * manual/filesys.texi: Extend (f)truncate documentation.
6170         * manual/llio.texi: Remove duplicate (f)truncate definition.
6171
6172 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6173
6174         * manual/stdio.texi (Formatted Output Functions): Mention
6175         semantics of snprintf in glibc 2.0.
6176         Reported by Ben Pfaff <pfaffben@msu.edu>.
6177
6178 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
6179
6180         * include/features.h (__GLIBC_MINOR__): Bump to 2.
6181
6182 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
6183
6184         * math/libm-test.c: Adjust a few more deltas for the poor ARM
6185         FPU emulator.
6186
6187 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6188
6189         * configure.in: Fix typo.
6190
6191 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6192
6193         * manual/socket.texi (Host Names): Remove statement that h_errno
6194         needs to be declared since this isn't true anymore.
6195         Closes PR libc/1138.
6196
6197 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
6198
6199         * config.h.in: Add __LINUX_KERNEL_VERSION.
6200         * configure.in: Recognize --enable-kernel.
6201         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
6202         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
6203         appropriately.
6204         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
6205         given perform runtime test.
6206
6207         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
6208         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
6209         minimal supported kernel is known to have the feature.
6210         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6211         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6212         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6213         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6214         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6215         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
6216         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6217         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6218         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6219         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6220         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6221         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
6222         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6223         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6224         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6225
6226         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
6227
6228 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
6229
6230         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
6231
6232 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
6233
6234         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
6235         Optimized sparc64 routines.
6236
6237 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
6238
6239         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
6240         they are the same as ints.
6241         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6242
6243         * version.h (VERSION): Bump to 2.1.90.
6244         (RELEASE): Mark as development.
6245
6246         * stdio-common/vfprintf.c (vfprintf): Don't implement special
6247         handling for long long if it is the same as long.
6248         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6249
6250         * stdlib/strtol.c: Moved to ...
6251         * sysdeps/generic/strtol.c: ...here.
6252         * stdlib/strtoul.c: Moved to ...
6253         * sysdeps/generic/strtoul.c: ...here.
6254         * stdlib/strtoll.c: Moved to ...
6255         * sysdeps/generic/strtoll.c: ...here.
6256         * stdlib/strtoull.c: Moved to ...
6257         * sysdeps/generic/strtoull.c: ...here.
6258         * stdlib/strtol_l.c: Moved to ...
6259         * sysdeps/generic/strtol_l.c: ...here.
6260         * stdlib/strtoul_l.c: Moved to ...
6261         * sysdeps/generic/strtoul_l.c: ...here.
6262         * stdlib/strtoll_l.c: Moved to ...
6263         * sysdeps/generic/strtoll_l.c: ...here.
6264         * stdlib/strtoull_l.c: Moved to ...
6265         * sysdeps/generic/strtoull_l.c: ...here.
6266
6267         * sysdeps/wordsize-64/strtol.c: New file.
6268         * sysdeps/wordsize-64/strtoul.c: New file.
6269         * sysdeps/wordsize-64/strtoll.c: New file.
6270         * sysdeps/wordsize-64/strtoull.c: New file.
6271         * sysdeps/wordsize-64/strtol_l.c: New file.
6272         * sysdeps/wordsize-64/strtoul_l.c: New file.
6273         * sysdeps/wordsize-64/strtoll_l.c: New file.
6274         * sysdeps/wordsize-64/strtoull_l.c: New file.
6275
6276         * wcsmbs/wcstol.c: Moved to ...
6277         * sysdeps/generic/wcstol.c: ...here.
6278         * wcsmbs/wcstoul.c: Moved to ...
6279         * sysdeps/generic/wcstoul.c: ...here.
6280         * wcsmbs/wcstoll.c: Moved to ...
6281         * sysdeps/generic/wcstoll.c: ...here.
6282         * wcsmbs/wcstoull.c: Moved to ...
6283         * sysdeps/generic/wcstoull.c: ...here.
6284         * wcsmbs/wcstol_l.c: Moved to ...
6285         * sysdeps/generic/wcstol_l.c: ...here.
6286         * wcsmbs/wcstoul_l.c: Moved to ...
6287         * sysdeps/generic/wcstoul_l.c: ...here.
6288         * wcsmbs/wcstoll_l.c: Moved to ...
6289         * sysdeps/generic/wcstoll_l.c: ...here.
6290         * wcsmbs/wcstoull_l.c: Moved to ...
6291         * sysdeps/generic/wcstoull_l.c: ...here.
6292
6293         * sysdeps/wordsize-64/wcstol.c: New file.
6294         * sysdeps/wordsize-64/wcstoul.c: New file.
6295         * sysdeps/wordsize-64/wcstoll.c: New file.
6296         * sysdeps/wordsize-64/wcstoull.c: New file.
6297         * sysdeps/wordsize-64/wcstol_l.c: New file.
6298         * sysdeps/wordsize-64/wcstoul_l.c: New file.
6299         * sysdeps/wordsize-64/wcstoll_l.c: New file.
6300         * sysdeps/wordsize-64/wcstoull_l.c: New file.
6301
6302 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
6303
6304         * sysdeps/sparc/bits/wordsize.h: New file.
6305         * sysdeps/sparc/fpu/bits/fenv.h: New file.
6306         * sysdeps/sparc/fpu/fpu_control.h: New file.
6307         * sysdeps/sparc/gmp-mparam.h: New file.
6308
6309         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
6310         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
6311         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
6312         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
6313         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
6314         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
6315
6316         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
6317         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
6318         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
6319         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
6320
6321         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
6322         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
6323         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
6324         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
6325         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
6326
6327 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
6328
6329         * login/openpty.c (openpty): Make sure pty does not because
6330         controlling TTY.
6331
6332         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
6333
6334 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
6335
6336         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
6337         Do proper error return.
6338
6339 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6340
6341         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
6342         of __P in the rest of glibc; define __MALLOC_PMT and use it.
6343         Reported by Stephan Kulow <coolo@kde.org>.
6344
6345 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
6346
6347         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
6348
6349         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
6350
6351 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6352
6353         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
6354         names to protect from user's macro namespace.
6355         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
6356         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
6357         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
6358         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
6359         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
6360         Adapted.
6361         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
6362         sysdeps/arm/fpu/fesetenv.c: Likewise.
6363         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
6364         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
6365         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6366         * sysdeps/mips/fesetenv.c: Likewise.
6367
6368 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
6369
6370         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
6371
6372 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
6373
6374         * configure.in: Recognize and allow gcc 2.95.
6375
6376 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6377
6378         * sysdeps/generic/bits/elfclass.h: Version common to
6379         wordsize-32 and wordsize-64.
6380         * sysdeps/generic/bits/environments.h: Ditto.
6381         * sysdeps/generic/stdint.h: Ditto.
6382         * sysdeps/generic/inttypes.h: Ditto.
6383
6384         * sysdeps/generic/bits/wordsize.h: New file.
6385         * stdlib/Makefile: Add bits/wordsize.h to headers.
6386
6387         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6388
6389         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
6390         headers to be used for 32bit and 64bit ABI compilations.
6391         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
6392         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
6393         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
6394         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
6395         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
6396
6397         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
6398         * sysdeps/wordsize-64/bits/environments.h: Remove.
6399         * sysdeps/wordsize-64/stdint.h: Remove.
6400         * sysdeps/wordsize-64/inttypes.h: Remove.
6401         * sysdeps/wordsize-64/bits/wordsize.h: New file.
6402
6403         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
6404         * sysdeps/wordsize-32/bits/environments.h: Remove.
6405         * sysdeps/wordsize-32/stdint.h: Remove.
6406         * sysdeps/wordsize-32/inttypes.h: Remove.
6407         * sysdeps/wordsize-32/bits/wordsize.h: New file.
6408
6409 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6410
6411         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
6412         __align_cpy_16): New functions.
6413         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
6414
6415         * sysdeps/sparc/sparc32/Versions: New file.
6416         * sysdeps/sparc/sparc64/Versions: New file.
6417         * sysdeps/sparc/Versions: Remove.
6418
6419 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6420
6421         * sysdeps/unix/sysv/linux/configure.in:
6422         On sparc64-*-linux*, set slibdir to /lib64 if prefix
6423         is /usr, plus set libdir to ${exec_prefix}/lib64.
6424         * sysdeps/unix/sysv/linux/configure: Regenerated.
6425         * config.make.in: Propagate libdir settings from configure
6426         to the Makefiles.
6427         * shlib-versions: sparc64-*-linux* dynamic linker is
6428         /lib64/ld-linux.so.2.
6429
6430 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
6431
6432         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
6433         RPC connection.
6434
6435 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
6436
6437         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
6438         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
6439
6440         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
6441         contains garbage in bits 8-63.
6442         * sysdeps/sparc/sparc64/memset.S: Ditto.
6443         * sysdeps/sparc/sparc64/strchr.S: Ditto.
6444
6445 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
6446
6447         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
6448
6449 1999-05-17  David S. Miller  <davem@redhat.com>
6450
6451         * sysdeps/sparc/sparc32/atomicity.h: New file.
6452         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
6453         * sysdeps/sparc/sparc64/atomicity.h: New file.
6454         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
6455         sysdep-CFLAGS.
6456
6457 1999-05-18  Richard Henderson  <rth@twiddle.net>
6458
6459         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
6460
6461 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6462
6463         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
6464         posix/sys/types.h: Handle the case of __GNUC__=3,
6465         __GNUC_MINOR__=(anything).
6466
6467 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6468
6469         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
6470         if _FORCE_INLINES.
6471
6472 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6473
6474         * elf/Makefile (distribute): Remove dl-origin.h.
6475         Add dl-dst.h and gen-trusted-dirs.awk.
6476
6477 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6478
6479         * sysdeps/i386/i486/Versions: New file with inline functions from
6480         sysdeps/i386/i486/bits/string.h for now.
6481
6482         * sysdeps/i386/Versions: Add inline functions from
6483         sysdeps/i386/bits/string.h.
6484
6485         * string/Versions: Add inline functions from <bits/string2.h>.
6486
6487         * string/Makefile (routines): Add string-inlines.
6488         * string/string-inlines.c: New file, used for implementation of
6489         extern inline functions.
6490
6491         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
6492         non inlined versions of functions.
6493         * string/bits/string2.h: Likewise.
6494         * sysdeps/i386/bits/string.h: Likewise.
6495
6496 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6497
6498         * inet/arpa/tftp.h: Add second packed attribute.
6499
6500 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6501
6502         * malloc/malloc.c: Cleanup to bring in line with released
6503         stand-alone version `ptmalloc'.  Update some comments.
6504         (internal_function): Move fallback definition so that the source
6505         compiles outside of libc, and use it in more places.
6506         (malloc_atfork): Fix when malloc_check is in use.
6507
6508 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6509
6510         * stdlib/tst-strtod.c: Fix typo.
6511
6512 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6513
6514         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
6515         const incorrectness.
6516
6517 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6518
6519         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
6520
6521 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
6522
6523         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
6524         * sunrpc/key_call.c: Fix memory leak, close file handle.
6525         * nis/nis_creategroup.c: Use malloc instead of calloc,
6526         set ctime and mtime.
6527         * nis/nis_subr.c: Check for realloc result.
6528         * nis/nis_file.c: Fix memory leak.
6529         * nis/nis_table.c: Pretty print.
6530         * nis/nis_getservlist.c: Likewise.
6531         * nis/nis_ismember.c: Likewise.
6532         * nis/nis_lookup.c: Likewise.
6533         * nis/nis_ping.c: Likewise.
6534         * nis/nis_removemember.c: Likewise.
6535         * nis/nis_util.c: Likewise, check calloc result.
6536
6537 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6538
6539         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
6540         * sysdeps/generic/sys/socketvar.h: ... here.
6541         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
6542         * sysdeps/generic/netinet/in_systm.h: ... here.
6543         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
6544         sys/socketvar.h.
6545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
6546         * inet/Makefile (headers): Add netinet/in_systm.h here.
6547         * socket/Makefile (headers): Add sys/socketvar.h here.
6548
6549 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
6550
6551         * stdlib/strtol.c: Optimize inner loop of long long versions.
6552
6553         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
6554         Unix98.  Add forward declaration of struct utmp.
6555
6556 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6557
6558         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
6559         calloc.
6560
6561         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
6562         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
6563         memory allocation results.
6564
6565 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
6566
6567         * sysdeps/generic/getutmp.c: Include <string.h>
6568         (getutmp): Rewrite to only copy those members that are really
6569         present in `struct utmp'.
6570         * sysdeps/generic/getutmpx.c: Likewise.
6571
6572 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6573
6574         * nss/getXXbyYY.c: Add free_mem function which disposes all
6575         statically allocated memory when debugging.
6576         * nss/getXXent.c: Likewise.
6577         * nss/nsswitch.c: Likewise.
6578
6579 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
6580
6581         * sysdeps/gnu/getutmpx.c: New file.
6582         * sysdeps/gnu/getutmp.c: New file.
6583
6584 1999-05-13  H.J. Lu  <hjl@gnu.org>
6585
6586         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
6587         (getutmp): Likewise.
6588
6589         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
6590         getutmpx for login.
6591
6592         * sysdeps/gnu/utmpx.h (getutmp): Added.
6593         (getutmpx): Likewise.
6594
6595         * sysdeps/generic/getutmp.c: New file.
6596
6597         * sysdeps/generic/getutmpx.c: New file.
6598
6599 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6600
6601         * glibcbug.in (BUGGLIBC): Change address to
6602         libc-alpha@sourceware.cygnus.com.
6603
6604 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6605
6606         * resolv/arpa/nameser.h: Add C++ protectors.
6607
6608 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6609
6610         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
6611         Elad Tsur <eladts@post.tau.ac.il>.
6612
6613 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
6614
6615         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
6616         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
6617         lazily if LD_BIND_NOW is not set.
6618         * elf/dl-support.c (_dl_lazy): New variable.
6619         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
6620         * elf/rtld.c (_dl_lazy): new global variable.
6621         ( dl_main): Remove lazy, replace it by _dl_lazy.
6622
6623 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6624
6625         * locale/setlocale.c (new_composite_name): Check also whether the
6626         first category name differs.
6627
6628 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6629
6630         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
6631         the generic one.
6632
6633 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
6634
6635         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
6636         structure; storage suitable for any socket address.
6637         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
6638         Likewise.
6639         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
6640         sockaddr_storage): Likewise.
6641
6642         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
6643         platform.
6644
6645 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
6646
6647         * hesiod/Versions: Change _nss_hesiod_getpwuid and
6648         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
6649         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
6650
6651 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
6652
6653         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
6654         if the file is empty.
6655
6656 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
6657
6658         * elf/do-lookup.h: Fix typo in comment.
6659
6660         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
6661         f_bsize to help some broken programs.
6662
6663         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
6664
6665         * stdio-common/vfprintf.c: Fix typo.
6666
6667 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
6668
6669         * elf/link.h (struct link_map): New field l_phdr_allocated.
6670         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
6671         the program header being part of any loaded segment.  If it is not
6672         allocate memory and set l_phdr_allocated flag.
6673         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
6674
6675         * nss/digits_dots.c: Correct return value interpretation of
6676         inet_ntoa.  Fix PR libc/1109.
6677
6678 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
6679
6680         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
6681
6682 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
6683
6684         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
6685         * stdlib/fpioconst.c: Move #endif before end of struct.
6686
6687 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
6688
6689         * Versions.def (ld.so): Add GLIBC_2.1.1.
6690         * elf/Makefile (routines): Add dl-origin.
6691         (tests): Add origtest.  Add dependencies for the program.
6692         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
6693         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
6694         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
6695         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
6696         DT_AUXILIARY, and DT_FILTER filenames.
6697         * elf/dl-load.c (expand_dynamic_string_token): Explode into
6698         two functions and three macros.
6699         (_dl_dst_count, _dl_dst_substitute): New functions.
6700         * elf/dl-dst.h: New file.
6701         * elf/dl-open.c (_dl_open): Take extra parameter with address of
6702         caller.  Pass address in args structure.
6703         (dl_open_worker): Recognize and expand DSTs in filename.
6704         * elf/ldsodefs.h (_dl_open): Adapt prototype.
6705         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
6706         (__dlopen_check): Pass caller address to dlopen_doit in args.
6707         * elf/dlopendoit.c: Likewise.
6708         * iconv/gconv_dl.c: Adapt call of _dl_open.
6709         * nss/nsswitch.c: Likewise.
6710         * elf/origtest.c: New file.
6711         * sysdeps/generic/dl-origin.h: Moved to...
6712         * sysdeps/generic/dl-origin.c: ...here.
6713         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
6714         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
6715
6716         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
6717         with specific bases and only few bits set in second word.
6718
6719         * timezone/Makefile (install-others): Create target directory
6720         before creating tzfiles.
6721
6722 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
6723
6724         * nis/nis_file.c (readColdStartFile): Allocate memory only after
6725         the file is opened successfully.
6726
6727         * nis/nis_table.c: Fix some memory leaks.
6728
6729 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
6730
6731         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
6732         variable.
6733
6734         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
6735         around DST.  Correctly ignore ORIGIN IN SUID binaries.
6736
6737 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
6738
6739         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
6740         * sysdeps/generic/strtok.c: Likewise.
6741
6742         * string/tester.c: Add test of rawmemchr.
6743
6744         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
6745         specification.  It's not necessary.
6746
6747         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
6748         * elf/gen-trusted-dirs.awk: New file.
6749         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
6750         from SYSTEM_DIRS macro.
6751         (system_dirs_len): New variable.  Contains lengths of system_dirs
6752         strings.
6753         (fillin_rpath): Rewrite for systems_dirs being a simple string.
6754         Improve string comparisons.  Change parameter trusted to be a flag.
6755         Change all callers.
6756         (_dt_init_paths): Improve using new format for system_dirs.
6757
6758         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
6759         $ORIGIN for SUID binaries.
6760
6761         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
6762
6763 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6764
6765         * sunrpc/Makefile: Generate dependencies for all flavors of
6766         librpcsvc objects.
6767         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
6768         invocations.
6769
6770 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6771
6772         * elf/dlopenold.c: Move #if down after includes to get
6773         dependencies right.
6774
6775 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6776
6777         * sysdeps/generic/bzero.c: Undefine __bzero.
6778
6779 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
6780
6781         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
6782         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
6783         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
6784         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
6785
6786         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
6787         parameter to struct gaih_servtuple *.  Adapt appropriately.
6788         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
6789         This fixes a memory leak.
6790         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
6791
6792         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
6793         and fpregset_t definition.  They are defined in ucontext.h.
6794
6795 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6796
6797         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
6798         and struct ether_header must be packed on the ARM.  The default
6799         alignment constraints add padding to the end of the structures.
6800
6801 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6802
6803         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
6804         default alignment constraints add padding to the end of the
6805         structure and between members.
6806
6807 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
6808
6809         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6810         _dl_cache_libcmp instead of strcmp.
6811
6812         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
6813         fails on a file.
6814         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
6815
6816 1998-03-30  Joel Klecker  <espy@debian.org>
6817
6818         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
6819         (sysdep-others,install-bin): Add lddlibc4.
6820
6821 1999-05-02  H.J. Lu  <hjl@gnu.org>
6822
6823         * timezone/zic.c (dolink): Remove the symlink destination first.
6824
6825         * catgets/open_catalog.c (__open_catalog): Set catalog->status
6826         to "nonexisting" if failed to open the file.
6827
6828 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
6829
6830         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
6831         gcc3.
6832
6833         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
6834         Prevent warnings from multiplication with 0x01010101 by another cast.
6835
6836 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6837
6838         * string/bits/string2.h (memset): Revert to previous version if
6839         unaligned writes are not available.
6840
6841 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6842
6843         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
6844         better code in presence of the asm.
6845
6846 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6847
6848         * stdlib/fmtmsg.c (keywords): Increase array size for faster
6849         indexing.
6850
6851         * locale/localeinfo.h (_nl_category_names): Increase array element
6852         size for faster indexing.
6853         * locale/setlocale.c (_nl_category_names): Adjusted.
6854
6855 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6856
6857         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
6858
6859 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6860
6861         * sysdeps/m68k/stackinfo.h: New file.
6862
6863 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6864
6865         * string/tester.c (test_strchrnul): New function.
6866         (test_memset): Test one more special case.
6867
6868         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
6869         25% of all cases.
6870
6871         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
6872         base types.
6873
6874         * string/bits/string2.h: Fix bugs I introduced in last change.
6875
6876         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
6877         register stall.
6878         Extend memset optimization.
6879         Correct i686 version of memchr.
6880
6881 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
6882
6883         * sysdeps/i386/bzero.c: Add #undef __bzero.
6884
6885         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
6886         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
6887         exec server simulated a SIGTRAP before we even started up, so gdb is
6888         already happy.
6889
6890 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6891
6892         * nss/digits_dots.c: Always initialize not_ok.
6893
6894 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
6895
6896         * string/bits/string2.h (memset): Avoid arithmetic overflow at
6897         compile time, which produces obnoxious warnings.  If GCCv2 is
6898         in use, map __bzero to __builtin_memset to enable that
6899         optimization.
6900
6901 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
6902
6903         * string/bits/string2.h: Add more memset optimizations.
6904
6905         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
6906
6907         * resolv/inet_pton.c (inet_pton4): Little optimizations.
6908         (inet_pton6): Likewise.
6909
6910         * nss/getXXbyYY_r.c: Include assert.h.
6911         * nss/getXXbyYY.c: Likewise.
6912
6913 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6914
6915         * termios/tcgetsid.c (tcgetsid): Rename variable to
6916         tiocgsid_does_not_work.
6917
6918 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
6919
6920         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
6921
6922 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6923
6924         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
6925         This allows e.g. gethostbyname to accept "10.1234".
6926         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
6927
6928         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
6929         non quad IPv4 numbers.
6930
6931 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6932
6933         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
6934
6935 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6936
6937         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
6938         * argp/argp-parse.c (_argp_hang): Likewise.
6939         * argp/argp-pv.c (argp_program_version): Likewise.
6940         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
6941         * inet/ether_hton.c (ether_hton, startp): Likewise.
6942         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
6943         * inet/getnetgrent_r.c (setup, startp): Likewise.
6944         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
6945         * intl/localealias.c (string_space, string_space_act, string_space_max,
6946         nmap, maxmap): Likewise.
6947         * libio/iopopen.c (proc_file_chain): Likewise.
6948         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
6949         * locale/lc-collate.c (__collate_table, __collate_extra,
6950         __collate_element_hash, __collate_element_strings,
6951         __collate_element_values): Likewise.
6952         * malloc/mcheck.c (mcheck_used): Likewise.
6953         * malloc/mtrace.c (added_atexit_handler): Likewise.
6954         * malloc/set-freeres.c (already_called): Likewise.
6955         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
6956         * misc/syslog.c (LogStat, LogTag): Likewise.
6957         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6958         * nss/getXXbyYY_r.c (startp): Likewise.
6959         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
6960         * posix/regex.c (init_syntax_once) [done]: Likewise.
6961         (debug): Likewise.
6962         * string/strfry.c (init): Likewise.
6963         * sunrpc/svc_run.c (svc_top): Likewise.
6964         * posix/euidaccess.c (have_ids): Likewise.
6965         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
6966         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
6967         * time/getdate.c (getdate_err): Likewise.
6968         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
6969         Likewise.
6970         * time/tzset.c (old_tz, is_initialized): Likewise.
6971
6972         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
6973         of static data with zero.
6974         * signal/allocrtsig.c (init): Likewise.
6975
6976         * string/Makefile (routines): Add strchrnul.
6977         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
6978         * string/string.c: Add strchrnul prototype.
6979         * include/string.h: Add __strchrnul prototype.
6980         * sysdeps/generic/strchrnul.c: New file.
6981         * sysdeps/i386/strchrnul.S: New file.
6982         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
6983         * sysdeps/i386/i486/bits/string.c: Likewise.
6984         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
6985         * inet/ether_line.c (ether_line): Likewise.
6986         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
6987         * nss/nsswitch.c (nss_parse_file): Likewise.
6988         * posix/execvp.c (execvp): Likewise.
6989         * posix/fnmatch.c (internal_fnmatch): Likewise.
6990         * resolv/res_hconf.c (_res_hconv_init): Likewise.
6991         * resolv/res_init.c (res_init): Likewise.
6992         * stdlib/fmtmsg.c (init): Likewise.
6993         * stdlib/getsubopt.c (getsubopt): Likewise.
6994
6995         * catgets/catgets.c (catopen): Only allocate one memory block.
6996         (catclose): Only one free call necessary.
6997
6998         * catgets/open_catalog.c (__open_catalog): Simplify handling of
6999         file descriptor.
7000
7001         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
7002         of real functions.  Simplify _tolower and _toupper.
7003
7004         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
7005         variable.
7006
7007         * iconv/gconv.h (struct gconv_info): Change data element from pointer
7008         to array of size 0.
7009         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
7010         * iconv/gconv_close.c (__gconv_close): Don't free data.
7011
7012         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
7013         insert new alias.
7014
7015         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
7016         for error while inserting in tree.
7017
7018         * include/time.h: Pretty print.
7019
7020         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
7021         in table and lots of relocations.
7022         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
7023         string pointers in table and lots of relocations.
7024
7025         * intl/finddomain.c: Remove definition of strchr macro.
7026
7027         * io/ftw.c (nftw_arr, ftw_arr): Make const.
7028
7029         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
7030
7031         * locale/localeinfo.h (_nl_category_names): Change into an array with
7032         fixed width char string elements.
7033         * locale/setlocale.c (_nl_category_names): Likewise.
7034         (_nl_current): Make global.
7035         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
7036
7037         * malloc/Makefile (distribute): Add stackinfo.h.
7038         * sysdeps/generic/stackinfo.h: New file.
7039         * sysdeps/i386/stackinfo.h: New file.
7040         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
7041         * posix/execle.c: Likewise.
7042         * posix/execlp.c: Likewise.
7043
7044         * nis/nis_table.c (__create_ib_request): Always use realloc.
7045
7046         * posix/execvp.c (execute): Rename to script_execute and keep only
7047         code to execute using shell.
7048         (execvp): Call execv directly and only fall back on script_execute.
7049
7050         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
7051         and always use xdigits instead.
7052
7053         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
7054         where appropriate.
7055
7056         * stdlib/fpioconst.h (__tens): New declaration.
7057         (struct mp_power): Remove array, add arrayoff element.
7058         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
7059         __tens array and add in _fpioconst_pow10 offsets into __tens.
7060         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
7061         * stdlib/strtod.c: Likewise.
7062
7063         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
7064
7065         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
7066         of the list.
7067         * stdlib/atexit.c (__exit_funcs): Don't initialize.
7068
7069         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
7070
7071         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
7072         a single and an array with offsets.
7073
7074         * sunrpc/des_soft.c (partab): Make it const.
7075
7076         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
7077         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
7078         (__key_decryptsession_pk_LOCAL): Likewise.
7079         (__key_gendes_LOCAL): Likewise.
7080         (MESSENGER): Mark const.
7081         (key_call_private_main): Don't initialize with 0.
7082         (use_keyenvoy): Don't initialize with 0.
7083         (key_call): Rewrite to reverse logic of use_doors variable.
7084
7085         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
7086         (startp): Don't initialize with zero.
7087
7088         * sunrpc/openchild.c (_openchild): Make first argument const.
7089
7090         * sunrpc/pmap_rmt.c (timeout): Mark const.
7091         * sunrpc/xcrypt.c (hex): Likewise.
7092
7093         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
7094         initialization of global variables.
7095         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7096         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7097         * termios/tcgetsid.c: Likewise.
7098
7099         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
7100         fxsr to osfxsr.
7101
7102         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
7103         block.  Add function to free memory if wanted.
7104         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
7105
7106         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
7107
7108         * wcsmbs/wmemset.c: Little code optimization.
7109
7110 1999-04-23  Paul Eggert  <eggert@twinsun.com>
7111
7112         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
7113         ifdef _LIBC.
7114
7115 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
7116
7117         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
7118         implementation and just always fail with ENOSYS.  This entry point is
7119         obsolete.  Add link warning to that effect.
7120
7121 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
7122
7123         * hurd/get-host.c: Include <hurd/lookup.h>.
7124
7125 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7126
7127         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
7128         is != NULL.
7129
7130 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7131
7132         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
7133         ISO C9x and Unix98.
7134
7135 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7136
7137         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
7138         Patch by Peter Miller <millerp@canb.auug.org.au>.
7139
7140 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
7141
7142         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
7143         prefers loopback device.
7144
7145 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7146
7147         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
7148         no_leading_period change.
7149
7150         * posix/testfnm.c: More test cases.
7151
7152 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
7153
7154         * include/dirent.h: Remove __getdirentries declaration, add __getdents
7155         and __getdents64.
7156         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
7157         * sysdeps/unix/readdir_r.c: Likewise.
7158         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7159         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7160         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
7161         __getdirentries.  Remove fourth argument.
7162         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
7163         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
7164         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
7165         Add getdirentries and getdirentries64.
7166         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
7167
7168         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
7169         pointer in case of an invalid [[: expression.
7170
7171         * posix/testfnm.c: Add more test cases.
7172
7173 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
7174
7175         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
7176         set, pass EXEC_SIGTRAP flag in exec RPC.
7177
7178 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
7179
7180         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
7181         extra parameter.  Fix several more bugs involving wildcard and
7182         ranges.
7183         (fnmatch): New function.  Call internal_fnmatch.
7184
7185         * posix/testfnm.c: More test cases.
7186
7187 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7188
7189         * manual/install.texi (Configuring and compiling): Explain that
7190         files are changed in the source directory.
7191         Closes PR libc/981.
7192         (Configuring and compiling): Explain situation with PARALLELMFLAGS
7193         in the source directory.
7194
7195 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7196
7197         * locale/programs/ld-ctype.c: Spelling fixes.
7198         (ctype_finish): Fix argument of error message format.
7199         * locale/programs/ld-messages.c: Spelling fixes.
7200         * locale/programs/ld-monetary.c: Spelling fixes.
7201         * locale/programs/ld-time.c (time_finish): Make sure that name and
7202         format of era_entries are adjacent.
7203         (time_output): Reduce the size of the io vector.
7204
7205 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7206
7207         * manual/filesys.texi (Attribute Meanings): Move a misplaced
7208         paragraph.
7209
7210 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7211
7212         * locale/programs/ld-collate.c (collate_output): Convert
7213         undefined_offset to an array index.  Fix computation of other
7214         endian extra table.
7215
7216 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
7217
7218         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
7219         return success with empty value.
7220
7221 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
7222
7223         * posix/fnmatch.c: Include string.h also for glibc.
7224         (fnmatch, case '?'): Optimize if cascades a bit.
7225         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
7226
7227         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
7228
7229 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
7230
7231         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
7232         * iconv/gconv_int.h: Declare UTF16 functions.
7233         * iconv/gconv_simple.c: Add UTF16 conversion functions.
7234
7235 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7236
7237         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
7238         be used correctly as parameter for parse_dollars/parse_tilde.
7239
7240 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7241
7242         * manual/conf.texi (Utility Limits): Remove duplicate description
7243         of BC_DIM_MAX.
7244
7245 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
7246
7247         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
7248         outbufend for dst==NULL.
7249
7250 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
7251
7252         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
7253         for dst==NULL.
7254         Fixes PR libc/1084.
7255
7256         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
7257         Fixes PR libc/1083.
7258
7259 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
7260
7261         * sunrpc/Makefile: Remove special handling of bootparam.x,
7262         add rpcsvc/bootparam.h to headers.
7263         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
7264         * sunrpc/rpcsvc/bootparam.x: Renamed to...
7265         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
7266
7267 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
7268
7269         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
7270         detect and handle invalid descriptors.
7271
7272 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
7273
7274         * timezone/zic.c (dolink): Append complete path not only filename
7275         to ../ list.
7276
7277 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7278
7279         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
7280
7281 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
7282
7283         * iconvdata/gconv-modules: Rename CP874 to IBM874.
7284         * iconvdata/Makefile: Likewise.
7285         * iconvdata/cp874.h: Removed.
7286         * iconvdata/cp874.c: Renamed to...
7287         * iconvdata/ibm874.c: ...this.
7288
7289 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
7290
7291         * sysdeps/unix/sysv/linux/bits/types.h: Correct
7292         signed/unsigned-ness of blkcnt and fsblkcnt.
7293         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7294         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7295
7296         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
7297         SOL_AAL, and SOL_IRDA.
7298
7299 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7300
7301         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
7302         include "linux_fsinfo.h".
7303         Based on a patch by H.J. Lu <hjl@gnu.org>.
7304
7305 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
7306
7307         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
7308
7309 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
7310
7311         * nscd/cache.c (prune_cache): Only disable file checking for
7312         future if the file does not exist.
7313         Update file_mtime if cache was flushed.
7314
7315 1999-04-15  David S. Miller  <davem@redhat.com>
7316
7317         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
7318         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
7319
7320 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
7321
7322         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
7323         compilation of file.
7324
7325 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7326
7327         * Versions.def: Add GLIBC_2.1.1 to libpthread.
7328
7329         * iconvdata/Makefile (modules): Add KOI8-U.
7330         (distribute): Add koi8-u.c.
7331         (gen-8bit-gap-modules): Add koi8-u.
7332         * iconvdata/gconv-modules: Add KOI8-U entries.
7333         * iconvdata/koi8-u.c: New file.
7334
7335 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
7336
7337         * sunrpc/auth_des.c: 64bit fixes, security fixes.
7338         * sunrpc/auth_none.c: Pretty print.
7339         * sunrpc/auth_unix.c: Likewise.
7340         * sunrpc/authdes_prot.c: Likewise.
7341         * sunrpc/authuxprot.c: Likewise.
7342         * sunrpc/bindrsvprt.c: Likewise.
7343         * sunrpc/clnt_gen.c: Likewise.
7344         * sunrpc/rpc/xdr.h: Likewise.
7345         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
7346         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
7347         * sunrpc/rtime.c: Use new rpc_timeval.
7348         * sunrpc/svc_authux.c: Don't use *long pointers.
7349         * sunrpc/svcauth_des.c: Likewise + security fixes.
7350         * sunrpc/xdr_mem.c: Don't use *long pointers.
7351         * sunrpc/xdr_rec.c: Likewise.
7352         * sunrpc/xdr_sizeof.c: Likewise.
7353         * sunrpc/xdr_stdio.c: Likewise.
7354
7355 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7356
7357         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
7358         so that it is redone for each sending.
7359
7360 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7361
7362         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
7363
7364 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7365
7366         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
7367         known to not exist don't try to load shared objects.
7368         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
7369
7370         * nscd/cache.c (prune_cache): The table might not be unused.  In
7371         this case do nothing.
7372
7373         * catgets/gencat.c (read_input_file): Don't drop white spaces
7374         between number/identifier and string.
7375         Patch by Dima Barsky <dima@pwd.hp.com>.
7376         If no white space at all follows number/identifier remove existing
7377         message with the number/identifier.
7378
7379 1999-04-14  H.J. Lu  <hjl@gnu.org>
7380
7381         * sunrpc/clnt_udp.c (is_network_up): New function.
7382         (clntudp_call): Call is_network_up () to check if any network
7383         interface is up in case of timeout.
7384
7385 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7386
7387         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
7388         * wctype/Makefile (tests): Add test_wcfuncs.
7389
7390 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
7391
7392         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
7393         architectures.
7394         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
7395         instead of CFLAGS.
7396         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
7397         instead of CFLAGS. For gnulib and string directories use
7398         -Wa,-Av9a gcc ASFLAGS.
7399         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
7400         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
7401         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
7402         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
7403         the same way as sparc-*.
7404
7405 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
7406
7407         * locale/programs/locfile.c (locfile_read): Fix typo.
7408         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
7409
7410 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
7411
7412         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
7413         restarted after being interrupted by a signal.  The parameters on
7414         the stack were corrupted by the signal handler.
7415
7416         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
7417         restarted after being interrupted by a signal.  The parameters on
7418         the stack were corrupted by the signal handler.
7419
7420 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7421
7422         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
7423         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
7424
7425 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
7426
7427         * posix/wordexp-test.c: In field-splitting test cases where
7428         subshells were involved, unset IFS first: some shells (ash) use
7429         IFS even when no expansion is performed.
7430
7431 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7432
7433         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
7434         the real end of the chunk, not some random point inbetween.
7435         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
7436         obstack when growing.  Use fast version of obstack_blank when
7437         shrinking.
7438         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
7439         allocating the vtable pointer.
7440         (_IO_obstack_vprintf): Adjust for above change and avoid
7441         unnecessary casts.  Use fast version of obstack_blank when
7442         shrinking.
7443         Fixes PR libc/1075.
7444
7445 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
7446
7447         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
7448         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
7449
7450 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7451
7452         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
7453         is seen, as well as fixing semantics.  Don't reset the word count
7454         to zero when an invalid character is seen, but leave it as it was
7455         (this makes a difference with WRDE_APPEND).
7456
7457         * posix/wordexp-test.c: More test cases.
7458
7459         * posix/wordexp.c (parse_param): In words like ${var#pattern},
7460         always expand pattern when it is needed.  Also, handle quoting in
7461         pattern properly.
7462
7463 1999-04-12  Philip Blundell  <philb@gnu.org>
7464
7465         * elf/elf.h: Update ARM definitions to match current gas2.
7466
7467         * sysdeps/arm/bits/endian.h: Support big endian operation.
7468
7469         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
7470         Don't bother range checking the port number.
7471
7472         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
7473
7474         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
7475         the syscall name in assembler output for ease of debugging.
7476
7477         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
7478         compiler behaviour.
7479         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
7480         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
7481         (sysdep_routines): Add sigrestorer.
7482
7483         * string/tester.c (test_strcpy): Add new tests for unaligned
7484         arguments.
7485         * sysdeps/arm/bits/string.h: Delete inline implementations of
7486         strcpy and stpcpy.
7487
7488 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
7489
7490         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
7491
7492 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
7493
7494         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
7495
7496 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7497
7498         * iconvdata/Makefile (modules): Add TIS-620.
7499         (distribute): Add tis-620.c.
7500         (gen-8bit-gap-modules): tis-620.
7501         * iconvdata/tis-620.c: New file.
7502         * iconvdata/gconv-modules: Add TIS-620 entries.
7503
7504         * iconvdata/asmo_449.c: Correct comment.
7505
7506 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7507
7508         * manual/install.texi (Configuring and compiling): Comment out
7509         description of --disable-static since this doesn't work currently
7510         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
7511
7512 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7513
7514         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
7515         use binary search.
7516         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
7517
7518 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7519
7520         * scripts/test-installation.pl (installation_problem): Skip
7521         libnss1_* libraries from glibc-compat add-on.
7522
7523 1999-04-07  H.J. Lu  <hjl@gnu.org>
7524
7525         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
7526         libstdc++ 2.7.2.
7527         * posix/Versions (__waitpid): Likewise.
7528
7529 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7530
7531         * manual/install.texi (Reporting Bugs): Add section about reported
7532         bugs and correct email address of glibcbug script.
7533
7534 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
7535
7536         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
7537         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
7538         xdr_u_longlong_t. Based on patch from Dan Shechter
7539         <damageboy@isdn.net.il>.
7540         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
7541         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
7542
7543         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
7544
7545 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7546
7547         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
7548         directly if getdents returns with error set.
7549
7550 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7551
7552         * locale/langinfo.h (THOUSEP): Rename second occurence of
7553         THOUSANDS_SEP to THOUSEP.
7554         Reported by Roman Belenov <roman@nstl.nnov.ru>.
7555
7556 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
7557
7558         * hurd/STATUS: File removed.  Moved items that are still relevant into
7559         TODO list in hurd source.
7560
7561 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
7562
7563         * sysdeps/mach/hurd/bits/time.h: New file.
7564         * sysdeps/mach/hurd/getrusage.c: New file.
7565         * sysdeps/mach/hurd/clk_tck.c: New file.
7566         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
7567         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
7568         (sysdep_routines): Add clk_tck.
7569         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
7570         implemented.
7571
7572 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
7573
7574         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
7575         (closelog): But instead here.
7576         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
7577
7578 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7579
7580         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
7581         the source directory.  Fixes PR libc/1059.
7582
7583 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7584
7585         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
7586         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7587
7588 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
7589
7590         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
7591         * iconvdata/testdata/ISO-8859-14: New file.
7592         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
7593         * iconvdata/testdata/ISO-8859-15: New file.
7594         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
7595
7596 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
7597
7598         * iconvdata/testdata/CP1258: New file.
7599         * iconvdata/testdata/CP1258..UTF8: New file.
7600         * iconvdata/TESTS: Add CP1258 entry.
7601
7602         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
7603
7604         * timezone/africa: Update from tzdata1999d.
7605         * timezone/europe: Likewise.
7606         * timezone/northamerica: Likewise.
7607
7608 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
7609
7610         * login/programs/pt_chown.c (main): Save effective user ID before
7611         dropping priviliges and use this to check if the program is
7612         properly installed.
7613
7614 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
7615
7616         * iconvdata/testdata/CP1254: Update for charmap changes.
7617         * iconvdata/testdata/CP1254..UTF8: Likewise.
7618         * iconvdata/testdata/CP1255: Likewise.
7619         * iconvdata/testdata/CP1255..UTF8: Likewise.
7620         * iconvdata/testdata/CP1256: Likewise.
7621         * iconvdata/testdata/CP1256..UTF8: Likewise.
7622         * iconvdata/testdata/CP1257: Likewise.
7623         * iconvdata/testdata/CP1257..UTF8: Likewise.
7624
7625         * iconvdata/Makefile (distribute): Remove cp1258.h.
7626         (gen-8bit-gap-modules): Add cp1258.
7627         * iconvdata/cp1258.h: Removed.
7628
7629 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
7630
7631         * timezone/tst-timezone.c (tests): Add more cases.
7632         (check_tzvars): Mark errors clearer.
7633         (main): Likewise.
7634
7635 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7636
7637         * login/programs/pt_chown.c: Drop privileges if invoked with
7638         arguments.  Don't close the master pty.
7639
7640 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
7641
7642         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
7643         Minor optimization.
7644
7645 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
7646
7647         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
7648         relocation for SUID binaries.
7649
7650 1999-03-29  Paul Eggert  <eggert@twinsun.com>
7651
7652         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
7653         while in child process.
7654
7655 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
7656
7657         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
7658         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
7659         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
7660         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
7661         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
7662
7663         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
7664         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
7665         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
7666         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
7667         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
7668         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
7669         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
7670         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
7671         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
7672         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
7673         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
7674         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
7675         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
7676         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
7677         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
7678         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
7679         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
7680         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
7681         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
7682         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
7683         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
7684         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
7685         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
7686         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
7687         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
7688         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
7689
7690         * sysdeps/sparc/sparc32/bcopy.c: New file.
7691         * sysdeps/sparc/sparc32/bzero.c: New file.
7692         * sysdeps/sparc/sparc32/memchr.S: New file.
7693         * sysdeps/sparc/sparc32/memcpy.S: New file.
7694         * sysdeps/sparc/sparc32/memmove.c: New file.
7695         * sysdeps/sparc/sparc32/memset.S: New file.
7696         * sysdeps/sparc/sparc32/stpcpy.S: New file.
7697         * sysdeps/sparc/sparc32/strchr.S: New file.
7698         * sysdeps/sparc/sparc32/strrchr.c: New file.
7699         * sysdeps/sparc/sparc32/strcpy.S: New file.
7700         * sysdeps/sparc/sparc32/strlen.S: New file.
7701         * sysdeps/sparc/sparc32/strcat.S: New file.
7702         * sysdeps/sparc/sparc32/strcmp.S: New file.
7703
7704         * sysdeps/sparc/sparc64/bcopy.c: New file.
7705         * sysdeps/sparc/sparc64/bzero.c: New file.
7706         * sysdeps/sparc/sparc64/memchr.S: New file.
7707         * sysdeps/sparc/sparc64/memcmp.S: New file.
7708         * sysdeps/sparc/sparc64/memcpy.S: New file.
7709         * sysdeps/sparc/sparc64/memset.S: New file.
7710         * sysdeps/sparc/sparc64/stpcpy.S: New file.
7711         * sysdeps/sparc/sparc64/strcat.S: New file.
7712         * sysdeps/sparc/sparc64/strchr.S: New file.
7713         * sysdeps/sparc/sparc64/strcmp.S: New file.
7714         * sysdeps/sparc/sparc64/strcpy.S: New file.
7715         * sysdeps/sparc/sparc64/strcspn.S: New file.
7716         * sysdeps/sparc/sparc64/strlen.S: New file.
7717         * sysdeps/sparc/sparc64/strncpy.S: New file.
7718         * sysdeps/sparc/sparc64/strpbrk.S: New file.
7719         * sysdeps/sparc/sparc64/strrchr.c: New file.
7720         * sysdeps/sparc/sparc64/strspn.S: New file.
7721         * sysdeps/sparc/sparc64/stpncpy.S: New file.
7722         * sysdeps/sparc/sparc64/strncmp.S: New file.
7723
7724         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
7725         Append -fPIC, don't replace.
7726
7727         * configure.in: Recognize sparcv8plus / sparcv9.
7728
7729 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7730
7731         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
7732         char * to avoid C++ warning.
7733         Patch by yasushi@cs.washington.edu [PR libc/1035].
7734
7735 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7736
7737         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
7738         declared in stdlib.h, correct return value of mkstemp.
7739         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
7740
7741         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
7742         from Linux 2.2.5.
7743
7744 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7745
7746         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
7747         C++ warning.
7748
7749         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
7750         inline functions.  Closes PR libc/1049.
7751
7752 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7753
7754         * timezone/README: Update from tzdata1999c and tzcode1999c.
7755
7756         * timezone/africa: Update from tzdata1999c.
7757         * timezone/antarctica: Likewise.
7758         * timezone/asia: Likewise.
7759         * timezone/australasia: Likewise.
7760         * timezone/europe: Likewise.
7761         * timezone/northamerica: Likewise.
7762         * timezone/southamerica: Likewise.
7763         * timezone/zone.tab: Likewise.
7764
7765         * timezone/zic.c: Update from tzcode1999c.
7766
7767 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7768
7769         * Makerules: Add $(common-objpfx)Versions.all to common-generated
7770         outside of ifndef avoid-generated.
7771
7772         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
7773         in iofdopen.c.
7774         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
7775         iofopen.c.
7776         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
7777         in iofclose.c.
7778         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
7779         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
7780
7781 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
7782
7783         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
7784         if we build the profiled library.
7785
7786 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7787
7788         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
7789         Jaeger <aj@arthur.rhein-neckar.de>
7790
7791 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
7792
7793         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
7794         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
7795         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
7796
7797 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
7798
7799         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
7800         works properly in subdirs.
7801
7802 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
7803
7804         * sysdeps/mach/hurd/Makefile: Undo last change.
7805         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
7806         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
7807
7808         * mach/Machrules (+preinit, +postinit, +interp,
7809         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
7810         linked just like other shared libraries.
7811         (interface.so): Fix typo in defn, so it works.
7812         ($(objpfx)$(interface.so)): Make it depend on libc.so.
7813
7814 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
7815
7816         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
7817         $(link-rpcuserlibs).
7818
7819 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7820
7821         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
7822         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
7823         targets if not building shared libraries.
7824
7825 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7826
7827         * configure.in: Also look in $PATH when searching for
7828         install-info.  Remove autoconf bug workaround and require autoconf
7829         2.13.
7830
7831 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7832
7833         * db/Makefile: Don't try to install shared library link if not
7834         building with shared libs.
7835
7836 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7837
7838         * rt/Makefile: Link against static library if no shared lib is
7839         available.
7840
7841         * localedata/Makefile: The shells scripts implementing the test
7842         require the dynamic linker which is not available with
7843         --disable-shared.  Skip the test if --disable-shared is given.
7844
7845         * linuxthreads/Makefile: Link test against static libpthread if no
7846         shared lib is available.
7847
7848         * iconvdata/Makefile (tests): Run iconv-test only if we're
7849         building shared libraries.
7850         * elf/Makefile (tests): Likewise for elf tests.
7851
7852         * posix/Makefile: The test frameworks globtest and wordexp-test
7853         require the dynamic linker which is not available with
7854         --disable-shared.  Skip the test if --disable-shared is given.
7855
7856         * grp/Makefile (otherlibs): For static nss build link against
7857         necessary libs.
7858
7859 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7860
7861         * debug/Makefile (install-bin): Install and build catchsegv only
7862         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
7863         libc/965].
7864
7865 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7866
7867         * time/tzfile.c (__tzfile_read): Handle the case where there are
7868         transitions but no DST.
7869
7870 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
7871
7872         * mach/Machrules (extra-libs-others): Add $(interface-library) here
7873         too, so it gets built in the others pass rather than the lib pass.
7874         This is necessary since the RPC libraries need to be linked against
7875         libc.
7876
7877 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
7878
7879         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
7880         _itoa_word decl.
7881
7882         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
7883         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
7884         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
7885         versions of lib{mach,hurd}user.so without reference to libc.so,
7886         then link libc.so against that to get deps and symbol versions, then
7887         finally link real lib*user.so against libc.so.
7888
7889         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
7890         Support whole-file locking (only) by using the file_lock RPC.  This
7891         has very wrong semantics, but is better than nothing for the time
7892         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
7893         protocols that will be somewhat hairy to specify.)
7894
7895 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
7896
7897         * sysdeps/mach/hurd/ptsname.c: New file.
7898
7899 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7900
7901         * timezone/asia: Fix rule in Asia/Nicosia entry.
7902
7903 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7904
7905         * manual/getopt.texi (Using Getopt): Explain "::" in option
7906         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
7907
7908 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
7909
7910         * sunrpc/clnt_unix.c: Fix creation of parameters for
7911         sendmsg/recvmsg on non intel platforms.
7912         * sunrpc/svc_unix.c: Likewise.
7913
7914 1999-03-18  Philip Blundell  <philb@gnu.org>
7915
7916         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
7917         implementation.
7918
7919 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7920
7921         * timezone/africa: Update from tzdata1999b.
7922         * timezone/asia: Likewise.
7923         * timezone/australasia: Likewise.
7924         * timezone/europe: Likewise.
7925         * timezone/northamerica: Likewise.
7926         * timezone/southamerica: Likewise.
7927         * timezone/zone.tab: Likewise.
7928
7929         * timezone/README: Mention tzdata1999b.
7930
7931 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
7932
7933         * sysdeps/generic/segfault.c (write_strsignal): New function.
7934         (catch_segfault): Use it instead of calling strsignal.
7935
7936 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7937
7938         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
7939         char to avoid warning.
7940
7941 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7942
7943         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
7944
7945         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
7946         outbuf to unsigned char to avoid warning.
7947
7948 1999-03-11  David S. Miller  <davem@redhat.com>
7949
7950         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
7951         masks.
7952         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
7953
7954 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7955
7956         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
7957         `unsigned char'.
7958         (gconv_step_data): Likewise.
7959         * iconv/gconv_int.h (__gconv): Likewise.
7960         (__BUILINT_TRANS): Likewise.
7961         * iconv/gconv.c (__gconv): Likewise.
7962         * iconv/iconv.c (iconv): Add casts for call of __gconv.
7963         * iconv/skeleton.c: Change local parameters and variable from `char' to
7964         `unsigned char'.  Remove casts from calls into modules.
7965         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
7966         `char' to `unsigned char'.
7967         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
7968         * wcsmbs/mbrtowc.c: Likewise.
7969         * wcsmbs/mbsnrtowcs.c: Likewise.
7970         * wcsmbs/mbsrtowcs.c: Likewise.
7971         * wcsmbs/wcrtomb.c: Likewise.
7972         * wcsmbs/wcsnrtombs.c: Likewise.
7973         * wcsmbs/wcsrtombs.c: Likewise.
7974         * wcsmbs/wctob.c: Likewise.
7975
7976 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7977
7978         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
7979         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
7980         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
7981         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
7982         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
7983         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
7984
7985 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7986
7987         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
7988         _hurd_select if TIMEMOUT is -1.
7989
7990 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7991
7992         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
7993
7994 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7995
7996         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
7997         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
7998
7999 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8000
8001         * manual/libc.texinfo: Undo last change for now.
8002
8003 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8004
8005         * intl/locale.alias: Add entries for Croatian.
8006         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
8007
8008 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
8009
8010         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
8011         if the opened master pty really is a pty.  `isatty' checks for
8012         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
8013         if we are out of pty's.
8014
8015 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
8016
8017         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
8018         opened file is closed on exec.
8019         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
8020         opened socket.
8021
8022 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8023
8024         * manual/llio.texi (File Position Primitive): Reformat @end
8025         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
8026
8027 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
8028
8029         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
8030         entry is found.
8031         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8032         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8033
8034         * locale/programs/localedef.c (main): Initialize `cat' to please
8035         the compiler.
8036
8037 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
8038
8039         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
8040         check for root-owned symlinks and reject them too.
8041
8042 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8043
8044         * stdio-common/printf_fphex.c: Move to ...
8045         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
8046         extended precision number.
8047         * sysdeps/m68k/printf_fphex.c: New file.
8048
8049 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8050
8051         * manual/stdio.texi: Fix typos.
8052
8053 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
8054
8055         * version.h (VERSION): Bump to 2.1.1.
8056
8057 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
8058
8059         * nis/ypclnt.c: Try only twice to connect to NIS server.
8060
8061 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8062
8063         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
8064
8065 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8066
8067         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
8068         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
8069         * stdlib/strtold.c: Moved to ...
8070         * sysdeps/generic/strtold.c: ... here.
8071         * sysdeps/m68k/strtold.c: New file.
8072
8073 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8074
8075         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
8076         point if the precision is zero, even if the mantissa is non-zero.
8077
8078 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8079
8080         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
8081         arguments into the request message buffer inside `send_rpc'
8082         subfunction.  We must repeat the marshalling when retrying the RPC
8083         after a SIGTTOU delivery.
8084
8085         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
8086         path when there is no ctty port.
8087         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
8088         Move sigstate check inside loop so we recheck after handling a signal.
8089
8090 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8091
8092         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
8093         O_EXLOCK are BSD extensions.
8094         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
8095
8096 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
8097
8098         * manual/signal.texi (Termination in Handler): Correct example.
8099         Install default handler before reraising the signal.
8100         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
8101
8102 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
8103
8104         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
8105         null, in which case send an empty string.
8106
8107 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
8108
8109         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
8110         backward compatibility EH functions to be linked when using
8111         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
8112
8113 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8114
8115         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
8116         /dev/pts status may change during runtime.
8117
8118 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8119
8120         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
8121         change.  /dev/pts status can change during runtime.
8122
8123 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
8124
8125         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
8126         poll reports error.
8127         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
8128         add some more sanity checks.
8129         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
8130         parser prototype.
8131
8132 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
8133
8134         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
8135         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
8136         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
8137         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
8138         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
8139         for x_getint32.
8140         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
8141         * nis/nis_print.c: Fix ctime argument for platforms where
8142         sizeof (time_t) != sizeof (int).
8143
8144 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
8145
8146         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
8147         CLOCKS_PER_SEC instead of CLK_TCK.
8148
8149 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
8150
8151         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
8152         whether /dev/pts is available.
8153         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
8154         dev_pts_available.
8155
8156         * posix/globtest.sh: Make common_objpfx path absolute and and db2
8157         and hesiod directory to library path [PR libc/1007].
8158
8159 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8160
8161         * resolv/inet_addr.c (inet_aton): Don't allow componets >
8162         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
8163
8164 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
8165
8166         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8167         DT_PLTGOT has already been relocated.
8168         (__elf_machine_fixup_plt): Likewise.
8169         Minor cleanups.
8170
8171 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
8172
8173         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
8174
8175 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
8176
8177         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
8178         and fold string to uppercase [PR libc/1005].
8179
8180 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8181
8182         * elf/dl-load.c (lose): Fix return type.
8183
8184 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
8185
8186         * sysdeps/mach/hurd/bits/fcntl.h
8187         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
8188         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
8189         set O_NOTRANS as well.
8190         (__hurd_file_name_lookup_retry): At successful end of lookup,
8191         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
8192         it is a translated node not owned by root.
8193         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
8194         on the file name passed to LOOKUP.
8195
8196 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
8197
8198         * manual/time.texi (High Resolution Timer): Correct computation in
8199         example.  Reported by jjf@devel.cemsys.com.
8200
8201 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
8202
8203         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
8204         entry is already relocated.
8205
8206 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8207
8208         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
8209         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
8210
8211 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8212
8213         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
8214         uc_link which is the right name according to Unix98.
8215         Reported by Craig Metz [PR libc/1001].
8216         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
8217         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
8218         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
8219         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
8220         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
8221         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
8222
8223 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8224
8225         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
8226         @ifinfo.
8227
8228 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8229
8230         * iconvdata/Makefile: Always include iconv-rules, but disable rule
8231         to regenerate it if avoid-generated.
8232
8233         * Makeconfig: Always include sys-dirs, but disable rule to
8234         regenerate it when avoid-generated.
8235
8236         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
8237         rule to generate sysd-syscalls.
8238
8239         * elf/Makefile (generated): Remove $(objpfx) from names.
8240
8241 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
8242
8243         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
8244         actual length if the adress length is smaller than the input
8245         value.  Change type of *LEN paramater to socklen_t.
8246         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
8247         * sysdeps/mach/hurd/accept.c (accept): Likewise.
8248         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
8249         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
8250         paramater to socklen_t.
8251
8252 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
8253
8254         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
8255         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
8256         with the RPC.
8257
8258 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
8259
8260         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
8261         __get_phys_pages): Cast &HBI to silence warning.
8262
8263         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
8264         * hurd/hurdchdir.c: New file.
8265         * hurd/hurdfchdir.c: New file.
8266         * sysdeps/mach/hurd/chroot.c: Call
8267         _hurd_change_directory_port_from_name to do the work.
8268         * sysdeps/mach/hurd/chdir.c: Likewise.
8269         * sysdeps/mach/hurd/fchdir.c: Call
8270         _hurd_change_directory_port_from_fd to do the work.
8271         * hurd/fchroot.c: Likewise.
8272         * hurd/hurd.h: Declare them.
8273
8274 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
8275
8276         * elf/dl-load.c (lose): Add more comments to explain the `why'.
8277         (_dl_map_object): Remove redundant test.
8278
8279 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
8280
8281         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
8282         try to _hurd_port_free a lower-numbered descriptor that was not in any
8283         fd_set.
8284
8285 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8286
8287         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
8288         declaration for ____wcstod_l_internal.
8289
8290         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
8291         __strtod_internal prototype.
8292         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
8293         (____strtold_l_internal): Add prototype declaration.
8294         (__strtold_l): Call correct function.
8295
8296 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
8297
8298         * elf/elf.h: Add 32bit HPPA definitions.
8299
8300 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8301
8302         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
8303         non-checked heap is restored when malloc checking was requested by
8304         the user.
8305         (struct malloc_state): Add using_malloc_checking.
8306         (MALLOC_STATE_VERSION): Increment minor.
8307         (using_malloc_checking, disallow_malloc_check): New variables.
8308         (__malloc_check_init): Use them.
8309         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
8310         that it can the chunk is properly instrumented when malloc
8311         checking is enabled.  Set the new using_malloc_checking field.
8312         (malloc_hook_ini): Correct signature when _LIBC is not defined.
8313
8314 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8315
8316         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8317         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
8318         time.
8319
8320         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
8321         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
8322         if ld.so is the main program.
8323
8324 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
8325
8326         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
8327         large for work_buffer, allocate new buffer.
8328         (printf_unknown): Likewise.  [PR libc/988]
8329
8330 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
8331
8332         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
8333         instead of stat and fstat.
8334         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8335
8336 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8337
8338         * elf/dl-error.c (_dl_signal_cerror): New function.
8339         (_dl_signal_error): Don't call receiver function.
8340         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
8341         instead of _dl_signal_error when reporting references to undefined
8342         symbols or versions.
8343         (_dl_lookup_versioned_symbol): Likewise.
8344         (_dl_lookup_versioned_symbol_skip): Likewise.
8345         * elf/dl-version.c (match_symbol): Likewise.
8346
8347         * elf/ldsodefs.h: Declare _dl_signal_cerror.
8348
8349 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
8350
8351         * misc/getttyent.c (getttyent): Release lock on stream later to
8352         also protect global variable zapchar.
8353
8354         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
8355         __times [PR libc/990].
8356
8357 1999-02-21  David S. Miller  <davem@redhat.com>
8358
8359         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
8360         parentheses in Feb 2 changes.
8361         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
8362
8363 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8364
8365         * sysdeps/generic/glob.c (glob): Save previous errno.
8366
8367 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
8368
8369         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
8370         lookup functions if it is too small.
8371
8372 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
8373
8374         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
8375         for tracing to the scope lists.
8376         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
8377         DT_SYMTAB is always available according to ELF spec.
8378
8379         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
8380         call test whether there is any scope left.
8381         (_dl_lookup_versioned_symbol_skip): Likewise.
8382
8383         * elf/Makefile (distribute): Add do-lookup.h.
8384         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
8385         * elf/dl-lookup.c: Move do_lookup function in separate file and
8386         include the file twice, for handling versioning and without it.
8387
8388         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
8389         entry is already relocated.
8390         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8391         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8392         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
8393         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8394         Likewise.
8395         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8396         Likewise.
8397         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
8398         Likewise.
8399
8400         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
8401         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
8402         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
8403         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
8404         rel and rela relocations can both happen and skip one test if this
8405         is not possible.
8406         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
8407         appropriately.
8408         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
8409         already relocated.
8410         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
8411         relocated.
8412         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
8413         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
8414         (_dl_map_object): DT_STRTAB entry is already relocated.
8415         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
8416         already relocated.
8417         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
8418         relocated.
8419         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
8420         DT_VERSYM entries are already relocated.
8421         (profile_fixup): Likewise.
8422         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
8423         all users.
8424         (match_symbol): DT_STRTAB entry is already relocated.
8425         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
8426         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
8427         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
8428         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
8429         (find_needed): DT_STRTAB entry is already relocated.
8430         (dl_main): Pass extra argument to elf_get_dynamic_info.
8431         DT_STRTAB entry is already relocated.
8432         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
8433         DT_PLTGOT entries are already relocated.
8434         (elf_machine_rela): Likewise for DT_SYMTAB.
8435         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
8436         relocated.
8437         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8438         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
8439         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8440         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8441         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
8442         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
8443         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
8444         * sysdeps/mips/mips64/dl-machine.h: Likewise.
8445
8446         * grp/initgroups.c (initgroups): If function in current module was
8447         successful don't stop but continue to process to get all the groups.
8448
8449         * elf/dl-load.c (_dl_map_object_from_fd): Use global
8450         _dl_pf_to_proot array to convert p_flags value.
8451         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8452
8453         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
8454         loop to clear `info'.
8455
8456         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
8457         do the work and don't use inline assembler.
8458
8459 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
8460
8461         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
8462         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
8463         noreturn, and prevent it from being inlined.
8464         Define LOSE appropriately.
8465         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
8466         Optimize decoding of p_flags for certain platforms.
8467
8468 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
8469
8470         * Makeconfig (link-libc): When doing a static link, make sure that
8471         libgcc.a is included both before and after libc.a.
8472
8473 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
8474
8475         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
8476         sp_warn, sp_inact, sp_expire and sp_flag.
8477
8478 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
8479
8480         * elf/link.h (link_map): Add l_dev and l_ino.
8481         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
8482         loaded shared object with all loaded objects.  Initialize l_ino
8483         and l_dev in case it's new.
8484         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
8485         object.
8486         * elf/Makefile: Compile and run new test.
8487         * elf/multiload.c: New file.
8488
8489         * nss/nsswitch.h (service_user): Change name field from const char *
8490         to char[0].
8491         (name_database_entry): Likewise.
8492         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
8493         for change of `service_user'.
8494         (nss_getline): Adjust memory allocation for change of
8495         `name_database_entry'.
8496
8497         * catgets/catgets.c: Correctly handle NLSPATH from environment
8498         [PR libc/980].
8499
8500         * io/Makefile (routines): Add lock64.
8501         * io/Versions: Add lockf64 for GLIBC_2.1.1.
8502         * sysdeps/generic/lockf64.c: New file.
8503
8504 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8505
8506         * string/bits/string2.h: Only use strncmp optimization if count
8507         argument is constant.
8508
8509 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
8510
8511         * sysdeps/mach/hurd/revoke.c: New file.
8512
8513 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8514
8515         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
8516         int to avoid warning about `ISO C restricts enumerator values to
8517         range of `int''.
8518
8519 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8520
8521         * elf/dlfcn.h: Fix typo.
8522         * sysdeps/generic/bits/dlfcn.h: Likewise.
8523         * sysdeps/mips/bits/dlfcn.h: Likewise.
8524
8525 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8526
8527         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
8528         for the case N == 0.
8529
8530         * db2/Makefile (distribute): Add LICENSE.
8531
8532 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
8533
8534         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
8535         generated files.
8536
8537         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
8538
8539 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8540
8541         * time/mktime.c: Use ISO C form for function definitions and
8542         remove unnecessary prototypes.
8543
8544         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
8545
8546         * time/time.h: Avoid unneccesary #ifdef.
8547
8548 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
8549
8550         * stdio-common/_itoa.c (_itoa): Correct parameters to
8551         udiv_qrnnd_preinv.
8552
8553 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8554
8555         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
8556         before (e.g. in glob.h).
8557         Closes PR libc/959.
8558
8559 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8560
8561         * sysdeps/mips/fpu_control.h: Fix typo.
8562         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
8563         Remove __setfpucw.
8564
8565 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
8566
8567         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
8568         the "unused" ends of the sockets.  Let pipes be bidirectional.
8569
8570 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8571
8572         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
8573         invalid ai_flags.
8574
8575 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8576
8577         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
8578         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
8579
8580         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
8581         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
8582
8583 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8584
8585         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
8586
8587 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8588
8589         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
8590         check for priority mask.
8591
8592 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
8593
8594         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
8595         Reported by Craig Metz <cmetz@inner.net> .
8596
8597 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8598
8599         * stdio-common/Makefile (tests): tllformat added.
8600
8601         * stdio-common/tllformat.c: New program, based on tiformat.c with
8602         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8603
8604 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8605
8606         * posix/test-vfork.c: Fix exit status test.
8607
8608 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8609
8610         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
8611         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
8612
8613 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8614
8615         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
8616         of separare explicit comparisons.
8617
8618 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8619
8620         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
8621         defined.
8622
8623         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
8624         defined.
8625
8626 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
8627
8628         * po/el.po: Update from translation team.
8629
8630 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8631
8632         * intl/locale.alias: Fix slovenian entry [PR libc/948].
8633
8634 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8635
8636         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
8637         * inet/ruserpass.c: Likewise.
8638         * locale/programs/stringtrans.c: Likewise.
8639         * locale/programs/localedef.c: Likewise.
8640         * nscd/grpcache.c: Likewise.
8641         * nss/nss_files/files-XXX.c: Likewise.
8642         * stdlib/canonicalize.c: Likewise.
8643         * sysdeps/posix/sigwait.c: Likewise.
8644
8645 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8646
8647         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
8648         even on 64 bit platforms.
8649
8650         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8651         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
8652
8653 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
8654
8655         * intl/dcgettext.c: Include locale.h is available.
8656
8657 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
8658
8659         * po/nl.po: Update from translation team.
8660
8661         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
8662
8663         * Makefile: Allow calling goals for po subdir.
8664
8665         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
8666         signal definitions.
8667
8668         * po/el.po: New file.
8669
8670 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8671
8672         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
8673         when processing DT_SYMBOLIC objects.
8674
8675 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8676
8677         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
8678         program headers without PT_PHDR only require that they are
8679         contained within one of the loaded segments.  Don't use assert,
8680         since that would be a bug in the object, not the dynamic linker.
8681
8682 1999-02-08  Richard Henderson  <rth@cygnus.com>
8683
8684         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
8685         restore all call-clobbered fp regs.
8686
8687 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
8688
8689         * po/cs.po: New file.
8690
8691         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
8692         SUID binaries.
8693
8694 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
8695
8696         * signal/signal.h: Don't declare __libc_allocate_rtsig.
8697         * include/signal.h: Declare __libc_allocate_rtsig here.
8698
8699         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
8700         point functions, not do_lookup since the later can be called more
8701         than once.
8702
8703 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
8704
8705         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
8706         macro, so that architectures which need to add some special
8707         offset to stack pointer can share this file.
8708
8709         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
8710         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
8711         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
8712         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
8713
8714         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
8715         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
8716         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
8717         between sparc32 and sparc64.
8718
8719         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
8720         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
8721         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
8722         between sparc32 and sparc64.
8723
8724         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
8725         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
8726         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
8727         between sparc32 and sparc64.
8728
8729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
8730         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
8731         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
8732         between sparc32 and sparc64.
8733
8734 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
8735
8736         * Versions.def: New version GLIBC_2.1.1 for libc.
8737         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
8738         * stdlib/labs.c: Moved to...
8739         * sysdeps/generic/labs.c: ...here.
8740         * stdlib/llabs.c: Moved to...
8741         * sysdeps/generic/llabs.c: ...here.
8742         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
8743         header.  Declare _Exit.
8744         * sysdeps/generic/_exit.c: Add alias _Exit.
8745         * sysdeps/mach/hurd/_exit.c: Likewise.
8746         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
8747         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
8748         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
8749         * sysdeps/unix/_exit.c: Likewise.
8750         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
8751         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
8752         * sysdeps/wordsize-64/inttypes.h: Likewise.
8753         * sysdeps/wordsize-32/llabs.c: New file.
8754         * sysdeps/wordsize-32/lldiv.c: New file.
8755         * sysdeps/wordsize-64/labs.c: New file.
8756         * sysdeps/wordsize-64/ldiv.c: New file.
8757         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
8758         * manual/startup.texi: Document _Exit.
8759
8760 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8761
8762         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
8763
8764 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
8765
8766         * Versions.def: Add versions for ld.so.
8767         * csu/Versions: Remove __libc_stack_end here.
8768         * elf/Versions: Split libc definitions in libc and ld.so definitions.
8769         * elf/Makefile (ld-map): Change to ld.so.map.
8770         * scripts/versions.awk: Recognize dot in library names.
8771
8772         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
8773         Don't use __tolower and __toupper in inline functions.
8774         Add optimizing macros for tolower and toupper.
8775         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
8776         (_toupper): Don't use __toupper.
8777         * ctype/ctype.c (tolower): Don't use __tolower.
8778         (toupper): Don't use toupper.
8779
8780         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
8781
8782         * resolv/Versions (libresolv): Export __ns_name_unpack and
8783         __ns_name_ntop.
8784         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
8785         make it global.  Change all users.  Similar for ns_name_ntop.
8786         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
8787         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
8788         directly to detect too small buffer.
8789         * resolv/nss_dns/dns-network.c: Likewise.
8790
8791         * stdio-common/Makefile (tests): Add scanf12.
8792         * stdio-common/scanf12.c: New file.
8793         * stdio-common/scanf12.input: New file.
8794         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
8795         floating-point correctly if the number is invalid.
8796
8797         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
8798         functions.
8799         * stdio-common/printf_fp.c: Likewise.
8800         * stdio-common/printf_fphex.c: Likewise.
8801         * stdio-common/vfprintf.c: Likewise.
8802
8803
8804 See ChangeLog.9 for earlier changes.