ccf137f68ec6dae6fd2eb1d14ca13c516474e56f
[platform/upstream/glibc.git] / ChangeLog
1 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
2
3         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
4         characters >= 0x80.
5         (_nl_C_LC_CTYPE_class32): Likewise.
6
7         * rt/aio.h (struct aioinit): Replace one aio_reserved value with
8         aio_idle_time.
9         * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
10         after the operation is done.  Let them linger for a user-definable
11         time.
12         * rt/aio_cancel.c: Likewise.
13         Patch by Willian M Shubert <william.m.shubert@intel.com>.
14
15         * sysdeps/i386/i686/add_n.S: New file.
16
17 2000-01-02  Philip Blundell  <philb@gnu.org>
18
19         * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
20         to obtain port mapping information.  Avoid use of mprotect.
21
22 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
23
24         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
25         definition from 2.3.36.
26
27 2000-01-04  Andreas Jaeger  <aj@suse.de>
28
29         * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
30         (struct db27): Add missing fields byteswapped, join and flags;
31         remove wrong member handleq.
32         (struct dbc27): Correct lock field.
33
34         * nss/makedb.c: Remove __P.
35
36 2000-01-04  Andreas Jaeger  <aj@suse.de>
37
38         * nss/nss_db/db-open.c (internal_setent): Check for db_open for
39         success, fix a memory leak and clean up function.
40
41 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
42
43         * Makefile (install): Pass $(install_root) to ldconfig.
44         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
45
46 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
47
48         * soft-fp/op-1.h: Fix division for machines using not normalizing
49         version of udiv_qrnnd in longlong.h.
50         * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
51         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
52         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
53         Patch by Eddie C. Dost <ecd@skynet.be>.
54
55         * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
56
57 2000-01-03  Andreas Schwab  <schwab@suse.de>
58
59         * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
60         needed for change in common symbol handing in newer binutils.
61
62 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
63
64         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
65         kernel without mmap2 syscall.
66
67 2000-01-03  Philip Blundell  <philb@gnu.org>
68
69         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
70         __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
71         ARM for kernels >= 2.3.35.
72
73 2000-01-03  Philip Blundell  <philb@gnu.org>
74
75         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
76         Optimise error handling a little.
77         * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
78
79 2000-01-03  Andreas Jaeger  <aj@suse.de>
80
81         * include/resolv.h: Remove declarations for __ns_name_ntop and
82         __ns_name_unpack since those are available in resolv/arpa/nameser.h.
83
84 2000-01-03  Andreas Jaeger  <aj@suse.de>
85
86         * time/tst-strptime.c (test_tm): Add tests for all fields of
87         struct tm.
88
89 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
90
91         * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
92
93 2000-01-03  Andreas Jaeger  <aj@suse.de>
94
95         * string/tester.c (test_strsep): Add one more test.
96
97 2000-01-03  Philip Blundell  <philb@gnu.org>
98
99         * string/tester.c (test_mempcpy): New function.
100         (main): Call it.
101         (test_memcpy): Test unaligned cases too.
102
103         * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
104
105         * sysdeps/arm/fpu/bits/mathdef.h: New file.
106
107 2000-01-02  Ulrich Drepper  <drepper@cygnus.com>
108
109         * posix/Makefile (tests): Add tst-mmap.
110         * posix/tst-mmap.c: New file.
111
112         * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
113         call before handling error.
114
115         * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
116         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
117
118         * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
119         0xa2e6 and 0xa2e7.
120         (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
121         * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
122         mappings.
123         * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
124         * iconvdata/testdata/ISO-2022-KR: Likewise.
125
126         * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
127
128         * iconvdata/gconv-modules: Remove BALTIC.  It's the same as
129         ISO-8859-13.
130         * iconvdata/Makefile (distribute): Remove baltic.c.
131         (modules): Remove BALTIC.
132         (gen-8bit-gap-modules): Remove baltic.
133         * iconvdata/baltic.c: Removed.
134
135         * sysdeps/posix/system.c: Correct return value for LINE == NULL.
136
137         * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
138
139         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
140         typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
141         Reported by Philip Blundell <Philip.Blundell@pobox.com>.
142
143         * nss/Makefile: Add rules to build makedb.
144         * nss/nss_db/nss_db.h: Add definitions needed for makedb.
145         * nss/nss_db/dummy-db.h: Likewise.
146         * nss/makedb.c: New file.  Copied from file in db2, modified to not
147         depend on being linked against libdb.
148
149 2000-01-01  Ulrich Drepper  <drepper@cygnus.com>
150
151         * Makeconfig (all-subdirs): Remove db and db2.
152         * db/*: Removed.
153         * db2/*: Removed.
154
155         * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
156         functions from here...
157         * nss/db-alias.c: ...and here...
158         * nss/db-netgrp.c: ...and here...
159         * nss/nss_db/db-open.c: ...to here.  New file.
160         * nss/nss_db/dummy-db.h: New file.
161         * nss/nss_db/nss_db.h: New file.
162         * nss/Depend: Depend in dlfcn, not db2.
163         * nss/Makefile (libnss_db-routines): Add db-open.
164         (distribute): Add nss_db.h dummy-db.h.
165         (libnss_db.so): Replace libdb dependency by $(libdl).
166         Based on a patch by Zack Weinberg.
167
168         * locale/programs/ld-ctype.c: Implement rest of transliteration
169         definition parsing.
170         * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
171         * locale/programs/locfile-token.h: Add tok_translit_ignore.
172
173 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
174
175         * locale/programs/ld-collate.c (collate_output): Emit correct
176         information for collation elements.
177         Don't write over end of array idx.
178         * posix/regex.c: Handle also collation elements at end of range.
179
180         * posix/PTESTS: Fix a few typos.
181
182         * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
183         no idea where this came from.
184         * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
185
186 1999-12-31  Andreas Jaeger  <aj@suse.de>
187
188         * libio/strfile.h: Remove K&R compatibility.
189         * locale/langinfo.h: Likewise.
190         * locale/localeconv.c (localeconv): Likewise.
191         * locale/programs/simple-hash.h: Likewise.
192         * nis/nis_xdr.h: Likewise.
193         * nis/rpcsvc/nislib.h: Likewise.
194         * nis/rpcsvc/nis_callback.h: Likewise.
195         * nis/rpcsvc/nis.h: Likewise.
196         * nis/ypclnt.c: Likewise.
197         * nscd/nscd_proto.h: Likewise.
198         * nscd/nscd.c: Likewise.
199         * sysdeps/generic/inttypes.h: Likewise.
200         * sysdeps/gnu/utmpx.h: Likewise.
201
202         * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
203         * sunrpc/rpcsvc/rusers.x: Likewise.
204
205         * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
206
207         * elf/dl-misc.c: Remove __libc_write prototype since it's already
208         in include/unistd.h.
209         * elf/dl-profile.c: Likewise.
210         * elf/dl-load.c: Likewise for __libc_read.
211
212         * elf/dl-profile.c: Remove __P.
213         * elf/sprof.c: Likewise.
214         * elf/sln.c: Likewise.
215
216 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
217
218         * locale/langinfo.h: Add constants for wide character collation
219         symbol table.
220         * locale/categories.def: Add appropriate entries for collate symbol
221         table entries.
222         * locale/C-collate.c: Add initializers for new entries.
223         Remove commented out code.
224         * locale/elem-hash.h: New file.
225         * locale/Makefile (distribute): Add elem-hash.h.
226         * locale/programs/ld-collate.c: Implement output of collate symbol
227         table.
228
229         * posix/regex.c: Implement collation class handling.
230
231 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
232
233         * posix/regex.c (regex_compile): Implement equivalence class handling.
234
235 1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>
236
237         * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
238         (OPCODE_LWZU): New macro.
239         (OPCODE_ADDIS_HI): New macro.
240         (OPCODE_LIS_HI): New macro.
241         (__elf_machine_runtime_setup): Change PLT code-generation scheme
242         for thread safety even with very large PLTs, better efficiency,
243         and to fix a cache-flushing bug.  Also support the Motorola
244         8xx processors which have a different cache line size than all
245         the others.
246         (__elf_machine_fixup_plt): Likewise.
247         (__process_machine_rela): Don't use elf_machine_fixup_plt.
248
249 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
250
251         * wcsmbs/wcscoll.c: Use multibyte character version.
252         * wcsmbs/wcsxfrm.c: Likewise.
253         * string/strcoll.c: Prepare to be used for the wide character version.
254         * string/strxfrm.c: Likewise.
255         * locale/weightwc.h: New file.
256
257 1999-12-30  Geoff Keating  <geoffk@cygnus.com>
258
259         * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
260         the (void) casts as now feraiseexcept returns a value.
261         (feclearexcept): Likewise.
262
263         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
264         it interferes with the macros for AIX.
265
266 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
267
268         * locale/programs/ld-collate.c (collate_finish): Always define
269         weight for UNDEFINED if not defined by the user but don't complain
270         unless it is needed in the multibyte character table.
271         (collate_output): Add extra dummy elements in wide char tables in the
272         same way done for multibyte.  Always output undefined entry in
273         wide character table.
274
275         * locale/Makefile (categories): Remove commented-out old definition.
276
277         * locale/programs/ld-collate.c (insert_value): Don't pass wide string
278         to new_element if the wide char is not valid.
279         (handle_ellipsis): Likewise.
280         (collate_read): It's no problem if the string in the collating element
281         definition cannot be represented as multibyte or wide char string.
282
283 1999-12-13  Andreas Jaeger  <aj@suse.de>
284
285         * resolv/resolv.h: Remove K&R compatibility.
286
287         * resolv/res_libc.c: Move definition of _res after res_init,
288         res_init should use the threaded specific context.
289
290         * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
291         needed anymore.
292
293 1999-12-29  Ulrich Drepper  <drepper@cygnus.com>
294
295         * locale/langinfo.h: Add constants for wide character collation data.
296         * locale/categories.def: Add appropriate entries for collate entries.
297         * locale/C-collate.c: Add initializers for new entries.
298         * locale/programs/ld-collate.c: Implement output of wide character
299         tables.
300
301         * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
302         compute wide character table size a bit: it now gives up a bit of
303         total table size for fewer levels.
304
305         * soft-fp/*: Tons of new files to implement floating-point arithmetic
306         in software.
307         Contributed by Richard Henderson, Jakub Jelinek and others.
308
309 1999-12-29  Andreas Jaeger  <aj@suse.de>
310
311         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
312         <asm/io.h>; remove K&R compatibility; add missing ints.
313
314         * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
315         add missing ints.
316
317         * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
318
319 1999-12-29  Andreas Jaeger  <aj@suse.de>
320
321         * manual/getopt.texi (Using Getopt): Document ordering of options.
322
323 1999-12-29  Andreas Jaeger  <aj@suse.de>
324
325         * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
326         Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
327
328 1999-12-14  Andreas Jaeger  <aj@suse.de>
329
330         * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
331         2.3.32.
332
333 1999-12-28  Jakub Jelinek  <jakub@redhat.com>
334
335         * elf/sprof.c (load_shobj): Fix error message.
336         (generate_call_graph): Cast %*s length argument to int.
337         * locale/programs/localedef.c (construct_output_path): Likewise.
338         * locale/programs/ld-ctype.c (ctype_finish): Use proper format
339         specifier.
340         (ctype_class_new): Likewise.
341         * locale/programs/ld-time.c (time_finish): Likewise.
342         * sunrpc/svc_simple.c (register_rpc): Likewise.
343         * nscd/connections.c (nscd_run, start_threads): Use long instead of
344         int to avoid cast warnings.
345         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
346         warning.
347         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
348         variable se.
349
350         * time/strftime.c (my_strftime): Provide wide era string when
351         requested.
352
353         * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
354         Separate into 32bit and 64bit versions.
355
356 1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
357
358         * iconvdata/Makefile (modules): Add ISO-2022-CN.
359         Add link rules for this module.
360         (distribute): Add iso-2022-cn.c and cns11643l2.h.
361         * iconvdata/cns11643l2.h: New file.
362         * iconvdata/iso-2022-cn.c: New file.
363         * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
364
365         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
366         unsigned.
367         (ucs4_to_cns11643l1): Likewise.
368         * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
369
370         * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
371         loop to UCS4.
372         Optimize recognition of escape sequences a bit.
373
374         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
375         and oldsetrlimit definitions.
376
377 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
378
379         * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
380         identifying errors more easily.
381
382         * iconvdata/testdata/EUC-CN..UTF8: New file.
383         * iconvdata/testdata/GBK..UTF8: New file.
384
385         * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
386         mappings.  Fix last patch.
387         * iconvdata/TESTS: Add GBK.
388         * iconvdata/testdata/GBK: New file.
389
390         * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
391         0x2312, and 0x2500..0x254b.
392         * iconvdata/TESTS: Add EUC-CN.
393         * iconvdata/testdata/EUC-CN: New file.
394
395         * iconvdata/gbgbk.c: New file.
396         * iconvdata/Makefile (modules): Add GBGBK.
397         (distribute): Add gbgbk.c.
398         * iconvdata/gconv-modules: Add entries for GBGBK modules.
399
400         * iconvdata/euc-cn.c: Fix comment.
401
402         * iconvdata/gbk.c: Optimize the switch statement in the conversion
403         to GBK a bit.
404
405         * locale/programs/charmap.c (charmap_new_char): Recognize special
406         character names Uxxxx and Pxxxx and initialize the UCS4 value from
407         the value of xxxx.
408
409 1999-12-17  Andreas Jaeger  <aj@suse.de>
410
411         * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
412
413 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
414
415         * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
416         * stdlib/exit.h (flavor): Add ef_cxa.
417         (exit_function): Add cxa variant.
418         * stdlib/exit.c (exit): Handle ef_cxa exit functions.
419         * stdlib/cxa_atexit.c: New file.
420         * stdlib/cxa_finalize.c: New file.
421
422 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
423
424         * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
425         Unicode tables.
426
427 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
428
429         * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
430         __have_no_stat64.
431         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
432         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
433
434         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
435         of <asm/resource.h>.
436
437 1999-12-26  Philip Blundell  <philb@gnu.org>
438
439         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
440         argument count for `syscall' to 7.
441         * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
442         with more than five arguments.
443         (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
444
445 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
446
447         * locale/programs/ld-collate.c (collate_output): Don't start with empty
448         extrapool and indirectpool obstacks since we need the offsets to be
449         nonzero.
450         (collate_read): Call load_locale, not find_locale.
451         * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
452         wasn't defined in the file also initialize repertoire if possible.
453         * locale/programs/ld-time.c (time_finish): Fix message string.
454         * locale/programs/linereader.c: Cast parameters of lr_error to
455         correct type to prevnet warning.
456         * locale/programs/localedef.c (load_locale): New file.
457         * locale/programs/localedef.h: Add its prototype.
458         * locale/programs/repertoire.c (repertoire_new_char): Add missing
459         parameters to lr_error call.
460
461         * localedata/Makefile: Enable running tests again.
462         * localedata/tests/test2.def: Adjust syntax to new specification.
463         * localedata/tests/test3.def: Likewise.
464         * localedata/tst-trans.sh: Redirect output of program into file.
465
466         * string/strcoll.c: Fix many error in new implementation to make it
467         pass (at least) the test suite.
468
469         * locale/Makefile: Don't link localedef statically anymore.
470
471         * locale/ld-collate.c (struct element_t): Add field is_character and
472         use it to distinguish real character from collating elements and
473         symbols.
474         (new_element): Take new parameter to initialize is_character.  Change
475         all callers.
476         (handle_ellipsis): Use is_character field to make sure ellipsis is
477         only used with characters.
478         (collate_read): Fix reading of collating elements.
479
480         * string/strxfrm.c: Correct loop end detection and memory access
481         in the little optimization at the end.
482
483         * locale/programs/ld-monetary.c (monetary_finish): Correct code to
484         emit warnings.  Provide default value for mon_decimal_point.
485
486         * locale/programs/ld-collate.c (collate_finish): Don't crash if this
487         category wasn't defined.
488         (collate_output): Likewise.
489
490         * locale/programs/ld-address.c: Don't emit message about not defined
491         category if be_quiet.
492         * locale/programs/ld-ctype.c: Likewise.
493         * locale/programs/ld-identification.c: Likewise.
494         * locale/programs/ld-measurement.c: Likewise.
495         * locale/programs/ld-messages.c: Likewise.
496         * locale/programs/ld-monetary.c: Likewise.
497         * locale/programs/ld-name.c: Likewise.
498         * locale/programs/ld-numeric.c: Likewise.
499         * locale/programs/ld-paper.c: Likewise.
500         * locale/programs/ld-telephone.c: Likewise.
501         * locale/programs/ld-time.c: Likewise.
502
503         * locale/programs/locfile.c (write_locale_data): Correct memory
504         allocation for fname.
505
506 1999-12-25  Ulrich Drepper  <drepper@cygnus.com>
507
508         * locale/programs/ld-collate.c (read_directions): Fix a few messages.
509         (collate_finish): Test that position is used in all sections for
510         a level or in none.
511
512         * string/strxfrm.c: Optimize a bit.  We don't need the highest bit
513         of the index returned by findidx.
514
515         * string/strcoll.c: Complete rewrite for new collate implementation.
516         * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
517         locally.
518
519         * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
520         indirect table.
521         * locale/langinfo.h: Likewise.
522         * locale/categories.def: Likewise.  Remove reference to postload
523         functions.
524         * locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
525         __collate_tablemb, __collate_weightmb, and __collate_extramb.
526         * locale/localeinfo.h: Remove declaration for removed variables above.
527         Remove prototype for _nl_get_era_entry.
528         * locale/weight.h: Complete rewrite for new collate implementation.
529         * locale/programs/ld-collate.c: Many changes to make output file
530         usable in strxfrm/strcoll.
531         * string/strxfrm.c: Complete rewrite for new collate implementation.
532         * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
533         locally.
534
535 1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
536
537         * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
538         transformation values for chars >255.
539         * wctype/wctrans.c: Return pointer unmodified.
540
541 1999-12-24  Ulrich Drepper  <drepper@cygnus.com>
542
543         * sysdeps/posix/system.c (__libc_system): Check whether command
544         processor is available if LINE is NULL.  Don't return immediately
545         if wait call returned with EINTR.
546         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
547
548 1999-12-23  Ulrich Drepper  <drepper@cygnus.com>
549
550         * locale/programs/ld-monetary.c (monetary_finish): Add cast to
551         prevent warning.
552
553         * locale/programs/ld-collate.c: Implement writing out multibyte
554         collation data.
555
556         * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
557         * locale/localeinfo.h: Declare variables only for currently implemented
558         collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
559         * locale/lc-collate.c: Define variables only for currently implemented
560         functionality.
561         * locale/langinfo.h: Define symbols only for currently implemented
562         functionality.
563         * locale/categories.def: Define elements for currently implemented
564         functionality.
565         * locale/C-collate.c: Comment out definitions of arrays with symbol
566         name definitions etc.
567         (_nl_C_LC_COLLATE): Update for currently defined information.
568
569         * intl/libintl.h: Remove dcgettext macro definition.
570         * intl/gettextP.h: Declare _nl_msg_cat_cntr.
571
572         * locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.
573
574         * sysdeps/generic/glob.c (glob): Pass alternate file access functions
575         also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.
576
577 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
578
579         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
580         for __fenv_stfsr argument.
581         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
582         truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
583         Remove ugetrlimit.
584         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
585         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
586         (XSTAT_IS_XSTAT64): Define.
587         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
588         __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
589         and __libc_pwrite64.
590         Remove oldgetrlimit and oldsetrlimit.
591         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
592         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
593         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
594
595         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
596         pointer to the syscall, not address of that pointer.
597         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
598         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
599         (__syscall_stat64): Provide proper prototype.
600
601         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
602         has_no_truncate64 between truncate64 and ftruncate64.
603         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
604
605         * sysdeps/unix/sysv/linux/kernel-features.h
606         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
607         __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
608
609 1999-12-22  Andreas Jaeger  <aj@suse.de>
610
611         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
612         __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
613
614 1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
615
616         * locale/lc-time.c: Extend structure era_entry.
617         * locale/localeinfo.h: Likewise.
618         * locale/lc-time.c: Handle '-' direction used in locale's era part
619         properly.
620         * time/strptime.c: Likewise.
621         * time/strftime.c: Likewise.
622         * locale/programs/ld-time.c: Consider negative values in era part
623         of locale as B.C..
624         * time/strptime.c (strptime_internal): Merged Yoshiyama's
625         %E[CyY] implementation.
626
627 1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>
628
629         * time/strptime.c (strptime_internal): Fix segV bugs of a couple
630         of recursive() call.
631         * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
632         parsing.
633
634 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
635
636         * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
637         Patch by Scott Bambrough <scottb@netwinder.org>.
638
639 1999-12-21  Andreas Schwab  <schwab@suse.de>
640
641         * sysdeps/unix/sysv/linux/pread.c: Fix typo.
642
643         * include/unistd.h: Declare __libc_lseek.
644
645 1999-12-21  Andreas Jaeger  <aj@suse.de>
646
647         * stdlib/longlong.h: Remove __P.
648
649 1999-12-21  Andreas Jaeger  <aj@suse.de>
650
651         * sysdeps/powerpc/fpu/libm-ulps: New file.
652
653 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
654
655         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
656         and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
657
658 1999-12-21  Andreas Jaeger  <aj@suse.de>
659
660         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
661         * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
663         * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
664         * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
665         * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
666         * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
667         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
668         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
669         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
670         * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
671         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
672
673 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
674
675         * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
676         * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
677         * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
678         * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
679         * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
680         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
681         * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
682         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
683         * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
684         * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
685         * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
686         * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
687         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
688         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
689         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
690         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
691         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
692         putpmsg.
693
694 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
695
696         * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
697         before testing for __ASSUME_STAT64_SYSCALL.
698         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
699         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
700
701 1999-12-20  Andreas Schwab  <schwab@suse.de>
702
703         * manual/install.texi (Running make install): Clearify that
704         install_root should be an absolute file name.
705
706 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
707
708         * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
709
710         * iconv/iconv.c (iconv): Allow omitting output buffer if no input
711         buffer is given to place conversion descriptor in initial state.
712         * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
713         CSPC862LATINHEBREW.
714         * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
715         (according to IANA registry).
716         Reported by Bruno Haible <haible@ilog.fr>.
717
718         * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
719
720         * locale/categories.def: Remove most of the collate definitions.
721         * locale/langinfo.h: Comment out corresponding definitions.
722         * locale/programs/locale-spec.c (locale_special): Don't recognize the
723         collate names yet.
724         * locale/programs/ld-collate.c: Correct and optimize computation of
725         weights.  Set up list of all definitions correctly.  Start writing
726         function to generate output file.
727
728         * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
729         loop to compute default mapping.
730
731 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
732
733         * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
734         cancelation wrapper.
735         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
736         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
737         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
738
739 1999-12-19  Andreas Jaeger  <aj@suse.de>
740
741         * sysdeps/generic/libc-start.c: Remove declaration of
742         __libc_open.  Move declaration of __libc_fcntl to ...
743         * include/fcntl.h: ...here.
744
745         * include/unistd.h: Move __libc_open and __libc_open64 to ...
746         * include/fcntl.h: ...here.
747
748         * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
749         happened yet.
750
751         * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
752         rename label.
753
754 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
755
756         * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
757         inclusion.
758
759 1999-12-19  Andreas Jaeger  <aj@suse.de>
760
761         * include/string.h: Mark __strndup with __attribute_malloc__.
762
763 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
764
765         * locale/langinfo.h: Always define CODESET.
766         (CODESET): Define also as macro.
767
768         * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
769         generate mantissa output in using malloc if it is larger than
770         20000 characters.
771         Reported by Jim Meyering <meyering@ascend.com>.
772
773 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
774
775         * misc/sys/cdefs.h: Define __attribute_malloc__ according to
776         available gcc version.
777         * string/string.h: Mark strdup, __strdup, and strndup with
778         __attribute_malloc__.
779         * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
780         __attribute_malloc__.
781         * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
782         and __default_morecore with __attribute_malloc__.
783         Provide default definition for __attribute_malloc__.
784         * libio/stdio.h: Make tempnam with __attribute_malloc__.
785
786         * include/unistd.h: Declare __libc_open64, __libc_lseek64,
787         __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
788         * io/Versions: Export __libc_open64 and __libc_lseek64.
789         * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
790         and __libc_pwrite64.
791         * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
792         wrapper.
793         * sysdeps/generic/pread.c: Likewise.
794         * sysdeps/generic/pread64.c: Likewise.
795         * sysdeps/generic/pwrite.c: Likewise.
796         * sysdeps/generic/pwrite64.c: Likewise.
797         * sysdeps/posix/open64.c: Likewise.
798         * sysdeps/posix/pread.c: Likewise.
799         * sysdeps/posix/pread64.c: Likewise.
800         * sysdeps/posix/pwrite.c: Likewise.
801         * sysdeps/posix/pwrite64.c: Likewise.
802         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
803         * sysdeps/unix/sysv/linux/pread.c: Likewise.
804         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
805         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
806         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
807         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
808         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
809         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
810         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
811
812         * sysdeps/posix/open64.c: Help gcc generating better code.
813
814         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
815         instead of __open.
816
817 1999-12-11  H.J. Lu  <hjl@gnu.org>
818
819         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
820         instead of __fcntl.
821
822 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
823
824         * iconvdata/isiri-3342.c: New file.
825         * iconvdata/Makefile (modules): Add ISIRI-3342.
826         (distribute): Add isiri-3342.c.
827         (gen-8bit-gap-modules): Add isiri-3342.
828         * iconvdata/gconv-modules: Add entries for ISIRI-3342.
829
830         * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
831
832         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
833         result if necessary.
834
835         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
836         unreliable kernel headers.
837         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
838         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
839         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
840         * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
841
842 1999-12-18  Andreas Jaeger  <aj@suse.de>
843
844         * config.make.in (datadir): Added.
845         Closes PR libc/1491. Patch by dervishd@jazzfree.com.
846
847 1999-12-18  Andreas Jaeger  <aj@suse.de>
848
849         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
850         set errno.
851         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
852
853 1999-12-18  Andreas Jaeger  <aj@suse.de>
854
855         * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
856         syscall if available.
857         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
858         * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
859
860         * sysdeps/unix/sysv/linux/kernel-features.h
861         (__ASSUME_STAT64_SYSCALL): New.
862
863 1999-12-17  Scott Bambrough  <scottb@netwinder.org>
864
865         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
866         cache flush.
867         * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
868         after .text segment fixups.
869
870 1999-12-16  Andreas Jaeger  <aj@suse.de>
871
872         * rt/aio.h: Remove erroneous __restrict declarations.
873
874 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
875
876         * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
877         do the job if it is there neither.
878         Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
879
880 1999-12-16  Andreas Jaeger  <aj@suse.de>
881
882         * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
883         duplicate definition with function __nan.
884         Closes PR libc/1487 reported by <diana@kai.com>.
885
886 1999-12-17  Ulrich Drepper  <drepper@cygnus.com>
887
888         * string/bits/string2.h (__strsep): Help gcc optimizing string access.
889
890         * locale/programs/ld-collate.c: Implement handling of absolute
891         ellipsis.  Parsing of file and constructing the internal data
892         structures should now be complete.
893         (collate_finish): Start adding support to generate the data
894         structures which are written out to the file.
895
896         * intl/dcgettext.c: Rewrite to handle caching of previous results here
897         instead of in the dcgettext macro.
898         * intl/libintl.h (dcgettext): Don't define for systems using this
899         glibc or systems with tsearch.
900
901         * sysdeps/generic/mathdef.h: Protect definitions for math.h
902         against double inclusion.
903         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
904         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
905         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
906         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
907
908         * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
909         that different?).
910
911 1999-12-17  Andreas Jaeger  <aj@suse.de>
912
913         * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
914         struct with aiocb.
915
916         * rt/Makefile (tests): Added tst-aio64.
917         Added dependency rules for tst-aio64.
918
919         * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
920         64bit tests.
921
922 1999-12-15  Thorsten Kukuk  <kukuk@suse.de>
923
924         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
925         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
926         * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
927         old value (signed long).
928         * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
929         long RLIM_INFINITY.
930         * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
931         * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
932         * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
933         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
934         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
935         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
936         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
937         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
938         * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
939         * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
940         * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
941         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
942         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
943         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
944         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
945
946 1999-12-17  Andreas Jaeger  <aj@suse.de>
947
948         * elf/ldconfig.c: Add new option -l to manualy link shared
949         libraries.
950         (options): Added option.
951         (parse_opt): Set option.
952         (main): Handle option.
953         (manual_link): New function.
954
955 1999-12-17  Thorsten Kukuk  <kukuk@suse.de>
956
957         * string/bits/string2.h: Fix patch from 1999-12-07.
958
959 1999-12-16  Ulrich Drepper  <drepper@cygnus.com>
960
961         * sysdeps/generic/strsep.c: If delim string has only one character
962         don't run over end of string.
963
964         * locale/programs/ld-collate.c (insert_weights): Also update next
965         pointer of last cursor element.
966         (insert_value): Return nonzero value if nothing got inserted.
967         (handle_ellipsis): Don't do anything if to-value cannot be inserted.
968
969 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
970
971         * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
972         where appropriate.
973
974 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
975
976         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
977         Copy sa_flags into kernel sigaction structure.
978
979 1999-12-14  Andreas Jaeger  <aj@suse.de>
980
981         * string/tester.c (test_strsep): More tests for access beyond
982         the final NUL.  The first two tests come from PR libc/1486 by
983         martinea@iro.umontreal.ca.
984
985 1999-12-14  Thorsten Kukuk  <kukuk@suse.de>
986
987         * nis/ypclnt.c: Correct handling of cached client handles.
988         (__xdr_ypresp_all): Call callback function for errors, too,
989         like Solaris does.
990         * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
991         * nis/nss_compat/compat-initgroups.c: Likewise.
992         * nis/nss_compat/compat-spwd.c: Likewise.
993         * nis/nss_nis/nis-alias.c: Likewise.
994         * nis/nss_nis/nis-ethers.c: Likewise.
995         * nis/nss_nis/nis-grp.c: Likewise.
996         * nis/nss_nis/nis-hosts.c: Likewise.
997         * nis/nss_nis/nis-netgrp.c: Likewise.
998         * nis/nss_nis/nis-publickey.c: Likewise.
999         * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
1000         Map if available, optimize query if name/port and protocol is known.
1001
1002 1999-12-12  Ulrich Drepper  <drepper@cygnus.com>
1003
1004         * locale/programs/ld-collate.c (collate_read): Make symbolic
1005         ellipsis work.  Remove old and unused code.
1006
1007 1999-12-11  Ulrich Drepper  <drepper@cygnus.com>
1008
1009         * locale/programs/ld-collate.c (collate_read): Implement
1010         reorder-section handling.
1011
1012 1999-12-10  Ulrich Drepper  <drepper@cygnus.com>
1013
1014         * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
1015
1016         * locale/programs/ld-collate.c (collate_read): Add handling of
1017         reorder-after.
1018
1019         * locale/programs/ld-collate.c: Many changes to implement parsing
1020         of collation definition (still not complete).
1021
1022 1999-12-09  Andreas Jaeger  <aj@suse.de>
1023
1024         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
1025         errno to ENOENT when returning NSS_STATUS_NOTFOUND.
1026         Reported by Christian Starkjohann <cs@obdev.at>.
1027
1028 1999-12-09  Andreas Jaeger  <aj@suse.de>
1029
1030         * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
1031
1032 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
1033
1034         * stdlib/longlong.h: Update from latest egcs version.
1035
1036         * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
1037
1038         * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
1039         has to preceede __attribute__, otherwise g++ barfs.
1040
1041         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
1042         on sparc64-*-linux.
1043
1044         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
1045         use sigcontext.
1046         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1047
1048 1999-12-05  Wolfram Gloger  <wg@malloc.de>
1049
1050         * malloc/malloc.c (arena_get2): If generating a new arena fails,
1051         try to generate a minimal one and hope for mmap_chunk() to succeed
1052         later.
1053
1054 1999-11-07  Wolfram Gloger  <wg@malloc.de>
1055
1056         * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
1057         mutex_t work as an `in-use' flag even without threads.
1058         * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
1059         for multiple arenas separately from NO_THREADS.
1060         (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
1061         fall back to an mmap()ed arena when sbrk() has failed.
1062
1063 1999-12-09  Ulrich Drepper  <drepper@cygnus.com>
1064
1065         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1066         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1067         * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
1068         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1069         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
1070         oldgetrlimit and oldsetrlimit.
1071         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
1072         oldsetrlimit.
1073         * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
1074         oldsetrlimit rules into 32-bit arch subdirs.
1075         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1076
1077         * locale/programs/ld-collate.c (insert_value): If this is the
1078         first symbol the cursor can be the same as the next pointer.
1079
1080 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
1081
1082         * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
1083         arrays.
1084         (allocate_arrays): Allocate memory for map32.  Correctly install
1085         default values in it and install defined mappings.
1086
1087         * locale/programs/ld-monetary.c (monetary_finish): Provide default
1088         value for mon_grouping.
1089
1090         * elf/readlib.c: Include a.out.h last since the Linux/Alpha
1091         headers are not clean enough.
1092
1093         * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
1094
1095         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1096         __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
1097         on x86.
1098         * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
1099         * sysdeps/unix/sysv/linux/truncate64.c: New file.
1100         * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
1101         * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
1102
1103         * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
1104         * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
1105         * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
1106         _nl_C_LC_CTYPE_tolower32 tables.
1107         Don't compile it names of 14652 classes and maps.
1108         * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
1109         _NL_CTYPE_TOLOWER32.
1110         * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
1111         and __ctype32_tolower.
1112         * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
1113         (ctype_output): Write out map32 values.
1114         (allocate_arrays): Compute mapping tables correctly.
1115         * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
1116         (towupper): Use __ctype32_toupper.
1117         * wctype/wctype.h: Optimize towupper and towlower for values < 256.
1118
1119         * locale/programs/ld-ctype.c (set_class_defaults): Correctly
1120         determine tolower mapping for 8bit table if the tolower keyword is
1121         not given.
1122
1123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
1124         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
1125
1126 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
1127
1128         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
1129         __stpcpy_small): Cast switch expressions to int to shut up compiler
1130         warnings.
1131
1132 1999-12-07  Scott Bambrough <scottb@netwinder.org>
1133
1134         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
1135         relocs if possible.
1136
1137 1999-12-06  Andreas Schwab  <schwab@suse.de>
1138
1139         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
1140         ugetrlimit syscall exists.
1141
1142         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
1143         exported symbols.
1144         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1145
1146 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
1147
1148         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
1149         pointers if character is illegal.
1150         Reported by Bruno Haible <haible@ilog.fr>.
1151
1152         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
1153         (increment_counter): New function.  Broken out of find_derivation.
1154         (find_derivation): No need for a lock.  Increment counter only when
1155         the derivation was already available.
1156         * iconv/gconv_dl.c: Add debugging functions.
1157         (known_compare): We have to use strcmp.
1158         Reported by Bruno Haible <haible@ilog.fr>.
1159
1160 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
1161
1162         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
1163         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
1164         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
1165         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
1166         SHIFT_JIS alias.
1167         Reported by Bruno Haible <haible@ilog.fr>.
1168
1169         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
1170
1171 1999-12-03  Andreas Jaeger  <aj@suse.de>
1172
1173         * nss/getXXbyYY.c: Include <resolv.h>
1174         (FUNCTION_NAME): Use res_ninit instead of res_init.
1175
1176         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
1177         declaration and prototypes.
1178         Remove extra _res declaration.
1179         (INTERNAL): Use thread aware res_ninit function.
1180
1181         * inet/gethstbyad_r.c: Include <resolv.h>.
1182
1183         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
1184         res_libc.c.  Disabled unneeded functions.
1185
1186         * resolv/res_libc.c: New file.
1187
1188         * Versions.def: Add version GLIBC_2.2 for libpthread.
1189         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
1190
1191         * include/resolv.h: Add internal interfaces.
1192
1193         * resolv/Makefile (routines): Add new files.
1194         (libresolv-routines): Likewise.
1195         (distribute): Likewise.
1196
1197         * resolv/gethnamaddr.c: Use thread safe resolver functions.
1198         * resolv/nss_dns/dns-host.c: Likewise.
1199         * resolv/nss_dns/dns-network.c: Likewise.
1200
1201         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
1202         * resolv/nsap_addr.c: Likewise.
1203         * resolv/res_comp.c: Likewise.
1204         * resolv/res_debug.c: Likewise.
1205         * resolv/res_init.c: Likewise.
1206         * resolv/res_mkquery.c: Likewise.
1207         * resolv/res_query.c: Likewise.
1208         * resolv/res_send.c: Likewise.
1209         * resolv/resolv.h: Likewise.
1210
1211         * resolv/Versions: Add __res_state and __res_ninit with version
1212         GLIBC_2.2 to libc.
1213         Add new interfaces with version GLIBC_2.2 to libresolv.
1214
1215         * resolv/Banner: Update.
1216
1217         * include/arpa/nameser_compat.h: New file.
1218
1219         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
1220         * resolv/ns_netint.c: Likewise.
1221         * resolv/ns_parse.c: Likewise.
1222         * resolv/ns_print.c: Likewise.
1223         * resolv/ns_samedomain.c: Likewise.
1224         * resolv/ns_ttl.c: Likewise.
1225         * resolv/arpa/nameser_compat.h: Likewise.
1226         * resolv/res_debug.h: Likewise.
1227
1228         Some patches are based on work done by Adam D. Bradley
1229         <artdodge@cs.bu.edu>.
1230
1231 1999-11-30  Andreas Jaeger  <aj@suse.de>
1232
1233         Add ldconfig:
1234         * elf/Makefile (extra-objs): Added ldconfig-modules.
1235         (ldconfig-modules): New.
1236         Added vpath for xstrdup and xmalloc.
1237         Check for use-ldconfig instead of has-ldconfig.
1238         ($(objpfx)ldconfig): New rule with dependencies.
1239         (distribute): Add new files.
1240
1241         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
1242         developed together with Jakub Jelinek <jakub@redhat.com>.
1243         * sysdeps/generic/readelflib.c: Likewise.
1244
1245         * elf/cache.c: New file.
1246         * elf/ldconfig.c: New file.
1247         * elf/ldconfig.h: New file.
1248         * elf/readlib.c: New file.
1249
1250         * Makefile (install): Remove flag -d in ldconfig call.
1251
1252         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
1253         by default.
1254
1255         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
1256         comment.
1257
1258         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
1259         set always use_ldconfig instead.
1260
1261 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
1262
1263         * sysdeps/generic/bits/stropts.h: Update with LiS types and
1264         values.  Patch by David Grothe <dave@gcom.com>.
1265
1266         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
1267         Make long types.
1268         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1269         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1270         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1271
1272 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
1273
1274         * locale/lc-time.c (_nl_get_era_entry): Separate eras
1275         initialization as _nl_init_era_entry().
1276         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
1277         * locale/lc-time.c (_nl_get_era_year_offset): New function.
1278         * locale/lc-time.c (_nl_get_era_year_start): New function.
1279         * locale/localeinfo.h: Declare new functions.
1280         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
1281         and ERA_W_FORMAT.
1282
1283 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
1284
1285         * posix/regex.c (SYNTAX): Make more portable.
1286         Patch by Aharon Robbins <arnold@skeeve.com>.
1287
1288 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
1289
1290         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
1291         nonzero, use cthread_fork to create the signal thread.
1292         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
1293         _hurd_msgport_thread here (to self).
1294         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
1295         is zero, instead compute child signal thread's starting SP from parent
1296         signal thread's current SP and the threadvar_stack variables.
1297         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
1298         These are now referenced weakly by _hurdsig_init.
1299
1300         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
1301         &_hurd_itimer_thread not &_hurd_msgport_thread.
1302
1303 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
1304
1305         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
1306         without HURD_DPORT_USE to clean up warnings.
1307         * hurd/dtable.c (get_dtable_port): Likewise.
1308
1309         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
1310         (install_ctty): Do the changing of the cttyid port cell here, inside
1311         the critical section while we holding the dtable lock.
1312         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
1313         the port cell and calling rectty_dtable.
1314         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
1315         (install_ctty): Use it inside a critical section, with the lock held.
1316         * sysdeps/mach/hurd/setsid.c (__setsid): Use
1317         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
1318         after proc_setsid, having held the dtable lock throughout.
1319         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
1320         cttyid port for null and bail out early if so.  The dtable lock
1321         serializes us after any cttyid change and its associated dtable update.
1322
1323 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
1324
1325         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
1326         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
1327         We don't install this file for users.
1328         * sysdeps/mach/hurd/Dist: Add it.
1329         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
1330         Append nfs/nfs.h here.
1331
1332 1999-12-01  Andreas Jaeger  <aj@suse.de>
1333
1334         * sysdeps/generic/if_index.c (__protocol_available): Add missing
1335         int for parameter.
1336
1337         * stdio/stdio.h: Fix typo.
1338         Patches by Marcus G. Daniels <mgd@santafe.edu>.
1339
1340 1999-12-01  Andreas Jaeger  <aj@suse.de>
1341
1342         * scripts/test-installation.pl (installation_problem): Filter out
1343         libpthread_db.
1344
1345 1999-12-01  Andreas Schwab  <schwab@suse.de>
1346
1347         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
1348         __rlim_t and __rlim64_t.
1349         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1350         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1351
1352 1999-12-01  Andreas Schwab  <schwab@suse.de>
1353
1354         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1355         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
1356         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1357         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
1358         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
1359         new kernel version.  Add symbol versions.
1360         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
1361         oldgetrlimit.
1362         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1363         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1364         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
1365         and s_ugetrlimit.
1366         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1367         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1368         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1369         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
1370         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
1371         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1372         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
1373         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
1374         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
1375         file.
1376         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
1377         file.
1378
1379 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
1380
1381         * sysdeps/generic/usleep.c: Fix typo.
1382
1383         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
1384
1385         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
1386         itself.
1387
1388         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
1389         _UTSNAME_H.
1390
1391         * malloc/set-freeres.c: Really use already_called variable.
1392
1393         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
1394         function call directly.
1395         * libio/iosetvbuf.c: Likewise.
1396
1397 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
1398
1399         * configure.in: Add AIX 4.3 support.
1400
1401         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
1402         standard was issued in 1992.
1403         Reported by Bruno Haible <haible@ilog.fr>.
1404
1405 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
1406
1407         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
1408         SIGCLD als SIGCHLD.
1409
1410 1999-11-29  Andreas Jaeger  <aj@suse.de>
1411
1412         * manual/time.texi (Basic CPU Time): Better describe wrap around.
1413         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1414
1415 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
1416
1417         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
1418         Patch by Bruno Haible <haible@ilog.fr>.
1419
1420 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
1421
1422         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
1423
1424 1999-11-29  Andreas Schwab  <schwab@suse.de>
1425
1426         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
1427         __v to __bswap_32_v.
1428         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
1429         and __bswap_64_r to avoid clash with __bswap_32 macro.
1430
1431 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
1432
1433         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
1434         gconv-modules.
1435
1436 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
1437
1438         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
1439         patch.  Use wch instead of idx to compute index.
1440         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1441
1442         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
1443
1444         * locale/iso-3166.def: Update from latest official list.
1445
1446 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
1447
1448         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
1449         asm/ptrace.h, since this will not be done with 2.3.xx automatically
1450         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1451
1452 1999-11-26  Andreas Jaeger  <aj@suse.de>
1453
1454         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
1455
1456 1999-11-26  Andreas Jaeger  <aj@suse.de>
1457
1458         * inet/rcmd.c: Include stdlib for declaration of free.
1459         Declare iruserok.
1460
1461 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
1462
1463         * iconv/gconv.c (__gconv): Always initialize
1464         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
1465
1466         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
1467         written bytes.
1468         * iconvdata/iso-2022-jp.c: Likewise.
1469
1470 1999-11-25  H.J. Lu  <hjl@gnu.org>
1471
1472         * stdlib/exit.c (exit): Run funtions only if
1473         __exit_funcs->idx > 0.
1474
1475 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
1476
1477         * manual/charset.texi (iconv Examples): Add iconv call to flush
1478         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
1479
1480 1999-11-25  Andreas Jaeger  <aj@suse.de>
1481
1482         * manual/install.texi (Running make install): Better describe
1483         update from libc5.
1484         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1485
1486 1999-11-25  Andreas Jaeger  <aj@suse.de>
1487
1488         * include/sys/mman.h: Remove K&R compatibility.
1489
1490 1999-11-15  Andreas Jaeger  <aj@suse.de>
1491
1492         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
1493         use __off64_t.
1494
1495 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
1496
1497         * iconv/iconv_prog.c (process_block): For stateful charsets write
1498         out byte sequence to get to initial state at the end of the file.
1499
1500 1999-11-25  Andreas Schwab  <schwab@suse.de>
1501
1502         * Makeconfig: Include sys-dirs and sys-sorted earlier.
1503         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
1504         ($(common-objpfx)sysd-sorted): Emit marker when this file is
1505         complete.
1506
1507 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
1508
1509         * manual/setjmp.texi: Many changes to correct bad English introduced
1510         mainly by me.
1511         * manual/time.texi: Likewise.
1512         Patches by Neil Booth <neil@rosenet.ne.jp>.
1513
1514         * include/string.h: Remove K&R compatibility.
1515
1516 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
1517
1518         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
1519
1520         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
1521
1522         * string/stratcliff.c: Add one more strchr test for something
1523         which was reported to not work (which proofed to be wrong).
1524
1525         * iconv/skeleton.c: It's __is_last, not is_last.
1526
1527         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
1528         the UCS value.
1529         (allocate_arrays): Likewise.
1530         (find_idx): Correctly increase array size.
1531         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1532
1533 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
1534
1535         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
1536         is true.
1537
1538 1999-11-23  Andreas Jaeger  <aj@suse.de>
1539
1540         * include/sys/select.h: Remove K&R compatibility.
1541         * include/sys/statfs.h: Likewise.
1542         * include/gnu/libc-version.h: Likewise.
1543         * include/db_185.h: Likewise.
1544         * include/dlfcn.h: Likewise.
1545         * include/search.h: Likewise.
1546         * include/setjmp.h: Likewise.
1547         * include/signal.h: Likewise.
1548         * include/stdio.h: Likewise.
1549         * include/unistd.h: Likewise.
1550
1551 1999-11-23  Andreas Jaeger  <aj@suse.de>
1552
1553         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
1554         is only need in external header files that might be compiled by a
1555         C++ compiler.
1556         * include/alloca.h: Likewise.
1557         * include/db.h: Likewise.
1558         * include/dirent.h: Likewise.
1559         * include/execinfo.h: Likewise.
1560         * include/fpu_control.h: Likewise.
1561         * include/glob.h: Likewise.
1562         * include/grp.h: Likewise.
1563         * include/libintl.h: Likewise.
1564         * include/math.h: Likewise.
1565         * include/math.h: Likewise.
1566         * include/mntent.h: Likewise.
1567         * include/mntent.h: Likewise.
1568         * include/netdb.h: Likewise.
1569         * include/pwd.h: Likewise.
1570         * include/sched.h: Likewise.
1571         * include/shadow.h: Likewise.
1572         * include/stdlib.h: Likewise.
1573         * include/sys/file.h: Likewise.
1574         * include/sys/gmon.h: Likewise.
1575         * include/sys/ioctl.h: Likewise.
1576         * include/sys/socket.h: Likewise.
1577         * include/sys/stat.h: Likewise.
1578         * include/sys/sysinfo.h: Likewise.
1579         * include/sys/time.h: Likewise.
1580         * include/sys/times.h: Likewise.
1581         * include/sys/uio.h: Likewise.
1582         * include/sys/wait.h: Likewise.
1583         * include/termios.h: Likewise.
1584         * include/time.h: Likewise.
1585         * include/ulimit.h: Likewise.
1586         * include/utmp.h: Likewise.
1587         * include/wchar.h: Likewise.
1588
1589 1999-11-22  Andreas Jaeger  <aj@suse.de>
1590
1591         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
1592         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
1593         libc/1456+1457.
1594
1595 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
1596
1597         * sysdeps/generic/siglist.h: Avoid declaring the same field
1598         twice if SIGPWR is defined to SIGLOST.
1599         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
1600         not signed, so we should not special case it for negative args.
1601         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
1602         memmove, use the one provided in memcpy.S.
1603         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
1604         copies like memmove, while the previous version worked like memcpy.
1605         Implement optimized assembly memmove.
1606         * sysdeps/sparc/sparc64/memmove.c: New file.
1607
1608 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
1609
1610         * po/cs.po: Update from translators.
1611
1612 1999-11-23  Andreas Jaeger  <aj@suse.de>
1613
1614         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
1615         (elf_machine_got): Removed, not needed anymore.
1616         (ELF_MACHINE_RELOC_NOPLT): Removed.
1617         (ELF_MACHINE_JMP_SLOT): Added.
1618         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
1619         (_RTLD_EPILOGUE): Likewise.
1620         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
1621         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1622         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
1623         Ralf Baechle <baechle@uni-koblenz.de>.
1624
1625         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
1626
1627 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
1628
1629         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
1630         name from the locale name.  Only use the value in the LC_CTYPE
1631         locale data file.
1632
1633         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
1634         file be equal to file size.
1635
1636         * stdlib/longlong.h: Add count_trailing_zeros back.
1637
1638         * stdlib/longlong.h: Update from latest egcs version.
1639
1640 1999-11-22  Andreas Jaeger  <aj@suse.de>
1641
1642         * locale/programs/ld-collate.c (insert_value): Correct order of
1643         arguments for lr_error call.
1644
1645         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
1646         __syscall_setrlimit.
1647
1648         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
1649         for key_t.
1650         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1651
1652 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
1653
1654         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
1655         gcc version.
1656
1657         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
1658         14652-style definition of new maps and classes.
1659
1660 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
1661
1662         * locale/programs/ld-monetary.c (monetary_finish): Don't print
1663         individual error message if nothing is defined.
1664
1665         * locale/programs/ld-time.c (time_startup): Test for lr being
1666         nonzero, not time.
1667
1668         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
1669         decimal_point is not defined.
1670
1671         * wctype/wctrans.c (wctrans): Use correct base index to access
1672         extra mapping tables.
1673
1674         * locale/loadlocale.c (_nl_load_locale): Use actual number of
1675         entries from file and not the fixed (minimal number from the
1676         langinfo.h list.
1677
1678         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
1679         values in charmaps.
1680
1681 1999-11-18  Paul Eggert  <eggert@twinsun.com>
1682
1683         * time/strftime.c (my_strftime): Some old compilers object to
1684         '\a', so don't bother optimizing for it.
1685
1686 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
1687
1688         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
1689         the rlimits structure passed in.
1690
1691 1999-11-19  Andreas Jaeger  <aj@suse.de>
1692
1693         * include/sys/resource.h (__setrlimit): Add prototype.
1694
1695 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
1696
1697         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
1698         entries for rtld_search_dirs[0].
1699         Patch by David Mosberger <davidm@hpl.hp.com>.
1700
1701 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
1702
1703         * locale/programs/ld-ctype.c: Don't predefine the character
1704         classes and mappings of ISO 14652.
1705
1706         * locale/programs/ld-ctype.c: Punt if character class definitions
1707         to not consists of tok_bsymbol (for now).
1708
1709         * time/strptime.c (day_of_the_week): Make sure result is never
1710         negative.
1711         (strptime_internal): Allow %C without %y.
1712
1713 1999-11-18  Andreas Jaeger  <aj@suse.de>
1714
1715         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
1716         comments.
1717
1718         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
1719         of defining *_SUPER_MAGIC.
1720         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
1721
1722 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
1723
1724         * locale/programs/locale.c: Don't handle LC_ALL together with the
1725         other categories when printing the value.
1726         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1727
1728         * locale/locale.h: Correct comment about LC_ALL.
1729
1730 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
1731
1732         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
1733         nelems.  Correctly compute index for additional character classes.
1734         (ctype_read): Handle charclass and charconv definitions.  Also
1735         recognize arbitrary strings as mapping names.
1736         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
1737         character era strings.
1738         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
1739         and format for wide characters.
1740         * time/strftime.c: Correctly determine era information for wide
1741         wcsftime.
1742         * wctype/wctrans.c: Fix after removal of second endianess table.
1743         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
1744         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1745
1746         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
1747         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
1748
1749         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
1750         gregset_t, fpregset_t, and NGREG definitions.
1751
1752         * locale/programs/ld-ctype.c: Implement character width information
1753         handling.
1754
1755 1999-11-09  Andreas Jaeger  <aj@suse.de>
1756
1757         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
1758
1759         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
1760         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
1761
1762         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
1763
1764 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
1765
1766         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
1767
1768 1999-11-07  Andreas Jaeger  <aj@suse.de>
1769
1770         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
1771         defines from Linux scsi_ioctl.h header.
1772
1773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
1774         scsi_ioctl.h.
1775         * sysdeps/unix/sysv/linux/Dist: Likewise.
1776
1777         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
1778         pretty printed.
1779
1780         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
1781         sync with Linux 2.3.26.
1782
1783 1999-11-17  Andreas Jaeger  <aj@suse.de>
1784
1785         * shlib-versions: Allow mipsel for libm.
1786         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1787
1788 1999-11-16  Andreas Jaeger  <aj@suse.de>
1789
1790         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
1791
1792 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
1793
1794         * locale/programs/ld-ctype.c (set_class_defaults): Set default
1795         value for alpha and alnum correctly.
1796
1797         * locale/programs/ld-address.c (address_output): Fix output of
1798         country_num.
1799
1800 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
1801
1802         * timezone/asia: Update from tzdata1999j.
1803         * timezone/australasia: Likewise.
1804         * timezone/europe: Likewise.
1805         * timezone/northamerica: Likewise.
1806         * timezone/southamerica: Likewise.
1807         * timezone/zone.tab: Likewise.
1808
1809 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
1810
1811         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
1812         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1813         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
1814         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
1815         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1816
1817 1999-11-15  Andreas Jaeger  <aj@suse.de>
1818
1819         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1820         __syscall_setrlimit.
1821         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1822
1823 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
1824
1825         * scripts/versions.awk: Don't expect to read predecessor versions,
1826         compute them.
1827         * Versions.def: Remove predecessors.  They now get computed.
1828
1829 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
1830
1831         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
1832         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
1833         prototype.
1834         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
1835         * sysdeps/powerpc/stackinfo.h: New file.
1836         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
1837
1838 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
1839
1840         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
1841         GLIBC_2.1.3.
1842
1843 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
1844
1845         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
1846         hurd_directory_name_split.
1847         * Versions.def (libc): Add GLIBC_2.1.3.
1848
1849 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
1850
1851         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
1852         to return the location of the null byte written into the string.
1853         (describe_number): Likewise.
1854         (describe_number): Remove assert, not always used with #.
1855         If FLAVOR is null, don't use it.
1856         (describe_number): Take signed argument and print a - if negative.
1857         (_S_msg_report_wait): Report system call number for system calls that
1858         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
1859         matches SS->intr_port, bracket port description with [...] to indicate
1860         a Hurd interruptible RPC; if destination port is null, examine the
1861         receive port and report that state; if receive port is also null,
1862         check for timeout and report its value.
1863         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
1864         zero iff we managed to examine the stack; take new args RCV_NAME,
1865         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
1866
1867         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
1868         MACH_PORT_DEAD specially.
1869
1870 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
1871
1872         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
1873         (__directory_name_split): New function.
1874         * hurd/hurd.h: Declare them.
1875         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
1876         __file_name_split, so we ignore trailing slashes properly.
1877         * sysdeps/mach/hurd/rename.c: Likewise.
1878
1879 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
1880
1881         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
1882         from current kernel headers.
1883
1884         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
1885         SO_PASSCRED defined.
1886
1887 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
1888
1889         * locale/C-ctype.c: Fix typo in char class name.
1890
1891         * configure.in: Allow user so specify --enable-kernel=current.
1892
1893 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
1894
1895         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
1896
1897         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
1898         i386 version.
1899         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
1900         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1901         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1902         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
1903
1904 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
1905
1906         * intl/locale.alias: Add Estonian entries.
1907         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
1908
1909 1999-11-02  Andreas Jaeger  <aj@suse.de>
1910
1911         * Versions.def: Add version GLIBC_2.2 for libm.
1912         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
1913         fedisableexcept.
1914         * sysdeps/generic/feenablxcpt.c: Stub file.
1915         * sysdeps/generic/fedisblxcpt.c: Stub file.
1916         * sysdeps/generic/fegetexcept.c: Stub file.
1917         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
1918         * sysdeps/i386/fpu/feenablxcpt.c: New file.
1919         * sysdeps/i386/fpu/fegetexcept.c: New file.
1920         * math/Makefile (libm-support): Add new files.
1921         * math/Versions: Add new functions with version GLIBC_2.2.
1922         * manual/arith.texi (Control Functions): Document fegetexcept,
1923         feenableexcept and fedisableexcept.
1924
1925 1999-11-01  Wolfram Gloger  <wg@malloc.de>
1926
1927         * malloc/malloc.h: Describe __malloc_initialize_hook.
1928         * manual/memory.texi: Document __malloc_initialize_hook.
1929
1930 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
1931
1932         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
1933
1934 1999-11-09  Andreas Jaeger  <aj@suse.de>
1935
1936         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
1937         implementation for ttyname_r call; fix inverted condition; return
1938         ut_user.
1939         Closes PR libc/1438.
1940
1941 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
1942
1943         * math/fenv.h: Include bits/fenvinline.h if optimizing.
1944         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
1945         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
1946         * sysdeps/generic/bits/fenv.h: New file.
1947
1948 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
1949
1950         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
1951         printf call.
1952
1953 1999-11-10  Andreas Jaeger  <aj@suse.de>
1954
1955         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
1956
1957 1999-11-10  Andreas Jaeger  <aj@suse.de>
1958
1959         * string/strsignal.c (strsignal): Correct check for snprintf
1960         return value.
1961         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
1962
1963         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
1964         according to changed snprintf return value.
1965         Reported by Lawrence K. Chen <lchen@opentext.com>.
1966
1967         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
1968         for ecvt_r and fcvt_r.
1969
1970 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
1971
1972         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
1973         directory with the reference since this is as secure as using the
1974         object with the dependency.
1975         (_dl_dst_substitute): Likewise.
1976
1977         * elf/dl-load.c (_dl_dst_count): Change strings in first two
1978         strncmp calls to allow reuse.
1979         (_dl_dst_substitute): Likewise.
1980
1981 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
1982
1983         * posix/regex.c (init_syntax_once): move below definition of
1984         ISALNUM etc., then use ISALNUM to init the table, so that
1985         the word ops will work if i18n'ed.
1986         (SYNTAX): And subscript with 0xFF for 8bit character sets.
1987
1988 1999-11-09  Andreas Jaeger  <aj@suse.de>
1989
1990         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
1991         implementation for ttyname_r call; fix inverted condition; return
1992         ut_user.  Closes PR libc/1438.
1993
1994 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
1995
1996         * timezone/checktab.awk: Update from tzcode1999h.
1997         * timezone/africa: Update from tzdata1999i.
1998         * timezone/asia: Likewise.
1999         * timezone/australasia: Likewise.
2000         * timezone/backward: Likewise.
2001         * timezone/europe: Likewise.
2002         * timezone/northamerica: Likewise.
2003         * timezone/southamerica: Likewise.
2004         * timezone/iso3166.tab: Likewise.
2005         * timezone/zone.tab: Likewise.
2006
2007         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
2008         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
2009
2010 1999-11-09  Andreas Jaeger  <aj@suse.de>
2011
2012         * posix/Makefile (tests): Added tst-getlogin.
2013
2014         * posix/tst-getlogin.c: New file, contains simple tests for
2015         getlogin and getlogin_r.
2016
2017 1999-11-09  Andreas Schwab  <schwab@suse.de>
2018
2019         * misc/syslog.c: For LOG_PERROR only append a newline if
2020         necessary.
2021
2022 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
2023
2024         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
2025         definitions.
2026
2027 1999-11-08  Andreas Jaeger  <aj@suse.de>
2028
2029         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
2030         this fixes a memory leak (closes PR libc/1435).
2031
2032         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
2033         reflect memory allocation.
2034
2035         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
2036         allocation in _nl_explode_name.
2037
2038 1999-11-06  Andreas Jaeger  <aj@suse.de>
2039
2040         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
2041         to initialize it.
2042         Reported by wes@surety.com, closes PR libc/1432.
2043
2044 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
2045
2046         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
2047         enumerator lists (-pedantic complains).
2048         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
2049         test for 'one bit set'.
2050         (feclearexcept): Likewise.
2051
2052 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
2053
2054         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
2055
2056         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
2057         for kernel changes.
2058         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
2059         unsigned.
2060
2061 1999-10-04  Tim Waugh  <twaugh@redhat.com>
2062
2063         * posix/wordexp-test.c: More tests.
2064
2065         * posix/wordexp.c (wordexp): Explicit null words should be kept.
2066
2067 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2068
2069         * locale/programs/linereader.c (get_string): Correct type of buf2
2070         variable.
2071         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
2072         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
2073         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
2074         _NL_CTYPE_OUTDIGIT*_WC.
2075         (allocate_arrays): Completely initialize mapping tables.
2076         * locale/programs/ld-time.c (time_startup): We need the wide car
2077         string.
2078         (time_finish): Correct handling of era.
2079         (time_output): Fix a few array indeces.
2080         (time_read): Pass the repertoire map to lr_token.
2081
2082 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
2083
2084         * Versions.def: Add version for libthread_db.
2085
2086 1999-11-02  Andreas Jaeger  <aj@suse.de>
2087
2088         * manual/header.texi (Library Summary): The command @indexfonts
2089         doesn't exist anymore, use @smallfonts instead.
2090
2091 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
2092
2093         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
2094         instead of duplicating definitions.
2095
2096 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
2097
2098         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
2099         by the debugger.
2100         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2101         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
2102         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2103         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2104         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2105
2106 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
2107
2108         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
2109
2110         * sysdeps/unix/sysv/linux/kernel-features.h
2111         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
2112         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
2113
2114         * manual/texinfo.tex: Updated.
2115
2116 1999-11-01  Andreas Jaeger  <aj@suse.de>
2117
2118         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
2119
2120         * inet/gethstbynm2_r.c: Reorder addresses.
2121
2122 1999-09-11  Paul Eggert  <eggert@twinsun.com>
2123
2124         * posix/glob.h (glob): If #defining to glob64, do this before
2125         declaring it, so that all declarations and uses match, and do not
2126         declare glob64, to avoid a declaration clash.
2127         (globfree): Likewise with globfree64.
2128
2129 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2130
2131         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
2132         Keep the trailing slash unless DIRNAME is just "x:/".
2133
2134 1999-10-11  Andreas Jaeger  <aj@suse.de>
2135
2136         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
2137         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2138         Closes PR libc/1384.
2139
2140 1999-10-20  Andreas Schwab  <schwab@suse.de>
2141
2142         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
2143         (generated): Add it here.
2144         (before-compile): Add libm-test.c.
2145         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
2146         libm-test.stmp.
2147         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
2148         $(objdir)/math/.
2149
2150 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
2151
2152         * Makefile (pdf): New goal.
2153         * manual/Makefile: Add definitions and rules for PDF generation.
2154
2155         * Versions.def (libm): Add GLIBC_2.1.3.
2156
2157         ISO C99 TR1 changes various fe* functions to return an error value.
2158         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
2159         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
2160         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
2161         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2162         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2163         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2164         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2165         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2166         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2167         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2168         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2169         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2170         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2171         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2172         * sysdeps/generic/fclrexcpt.c: Likewise.
2173         * sysdeps/generic/fegetenv.c: Likewise.
2174         * sysdeps/generic/fesetenv.c: Likewise.
2175         * sysdeps/generic/feupdateenv.c: Likewise.
2176         * sysdeps/generic/fgetexcptflg.c: Likewise.
2177         * sysdeps/generic/fraiseexcpt.c: Likewise.
2178         * sysdeps/generic/fsetexcptflg.c: Likewise.
2179         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2180         * sysdeps/i386/fpu/fegetenv.c: Likewise.
2181         * sysdeps/i386/fpu/fesetenv.c: Likewise.
2182         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2183         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2184         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2185         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2186         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2187         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2188         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2189         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2190         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2191         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2192         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2193         * sysdeps/mips/fclrexcpt.c: Likewise.
2194         * sysdeps/mips/fegetenv.c: Likewise.
2195         * sysdeps/mips/fesetenv.c: Likewise.
2196         * sysdeps/mips/feupdateenv.c: Likewise.
2197         * sysdeps/mips/fgetexcptflg.c: Likewise.
2198         * sysdeps/powerpc/fclrexcpt.c: Likewise.
2199         * sysdeps/powerpc/fegetenv.c: Likewise.
2200         * sysdeps/powerpc/fesetenv.c: Likewise.
2201         * sysdeps/powerpc/feupdateenv.c: Likewise.
2202         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
2203         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
2204         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
2205         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
2206         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2207         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2208         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2209         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2210         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2211         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2212         * math/fenv.h: Adjust prototypes.: Likewise.
2213         * manual/arith.texi: Adjust documentation for these changes.
2214
2215         * manual/arith.texi: Document feraiseexcept.
2216
2217         * sysdeps/powerpc/fegetenv.c: Moved to...
2218         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
2219         * sysdeps/powerpc/fegetround.c: Moved to...
2220         * sysdeps/powerpc/fpu/fegetround.c: ...here.
2221         * sysdeps/powerpc/feholdexcpt.c: Moved to...
2222         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
2223         * sysdeps/powerpc/fesetenv.c: Moved to...
2224         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
2225         * sysdeps/powerpc/fenv_libc.h: Moved to...
2226         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
2227         * sysdeps/powerpc/feupdateenv.c: Moved to...
2228         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
2229         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
2230         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
2231         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
2232         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
2233         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
2234         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
2235         * sysdeps/powerpc/ftestexcept.c: Moved to...
2236         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
2237         * sysdeps/powerpc/fesetround.c: Moved to...
2238         * sysdeps/powerpc/fpu/fesetround.c: ...here
2239         * sysdeps/powerpc/fenv_const.c: Moved to...
2240         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
2241
2242         * sysdeps/mips/fclrexcpt.c: Moved to...
2243         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
2244         * sysdeps/mips/fegetenv.c: Moved to...
2245         * sysdeps/mips/fpu/fegetenv.c: ...here.
2246         * sysdeps/mips/fegetround.c: Moved to...
2247         * sysdeps/mips/fpu/fegetround.c: ...here.
2248         * sysdeps/mips/fesetenv.c: Moved to...
2249         * sysdeps/mips/fpu/fesetenv.c: ...here.
2250         * sysdeps/mips/fesetround.c: Moved to...
2251         * sysdeps/mips/fpu/fesetround.c: ...here.
2252         * sysdeps/mips/feupdateenv.c: Moved to...
2253         * sysdeps/mips/fpu/feupdateenv.c: ...here.
2254         * sysdeps/mips/fgetexcptflg.c: Moved to...
2255         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
2256         * sysdeps/mips/ftestexcept.c: Moved to...
2257         * sysdeps/mips/fpu/ftestexcept.c: ...here.
2258
2259 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
2260
2261         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
2262         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
2263         libraries from statically linked programs.
2264         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
2265         fix for sigaction on SPARC.
2266         Patches by David S. Miller <davem@redhat.com>.
2267
2268         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
2269         gregset_t and other required structures and defines for SPARC 64bit
2270         ABI as well, not only 32bit ABI.
2271
2272 1999-10-31  Andreas Jaeger  <aj@suse.de>
2273
2274         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
2275         by __USE_ISOC99 and update comments.
2276
2277         * math/complex.h: Update comments for ISO C99.
2278         * math/fenv.h: Likewise.
2279         * math/test-fenv.c: Likewise.
2280         * math/tgmath.h: Likewise.
2281         * libio/stdio.h: Likewise.
2282         * posix/sys/types.h: Likewise.
2283         * sysdeps/generic/inttypes.h: Likewise.
2284         * sysdeps/generic/stdint.h: Likewise.
2285
2286 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
2287
2288         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
2289
2290         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
2291         recognize _ISOC99_SOURCE.
2292         * libio/stdio.h: Likewise.
2293         * math/math.h: Likewise.
2294         * math/bits/mathcalls.h: Likewise.
2295         * math/stdio.h: Likewise.
2296         * stdlib/stdlib.h: Likewise.
2297         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2298         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2299         * sysdeps/arm/bits/huge_val.h: Likewise.
2300         * sysdeps/generic/bits/mathdef.h: Likewise.
2301         * sysdeps/i386/bits/huge_val.h: Likewise.
2302         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2303         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2304         * sysdeps/ieee754/bits/huge_val.h: Likewise.
2305         * sysdeps/m68k/bits/huge_val.h: Likewise.
2306         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2307         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2308         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2309         * sysdeps/powerpc/bits/mathinline.h: Likewise.
2310         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2311         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2312         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2313         * wcsmbs/wchar.h: Likewise.
2314
2315         * sysdeps/powerpc/bits/mathdef.h: Moved to...
2316         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
2317         * sysdeps/powerpc/bits/mathinline.h: Moved to...
2318         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
2319         * sysdeps/powerpc/bits/fenv.h: Moved to...
2320         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
2321
2322 1999-10-31  Andreas Jaeger  <aj@suse.de>
2323
2324         * manual/math.texi (Errors in Math Functions): Correct TeX code.
2325
2326 1999-10-31  Andreas Jaeger  <aj@suse.de>
2327
2328         * math/libm-test.inc:  Change comments to use ISO C99 instead of
2329         ISO C9x.
2330         * math/w_lgamma.c: Likewise.
2331         * math/w_lgammaf.c: Likewise.
2332         * math/w_lgammal.c: Likewise.
2333         * math/test-fenv.c: Likewise.
2334         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2336         * sysdeps/generic/printf_fphex.c: Likewise.
2337
2338 1999-10-31  Andreas Jaeger  <aj@suse.de>
2339
2340         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
2341
2342         * manual/math.texi: Change ISO C9x to ISO C99.
2343         * manual/startup.texi: Likewise.
2344         * manual/stdio.texi: Likewise.
2345
2346 1999-10-31  Andreas Jaeger  <aj@suse.de>
2347
2348         * manual/arith.texi: Change ISO C9x to ISO C99.
2349         * manual/time.texi (Low-Level Time String Parsing): Likewise.
2350
2351 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
2352
2353         * socket/Makefile (distribute): Add ifreq.h.
2354
2355         * manual/time.texi (Formatting Date and Time): Revise comments about
2356         origins of the formats with ISO C99 references.
2357
2358 1999-10-30  Andreas Jaeger  <aj@suse.de>
2359
2360         * sysdeps/unix/sysv/linux/ifreq.h: New file.
2361
2362 1999-10-29  Andreas Jaeger  <aj@suse.de>
2363
2364         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
2365         input format; mention that strtof and strtold are part of ISO C99.
2366
2367 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
2368
2369         * manual/math.texi (Errors in Math Functions): New section.
2370         * math/libm-err-tab.pl: Moved to...
2371         * manual/libm-err-tab.pl: ...here.
2372         * manual/Makefile: Add rules for math function error table generation.
2373
2374         * stdlib/tst-strtod.c: Add more hexadecimal tests.
2375
2376         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
2377         != 1 correctly and more than one digit before decimal point..
2378
2379 1999-10-27  Andreas Jaeger  <aj@suse.de>
2380
2381         * sysdeps/generic/ifreq.h: New file.
2382
2383         * resolv/res_hconf.c: Add missing includes to get all prototypes.
2384         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
2385         Reported by John DiMarco <jdd@cs.toronto.edu>.
2386
2387         (_res_hconf_reorder_addrs): Made thread safe.
2388         (free_mem): New function, needed for malloc debugging.
2389
2390 1999-10-29  Andreas Jaeger  <aj@suse.de>
2391
2392         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
2393         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
2394         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
2395         opensock to use __opensock.
2396
2397         * socket/Makefile (routines): Add opensock.
2398
2399         * include/sys/socket.h (__opensock): Add prototype declaration.
2400
2401 1999-10-29  Andreas Jaeger  <aj@suse.de>
2402
2403         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
2404         N_* constants.
2405         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2406
2407         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
2408         new constant from Linux 2.3.25pre1.
2409
2410         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
2411
2412 1999-10-29  Andreas Jaeger  <aj@suse.de>
2413
2414         * math/libm-err-tab.pl: New file to generate a table of
2415         libm-test-ulps values.
2416
2417 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
2418
2419         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
2420         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
2421         struct sigcontext* object as second parameter for profil_counter.
2422         Patches by Jakub Jelinek <jakub@redhat.com>.
2423
2424 1999-10-29  Andreas Jaeger  <aj@suse.de>
2425
2426         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
2427         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
2428
2429         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
2430         efs, qnx4 and reiser file systems.
2431
2432 1999-10-29  Andreas Jaeger  <aj@suse.de>
2433
2434         * locale/Makefile (others): Set to localedef and locale for make
2435         clean.
2436
2437         * debug/Makefile (generated): Add xtrace for make clean to work.
2438
2439 1999-10-29  Andreas Jaeger  <aj@suse.de>
2440
2441         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
2442
2443 1999-10-25  Andreas Jaeger  <aj@suse.de>
2444
2445         * math/libm-test.inc: Added code to ignore the given max ulps.
2446         (print_max_error): Check for ignore_max_ulp.
2447         (check_float_internal): Likewise.
2448         (parse_opt): Parse --ignore-max-ulp.
2449         (main): Initialize ignore_max_ulp.
2450
2451 1999-10-26  Andreas Jaeger  <aj@suse.de>
2452
2453         * stdlib/msort.c: Include <alloca.h> for prototype.
2454         Remove K&R compatibility and _quicksort prototype.
2455
2456         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
2457         some comments.
2458         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
2459         Remove K&R compatibility.
2460         Move prototype declaration to include/stdlib.h.
2461         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
2462
2463         * include/stdlib.h: Prototype declaration for _quicksort.
2464
2465 1999-10-27  Andreas Jaeger  <aj@suse.de>
2466
2467         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
2468         shifted a bit too much.
2469         Reported by Eugen Dedu <dedu@ese-metz.fr>.
2470
2471 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
2472
2473         * resolv/gethnamaddr.c: Account bytes needed for alignment in
2474         buflen.  Patch by Olaf Kirch <okir@lst.de>.
2475
2476         * md5-crypt/md5test.c: Correct names of MD5 functions after
2477         removing of public names.
2478
2479         * configure.in: Don't allow --enable-kernel without parameter.
2480
2481 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
2482
2483         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
2484         problems.
2485
2486 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
2487
2488         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
2489         only used internally.
2490         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
2491         remove weak alias for public names.
2492         * md5-crypt/md5.c: Remove weak aliase.
2493
2494 1999-10-25  Andreas Jaeger  <aj@suse.de>
2495
2496         * math/README.libm-test: New file, documents libm-test.inc.
2497
2498 1999-10-25  Andreas Jaeger  <aj@suse.de>
2499
2500         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
2501         given.
2502         (print_ulps_file): Fix loops to not read @tests and @functions
2503         since those are not initialized with -n now.
2504         (parse_ulps): Set $results{..}{"kind"}.
2505
2506 1999-10-25  Andreas Jaeger  <aj@suse.de>
2507
2508         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
2509
2510         * math/libm-test.inc (check_float_internal): Don't print ulps for
2511         wrong sign of zero.
2512
2513 1999-10-20  Andreas Jaeger  <aj@suse.de>
2514
2515         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
2516         versus AF_LOCAL.
2517         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
2518
2519 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
2520
2521         * math/libm-test.inc: Disable some boundary case tests for inline
2522         function testing.
2523
2524         * math/math.h: Pretty printing.
2525
2526         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
2527         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2528         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2529         * sysdeps/i386/fpu/e_log10.S: Likewise.
2530         * sysdeps/i386/fpu/e_log10f.S: Likewise.
2531         * sysdeps/i386/fpu/e_log10l.S: Likewise.
2532         * sysdeps/i386/fpu/s_log1p.S: Likewise.
2533         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2534         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2535         * sysdeps/i386/fpu/s_log2.S: Likewise.
2536         * sysdeps/i386/fpu/s_log2f.S: Likewise.
2537         * sysdeps/i386/fpu/s_log2l.S: Likewise.
2538
2539         * sysdeps/i386/fpu/libm-test-ulps: New file.
2540
2541         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
2542         value for x == 0.
2543         (pow): Correct case x == 0.
2544         (__sgn1l): Correct handling of -0.0.
2545
2546 1999-10-22  Andreas Jaeger  <aj@suse.de>
2547
2548         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
2549         (atan_test): Likewise.
2550         (atanh_test): Likewise.
2551         (atan2_test): Likewise.
2552         (carg_test): Likewise.
2553         (ceil_test): Likewise.
2554         (cos_test): Likewise.
2555         (cosh_test): Likewise.
2556         (cpow_test): Likewise.
2557         (erf_test): Likewise.
2558         (erfc_test): Likewise.
2559         (exp_test): Likewise.
2560         (exp10_test): Likewise.
2561         (exp2_test): Likewise.
2562         (expm1_test): Likewise.
2563         (fabs_test): Likewise.
2564         (floor_test): Likewise.
2565         (fmod_test): Likewise.
2566         (gamma_test): Likewise.
2567         (lgamma_test): Likewise.
2568         (log10_test): Likewise.
2569         (log1p_test): Likewise.
2570         (log2_test): Likewise.
2571         (logb_test): Likewise.
2572         (nearbyint_test): Likewise.
2573         (remainder_test): Likewise.
2574         (remquo_test): Likewise.
2575         (sin_test): Likewise.
2576         (sincos_test): Likewise.
2577         (sinh_test): Likewise.
2578         (sqrt_test): Likewise.
2579         (tan_test): Likewise.
2580         (tanh_test): Likewise.
2581         (tgamma_test): Likewise.
2582
2583 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
2584
2585         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
2586
2587         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
2588
2589         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
2590         for -Inf and return NaN.
2591
2592         * configure.in: Correct test for Cygnus gcc versions.
2593
2594 1999-10-21  Andreas Jaeger  <aj@suse.de>
2595
2596         * math/libm-test.inc (cimag_test): New function, tests cimag.
2597         (creal_test): New function, tests creal.
2598         (conj_test): New function, tests conj.
2599         (main): Add new functions.
2600
2601 1999-10-20  Andreas Jaeger  <aj@suse.de>
2602
2603         * math/libm-test.inc: Rewrite to allow different deltas for real
2604         and imaginary part of complex functions.
2605         * math/gen-libm-test.pl: Likewise.
2606
2607 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
2608
2609         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
2610         aliases.
2611
2612         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
2613
2614         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
2615         for -Inf and return NaN.
2616
2617         * math/gen-libm-test.pl: Fix program name in help message.
2618
2619         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
2620
2621         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
2622
2623         * sysdeps/i386/Implies: Correct order of libm directories.
2624
2625 1999-10-19  Andreas Jaeger  <aj@suse.de>
2626
2627         * include/bits/ipc.h: Remove K&R compatibility.
2628         * include/libintl.h: Likewise.
2629         * include/math.h: Likewise.
2630         * include/mntent.h: Likewise
2631         * include/netdb.h: Likewise.
2632         * include/pwd.h: Likewise.
2633         * include/sched.h: Likewise.
2634         * include/shadow.h: Likewise
2635         * include/stdlib.h: Likewise.
2636         * include/sys/file.h: Likewise.
2637         * include/sys/gmon.h: Likewise.
2638         * include/sys/ioctl.h: Likewise.
2639         * include/sys/mman.h: Likewise.
2640         * include/sys/resource.h: Likewise.
2641         * include/sys/socket.h: Likewise.
2642         * include/sys/stat.h: Likewise.
2643         * include/sys/sysinfo.h: Likewise.
2644         * include/sys/time.h: Likewise.
2645         * include/sys/times.h: Likewise.
2646         * include/sys/uio.h: Likewise.
2647         * include/sys/wait.h: Likewise.
2648         * include/termios.h: Likewise.
2649         * include/time.h: Likewise.
2650         * include/ulimit.h: Likewise.
2651         * include/utmp.h: Likewise.
2652         * include/wchar.h: Likewise.
2653         * include/wctype.h: Likewise.
2654
2655 1999-10-19  Andreas Jaeger  <aj@suse.de>
2656
2657         * math/libm-test.inc: Remove one K&R compatibility.
2658         (main): Enable nexttoward_test.
2659
2660         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
2661         libm-test-ulps.h; pretty print output a bit.
2662
2663 1999-10-19  Andreas Jaeger  <aj@suse.de>
2664
2665         * iconv/iconv_prog.c (main): Set exit value in case that reading
2666         from stdin failed [PR libc/1404].
2667
2668 1999-10-18  Andreas Jaeger  <aj@suse.de>
2669
2670         Added improved math testsuite:
2671         * math/libm-test.inc: New file, contains all tests from
2672         libm-test.c but in a different form.
2673         * math/libm-test.c: Removed.
2674         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
2675         * math/gen-libm-test.pl: New file: Preprocessor.
2676         * math/test-double.c: Adopted to new testsuite.
2677         * math/test-idouble.c: Likewise.
2678         * math/test-float.c: Likewise.
2679         * math/test-ifloat.c: Likewise.
2680         * math/test-ldouble.c: Likewise.
2681         * math/test-ildoubl.c: Likewise.
2682         * math/Makefile: Added rules to generate new suite.
2683
2684 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
2685
2686         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
2687         Patch by J. Richard Sladkey <jrs@world.std.com>.
2688
2689         * scripts/config.sub: Update from latest autoconf version.
2690         * scripts/config.guess: Likewise.
2691
2692 1999-10-18  Andreas Jaeger  <aj@suse.de>
2693
2694         * inet/arpa/inet.h: Remove K&R compatibility.
2695         * math/fenv.h: Likewise.
2696
2697 1999-10-18  Andreas Jaeger  <aj@suse.de>
2698
2699         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2700         kernel_sigaction): Remove K&R compatibility.
2701         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
2702         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2703         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
2704         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
2705         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
2706         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
2707         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2708         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
2709         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2710         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
2711         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
2712         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2713         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
2714         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2715         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2716         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2717         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
2718
2719 1999-10-18  Andreas Jaeger  <aj@suse.de>
2720
2721         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
2722         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
2723
2724 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
2725
2726         * po/gl.po: New file.
2727
2728 1999-10-18  Andreas Schwab  <schwab@suse.de>
2729
2730         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
2731         namespace selection.
2732
2733 1999-10-18  Andreas Schwab  <schwab@suse.de>
2734
2735         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
2736         clash with the TERM environment variable.
2737
2738 1999-10-18  Andreas Jaeger  <aj@suse.de>
2739
2740         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
2741         returns now NaN + i NaN.
2742         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
2743         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
2744
2745 1999-10-18  Andreas Jaeger  <aj@suse.de>
2746
2747         * include/aio.h: Remove K&R compatiblity.
2748         * include/alloca.h: Likewise.
2749         * include/db.h: Likewise.
2750         * include/dirent.h: Likewise.
2751         * include/fcntl.h: Likewise.
2752         * include/fpu_control.h: Likewise.
2753         * include/glob.h: Likewise.
2754         * include/grp.h: Likewise.
2755         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
2756         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2757         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2758         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2759
2760         * include/execinfo.h: Add __THROW.
2761
2762 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
2763
2764         * sysdeps/mips/Implies: Remove wordsize-32 reference.
2765         * sysdeps/mips/mips3/Implies: Add it here.
2766
2767 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
2768
2769         * elf/elf.h: Add various platform and architecture extensions.
2770
2771         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
2772         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
2773         LC_ALL.
2774
2775         * socket/sys/socket.h: Remove K&R compatibility.
2776
2777 1999-10-16  Andreas Jaeger  <aj@suse.de>
2778
2779         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
2780
2781 1999-10-15  Andreas Jaeger  <aj@suse.de>
2782
2783         * stdlib/Makefile (tests): Added tst-xpg-basename.
2784
2785         * stdlib/tst-xpg-basename.c: New test file.
2786
2787 1999-10-14  Cristian Gafton  <gafton@redhat.com>
2788
2789         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
2790
2791 1999-10-14  Andreas Jaeger  <aj@suse.de>
2792
2793         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
2794         endian version works for both endiannesses.
2795
2796         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
2797         seconds.
2798
2799 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
2800
2801         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
2802         register names unconditionally, only if __USE_GNU.
2803
2804         * debug/Makefile: Fix rules to generate pcprofiledump.
2805
2806         * include/ucontext.h: New file.
2807
2808         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
2809
2810 1999-10-12  Andreas Jaeger  <aj@suse.de>
2811
2812         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
2813
2814         * math/basic-test.c: Fix typo.
2815
2816         * locale/programs/xstrdup.c: Include string.h for glibc
2817         compilation to get string prototypes.
2818
2819         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
2820         gregset_t and fpregset_t.
2821
2822         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
2823         warnings.  Correct value for x == 0.
2824
2825         * argp/argp-help.c: Remove broken definition of flockfile and
2826         funlockfile.
2827
2828 1999-10-12  Andreas Schwab  <schwab@suse.de>
2829
2830         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
2831         generic Linux version.
2832
2833 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
2834
2835         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
2836
2837 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
2838
2839         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
2840         and fpregset_t definitions.
2841
2842         * malloc/memprof.c (GETSP): Define for PowerPC.
2843         (GETTIME): Fix generic version.
2844
2845 1999-10-10  Philip Blundell  <philb@gnu.org>
2846
2847         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
2848         __BYTE_ORDER.
2849
2850 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
2851
2852         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
2853         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2854         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
2855         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
2856
2857         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
2858
2859         * sysdeps/powerpc/e_sqrt.c: Moved to...
2860         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
2861         * sysdeps/powerpc/e_sqrtf.c: Moved to...
2862         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
2863
2864         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
2865         * sysdeps/powerpc/sub_n.S: Likewise.
2866         * sysdeps/powerpc/strlen.S: Likewise.
2867         * sysdeps/powerpc/strcpy.S: Likewise.
2868         * sysdeps/powerpc/strcmp.S: Likewise.
2869         * sysdeps/powerpc/strchr.S: Likewise.
2870         * sysdeps/powerpc/stpcpy.S: Likewise.
2871         * sysdeps/powerpc/setjmp.S: Likewise.
2872         * sysdeps/powerpc/rshift.S: Likewise.
2873         * sysdeps/powerpc/ppc-mcount.S: Likewise.
2874         * sysdeps/powerpc/mul_1.S: Likewise.
2875         * sysdeps/powerpc/memset.S: Likewise.
2876         * sysdeps/powerpc/lshift.S: Likewise.
2877         * sysdeps/powerpc/dl-start.S: Likewise.
2878         * sysdeps/powerpc/bzero.S: Likewise.
2879         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2880         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2881         * sysdeps/powerpc/addmul_1.S: Likewise.
2882         * sysdeps/powerpc/add_n.S: Likewise.
2883         * sysdeps/powerpc/__longjmp.S: Likewise.
2884         * sysdeps/powerpc/elf/start.S: Likewise.
2885
2886 1999-10-11  Cristian Gafton  <gafton@redhat.com>
2887
2888         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
2889         SA_SIGINFO.
2890
2891 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
2892
2893         * stdlib/atexit.c (initial): New variable.  Use to initialize
2894         __exit_funcs.
2895         * stdlib/exit.c (exit): Beware to not free statically allocated
2896         list element [PR libc/1305].
2897
2898         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
2899         slash before the basename [PR libc/1383].
2900
2901         * argp/argp.h: Fix typo in last patch.
2902
2903         * sysdeps/powerpc/sysdep.h: New file.
2904         * sysdeps/unix/powerpc/sysdep.h: New file.
2905         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
2906         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
2907         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
2908         instead of bare numbers.
2909         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
2910         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
2911         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
2912
2913         * sysdeps/hppa/sysdep.h: New file.
2914
2915 1999-10-10  Andreas Jaeger  <aj@suse.de>
2916
2917         * misc/sgtty.h: Fix typo in last patch.
2918
2919 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
2920
2921         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
2922         * sysdeps/powerpc/s_copysign.S: Move to...
2923         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
2924         * sysdeps/powerpc/s_copysignf.S: Move to...
2925         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
2926         * sysdeps/powerpc/s_fabs.S: Move to...
2927         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
2928         * sysdeps/powerpc/s_fabsf.S: Move to...
2929         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
2930         * sysdeps/powerpc/s_fdim.c: Move to...
2931         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
2932         * sysdeps/powerpc/s_fdimf.c: Move to...
2933         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
2934         * sysdeps/powerpc/s_fmax.S: Move to...
2935         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
2936         * sysdeps/powerpc/s_fmaxf.S: Move to...
2937         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
2938         * sysdeps/powerpc/s_fmin.S: Move to...
2939         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
2940         * sysdeps/powerpc/s_fminf.S: Move to...
2941         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
2942         * sysdeps/powerpc/s_isnan.S: Move to...
2943         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
2944         * sysdeps/powerpc/s_isnanf.S: Move to...
2945         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
2946         * sysdeps/powerpc/s_llrint.c: Move to...
2947         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
2948         * sysdeps/powerpc/s_llrintf.c: Move to...
2949         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
2950         * sysdeps/powerpc/s_llround.c: Move to...
2951         * sysdeps/powerpc/fpu/s_llround.c: ...here.
2952         * sysdeps/powerpc/s_llroundf.c: Move to...
2953         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
2954         * sysdeps/powerpc/s_lrint.c: Move to...
2955         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
2956         * sysdeps/powerpc/s_lrintf.S: Move to...
2957         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
2958         * sysdeps/powerpc/s_lround.c: Move to...
2959         * sysdeps/powerpc/fpu/s_lround.c: ...here.
2960         * sysdeps/powerpc/s_lroundf.c: Move to...
2961         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
2962         * sysdeps/powerpc/s_rint.c: Move to...
2963         * sysdeps/powerpc/fpu/s_rint.c: ...here.
2964         * sysdeps/powerpc/s_rintf.c: Move to...
2965         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
2966         * sysdeps/powerpc/t_sqrt.c: Move to...
2967         * sysdeps/powerpc/fpu/t_sqrt: ...here.
2968         * sysdeps/powerpc/w_sqrt.c: Move to...
2969         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
2970         * sysdeps/powerpc/w_sqrtf.c: Move to...
2971         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
2972         * configure.in: Support platforms which have no .text pseudo-op.
2973         Patches partly by Jimi X <jimix@pobox.com>.
2974
2975         * Makeconfig: Look also in all subdirs for shlib-versions files.
2976
2977         * malloc/memprof.sh: Fix --help string a bit.
2978
2979         * argp/argp.h: Remove K&R compatiblity.
2980         * assert/assert.h: Likewise.
2981         * catgets/nl_types.h: Likewise.
2982         * ctype/ctype.h: Likewise.
2983         * db/db.h: Likewise.
2984         * db/ndbm.h: Likewise.
2985         * db2/db.h: Likewise.
2986         * db2/db_185.h: Likewise.
2987         * debug/execinfo.h: Likewise.
2988         * dirent/dirent.h: Likewise.
2989         * dlfcn/dlfcn.h: Likewise.
2990         * gmon/sys/gmon.h: Likewise.
2991         * grp/grp.h: Likewise.
2992         * iconv/gconv.h: Likewise.
2993         * iconv/iconv.h: Likewise.
2994         * include/execinfo.h: Likewise.
2995         * inet/aliases.h: Likewise.
2996         * inet/netinet/ether.h: Likewise.
2997         * inet/netinet/in.h: Likewise.
2998         * intl/libintl.h: Likewise.
2999         * io/fcntl.h: Likewise.
3000         * io/fts.h: Likewise.
3001         * io/ftw.h: Likewise.
3002         * io/utime.h: Likewise.
3003         * io/sys/poll.h: Likewise.
3004         * io/sys/stat.h: Likewise.
3005         * io/sys/statfs.h: Likewise.
3006         * io/sys/statvfs.h: Likewise.
3007         * libio/libio.h: Likewise.
3008         * libio/stdio.h: Likewise.
3009         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
3010         * locale/locale.h: Likewise.
3011         * login/pty.h: Likewise.
3012         * login/utmp.h: Likewise.
3013         * malloc/mcheck.h: Likewise.
3014         * math/complex.h: Likewise.
3015         * math/math.h: Likewise.
3016         * math/math_private.h: Likewise.
3017         * misc/err.h: Likewise.
3018         * misc/fstab.h: Likewise.
3019         * misc/libgen.h: Likewise.
3020         * misc/mntent.h: Likewise.
3021         * misc/regexp.h: Likewise.
3022         * misc/search.h: Likewise.
3023         * misc/sgtty.h: Likewise.
3024         * misc/ttyent.h: Likewise.
3025         * misc/sys/cdefs.h: Likewise.
3026         * misc/sys/file.h: Likewise.
3027         * misc/sys/ioctl.h: Likewise.
3028         * misc/sys/mman.h: Likewise.
3029         * misc/sys/select.h: Likewise.
3030         * misc/sys/syslog.h: Likewise.
3031         * misc/sys/uio.h: Likewise.
3032         * misc/sys/ustat.h: Likewise.
3033         * nss/nss.h: Likewise.
3034         * posix/sched.h: Likewise.
3035         * posix/unistd.h: Likewise.
3036         * posix/wordexp.h: Likewise.
3037         * posix/sys/times.h: Likewise.
3038         * posix/sys/utsname.h: Likewise.
3039         * posix/sys/wait.h: Likewise.
3040         * pwd/pwd.h: Likewise.
3041         * resolv/netdb.h: Likewise.
3042         * resolv/resolv.h: Likewise.
3043         * resource/ulimit.h: Likewise.
3044         * resource/sys/resource.h: Likewise.
3045         * resource/sys/vlimit.h: Likewise.
3046         * resource/sys/vtimes.h: Likewise.
3047         * rt/aio.h: Likewise.
3048         * setjmp/setjmp.h: Likewise.
3049         * shadow/shadow.h: Likewise.
3050         * signal/signal.h: Likewise.
3051         * socket/socket.h: Likewise.
3052         * stdio/stdio.h: Likewise.
3053         * stdio-common/_itoa.h: Likewise.
3054         * stdio-common/_itowa.h: Likewise.
3055         * stdio-common/printf.h: Likewise.
3056         * stdlib/alloca.h: Likewise.
3057         * stdlib/fmtmsg.h: Likewise.
3058         * stdlib/monetary.h: Likewise.
3059         * stdlib/stdlib.h: Likewise.
3060         * stdlib/ucontext.h: Likewise.
3061         * streams/stropts.h: Likewise.
3062         * string/argz.h: Likewise.
3063         * string/envz.h: Likewise.
3064         * string/string.h: Likewise.
3065         * string/strings.h: Likewise.
3066         * string/bits/string2.h: Likewise.
3067         * sunrpc/rpc/auth.h: Likewise.
3068         * sunrpc/rpc/auth_des.h: Likewise.
3069         * sunrpc/rpc/auth_unix.h: Likewise.
3070         * sunrpc/rpc/clnt.h: Likewise.
3071         * sunrpc/rpc/des_crypt.h: Likewise.
3072         * sunrpc/rpc/netdb.h: Likewise.
3073         * sunrpc/rpc/pmap_clnt.h: Likewise.
3074         * sunrpc/rpc/pmap_prot.h: Likewise.
3075         * sunrpc/rpc/pmap_rmt.h: Likewise.
3076         * sunrpc/rpc/rpc_msg.h: Likewise.
3077         * sunrpc/rpc/svc.h: Likewise.
3078         * sunrpc/rpc/svc_auth.h: Likewise.
3079         * sunrpc/rpc/xdr.h: Likewise.
3080         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
3081         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3082         * sysvipc/sys/ipc.h: Likewise.
3083         * sysvipc/sys/msg.h: Likewise.
3084         * sysvipc/sys/sem.h: Likewise.
3085         * sysvipc/sys/shm.h: Likewise.
3086         * termios/termios.h: Likewise.
3087         * time/time.h: Likewise.
3088         * time/sys/time.h: Likewise.
3089         * time/sys/timeb.h: Likewise.
3090         * wcsmbs/wchar.h: Likewise.
3091         * wctype/wctype.h: Likewise.
3092
3093 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
3094
3095         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
3096         _GNU_SOURCE be defined.
3097
3098 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
3099
3100         * ctype/ctype.h: Pretty print.
3101
3102         * po/cs.po: Fix typos.
3103
3104         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
3105         handling of empty entries.  [PR libc/1345]
3106         Patch by Thorsten Kukuk <kukuk@suse.de>.
3107
3108 1999-10-08  Andreas Schwab  <schwab@suse.de>
3109
3110         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
3111
3112 1999-10-08  Andreas Schwab  <schwab@suse.de>
3113
3114         * debug/pcprofiledump.c: Fix typos.
3115
3116 1999-10-07  Andreas Jaeger  <aj@suse.de>
3117
3118         * math/Makefile (tests): Added basic-tests.
3119
3120         * math/basic-test.c: New file.  Contains function basic_tests from
3121         libm-test.
3122
3123 1999-10-07  Andreas Schwab  <schwab@suse.de>
3124
3125         * malloc/memprof.sh: Fix quoting bugs.
3126
3127 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
3128
3129         * timezone/europe: Update from tzdata1999h.
3130
3131 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
3132
3133         * elf/elf.h: Update from last gABI draft.
3134
3135         * elf/elf.h: Remove EM_486 entry.
3136         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
3137         test for EM_486.
3138
3139 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
3140
3141         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
3142         Add rules for both programs.
3143         * debug/pcprofiledump.c: New file.
3144         * debug/xtrace.sh: New file.
3145         * debug/pcprofile.c: Allow creating output file.  Add magic signature
3146         to let reader recognize file format.
3147
3148 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
3149
3150         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
3151
3152 1999-10-05  Andreas Jaeger  <aj@suse.de>
3153
3154         * locale/programs/ld-identification.c: Fix typo in comment.
3155         * locale/programs/ld-messages.c: Likewise.
3156         * locale/programs/ld-monetary.c: Likewise.
3157         * locale/programs/ld-name.c: Likewise.
3158
3159         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
3160         (collate_read): Remove unnecessary comparisons with ignore_content.
3161
3162         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
3163         assigned elements.
3164         (ctype_read): Remove unnecessary comparisons with ignore_content.
3165         Fix typos in comments.
3166
3167         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
3168         comparisons with ignore_content.
3169
3170 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
3171
3172         * po/cs.po: Update.
3173
3174         * time/time.h: Move __gmtime_r declaration to ...
3175         * include/time.h: ...here.
3176
3177 1999-10-05  Andreas Jaeger  <aj@suse.de>
3178
3179         * manual/message.texi (The message catalog files): Fix description
3180         to match gencat implementation and Unix98: Message fields are
3181         separated by a single blank space.
3182
3183 1999-10-05  Andreas Jaeger  <aj@suse.de>
3184
3185         * manual/string.texi (Search Functions): Add missing end for
3186         memrchr description.
3187
3188 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
3189
3190         * malloc/memprof.sh: Various small cleanups.  Add short options.
3191         Write error messages to stderr.
3192
3193         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
3194
3195         * malloc/memprof.sh: Take options to control memprofstat.
3196
3197         * malloc/Makefile: Add rule to generate memprof script.
3198         * malloc/memprof.sh: New file.
3199
3200         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
3201         GNU standard.
3202
3203 1999-10-04  Andreas Jaeger  <aj@suse.de>
3204
3205         * configure.in: Allow makeinfo 4.*.
3206
3207 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
3208
3209         * stdio-common/vfprintf.c: Correct last patch and use outchar
3210         instead of PUTC to output single characters.
3211         * stdio-common/Makefile (tests): Add bug13.
3212         * stdio-common/bug13.c: New file.
3213
3214         * configure.in: Add additional options --with-gd-include and
3215         --with-gd-lib to help people with strange installations.
3216
3217         * malloc/Makefile: Add libdl dependency to libmemprof.so.
3218         * malloc/Depend: New file.
3219
3220 1999-10-04  Andreas Jaeger  <aj@suse.de>
3221
3222         * timezone/README: Change wording to not mention the current
3223         version.  This way we can't forget to update the file.
3224
3225 1999-10-04  Andreas Jaeger  <aj@suse.de>
3226
3227         * manual/time.texi (Basic CPU Time): Fix typo.
3228         Reported by Ben Pfaff <pfaffben@msu.edu>.
3229
3230 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
3231
3232         * string/string.h: Move __memrchr declaration to ...
3233         * include/string.h: ...here.
3234
3235 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
3236
3237         * string/Makefile (routines): Add memrchr.
3238
3239         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
3240         Correct order of tests for matching bytes.
3241
3242         * string/tester.c: Add tests for memrchr.
3243
3244         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
3245         Start from the last character and take decrement not increment
3246         into account for correction in return line.  Add memrchr alias.
3247         * sysdeps/i386/bits/string.h: Likewise.
3248
3249 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3250
3251         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
3252
3253 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
3254
3255         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
3256
3257         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
3258         conventions.
3259
3260         * string/Versions: Export memrchr.
3261
3262 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3263
3264         * misc/Versions (GLIBC_2.2): Add getloadavg.
3265         * misc/Makefile (routines): Add getloadavg.
3266         * sysdeps/generic/getloadavg.c: New file.
3267         * sysdeps/mach/getloadavg.c: New file.
3268         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
3269
3270         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
3271         * sysdeps/i386/bits/string.h (__memrchr): New function.
3272         * string/string.h: Declare memrchr, __memrchr.
3273         * manual/string.texi (Search Functions): Document memrchr.
3274
3275 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
3276
3277         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
3278         CFLAGS-memprofstat.c, and LIBGD variables.
3279         * config.make.in: Add LIBGD.
3280         * malloc/Makefile: Add rules to generate libmemprof.so and
3281         memprofstat.
3282         * malloc/memprof.c: New file.
3283         * malloc/memprofstat.c: New file.
3284
3285 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
3286
3287         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
3288
3289         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
3290         (inet_ntop6): Likewise.
3291
3292         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
3293         overruns.
3294
3295         * resolv/tst-aton.c (main): Add more tests.
3296
3297         * resolv/inet_addr.c (inet_aton): Correct some problems with to
3298         large numbers.  Optimize a bit.
3299
3300 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
3301
3302         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
3303         account for added '0'.
3304
3305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
3306         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
3307         len argument to be greater than needed address size.
3308
3309 1999-10-01  Andreas Jaeger  <aj@suse.de>
3310
3311         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
3312         warning.
3313         * intl/finddomain.c (_nl_find_domain): Likewise.
3314
3315 1999-09-30  Andreas Schwab  <schwab@suse.de>
3316
3317         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
3318
3319 1999-09-30  Andreas Jaeger  <aj@suse.de>
3320
3321         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
3322         * sysdeps/i386/rshift.S: Likewise.
3323         * sysdeps/i386/strchrnul.S: Likewise.
3324         * sysdeps/i386/strchr.S: Likewise.
3325         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
3326         PR libc/1339.
3327
3328 1999-09-30  Andreas Jaeger  <aj@suse.de>
3329
3330         * manual/examples/pipe.c: Close other end of pipe to make example work.
3331
3332 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
3333
3334         * timezone/checktab.awk: Update from tzcode1999g.
3335         * timezone/tzselect.ksh: Likewise.
3336         * timezone/africa: Update from tzdata1999g.
3337         * timezone/asia: Likewise.
3338         * timezone/australasia: Likewise.
3339         * timezone/europe: Likewise.
3340         * timezone/northamerica: Likewise.
3341         * timezone/southamerica: Likewise.
3342         * timezone/iso3166.tab: Likewise.
3343         * timezone/zone.tab: Likewise.
3344
3345 1999-09-27  Andreas Jaeger  <aj@suse.de>
3346
3347         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
3348         been renamed to getipnodebyname.  Move flags around.
3349
3350 1999-09-27  Andreas Schwab  <schwab@suse.de>
3351
3352         * manual/message.texi (Locating gettext catalog): Fix typos.
3353
3354 1999-09-27  Andreas Jaeger  <aj@suse.de>
3355
3356         * manual/socket.texi (Out-of-Band Data): Correct example program,
3357         rename some variables for clarity.
3358         Reported by James Antill <james@and.org>, close PR libc/1329.
3359
3360 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
3361
3362         * locale/programs/ld-collate.c (insert_value): Add hack to not
3363         crash in incomplete collate implementation.
3364
3365         * locale/programs/ld-collate.c (read_directions): Read new token
3366         after accepting sorting rule.
3367
3368 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
3369
3370         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
3371         error message printing.  Correctly test whether all characters of
3372         current token are used.
3373         (ctype_read): NUL terminate last_str.
3374
3375 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
3376
3377         * nscd/connections.c: Invalidate caches on request.
3378         * nscd/nscd-client.h: Add INVALIDATE to request_type.
3379         * nscd/nscd.c: Add invalidate cache option.
3380         * nscd/nscd.conf: Change log directory to /var/log (FHS).
3381
3382 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
3383
3384         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
3385         not ovverwrite last group member with NULL pointer.
3386         Reported by Thomas Winder <thomas.winder@newlogic.at>.
3387
3388 1999-09-24  Andreas Jaeger  <aj@suse.de>
3389
3390         * stdio-common/tst-printf.c (main): Add a testcase for large
3391         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
3392
3393 1999-09-24  Andreas Schwab  <schwab@suse.de>
3394
3395         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
3396
3397 1999-09-24  Andreas Jaeger  <aj@suse.de>
3398
3399         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
3400         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
3401
3402 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
3403
3404         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
3405         variable.  Define MORECORE_CLEARS to 2.
3406
3407         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
3408         doesn't clear the contents of memory that is reallocated after
3409         decrementing the break value first.  Update comment about
3410         MORECORE_CLEARS, explaining the meaning of the values it can be
3411         set to.
3412
3413 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
3414
3415         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
3416         one more case.
3417
3418         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
3419         (log): Likewise.
3420         (log10): Likewise.
3421         (log1p): Likewise.
3422         (log2): Likewise.
3423
3424 1999-09-22  Andreas Jaeger  <aj@suse.de>
3425
3426         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
3427         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
3428
3429 1999-09-22  Andreas Schwab  <schwab@suse.de>
3430
3431         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
3432
3433 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3434
3435         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3436         the source directory.  Fixes PR libc/1059.
3437
3438 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
3439
3440         * locale/programs/repertoire.c (repertoire_find_value): Abort if
3441         rep parameter is NULL.
3442         (repertoire_find_symbol): Likewise.
3443         (repertoire_find_seq): Likewise.
3444
3445 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
3446
3447         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
3448         returned errno value in some cases.
3449
3450 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
3451
3452         * iconvdata/Makefile (modules): Add GBK.
3453         (distribute): Add gbk.c.
3454         * iconvdata/gbk.c: New file.
3455         * iconvdata/gconv-modules: Add GBK entry.
3456         Contributed by Sean Chen <sean.chen@turbolinux.com>.
3457
3458         * locale/programs/ld-monetary.c (monetary_output): Remove
3459         byte-order code.
3460
3461         * locale/programs/ld-time.c (time_output): Correct expected number
3462         of iov entries.
3463
3464         * manual/filesys.texi (Testing File Access): Correct description of
3465         SUID.
3466
3467 1999-080-25  H.J. Lu  <hjl@gnu.org>
3468
3469         * csu/defs.awk (.end): Only match with leading white spaces.
3470         (.align): Likewise.
3471
3472 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
3473
3474         * stdlib/isomac.c: Add va_copy to allowed macros.
3475
3476         * po/pl.po: Updated.
3477
3478 1999-09-17  Andreas Schwab  <schwab@suse.de>
3479
3480         * Makefile (clean): Also remove $(postclean) files.
3481
3482 1999-09-15  Andreas Jaeger  <aj@suse.de>
3483
3484         * pwd/Makefile (otherlibs): Add for building with static-nss.
3485         * inet/Makefile (otherlibs): Likewise.
3486
3487 1999-09-15  Andreas Jaeger  <aj@suse.de>
3488
3489         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
3490         function definition to avoid a compilation failure.
3491
3492 1999-09-15  Andreas Jaeger  <aj@suse.de>
3493
3494         * stdlib/tst-environ.c (main): Add getenv regression test for
3495         environment variable that's one character long.
3496
3497 1999-09-15  Andreas Jaeger  <aj@suse.de>
3498
3499         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
3500         signal definitions to let glibc compile with older Linux versions
3501         (2.0.10 to 2.1.100 or so).
3502
3503 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
3504
3505         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
3506         return zero to indicate no children died yet (assuming WNOHANG).
3507
3508         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
3509
3510 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
3511
3512         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
3513
3514         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
3515         Return _hurd_pgrp instead of 0.
3516
3517 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
3518
3519         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
3520         pages rather than just reprotecting them.  This way we don't hold on
3521         to the backing space.
3522
3523         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
3524         Use __munmap instead of __vm_deallocate.
3525
3526 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
3527
3528         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
3529         returned errno value in some cases.
3530
3531 1999-09-17  Andreas Jaeger  <aj@suse.de>
3532
3533         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
3534         to override user settings.
3535
3536 1999-09-17  Andreas Schwab  <schwab@suse.de>
3537
3538         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
3539         using a pointer to it.
3540
3541 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
3542
3543         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
3544         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
3545
3546 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
3547
3548         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
3549
3550         * elf/elf.h (PF_MASKOS): New definition.
3551         (EM_VAX): New definition.
3552
3553 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
3554
3555         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
3556         'unsigned char ftype[8]', and 'unsigned int init_flag' to
3557         struct user_fp.  These were added in version 2.2.12 of the
3558         ARM Linux kernel.
3559         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
3560         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
3561         The generic procfs.h included <asm/elf.h>.  This causes
3562         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
3563         are included in the same source file.  Found when building GDB.
3564
3565 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
3566
3567         * locale/langinfo.h: Remove byte-order dependent names.
3568         * locale/categories.def: Update after removal of byte-order dependent
3569         names.
3570         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
3571         with magic number in other byte order.
3572         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
3573         * locale/C-collate.c: Remove initializers for other byte-order.
3574         * locale/C-ctype.c: Likewise.
3575         * locale/C-monetary.c: Likewise.
3576         * locale/C-paper.c: Likewise.
3577         * locale/C-time.c: Likewise.
3578         * locale/lc-collate.c: Remove byte-order oriented initialization.
3579         * locale/lc-ctype.c: Likewise.
3580         * locale/lc-monetary.c: Likewise.
3581         * locale/lc-time.c: Likewise.
3582         * locale/programs/ld-address.c: Don't generate output in both
3583         byte-orders.
3584         * locale/programs/ld-ctype.c: Likewise.
3585         * locale/programs/ld-paper.c: Likewise.
3586         * locale/programs/ld-time.c: Likewise.
3587         * time/strftime.c (NLW): Don't use different byte-orders.
3588         * wctype/cname-lookup.h (cname_lookup): Likewise.
3589
3590         * Makeconfig (localedir): Define using libdir, not datadir.
3591         (msgcatdir): New variable.
3592         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
3593         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
3594         msgcatdir.
3595         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
3596         (CPPFLAGS): Define paths using msgcatdir.
3597         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
3598         * po/Makefile (mo-installed): Define using msgcatdir.
3599
3600         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
3601
3602 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
3603
3604         * stdio-common/vfprintf.c: Remove limitation on size of precision
3605         for integers.
3606
3607         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
3608         glibc by defining internal_function if it isn't already.
3609
3610         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
3611         fails don't rely on errno value.
3612         (getanswer_r): Set *ERRNOP in error cases.
3613
3614         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
3615         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
3616         associated data.  Test for matching numeric address and family.
3617         (getaddrinfo): Remember EAI_NODATA result and return this in case
3618         everything fails.
3619         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
3620
3621         * locale/programs/ld-address.c: Fix handling of non-existing
3622         definitions for this category.  Correctly ignore content of this
3623         category is this is necessary.
3624         * locale/programs/ld-collate.c: Likewise.
3625         * locale/programs/ld-ctype.c: Likewise.
3626         * locale/programs/ld-identification.c: Likewise.
3627         * locale/programs/ld-measurement.c: Likewise.
3628         * locale/programs/ld-messages.c: Likewise.
3629         * locale/programs/ld-monetary.c: Likewise.
3630         * locale/programs/ld-name.c: Likewise.
3631         * locale/programs/ld-numeric.c: Likewise.
3632         * locale/programs/ld-paper.c: Likewise.
3633         * locale/programs/ld-telephone.c: Likewise.
3634         * locale/programs/ld-time.c: Likewise.
3635         * locale/programs/locfile.h (handle_copy): Take extra parameter
3636         with result pointer.  Fill in name of locale from which to copy.
3637         Correctly read token after `END'.
3638
3639         * locale/programs/localedef.c (main): Correct handling copy.
3640         (add_to_readlist): Take extra parameter which says whether we
3641         are supposed to read the file or not.
3642         (find_locale): Call add_to_readlist with extra parameter set to 0.
3643
3644         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
3645         instead of wrong number in array definitions.
3646         (add_to_readlist): Update prototype.
3647
3648         * locale/programs/locfile.c (locfile_read): Mark categories not
3649         available in source file as read.
3650         (write_all_categories): Fix typo.
3651
3652         * locale/programs/locales.h: Removed.
3653
3654 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
3655
3656         * elf/elf.h (SHF_MASKOS): Added.
3657
3658         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
3659
3660 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3661
3662         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
3663
3664 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3665
3666         * configure.in: Fix make version test for make 3.77.95 and later
3667         versions.
3668         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
3669
3670 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
3671
3672         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
3673
3674         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
3675         WINT_MAX values.
3676
3677         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
3678
3679 1999-09-09  Andreas Schwab  <schwab@suse.de>
3680
3681         * elf/link.h: Fix comment.
3682
3683 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
3684
3685         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
3686
3687         * math/math.h: Pretty print.
3688
3689 1999-09-10  Andreas Schwab  <schwab@suse.de>
3690
3691         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
3692         character variable on bigendian platforms without unaligned memory
3693         access.
3694
3695 1999-09-07  Cristian Gafton  <gafton@redhat.com>
3696
3697         * sysdeps/unix/sysv/linux/sys/raw.h: New file
3698         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
3699         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
3700
3701 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
3702
3703         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
3704
3705         * time/ap.c: Removed.  It was not used.
3706         * time/date.c: Likewise.
3707         * sysdeps/unix/nlist.c: Likewise.
3708         * sysdeps/generic/nlist.c: Likewise.
3709         * sysdeps/generic/varargs.h: Likewise.
3710         * stdio-common/scanf11.c: Likewise.
3711         * stdio-common/scanf6.c: Likewise.
3712         * scripts/=__ify: Likewise.
3713         * scripts/printsources: Likewise.
3714         * resolv/getnetnamadr.c: Likewise.
3715         * posix/id.c: Likewise.
3716         * misc/ioctltst.c: Likewise.
3717         * misc/nlist.h: Likewise.
3718         * math/test-math.h: Likewise.
3719         * include/nlist.h: Likewise.
3720
3721 1999-09-06  Andreas Schwab  <schwab@suse.de>
3722
3723         * time/tzset.c (compute_change): Replace slow loop to compute T by
3724         simple algorithm.
3725
3726 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
3727
3728         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
3729         escape sequences out even if the character itself does not fit
3730         into the buffer.
3731
3732         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
3733
3734 1999-08-31  H.J. Lu  <hjl@gnu.org>
3735
3736         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
3737
3738 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
3739
3740         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
3741         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
3742         (_hurd_priority_which_map):
3743
3744 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
3745
3746         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
3747
3748 1999-09-03  Andreas Schwab  <schwab@suse.de>
3749
3750         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
3751         fork from __syscall_fork to __libc_fork.
3752         * posix/Versions: Add __libc_fork and __vfork to version
3753         GLIBC_2.1.2.
3754
3755 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3756
3757         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
3758         dependencies in sort.
3759
3760 1999-09-01  H.J. Lu  <hjl@gnu.org>
3761
3762         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
3763
3764         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
3765         <sys/user.h> instead of <asm/user.h>.
3766
3767 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
3768
3769         * elf/elf.h: Update PARISC-specific flags and symbolic names.
3770
3771 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
3772
3773         * elf/elf.h: Update PARISC relocations.
3774
3775 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
3776
3777         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
3778         #ifdef statement to prevent it from being included twice.
3779         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
3780         #include <bits/armsigctx.h>.
3781
3782 1999-08-31  Andreas Schwab  <schwab@suse.de>
3783
3784         * locale/C-collate.c: Add missing initialisations.
3785         * locale/C-ctype.c: Likewise.
3786
3787 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
3788
3789         * time/strftime.c (my_strftime): Remove unneeded variable len.
3790
3791         * time/strptime.c: Undo last change.
3792
3793 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
3794
3795         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
3796         Change charset.h to charmap.h.
3797         (categories): Add new categories.  Leave out collate for now.
3798         Update build rules.
3799         * locale/categories.def: Add definitions for new categories.
3800         * locale/langinfo.h: Likewise.
3801         * locale/locale.h: Likewise.
3802         * locale/C-address.c: New file.
3803         * locale/C-identification.c: New file.
3804         * locale/C-measurement.c: New file.
3805         * locale/C-name.c: New file.
3806         * locale/C-paper.c: New file.
3807         * locale/C-telephone.c: New file.
3808         * locale/lc-address.c: Likewise.
3809         * locale/lc-identification.c: Likewise.
3810         * locale/lc-measurement.c: Likewise.
3811         * locale/lc-name.c: Likewise.
3812         * locale/lc-paper.c: Likewise.
3813         * locale/lc-telephone.c: Likewise.
3814         * locale/C-ctype.c: Update for locale rewrite.
3815         * locale/C-messages.c: Likewise.
3816         * locale/C-monetary.c: Likewise.
3817         * locale/C-time.c: Likewise.
3818         * locale/lc-collate.c: Likewise.
3819         * locale/lc-ctype.c: Likewise.
3820         * locale/lc-monetary.c: Likewise.
3821         * locale/lc-time.c: Likewise.
3822         * locale/localeinfo.h: Likewise.
3823         * locale/newlocale.c: Likewise.
3824         * locale/setlocale.c: Likewise.
3825         * locale/weight.h: Likewise.
3826         * locale/findlocale.c: Unconditionally use mmap.
3827         Handle new categories.
3828         * locale/loadlocale.c: Likewise.
3829         * locale/iso-3166.def: New file.
3830         * locale/iso-639.def: New file.
3831         * locale/programs/charmap-kw.gperf: Add new keywords.
3832         * locale/programs/locfile-kw.gperf: Likewise.
3833         * locale/programs/locfile-token.h: Define new tokens.
3834         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
3835         * locale/programs/charmap.h: New file.
3836         * locale/programs/charset.h: Removed.
3837         * locale/programs/config.h: Add __LC_LAST.
3838         * locale/programs/lc-address.c: New file.
3839         * locale/programs/lc-identification.c: New file.
3840         * locale/programs/lc-measurement.c: New file.
3841         * locale/programs/lc-name.c: New file.
3842         * locale/programs/lc-paper.c: New file.
3843         * locale/programs/lc-telephone.c: New file.
3844         * locale/programs/lc-collate.c: Update for locale rewrite.
3845         * locale/programs/lc-ctype.c: Likewise.
3846         * locale/programs/lc-messages.c: Likewise.
3847         * locale/programs/lc-monetary.c: Likewise.
3848         * locale/programs/lc-numeric.c: Likewise.
3849         * locale/programs/lc-time.c: Likewise.
3850         * locale/programs/locale.c: Likewise.
3851         * locale/programs/localedef.c: Likewise.
3852         * locale/programs/locfile.c: Likewise.
3853         * locale/programs/repertoire.c: Likewise.
3854         * locale/programs/repertoire.h: Likewise.
3855         * locale/programs/locfile.c: Update prototypes.
3856         Update handle_copy definition.
3857         * locale/programs/linereader.c: Add handling of wide char strings and
3858         new definition file syntax.
3859         * locale/programs/linereader.h (struct token): Add elements for wide
3860         character strings.
3861         * locale/programs/locale-spec.c: Disable handling of collation
3862         elements for now.
3863         * locale/programs/simple-hash.h: Cleanup.
3864         * locale/programs/stringtrans.h: Handle quite of end of line.
3865         * string/strcoll.c: Fall back on strcmp for now.
3866         * string/strxfrm.c: Fall back on strncpy/strlen for now.
3867         * time/strftime.c: Use new wide character data for wcsftime.
3868         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
3869         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
3870
3871         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
3872         compiling for i386 to avoid i686-like GOT pointer computation.
3873
3874         * db2/db_int.h: Change tsl_t type to u_int32_t.
3875         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
3876         * db2/mutex/alpha.h: New file.
3877         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
3878         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
3879         known.
3880         Patches by Richard Henderson.
3881
3882         * stdlib/tst-environ.c: Add cast to avoid warning.
3883         * timezone/test-tz.c: Use setenv instead of putenv.
3884
3885 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3886
3887         * manual/libc.texinfo: Update version and date.
3888
3889         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
3890
3891         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
3892         (File System Interface): Correct entry.
3893         (Permission Bits): Add missing commata after @xref.
3894
3895 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3896
3897         * timezone/tst-timezone.c (main): Don't pass const strings to
3898         putenv to avoid warnings.
3899
3900         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
3901
3902 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
3903
3904         * nis/Versions: Add _nss_*_getipnodebyname_r.
3905         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
3906         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
3907         * nss/Versions: Add _nss_files_getipnodebyname_r.
3908
3909 1999-08-28  H.J. Lu  <hjl@gnu.org>
3910
3911         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
3912         memory for buffer.
3913
3914 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
3915
3916         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
3917         kernel.
3918         * inet/netinet/in.h: Likewise.
3919         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3920         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3921
3922 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
3923
3924         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
3925         thresholds for SUID binaries.  [PR libc/1277]
3926
3927         * posix/regexbug1.c: Add one more similar case.
3928
3929 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3930
3931         * manual/install.texi (Running make install): Give examples for
3932         timezone and locale installation.
3933
3934 1999-08-28  Zack Weinberg  <zack@bitmover.com>
3935
3936         * glibcbug.in: Get CCVERSION from autoconf substitution.
3937         * configure.in: Calculate and substitute CCVERSION.
3938
3939 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3940
3941         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
3942         partially reverting a patch from 1998-12-29.  We just can't change
3943         the flags, kernels with different flags lead to
3944         incompatibilities.
3945
3946 1999-08-26  Andreas Schwab  <schwab@suse.de>
3947
3948         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
3949
3950 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
3951
3952         * inet/rexec.c (rexec): Free memory if strings were allocated in
3953         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
3954
3955 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
3956
3957         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
3958
3959         * manual/argp.texi: Fixing language and typos.
3960         * manual/conf.texi: Likewise.
3961         * manual/contrib.texi: Likewise.
3962         * manual/ctype.texi: Likewise.
3963         * manual/filesys.texi: Likewise.
3964         * manual/install.texi: Likewise.
3965         * manual/job.texi: Likewise.
3966         * manual/lang.texi: Likewise.
3967         * manual/llio.texi: Likewise.
3968         * manual/locale.texi: Likewise.
3969         * manual/math.texi: Likewise.
3970         * manual/nss.texi: Likewise.
3971         * manual/pipe.texi: Likewise.
3972         * manual/signal.texi: Likewise.
3973         * manual/socket.texi: Likewise.
3974         * manual/stdio.texi: Likewise.
3975         * manual/sysinfo.texi: Likewise.
3976         * manual/users.texi: Likewise.
3977         Patches by Neil Booth <NeilB@earthling.net>.
3978
3979 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
3980
3981         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
3982         unsigned to avoid warning.  [PR libc/1271].
3983
3984         * conform/conformtest.pl: Allow testing regex.h which requires
3985         sys/types.h being included.
3986
3987         * conform/data/regex.h-data: Allow *_t types.
3988         * conform/data/pwd.h-data: Likewise.
3989         * conform/data/sched.h-data: Likewise.
3990         * conform/data/pthread.h-data: Likewise.
3991         * conform/data/search.h-data: Likewise.
3992
3993         * misc/search.h: Avoid namespace pollution.
3994
3995         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
3996         pwd.h, and pthread.h.
3997         * conform/data/pthread.h-data: New file.
3998         * conform/data/pwd.h-data: New file.
3999         * conform/data/regex.h-data: New file.
4000         * conform/data/sched.h-data: New file.
4001         * conform/data/search.h-data: New file.
4002
4003         * NAMESPACE: Add REG_ for regex.h.
4004
4005         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
4006         they are removed.
4007
4008         * configure.in (libc_cv_asm_global_directive): Indent .text in
4009         test code so that the lame HPUX compiler recognizes it.
4010         * sysdeps/hppa/bits/endian.h: New file.
4011         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
4012         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
4013         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
4014         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
4015
4016         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
4017         Patch by John Tobey <jtobey@banta-im.com>.
4018
4019         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
4020
4021         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
4022         old_siocfifconf definition to toplevel.
4023         (__protocol_available): Remove old_siocfifconf definition.
4024
4025 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
4026
4027         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
4028         really dealing with a master pseudo terminal, and really returning
4029         the name of the associated slave pseudo terminal by checking the
4030         device number.
4031         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
4032         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
4033
4034 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4035
4036         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
4037         underscore in _llseek entry.
4038
4039         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
4040         entry.
4041
4042         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
4043         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
4044
4045         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
4046         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4047
4048 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
4049
4050         * inet/Makefile (routines): Add getipnodebynm.
4051         * inet/getipnodebynm.c: New file.
4052         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
4053         interface type.
4054         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4055         EXTRA_ARGS_VALUE is not already done.
4056         (internal_getent): Allow extra parameters and pass them to parse_line.
4057         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
4058         (_nss_files_get##name##_r): Likewise.
4059         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
4060         and EXTRA_ARGS_VALUE to pass flags and type to parser.
4061         Add getipnodebyname function.
4062         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4063         EXTRA_ARGS_VALUE is not already done.
4064         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
4065         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
4066         to parse_line.
4067         (_nss_db_get##name##_r): Pass extra parameters to lookup.
4068         (_nss_db_get,ENTNAME_r): Likewise.
4069         * sysdeps/generic/if_index.c (__protocol_available): New function.
4070         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4071
4072 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
4073
4074         * login/pty-private.h: Move to...
4075         * sysdeps/generic/pty-private.h: ...here.
4076         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
4077         version.
4078         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
4079         available.
4080
4081         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
4082         of __overflow.
4083
4084         * conform/conformtest.pl (@headers): Add monetary.h-data,
4085         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
4086         * conform/data/monetary.h-data: New file.
4087         * conform/data/mqueue.h-data: New file.
4088         * conform/data/ndbm.h-data: New file.
4089         * conform/data/nl_types.h.h-data: New file.
4090         * conform/data/poll.h-data: New file.
4091
4092         * stdio-common/Makefile (test): Add tst-cookie.
4093         * stdio-common/tst-cookie.c: New file.
4094
4095         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
4096         changed in last patch.  Reported by Ralf Baechle.
4097
4098 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4099
4100         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
4101
4102         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
4103         Patches by Ralf Baechle <ralf@uni-koblenz.de>
4104
4105 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4106
4107         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
4108         Linux 2.3.15.
4109
4110 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
4111
4112         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
4113         syscall.
4114         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4115
4116         * misc/libgen.h: Don't take basename macro as taking arguments.
4117
4118         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
4119         for gcc >= 2.95.
4120         * sysdeps/i386/bits/huge_val.h: Likewise.
4121         * sysdeps/i386/bits/huge_val.h: Likewise.
4122         * sysdeps/ieee754/bits/huge_val.h: Likewise.
4123         * sysdeps/m68k/bits/huge_val.h: Likewise.
4124         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4125         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
4126
4127         * conform/Makefile: New file.
4128         * conform/conformtest.pl: New file.
4129         * conform/data/aio.h-data: New file.
4130         * conform/data/assert.h-data: New file.
4131         * conform/data/cpio.h-data: New file.
4132         * conform/data/ctype.h-data: New file.
4133         * conform/data/dirent.h-data: New file.
4134         * conform/data/dlfcn.h-data: New file.
4135         * conform/data/errno.h-data: New file.
4136         * conform/data/fcntl.h-data: New file.
4137         * conform/data/float.h-data: New file.
4138         * conform/data/fmtmsg.h-data: New file.
4139         * conform/data/fnmatch.h-data: New file.
4140         * conform/data/ftw.h-data: New file.
4141         * conform/data/glob.h-data: New file.
4142         * conform/data/grp.h-data: New file.
4143         * conform/data/iconv.h-data: New file.
4144         * conform/data/inttypes.h-data: New file.
4145         * conform/data/iso646.h-data: New file.
4146         * conform/data/langinfo.h-data: New file.
4147         * conform/data/libgen.h-data: New file.
4148         * conform/data/locale.h-data: New file.
4149         * conform/data/math.h-data: New file.
4150
4151 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4152
4153         * posix/execvp.c (execvp): Correct copying of file name.
4154
4155 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
4156
4157         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
4158
4159 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4160
4161         * stdio-common/Makefile: Move addition to routines to the right place.
4162
4163 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4164
4165         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
4166         since mips*-linux has ECANCELED.
4167
4168 1999-08-23  Andreas Schwab  <schwab@suse.de>
4169
4170         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
4171         SIGCONTEXT_EXTRA_ARGS.
4172         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4173         * sysdeps/generic/sigcontextinfo.h: Likewise.
4174         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4175         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4176         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4177         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4178         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4179         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4180
4181 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4182
4183         * posix/regexbug1.c: Make it an error if the test fails.
4184
4185 1999-08-23  Andreas Schwab  <schwab@suse.de>
4186
4187         * posix/regex.c (re_match_2_internal): Correct check for charset
4188         after exactn in loop.
4189
4190 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
4191
4192         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
4193         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4194         Patch by Joel Klecker.
4195
4196         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
4197         (__gconv_find_transform): Update prototype.
4198         (__gconv_open): Likewise.
4199         * iconv/gconv_open.c: Take extra parameter and pass it to
4200         __gconv_find_transform.
4201         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
4202         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
4203         transformation.
4204         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
4205         * wcsmbs/wcsmbsload.c: Likewise.
4206         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
4207         iconv for glibc.
4208         * intl/gettextP.h: Likewise.
4209         * intl/loadmsgcat.c: Likewise.
4210
4211         * posix/regexbug1.c: New file.
4212         * posix/Makefile (tests): Add regexbug1.
4213
4214 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
4215
4216         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
4217         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
4218         installing PORT in the descriptor cell.
4219
4220 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
4221
4222         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
4223         TIMEOUT as outputs of the asm to indicate that the signal thread
4224         might mutate them.
4225         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
4226         mach_msg if only sending or only receiving (i.e., not an RPC).  When
4227         making an RPC that might get interrupted, save OPTION and the portion
4228         of the message buffer that gets clobbered by an EINTR reply message,
4229         and properly restore them before attempting to retry the request
4230         message send.
4231
4232 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
4233
4234         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
4235         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
4236         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
4237         stdio is used instead of libio.
4238         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
4239         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
4240         to make the code compile again when stdio is used instead of
4241         libio.
4242         (vfprintf): Only check for correct orientation if ORIENT is
4243         defined.
4244         * stdio-common/Makefile (routines): Only add vfwprintf and
4245         vfwscanf if we're using libio.
4246
4247 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
4248
4249         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
4250         any additional prototype just as we do for libio.
4251
4252 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
4253
4254         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
4255         TZNAME_MAX.  These limits are not X/Open specific.
4256         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
4257         is defined.
4258
4259 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
4260
4261         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
4262         UIO_MAXIOV is left undefined in sys/uio.h.
4263         * stdio-common/stdio_lim.h.in: Adapt for change above.
4264
4265 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4266
4267         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
4268         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
4269         Patches by Ralf Baechle <ralf@uni-koblenz.de>
4270
4271 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
4272
4273         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
4274
4275 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
4276
4277         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
4278
4279         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
4280         call.  It should not be necessary andis harmful for Alpha.
4281
4282         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
4283         type.  [PR libc/1269]
4284
4285         * posix/execvp.c (execvp): Allocate array name of correct size.
4286         Optimize inner loop.  Use execve directly, not execv.
4287
4288         * elf/elf.h: Corrected SHT_ values from new draft.
4289
4290         * intl/gettextP.h (struct loaded_domain): Add conv element.
4291         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
4292         Instead of returning found message directly convert it using iconv
4293         if a conversion was found when opening the file.
4294         * intl/loadinfo.h: Protect against multiple inclusion.
4295         Declare _nl_find_msg.
4296         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
4297         in the message file and if necessary find approrpiate
4298         conversion to match currently selected charset.
4299         * include/libintl.h: Declare __dgettext and __dcgettext.
4300         * include/iconv.h: New file.
4301
4302 1999-08-20  Andreas Schwab  <schwab@suse.de>
4303
4304         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4305
4306 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
4307
4308         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
4309         all threads [PR libc/1223].
4310
4311         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
4312         [PR libc/1165].
4313
4314         * configure.in: Search for programs with prefix gnu* and g* first.
4315         [PR libc/1104].
4316
4317         * dirent/Makefile (routines): Add getdents64.
4318         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
4319         Remove getdents64.
4320         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
4321         compiled with _FILE_OFFSET_BITS=64.
4322         * sysdeps/generic/getdents64.c: New file.
4323         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
4324         __lseek for getdirentries64 definition.
4325
4326         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
4327
4328         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
4329         _FILE_OFFSET_BITS=64.
4330
4331         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
4332         parameter.
4333
4334         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
4335         after we have the lock.
4336
4337         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
4338         Patch by Richard Henderson.
4339
4340 1999-08-19  Andreas Schwab  <schwab@suse.de>
4341
4342         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
4343         and call _IO_fwide, to get the wide stream state initialized
4344         correctly.  Don't set _IO_JUMPS.
4345         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
4346         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
4347         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
4348         directly.
4349
4350 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4351
4352         * math/libm-test.c (jn_test): Fix typo in description.
4353         (erfc_test): Add some more tests.
4354         (erf_test): Add some more tests.
4355
4356 1999-08-19  Andreas Schwab  <schwab@suse.de>
4357
4358         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
4359         expression using $(exceptions).
4360
4361 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
4362
4363         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
4364
4365         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
4366         allocated so far.  [PR libc/1261].
4367
4368         * math/libm-test.c (j0_test): Adjust deltas for m68k.
4369         (jn_test): Likewise.
4370
4371         * dirent/dirent.h: Only define ino64_t if not already done.
4372         * posix/sys/types.h: Likewise.
4373
4374         * ctype/ctype.h: Avoid useless #endif #if pairs.
4375
4376         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
4377         (seekdir): Fix type of second parameter.
4378         * sysdeps/generic/seekdir.c: Likewise.
4379         * sysdeps/mach/hurd/seekdir.c: Likewise.
4380         * sysdeps/unix/seekdir.c: Likewise.
4381
4382         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
4383
4384 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4385
4386         * manual/install.texi (Configuring and compiling): Clarify ix86
4387         situation.
4388
4389 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
4390
4391         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
4392         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
4393         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
4394         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
4395
4396         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
4397
4398         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
4399
4400         * misc/search.h: Don't define NULL.
4401
4402         * posix/sys/types.h: Define blksize_t if it hasn't happened.
4403         Only define key_t and blkcnt_t if it hasn't happened before.
4404         Define blksize_t if not happened before.
4405         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
4406         * sysdeps/generic/bits/types.h: Define __blksize_t.
4407         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4408         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4409         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4410         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4411         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4412         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
4413         st_blksize member.
4414         (struct stat64): Likewise.
4415         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4416         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4417         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4418         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4419         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4420         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
4421         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4422
4423         * stdlib/getsubopt.c: Correct type of second argument.
4424         * stdlib/stdlib.h: Likewise.
4425
4426         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
4427         and ssize_t.
4428
4429         * sysdeps/generic/putenv.c: Correct type of parameter.
4430         * stdlib/stdlib.h: Likewise.
4431
4432         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
4433         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4434         * sysvips/sys/msg.h: Likewise.
4435
4436         * sysdeps/generic/semop.c: Correct type of third parameter.
4437         * sysdeps/unix/sysv/linux/semop.c: Likewise.
4438         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
4439         size_t.
4440
4441         * sysdeps/generic/shmget.c: Correct type of second parameter.
4442         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
4443         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
4444         Declare __getpagesize here.
4445
4446         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
4447         sys/types.h.
4448         * sysdeps/gnu/bits/ipc.h: Likewise.
4449         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4450         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4451         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4452         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
4453         already done.
4454
4455         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
4456
4457         * debug/versions: Export __cyg_profile_func_enter and
4458         __cyg_profile_func_exit.
4459
4460         * math/bits/mathcalls.h: Pretty print.
4461
4462 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
4463
4464         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
4465         case for new tzdata.
4466
4467         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
4468         unsigned.
4469         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4470         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4471         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4472         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4473
4474         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
4475
4476         * sysdeps/generic/ualarm.c (ualarm): Change return value and
4477         parameter type to useconds_t.
4478         * sysdeps/unix/bsd/ualarm.c: Likewise.
4479
4480         * sysdeps/generic/usleep.c (usleep): Change parameter type to
4481         useconds_t.
4482         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
4483         * sysdeps/mach/usleep.c: Likewise.
4484
4485         * locale/weight.h: Include <errno.h>.
4486
4487         * posix/sys/types.h: Define type useconds_t if not done already.
4488         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
4489         declarations.
4490         * sysdeps/generic/bits/types.h: Define type __useconds_t.
4491         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4492         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4493         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4494         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4495         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4496
4497         * dirent/dirent.h (telldir): Change return type to long int.
4498         * sysdeps/generic/telldir.c: Likewise.
4499         * sysdeps/mach/hurd/telldir.c: Likewise.
4500         * sysdeps/unix/telldir.c: Likewise.
4501         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
4502
4503         * locale/weight.h: Set errno if an invalid character is found.
4504
4505 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4506
4507         * math/libm-test.c (erfc_test): Add test for example from PR
4508         libc/1259.
4509         (erf_test): Likewise.
4510
4511 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
4512
4513         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
4514         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
4515
4516         * timezone/private.h: Update from tzcode1999e.
4517         * timezone/zic.c: Likewise.
4518
4519         * timezone/africa: Update from tzdata1999e.
4520         * timezone/antarctica: Likewise.
4521         * timezone/asia: Likewise.
4522         * timezone/australasia: Likewise.
4523         * timezone/europe: Likewise.
4524         * timezone/leapseconds: Likewise.
4525         * timezone/northamerica: Likewise.
4526         * timezone/southamerica: Likewise.
4527
4528         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
4529         and write correct number of bytes in case of %ls with precision.
4530         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4531
4532 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
4533
4534         * nscd/nscd.init: Test for kernel version and make LSB compliant.
4535         Patch by Christian Gafton.
4536
4537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
4538         O_RSYNC.  Patch by Christian Gafton.
4539
4540         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
4541         possibly unterminated strings for %ls when a precision is
4542         specified.
4543         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
4544
4545         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
4546         update_conversion_ptrs.
4547         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4548
4549 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
4550
4551         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
4552         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4553
4554         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
4555         * wcsmbs/tst-wcsnlen.c: New file.
4556
4557 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4558
4559         * libio/ioputs.c (_IO_puts): Add missing brace.
4560
4561 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
4562
4563         * math/libm-test.c: Tweak deltas for a clean run on ppc.
4564
4565 1999-08-10  H.J. Lu  <hjl@gnu.org>
4566
4567         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
4568         (vfprintf): Likewise.
4569         * stdio-common/vfscanf.c (ORIENT): Likewise.
4570         * libio/genops.c (__underflow): Likewise.
4571         (__uflow): Likewise.
4572         * libio/iofputs.c (_IO_fputs): Likewise.
4573         * libio/ioftell.c (_IO_ftell): Likewise.
4574         * libio/iofwrite.c (_IO_fwrite): Likewise.
4575         * libio/ioputs.c (_IO_puts): Likewise.
4576         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4577         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4578
4579 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
4580
4581         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
4582
4583 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4584
4585         * manual/job.texi (Process Group Functions): Document getpgid,
4586         getsid.
4587
4588 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
4589
4590         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
4591         initialize si_pid from it.
4592         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
4593         parameter.
4594         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
4595         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
4596         (struct requestlist): Likewise.
4597         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
4598         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
4599         to __aio_sigqueue.
4600         (__aio_notify): Pass caller PID to __aio_notify_only.
4601         * rt/aio_suspend.c: Initialize caller_pid.
4602         * rt/lio_listio.c: Likewise.
4603         * rt/lio_listio64.c: Likewise.
4604
4605         * rt/lio_listio.c: If nothing has to be done free mutex before
4606         signalling.
4607         * rt/lio_listio64.c: Likewise.
4608
4609 1999-08-10  H.J. Lu  <hjl@gnu.org>
4610
4611         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
4612         handling.
4613
4614 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
4615
4616         * elf/elf.h: Define ElfXX_Versym.
4617         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
4618         definition.
4619
4620         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
4621         for string output correctly in the wide character case.
4622         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
4623
4624         * intl/locale.alias: Add catalan.
4625
4626 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4627
4628         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
4629
4630 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
4631
4632         * po/pt_BR.po: New file.
4633
4634 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4635
4636         * math/libm-test.c (yn_test): Adjust deltas for i386.
4637         (ccosh_test): Likewise.
4638         (jn_test): Likewise.
4639
4640 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
4641
4642         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
4643
4644 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
4645
4646         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
4647         problem.
4648
4649 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4650
4651         * configure.in: install-sh lives now in scripts subdir.
4652         PR libc/1255 (bug 4).
4653
4654 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
4655
4656         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
4657         version.
4658
4659         * po/fr.po: Update.
4660
4661 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
4662
4663         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
4664
4665 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
4666
4667         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
4668         exponent.
4669
4670 1999-08-10  Andreas Schwab  <schwab@suse.de>
4671
4672         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
4673         header.
4674
4675 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
4676
4677         * elf/elf.h: Added definition of ELFOSABI_ARM.
4678         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
4679         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
4680         object's header and ABI values are acceptable.
4681         (VALID_ELF_HEADER): New macro; provide default definition.
4682         (VALID_ELF_OSABI): New macro; provide default definition.
4683         (VALID_ELF_ABIVERSION): New macro; provide default definition.
4684         * sysdeps/arm/dl-machine.h Define ARM specific versions of
4685         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
4686
4687 1999-08-09  Andreas Schwab  <schwab@suse.de>
4688
4689         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
4690
4691 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
4692
4693         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
4694
4695 1999-08-09  Andreas Schwab  <schwab@suse.de>
4696
4697         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
4698
4699 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
4700
4701         * sysdeps/ieee754/ieee754.h: Handle platforms with special
4702         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
4703
4704         * string/bits/string2.h: Mark void* operations as extensions.
4705         * sysdeps/i386/i486/bits/string.h: Likewise.
4706
4707         * debug/Makefile (routines): Add noophooks.
4708         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
4709         * debug/noophooks.c: New file.
4710         * debug/pcprofile.c: New file.
4711
4712 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
4713
4714         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
4715         systems which allow using the functions also on non-seekable
4716         devices.
4717
4718         * resolv/res_send.c (res_send): Recompute timeout for poll for
4719         each jump to `wait'.
4720
4721         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
4722         braces to avoid warnings.
4723         (IN6ADDR_LOOPBACK_INIT): Likewise.
4724
4725         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
4726         MSG_DONTWAIT).
4727
4728 1999-08-06  H.J. Lu  <hjl@gnu.org>
4729
4730         * malloc/malloc.c: Initialize __libc_pagesize early.
4731
4732 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
4733
4734         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
4735         defining it.
4736
4737         * inet/Makefile (tests): Add tst-ipnode.
4738         * inet/tst-ipnode.c: New file.
4739
4740 1999-08-06  Andreas Schwab  <schwab@suse.de>
4741
4742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
4743         New definitions.
4744         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
4745         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
4746         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
4747         New definitions.
4748         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
4749         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
4750
4751 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
4752
4753         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
4754         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
4755         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
4756
4757 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
4758
4759         * resolv/res_send.c (res_send): Don't test file descriptor for
4760         range, we use poll now.  [PR libc/1240]
4761
4762 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
4763
4764         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
4765         2.0 defined if they are not available.
4766
4767 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
4768
4769         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
4770         Define.
4771
4772 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
4773
4774         * rt/aio_read.c: Fix return value.
4775         * rt/aio_read64.c: Likewise.
4776         Reported by Christian Gafton.
4777
4778         * rt/aio_write.c: Fix return value.
4779         * rt/aio_write64.c: Likewise.
4780         * rt/aio_fsync.c: Likewise.
4781
4782         * rt/aio_misc.c: Set errno at correct place.
4783
4784         * rt/aio_fsync.c: Test OP parameter for correct values.
4785
4786         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
4787
4788 1999-08-04  Andreas Schwab  <schwab@suse.de>
4789
4790         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
4791         Initialize result to one.
4792         (GET_NPROCS_CONF_PARSER): Likewise.
4793
4794 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
4795
4796         * inet/ether_hton.c: Pass errno pointer to NSS function.
4797         * inet/getnetgrent_r.c: Likewise.
4798         Reported by Marty Leisner <leisner@rochester.rr.com>.
4799
4800 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
4801
4802         * nis/nis_callback.c: Fix port problem on big-endian machines
4803         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
4804         fields are always 32 bit.
4805         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
4806
4807         * nis/nss_nis/nis-service.c: Remove htons, port is always in
4808         network-byte-order.
4809         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
4810
4811 1999-08-03  Andreas Schwab  <schwab@suse.de>
4812
4813         * sysdeps/posix/sigset.c: Unblock the signal after setting its
4814         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
4815         avoid two calls to sigprocmask.
4816
4817 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
4818
4819         * sysdeps/generic/s_nexttowardf.c: Fix typo.
4820
4821 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
4822
4823         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
4824         Only allow rt signal frames. No SA_SIGINFO signals will have the
4825         siginfo_t just not filled out with SI_NOINFO code.
4826         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
4827         (register_dump): Take the above change into account.
4828         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
4829         (rt_signal_frame): Likewise.
4830
4831         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
4832
4833 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
4834
4835         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
4836         instead of select().
4837
4838 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
4839
4840         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
4841         nexttoward so something else so that aliasing works.
4842
4843 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
4844
4845         * sysdeps/generic/math_ldbl.h: Fix typo.
4846         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
4847         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
4848
4849 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
4850
4851         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
4852
4853 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
4854
4855         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
4856         program.
4857         * elf/resolvfail.c: New file.
4858
4859         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
4860         pass it to _dl_lookup_symbol.
4861
4862         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
4863         bit.  Reword message.
4864
4865         * dlfcn/dlerror.c: Make code thread-safe.
4866
4867 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
4868
4869         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
4870         initializer in CHECK: a bit size, not the type code repeated!
4871
4872 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
4873
4874         * string/tester.c: Add tests with constant arguments for strcpy
4875         and stpcpy.
4876
4877 1999-07-31  H.J. Lu  <hjl@gnu.org>
4878
4879         * string/bits/string2.h (__strcpy_small): Fix a typo.
4880
4881 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
4882
4883         * Makeconfig (link-libc): Always define it, not only for shared
4884         builds.
4885
4886         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
4887         * sysdeps/i386/fpu/e_powf.S: Likewise.
4888         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
4889
4890         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
4891         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
4892
4893 1999-07-30  Andreas Schwab  <schwab@suse.de>
4894
4895         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
4896         definition.
4897         (__get_nprocs): Use it.
4898         (__get_nprocs_conf): Define as separate function if
4899         GET_NPROCS_CONF_PARSER is defined.
4900         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
4901
4902         * include/sys/sysinfo.h: New file.
4903         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
4904         interface.
4905         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4906
4907 1999-07-30  H.J. Lu  <hjl@gnu.org>
4908
4909         * libio/iofflush.c (fflush_unlocked): Weak aliase if
4910         _IO_MTSAFE_IO is not defined.
4911         * libio/clearerr.c (clearerr_unlocked): Likewise.
4912         * libio/feof.c (feof_unlocked): Likewise.
4913         * libio/ferror.c (ferror_unlocked): Likewise.
4914         * libio/fputc.c (fputc_unlocked): Likewise.
4915         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
4916         * libio/getchar.c (getchar_unlocked): Likewise.
4917         * libio/putc.c (putc_unlocked): Likewise.
4918         * libio/putchar.c (putchar_unlocked): Likewise.
4919
4920 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
4921
4922         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
4923           svc_max_pollfd and svc_pollfd to GLIBC_2.2
4924         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
4925           for svc_run/poll interface.
4926         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
4927         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
4928           global variable.
4929         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
4930           rewrite other svc_getreq* functions to use svc_getreq_common.
4931         * sunrpc/svc_run.c: Use poll().
4932
4933 1999-07-30  Andreas Schwab  <schwab@suse.de>
4934
4935         * Makerules: Put sysd-versions and Versions.all on
4936         postclean-generated instead of common-generated.
4937
4938 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4939
4940         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
4941         around and CLOCKS_PER_SEC is 1e6.
4942
4943 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
4944
4945         * configure.in: Add test for local label subtraction.
4946         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
4947         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
4948         labels to reduce number of runtime relocations and move jump
4949         tables in read-only seciton.
4950
4951         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
4952         assignment cannot be moved.
4953
4954 1999-07-29  H.J. Lu  <hjl@gnu.org>
4955
4956         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
4957         if no threads are used.
4958
4959         * libio/iofwrite.c: Add weak alias for _unlocked function if not
4960         _IO_MTSAFE_IO.
4961         * libio/iofread.c: Likewise.
4962         * libio/iofgets.c: Likewise.
4963         * libio/iofputs.c: Likewise.
4964
4965         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
4966         definition.
4967
4968         * stdlib/mbtowc.c: Include <string.h>.
4969         * stdlib/wctomb.c: Likewise.
4970         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
4971         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
4972
4973         * misc/mntent_r.c: Include <alloca.h>.
4974         * elf/dl-runtime.c: Likewise.
4975
4976 1999-07-29  Andreas Schwab  <schwab@suse.de>
4977
4978         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
4979         all floating point formats supported by gcc.  Error out for
4980         unhandled precisions.
4981         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
4982         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
4983         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
4984
4985 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
4986
4987         * sysdeps/generic/setenv.c: Move setenv code in new function
4988         __add_to_environ.  Add new parameter specifying already
4989         constructed string for the environment.
4990         (setenv): Call __add_to_environ with new parameter set to NULL.
4991         (unsetenv): Really test all elements for duplicated name.  Missed those
4992         cases where the two are following each other.
4993         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
4994         * include/stdlib.h: Add prototype of __add_to_environ.
4995         * stdlib/tst-environ.c: New file.
4996         * stdlib/Makefile (tests): Add tst-environ.
4997
4998         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
4999
5000         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
5001         argument in realloc call.
5002         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
5003         Likewise.
5004         Reported by Danny Braniss <danny@cs.huji.ac.il>.
5005
5006 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
5007
5008         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
5009         to print.
5010         * misc/efgcvt_r.c: Likewise.
5011         * misc/qefgcvt.c: Likewise.
5012         * misc/qefgcvt_r.c: Likewise.
5013         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
5014         anymore.
5015
5016 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5017
5018         * manual/math.texi (FP Function Optimization): Mention drawbacks.
5019
5020 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
5021
5022         * stdlib/mblen.c: Use static state.
5023         Reported by Bruno Haible <haible@ilog.fr>.
5024
5025         * stdlib/mbtowc.c: Reset state for s == NULL.
5026         * stdlib/wctomb.c: Likewise.
5027         Reported by Bruno Haible <haible@ilog.fr>.
5028
5029         * stdlib/mbstowcs.c: Do not use global state.
5030         Reported by Bruno Haible <haible@ilog.fr>.
5031
5032 1999-07-28  Andeas Schwab  <schwab@suse.de>
5033
5034         * iconvdata/Makefile: Don't try to run iconv tests when cross
5035         compiling.
5036
5037 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
5038
5039         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
5040         assembler code to switch stacks and call init1 outside this
5041         function.  Inside `init' the code was optimized away by gcc
5042         2.95 since it was "clearly" unreachable.
5043         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5044         Do something similar for the trampoline code.
5045
5046 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
5047
5048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
5049         for the hinted protocol.
5050
5051 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5052
5053         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
5054
5055 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5056
5057         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
5058         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
5059         * elf/dl-load.c (_dl_map_object): Likewise.
5060         * elf/do-lookup.h (do_lookup*): Likewise.
5061         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
5062         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
5063         as uint64_t.
5064         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
5065
5066 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5067
5068         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
5069         * sysdeps/generic/getpgrp.c: Likewise.
5070         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
5071         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
5072         Patch by John Tobey <jtobey@banta-im.com>.
5073
5074         * sysdeps/posix/wait3.c: Help compiling in presence of
5075         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
5076
5077 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5078
5079         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
5080         as much as possible. Declare them using .register pseudo-op if they
5081         are still used.
5082         * sysdeps/sparc/sparc64/lshift.S: Likewise.
5083         * sysdeps/sparc/sparc64/memchr.S: Likewise.
5084         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5085         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5086         * sysdeps/sparc/sparc64/memset.S: Likewise.
5087         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5088         * sysdeps/sparc/sparc64/rshift.S: Likewise.
5089         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
5090         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5091         * sysdeps/sparc/sparc64/strcat.S: Likewise.
5092         * sysdeps/sparc/sparc64/strchr.S: Likewise.
5093         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
5094         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
5095         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
5096         * sysdeps/sparc/sparc64/strlen.S: Likewise.
5097         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5098         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5099         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
5100         * sysdeps/sparc/sparc64/strspn.S: Likewise.
5101         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
5102         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5103         Optimize trampoline code for .plt4-.plt32767.
5104         Fix trampolines for .plt32768+.
5105
5106 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5107
5108         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
5109         -mcpu=v8.
5110         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
5111         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
5112         libc's private use (as assembly routine clobber it anyway).
5113
5114 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5115
5116         * README.template (configurations): The crypt add-on has a new
5117         ftp site.
5118         * manual/install.texi (Installation): Likewise.
5119
5120 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5121
5122         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
5123         requires to have a full definition but we wait for a bug report
5124         based on the test suite.
5125
5126         * sysdeps/generic/clock_getres.c: New file.
5127         * sysdeps/generic/clock_gettime.c: New file.
5128         * sysdeps/generic/clock_settime.c: New file.
5129         * sysdeps/generic/timer_create.c: New file.
5130         * sysdeps/generic/timer_delete.c: New file.
5131         * sysdeps/generic/timer_getoverr.c: New file.
5132         * sysdeps/generic/timer_gettime.c: New file.
5133         * sysdeps/generic/timer_settime.c: New file.
5134
5135         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
5136         CLOCK_REALTIME, and TIMER_ABSTIME.
5137         * sysdeps/mach/hurd/bits/time.h: Likewise.
5138         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5139         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5140
5141         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
5142
5143         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
5144         si_timer2.
5145
5146         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
5147
5148         * time/Makefile (routines): Add clock_getres, clock_gettime,
5149         clock_setres, timer_create, timer_delete, timer_getoverr,
5150         timer_gettime, and timer_settime.
5151
5152         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
5153         POSIX.1b.  Add prototypes for clock and timer functions.
5154
5155 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
5156
5157         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
5158         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
5159
5160 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5161
5162         * stdlib/wcstombs.c: Do not use global state.
5163         Reported by Bruno Haible <haible@ilog.fr>.
5164
5165         * wcsmbs/wctob.c: Avoid sign extension when returning character.
5166         Reported by Bruno Haible <haible@ilog.fr>.
5167
5168         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
5169         of wide characters to convert do it right and don't overestimate
5170         by multiplying with MB_CUR_MAX.
5171         Reported by Bruno Haible <haible@ilog.fr>.
5172
5173 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
5174
5175         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
5176         (__stpcpy_small): Likewise.
5177         Union has no __uc member but __c.
5178
5179 1999-07-26  Andreas Schwab  <schwab@suse.de>
5180
5181         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
5182
5183 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
5184
5185         * libio/iofclose.c (_IO_new_fclose): Only fall back on
5186         _IO_old_fclose if doing versioning.
5187
5188         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
5189         them appropriately.
5190         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5191
5192         * misc/mntent_r.c: Allow spaces and tabs in entry names by
5193         encoding these characters.
5194         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
5195
5196         * string/bits/string2.h: Fix aliasing problems.
5197         * sysdeps/i386/i486/bits/string.h: Likewise.
5198         * sysdeps/i386/bits/string.h: Likewise.
5199
5200 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
5201
5202         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
5203         * elf/rtld.c (dl_main): Don't call malloc() between
5204         re-relocating the dynamic linker and running the application's crt0.
5205
5206 1999-07-21  Paul D. Smith  <psmith@gnu.org>
5207
5208         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
5209         glob.h to get __P() macro.
5210
5211         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
5212         not ANSI.
5213         (__strchrnul): This won't exist outside GLIBC, so create one.
5214
5215 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
5216
5217         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
5218         __ino64_t should be 32bit unsigned type on sparc32.
5219         Define __off64_t to __quad_t instead of __int64_t.
5220         Make __pic_pid_t unsigned on sparc32.
5221
5222 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5223
5224         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
5225         in bash 2.03.
5226
5227 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
5228
5229         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
5230         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
5231
5232 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
5233
5234         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
5235         accesses.
5236
5237         * resolv/res_send.c: Add locks for res_send and res_close use.
5238
5239         * elf/Makefile (dl-routines): Add preinit.
5240         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
5241         * elf/link.h (struct link_map): Add new field l_preinitcount.
5242         * elf/dl-preinit.c: New file.
5243         * elf/dynamic-link.h: Initialize l_preinitcount.
5244         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
5245
5246         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
5247         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
5248         and l_initcount.
5249         * elf/dl-init.c: Handle DT_INIT_ARRAY.
5250         * elf/dynamic-link.h: Change parameters.  Now only get link_map
5251         pointer.  Calculate l_initcount.
5252
5253         * elf/link.h (struct link_map): Add l_runpath_dirs.
5254         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
5255         * elf/dl-load.c: Pretty print.
5256         (decompose_rpath): Take new parameter with info from where the path
5257         comes.  Pass it the fillin_rpath.
5258         (_dl_init_paths): Initialize l_runpath_dirs.
5259         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
5260         Search using RUNPATH after LD_LIBRARY_PATH.
5261         * elf/dl-support.c: Adjust comment.
5262         * elf/rtld.c: Adjust help message.
5263
5264 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5265
5266         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
5267         interface.
5268
5269 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
5270
5271         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
5272         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
5273         ever used this, so I'm not going to worry about compatibility.
5274         [__USE_GNU] (IUCLC, OLCUC): New macros.
5275
5276 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
5277
5278         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
5279
5280         * elf/elf.h: Add ET_LOOS and ET_HIOS.
5281         Add various EM_* constants.
5282         Add SHN_LOOS and SHN_HIOS.
5283         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
5284         Add SHF_MERGE and SHF_STRINGS.
5285         (ElfXX_Sym): Update description of st_other field.
5286         Add STT_COMMON.
5287         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
5288         Add STV_* macros.
5289         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
5290         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
5291         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
5292
5293         * posix/unistd.h: Move declaration of __libc_enable_secure to...
5294         * include/unistd.h: ...here.
5295
5296         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
5297         * elf/dl-deps.c (expand_dst): Likewise.
5298
5299         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
5300         based on DT_FLAGS value.
5301
5302         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
5303         Add test for symbols marked STV_HIDDEN.
5304         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
5305         add undef_map.  Compute reference_name locally.  Update call to
5306         do_lookup.
5307         (_dl_lookup_symbol_skip): Likewise.
5308         (_dl_lookup_versioned_symbol): Likewise.
5309         (_dl_lookup_versioned_symbol_skip): Likewise.
5310         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
5311         * elf/dl-runtime.c: Likewise.
5312         * elf/dl-sym.c: Likewise.
5313         * elf/dl-symbol.c: Likewise.
5314         * elf/ldsodefs.h: Adjust prototypes.
5315
5316         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
5317         handle appropriately.  Add comment about DT_TEXTREL.
5318         * elf/dl-runtime.c: Likewise.
5319
5320 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
5321
5322         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
5323         * elf/ldsodefs.h: Declare it.
5324         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
5325         instead of assert.
5326         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
5327         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5328         (elf_machine_lazy_rel): Likewise.
5329         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
5330         (elf_machine_lazy_rel): Likewise.
5331         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
5332         (elf_machine_lazy_rel): Likewise.
5333         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5334         (elf_machine_lazy_rel): Likewise.
5335         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5336         (elf_machine_lazy_rel): Likewise.
5337         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
5338         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
5339         (elf_machine_lazy_rel): Likewise.
5340         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5341         (elf_machine_lazy_rel): Likewise.
5342         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
5343         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
5344         _dl_reloc_bad_type instead of _dl_signal_error.
5345         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
5346
5347 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
5348
5349         * sysdeps/mach/_strerror.c: Include <libintl.h>.
5350
5351 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
5352
5353         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
5354         hurd_signal_preemptor matches but its `preemptor' field is null, use
5355         its `handler' field directly.  This is to comply with behavior
5356         documented in <hurd/sigpreempt.h>.
5357
5358 1999-07-21  Andreas Schwab  <schwab@suse.de>
5359
5360         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
5361         when reading from write-only stream.
5362         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
5363         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5364
5365 1999-07-21  Andreas Schwab  <schwab@suse.de>
5366
5367         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
5368         NULL.
5369
5370 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
5371
5372         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
5373         <hurd/fd.h>.
5374         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
5375         <hurd/fd.h>.
5376         (__libc_write): Call __pwrite instead of __pread.
5377
5378 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
5379
5380         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
5381         __vm_allocate calls.
5382
5383         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
5384         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
5385
5386         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
5387         _hurd_fd_read with new OFFSET argument set to -1.
5388         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
5389         to -1.
5390
5391 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
5392
5393         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
5394         descriptor table sent in the RPC.
5395
5396 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5397
5398         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
5399         bill@taniwha.org [PR libc/1211].
5400
5401 1999-07-19  Andreas Schwab  <schwab@suse.de>
5402
5403         * libio/Makefile (routines): Add fwprintf.
5404
5405         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
5406         * math/w_sqrt.c: Moved to ...
5407         * sysdeps/generic/w_sqrt.c: ... here.
5408         * math/w_sqrtf.c: Moved to ...
5409         * sysdeps/generic/w_sqrtf.c: ... here.
5410
5411         * Make-dist (generic-dirs): New variable.
5412         (try-sysdeps, +sysdep-names): Use it.
5413         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
5414         instead of $(lib)-routines.
5415         * elf/Makefile (distribute): Add dl-cache.h.
5416         * db2/Makefile (distribute): Add all new files.
5417         * iconvdata/Makefile (distribute): Don't distribute CVS
5418         directory.
5419         * math/Makefile (distribute): Remove machine/endian.h, add
5420         math_ldbl.h.
5421         * stdio-common/Makefile (distribute): Add _itowa.h.
5422         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
5423         * sysdeps/gnu/Dist: Add eval.c
5424         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
5425         dlfcn]: Add to this instead of libdl-routines.
5426         * sysdeps/ieee754/ldbl-128/Dist: New file.
5427         * sysdeps/mach/hurd/Dist: Add siglist.h
5428         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
5429
5430 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
5431
5432         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
5433
5434         * inet/Makefile (routines): Add getipnodebyad and freehostent.
5435         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
5436         * inet/freehostent.c: New file.
5437         * inet/getipnodebyad.c: New file.
5438         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
5439         and getipnodebyname.  The latter comes soon.
5440         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
5441         Add support for getipnode* functions.
5442
5443         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
5444         Set h_aliases to NULL and not to a pointer to an array with a NULL
5445         pointer following XNS 5.2.
5446
5447         * posix/sched.h: Remove internal interfaces.
5448         * include/sched.h: Add internal interfaces.
5449
5450         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
5451
5452         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
5453
5454         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
5455         and return an error in this case.
5456         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
5457         available.
5458
5459 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5460
5461         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
5462         1999-07-17 and adjust len parameter.
5463         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5464         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
5465         * manual/socket.texi (Host Names): Likewise.
5466         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5467         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5468         Likewise.
5469         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5470         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5471         (ht_gethostbyaddr): Likewise.
5472         (_gethtbyaddr): Likewise.
5473
5474 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
5475
5476         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
5477         gethostbyaddr_r.
5478         * include/netdb.h: Likewise.
5479         * inet/gethstbyad.c: Correct type of len parameter.
5480         * inet/gethstbyad_r.c: Likewise.
5481
5482         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
5483
5484 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
5485
5486         * include/libc-symbol.h: Clean up definitions of weak_alias,
5487         strong_alias, symbol_version, etc. etc.
5488         * posix/getopt.h: Use ctype.h to get features.h included, and don't
5489         include it at all if __GNU_LIBRARY__ is already defined.
5490
5491 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
5492
5493         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
5494
5495         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
5496
5497         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
5498         type for tv_usec element.
5499         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5500         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
5501         * sysdeps/generic/bits/time.h: Likewise.
5502         * sysdeps/mach/hurd/bits/time.h: Likewise.
5503         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5504         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5505         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5506         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5507         * sysdeps/generic/bits/types.h: Likewise.
5508         * posix/sys/types.h: Define suseconds_t for X/Open.
5509
5510 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
5511
5512         * stdio-common/bug1.c: Avoid memory leak.
5513
5514         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
5515         program deterministic.
5516         * sysdeps/i386/fpu/e_powf.S: Likewise.
5517         * sysdeps/i386/fpu/e_powl.S: Likewise.
5518
5519 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
5520
5521         * math/Makefile: Add t_sincosl and k_sincosl support routines.
5522         * math/math_private.h (__kernel_sincosl): New declaration.
5523         * sysdeps/generic/t_sincosl.c: New file.
5524         * sysdeps/generic/k_sincosl.c: New file.
5525         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
5526         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
5527         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
5528         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
5529         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
5530         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
5531         __kernel_sincosl.
5532         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
5533         definition.
5534
5535 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
5536
5537         * posix/unistd.h: Use __PMT for exit.
5538
5539 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
5540
5541         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
5542         _outw, _outl): Added to GLIBC_2.1.2.
5543
5544 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
5545
5546         * posix/fnmatch.h: Use __name instead of __string in prototype to
5547         allow use outside glibc.
5548
5549 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
5550
5551         * time/tst-strptime.c (main): Add one more test case.  Produce
5552         output even when result is ok.
5553
5554         * time/strptime.c (get_number): Handle number parsing more
5555         consistent with strftime.  Only parse a given number of digits.
5556         (get_alt_number):  Fix implementation.  Was broken.
5557         (strptime_internal): Add third parameter to get_number and
5558         get_alt_number calls.
5559
5560 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
5561
5562         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
5563         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
5564         try both 32bit and 64bit dynamic linker.
5565         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
5566         script on all sparc targets.
5567
5568 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
5569
5570         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
5571         to int.
5572
5573 1999-07-13  Andreas Schwab  <schwab@suse.de>
5574
5575         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
5576         inlining.  Fixes PR libc/1198.
5577
5578 1999-07-14  Andreas Schwab  <schwab@suse.de>
5579
5580         * Makerules (common-generated): Don't prepend $(common-objpfx).
5581
5582 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
5583
5584         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
5585         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
5586         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
5587         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
5588         macro.
5589         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5590         instead of ieee754.
5591         * sysdeps/arm/Implies: Likewise.
5592         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
5593         ieee754/ldbl-96 instead of ieee754.
5594         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
5595         * sysdeps/generic/e_atanhl.c: New file.
5596         * sysdeps/generic/e_coshl.c: New file.
5597         * sysdeps/generic/e_sinhl.c: New file.
5598         * sysdeps/generic/e_gammal_r.c: New file.
5599         * sysdeps/generic/e_hypotl.c: New file.
5600         * sysdeps/generic/s_cbrtl.c: New file.
5601         * sysdeps/generic/s_asinhl.c: New file.
5602         * sysdeps/generic/s_tanhl.c: New file.
5603         * sysdeps/generic/w_expl.c: New file.
5604         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5605         instead of ieee754.
5606         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
5607         ieee754/ldbl-96 instead of ieee754.
5608         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
5609         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
5610         printf_fphex.
5611         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5612         instead of ieee754.
5613         * sysdeps/mips/mips64/Implies: Likewise.
5614         * sysdeps/powerpc/Implies: Likewise.
5615         * sysdeps/sparc/Implies: Remove.
5616         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
5617         ieee754/dbl-64.
5618         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
5619         and ieee754/ldbl-128.
5620
5621         * sysdeps/sparc/bits/wordsize.h: Remove.
5622         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
5623         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
5624         only for sparc32.
5625         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
5626         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
5627         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
5628         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
5629         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
5630         support.
5631
5632         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
5633         of carries. Optimize.
5634
5635         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
5636         * sysdeps/generic/e_exp10.c: ...here.
5637         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
5638         * sysdeps/generic/e_exp10f.c: ...here.
5639         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
5640         * sysdeps/generic/e_exp10l.c: ...here.
5641         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
5642         * sysdeps/generic/e_scalb.c: ...here.
5643         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
5644         * sysdeps/generic/e_scalbf.c: ...here.
5645         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
5646         * sysdeps/generic/e_scalbl.c: ...here.
5647         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
5648         * sysdeps/generic/s_cacos.c: ...here.
5649         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
5650         * sysdeps/generic/s_cacosf.c: ...here.
5651         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
5652         * sysdeps/generic/s_cacosh.c: ...here.
5653         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
5654         * sysdeps/generic/s_cacoshf.c: ...here.
5655         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
5656         * sysdeps/generic/s_cacoshl.c: ...here.
5657         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
5658         * sysdeps/generic/s_cacosl.c: ...here.
5659         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
5660         * sysdeps/generic/s_casin.c: ...here.
5661         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
5662         * sysdeps/generic/s_casinf.c: ...here.
5663         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
5664         * sysdeps/generic/s_casinh.c: ...here.
5665         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
5666         * sysdeps/generic/s_casinhf.c: ...here.
5667         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
5668         * sysdeps/generic/s_casinhl.c: ...here.
5669         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
5670         * sysdeps/generic/s_casinl.c: ...here.
5671         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
5672         * sysdeps/generic/s_catan.c: ...here.
5673         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
5674         * sysdeps/generic/s_catanf.c: ...here.
5675         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
5676         * sysdeps/generic/s_catanh.c: ...here.
5677         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
5678         * sysdeps/generic/s_catanhf.c: ...here.
5679         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
5680         * sysdeps/generic/s_catanhl.c: ...here.
5681         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
5682         * sysdeps/generic/s_catanl.c: ...here.
5683         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
5684         * sysdeps/generic/s_ccos.c: ...here.
5685         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
5686         * sysdeps/generic/s_ccosf.c: ...here.
5687         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
5688         * sysdeps/generic/s_ccosh.c: ...here.
5689         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
5690         * sysdeps/generic/s_ccoshf.c: ...here.
5691         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
5692         * sysdeps/generic/s_ccoshl.c: ...here.
5693         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
5694         * sysdeps/generic/s_ccosl.c: ...here.
5695         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
5696         * sysdeps/generic/s_cexp.c: ...here.
5697         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
5698         * sysdeps/generic/s_cexpf.c: ...here.
5699         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
5700         * sysdeps/generic/s_cexpl.c: ...here.
5701         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
5702         * sysdeps/generic/s_clog.c: ...here.
5703         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
5704         * sysdeps/generic/s_clog10.c: ...here.
5705         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
5706         * sysdeps/generic/s_clog10f.c: ...here.
5707         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
5708         * sysdeps/generic/s_clog10l.c: ...here.
5709         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
5710         * sysdeps/generic/s_clogf.c: ...here.
5711         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
5712         * sysdeps/generic/s_clogl.c: ...here.
5713         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
5714         * sysdeps/generic/s_cpow.c: ...here.
5715         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
5716         * sysdeps/generic/s_cpowf.c: ...here.
5717         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
5718         * sysdeps/generic/s_cpowl.c: ...here.
5719         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
5720         * sysdeps/generic/s_cproj.c: ...here.
5721         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
5722         * sysdeps/generic/s_cprojf.c: ...here.
5723         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
5724         * sysdeps/generic/s_cprojl.c: ...here.
5725         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
5726         * sysdeps/generic/s_csin.c: ...here.
5727         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
5728         * sysdeps/generic/s_csinf.c: ...here.
5729         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
5730         * sysdeps/generic/s_csinh.c: ...here.
5731         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
5732         * sysdeps/generic/s_csinhf.c: ...here.
5733         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
5734         * sysdeps/generic/s_csinhl.c: ...here.
5735         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
5736         * sysdeps/generic/s_csinl.c: ...here.
5737         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
5738         * sysdeps/generic/s_csqrt.c: ...here.
5739         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
5740         * sysdeps/generic/s_csqrtf.c: ...here.
5741         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
5742         * sysdeps/generic/s_csqrtl.c: ...here.
5743         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
5744         * sysdeps/generic/s_ctan.c: ...here.
5745         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
5746         * sysdeps/generic/s_ctanf.c: ...here.
5747         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
5748         * sysdeps/generic/s_ctanh.c: ...here.
5749         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
5750         * sysdeps/generic/s_ctanhf.c: ...here.
5751         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
5752         * sysdeps/generic/s_ctanhl.c: ...here.
5753         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
5754         * sysdeps/generic/s_ctanl.c: ...here.
5755         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
5756         * sysdeps/generic/s_fdim.c: ...here.
5757         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
5758         * sysdeps/generic/s_fdimf.c: ...here.
5759         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
5760         * sysdeps/generic/s_fdiml.c: ...here.
5761         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
5762         * sysdeps/generic/s_fma.c: ...here.
5763         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
5764         * sysdeps/generic/s_fmaf.c: ...here.
5765         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
5766         * sysdeps/generic/s_fmal.c: ...here.
5767         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
5768         * sysdeps/generic/s_fmax.c: ...here.
5769         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
5770         * sysdeps/generic/s_fmaxf.c: ...here.
5771         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
5772         * sysdeps/generic/s_fmaxl.c: ...here.
5773         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
5774         * sysdeps/generic/s_fmin.c: ...here.
5775         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
5776         * sysdeps/generic/s_fminf.c: ...here.
5777         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
5778         * sysdeps/generic/s_fminl.c: ...here.
5779         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
5780         * sysdeps/generic/s_ldexp.c: ...here.
5781         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
5782         * sysdeps/generic/s_ldexpf.c: ...here.
5783         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
5784         * sysdeps/generic/s_ldexpl.c: ...here.
5785         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
5786         * sysdeps/generic/s_nan.c: ...here.
5787         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
5788         * sysdeps/generic/s_nanf.c: ...here.
5789         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
5790         * sysdeps/generic/s_nanl.c: ...here.
5791         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
5792         * sysdeps/generic/s_significand.c: ...here.
5793         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
5794         * sysdeps/generic/s_significandf.c: ...here.
5795         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
5796         * sysdeps/generic/s_significandl.c: ...here.
5797         Avoid conversion from int to double and then to long double.
5798         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
5799         * math/w_acos.c: ...here.
5800         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
5801         * math/w_acosf.c: ...here.
5802         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
5803         * math/w_acosh.c: ...here.
5804         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
5805         * math/w_acoshf.c: ...here.
5806         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
5807         * math/w_acoshl.c: ...here.
5808         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
5809         * math/w_acosl.c: ...here.
5810         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
5811         * math/w_asin.c: ...here.
5812         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
5813         * math/w_asinf.c: ...here.
5814         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
5815         * math/w_asinl.c: ...here.
5816         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
5817         * math/w_atan2.c: ...here.
5818         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
5819         * math/w_atan2f.c: ...here.
5820         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
5821         * math/w_atan2l.c: ...here.
5822         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
5823         * math/w_atanh.c: ...here.
5824         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
5825         * math/w_atanhf.c: ...here.
5826         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
5827         * math/w_atanhl.c: ...here.
5828         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
5829         * math/w_cosh.c: ...here.
5830         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
5831         * math/w_coshf.c: ...here.
5832         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
5833         * math/w_coshl.c: ...here.
5834         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
5835         * math/w_drem.c: ...here.
5836         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
5837         * math/w_dremf.c: ...here.
5838         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
5839         * math/w_dreml.c: ...here.
5840         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
5841         * math/w_exp10.c: ...here.
5842         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
5843         * math/w_exp10f.c: ...here.
5844         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
5845         * math/w_exp10l.c: ...here.
5846         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
5847         * math/w_exp2.c: ...here.
5848         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
5849         * math/w_exp2f.c: ...here.
5850         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
5851         * math/w_exp2l.c: ...here.
5852         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
5853         * math/w_fmod.c: ...here.
5854         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
5855         * math/w_fmodf.c: ...here.
5856         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
5857         * math/w_fmodl.c: ...here.
5858         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
5859         * math/w_hypot.c: ...here.
5860         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
5861         * math/w_hypotf.c: ...here.
5862         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
5863         * math/w_hypotl.c: ...here.
5864         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
5865         * math/w_j0.c: ...here.
5866         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
5867         * math/w_j0f.c: ...here.
5868         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
5869         * math/w_j0l.c: ...here.
5870         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
5871         * math/w_j1.c: ...here.
5872         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
5873         * math/w_j1f.c: ...here.
5874         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
5875         * math/w_j1l.c: ...here.
5876         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
5877         * math/w_jn.c: ...here.
5878         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
5879         * math/w_jnf.c: ...here.
5880         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
5881         * math/w_jnl.c: ...here.
5882         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
5883         * math/w_lgamma.c: ...here.
5884         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
5885         * math/w_lgamma_r.c: ...here.
5886         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
5887         * math/w_lgammaf.c: ...here.
5888         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
5889         * math/w_lgammaf_r.c: ...here.
5890         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
5891         * math/w_lgammal.c: ...here.
5892         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
5893         * math/w_lgammal_r.c: ...here.
5894         * sysdeps/libm-ieee754/w_log.c: Moved to ...
5895         * math/w_log.c: ...here.
5896         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
5897         * math/w_log10.c: ...here.
5898         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
5899         * math/w_log10f.c: ...here.
5900         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
5901         * math/w_log10l.c: ...here.
5902         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
5903         * math/w_logf.c: ...here.
5904         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
5905         * math/w_logl.c: ...here.
5906         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
5907         * math/w_pow.c: ...here.
5908         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
5909         * math/w_powf.c: ...here.
5910         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
5911         * math/w_powl.c: ...here.
5912         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
5913         * math/w_remainder.c: ...here.
5914         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
5915         * math/w_remainderf.c: ...here.
5916         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
5917         * math/w_remainderl.c: ...here.
5918         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
5919         * math/w_scalb.c: ...here.
5920         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
5921         * math/w_scalbf.c: ...here.
5922         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
5923         * math/w_scalbl.c: ...here.
5924         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
5925         * math/w_sinh.c: ...here.
5926         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
5927         * math/w_sinhf.c: ...here.
5928         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
5929         * math/w_sinhl.c: ...here.
5930         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
5931         * math/w_sqrt.c: ...here.
5932         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
5933         * math/w_sqrtf.c: ...here.
5934         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
5935         * math/w_sqrtl.c: ...here.
5936         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
5937         * math/w_tgamma.c: ...here.
5938         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
5939         * math/w_tgammaf.c: ...here.
5940         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
5941         * math/w_tgammal.c: ...here.
5942         * sysdeps/libm-i387/e_acos.S: Moved to ...
5943         * sysdeps/i386/fpu/e_acos.S: ...here.
5944         * sysdeps/libm-i387/e_acosf.S: Moved to ...
5945         * sysdeps/i386/fpu/e_acosf.S: ...here.
5946         * sysdeps/libm-i387/e_acosh.S: Moved to ...
5947         * sysdeps/i386/fpu/e_acosh.S: ...here.
5948         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
5949         * sysdeps/i386/fpu/e_acoshf.S: ...here.
5950         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
5951         * sysdeps/i386/fpu/e_acoshl.S: ...here.
5952         * sysdeps/libm-i387/e_acosl.S: Moved to ...
5953         * sysdeps/i386/fpu/e_acosl.S: ...here.
5954         * sysdeps/libm-i387/e_asin.S: Moved to ...
5955         * sysdeps/i386/fpu/e_asin.S: ...here.
5956         * sysdeps/libm-i387/e_asinf.S: Moved to ...
5957         * sysdeps/i386/fpu/e_asinf.S: ...here.
5958         * sysdeps/libm-i387/e_asinl.S: Moved to ...
5959         * sysdeps/i386/fpu/e_asinl.S: ...here.
5960         * sysdeps/libm-i387/e_atan2.S: Moved to ...
5961         * sysdeps/i386/fpu/e_atan2.S: ...here.
5962         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
5963         * sysdeps/i386/fpu/e_atan2f.S: ...here.
5964         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
5965         * sysdeps/i386/fpu/e_atan2l.S: ...here.
5966         * sysdeps/libm-i387/e_atanh.S: Moved to ...
5967         * sysdeps/i386/fpu/e_atanh.S: ...here.
5968         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
5969         * sysdeps/i386/fpu/e_atanhf.S: ...here.
5970         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
5971         * sysdeps/i386/fpu/e_atanhl.S: ...here.
5972         * sysdeps/libm-i387/e_exp.S: Moved to ...
5973         * sysdeps/i386/fpu/e_exp.S: ...here.
5974         * sysdeps/libm-i387/e_exp10.S: Moved to ...
5975         * sysdeps/i386/fpu/e_exp10.S: ...here.
5976         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
5977         * sysdeps/i386/fpu/e_exp10f.S: ...here.
5978         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
5979         * sysdeps/i386/fpu/e_exp10l.S: ...here.
5980         * sysdeps/libm-i387/e_expf.S: Moved to ...
5981         * sysdeps/i386/fpu/e_expf.S: ...here.
5982         * sysdeps/libm-i387/e_expl.S: Moved to ...
5983         * sysdeps/i386/fpu/e_expl.S: ...here.
5984         * sysdeps/libm-i387/e_fmod.S: Moved to ...
5985         * sysdeps/i386/fpu/e_fmod.S: ...here.
5986         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
5987         * sysdeps/i386/fpu/e_fmodf.S: ...here.
5988         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
5989         * sysdeps/i386/fpu/e_fmodl.S: ...here.
5990         * sysdeps/libm-i387/e_hypot.S: Moved to ...
5991         * sysdeps/i386/fpu/e_hypot.S: ...here.
5992         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
5993         * sysdeps/i386/fpu/e_hypotf.S: ...here.
5994         * sysdeps/libm-i387/e_log.S: Moved to ...
5995         * sysdeps/i386/fpu/e_log.S: ...here.
5996         * sysdeps/libm-i387/e_log10.S: Moved to ...
5997         * sysdeps/i386/fpu/e_log10.S: ...here.
5998         * sysdeps/libm-i387/e_log10f.S: Moved to ...
5999         * sysdeps/i386/fpu/e_log10f.S: ...here.
6000         * sysdeps/libm-i387/e_log10l.S: Moved to ...
6001         * sysdeps/i386/fpu/e_log10l.S: ...here.
6002         * sysdeps/libm-i387/e_logf.S: Moved to ...
6003         * sysdeps/i386/fpu/e_logf.S: ...here.
6004         * sysdeps/libm-i387/e_logl.S: Moved to ...
6005         * sysdeps/i386/fpu/e_logl.S: ...here.
6006         * sysdeps/libm-i387/e_pow.S: Moved to ...
6007         * sysdeps/i386/fpu/e_pow.S: ...here.
6008         * sysdeps/libm-i387/e_powf.S: Moved to ...
6009         * sysdeps/i386/fpu/e_powf.S: ...here.
6010         * sysdeps/libm-i387/e_powl.S: Moved to ...
6011         * sysdeps/i386/fpu/e_powl.S: ...here.
6012         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
6013         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
6014         * sysdeps/libm-i387/e_remainder.S: Moved to ...
6015         * sysdeps/i386/fpu/e_remainder.S: ...here.
6016         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
6017         * sysdeps/i386/fpu/e_remainderf.S: ...here.
6018         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
6019         * sysdeps/i386/fpu/e_remainderl.S: ...here.
6020         * sysdeps/libm-i387/e_scalb.S: Moved to ...
6021         * sysdeps/i386/fpu/e_scalb.S: ...here.
6022         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
6023         * sysdeps/i386/fpu/e_scalbf.S: ...here.
6024         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
6025         * sysdeps/i386/fpu/e_scalbl.S: ...here.
6026         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
6027         * sysdeps/i386/fpu/e_sqrt.S: ...here.
6028         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
6029         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
6030         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
6031         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
6032         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
6033         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
6034         * sysdeps/libm-i387/s_asinh.S: Moved to ...
6035         * sysdeps/i386/fpu/s_asinh.S: ...here.
6036         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
6037         * sysdeps/i386/fpu/s_asinhf.S: ...here.
6038         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
6039         * sysdeps/i386/fpu/s_asinhl.S: ...here.
6040         * sysdeps/libm-i387/s_atan.S: Moved to ...
6041         * sysdeps/i386/fpu/s_atan.S: ...here.
6042         * sysdeps/libm-i387/s_atanf.S: Moved to ...
6043         * sysdeps/i386/fpu/s_atanf.S: ...here.
6044         * sysdeps/libm-i387/s_atanl.S: Moved to ...
6045         * sysdeps/i386/fpu/s_atanl.S: ...here.
6046         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
6047         * sysdeps/i386/fpu/s_cbrt.S: ...here.
6048         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
6049         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
6050         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
6051         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
6052         * sysdeps/libm-i387/s_ceil.S: Moved to ...
6053         * sysdeps/i386/fpu/s_ceil.S: ...here.
6054         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
6055         * sysdeps/i386/fpu/s_ceilf.S: ...here.
6056         * sysdeps/libm-i387/s_ceill.S: Moved to ...
6057         * sysdeps/i386/fpu/s_ceill.S: ...here.
6058         * sysdeps/libm-i387/s_cexp.S: Moved to ...
6059         * sysdeps/i386/fpu/s_cexp.S: ...here.
6060         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
6061         * sysdeps/i386/fpu/s_cexpf.S: ...here.
6062         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
6063         * sysdeps/i386/fpu/s_cexpl.S: ...here.
6064         * sysdeps/libm-i387/s_copysign.S: Moved to ...
6065         * sysdeps/i386/fpu/s_copysign.S: ...here.
6066         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
6067         * sysdeps/i386/fpu/s_copysignf.S: ...here.
6068         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
6069         * sysdeps/i386/fpu/s_copysignl.S: ...here.
6070         * sysdeps/libm-i387/s_cos.S: Moved to ...
6071         * sysdeps/i386/fpu/s_cos.S: ...here.
6072         * sysdeps/libm-i387/s_cosf.S: Moved to ...
6073         * sysdeps/i386/fpu/s_cosf.S: ...here.
6074         * sysdeps/libm-i387/s_cosl.S: Moved to ...
6075         * sysdeps/i386/fpu/s_cosl.S: ...here.
6076         * sysdeps/libm-i387/s_exp2.S: Moved to ...
6077         * sysdeps/i386/fpu/s_exp2.S: ...here.
6078         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
6079         * sysdeps/i386/fpu/s_exp2f.S: ...here.
6080         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
6081         * sysdeps/i386/fpu/s_exp2l.S: ...here.
6082         * sysdeps/libm-i387/s_expm1.S: Moved to ...
6083         * sysdeps/i386/fpu/s_expm1.S: ...here.
6084         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
6085         * sysdeps/i386/fpu/s_expm1f.S: ...here.
6086         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
6087         * sysdeps/i386/fpu/s_expm1l.S: ...here.
6088         * sysdeps/libm-i387/s_fdim.S: Moved to ...
6089         * sysdeps/i386/fpu/s_fdim.S: ...here.
6090         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
6091         * sysdeps/i386/fpu/s_fdimf.S: ...here.
6092         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
6093         * sysdeps/i386/fpu/s_fdiml.S: ...here.
6094         * sysdeps/libm-i387/s_finite.S: Moved to ...
6095         * sysdeps/i386/fpu/s_finite.S: ...here.
6096         * sysdeps/libm-i387/s_finitef.S: Moved to ...
6097         * sysdeps/i386/fpu/s_finitef.S: ...here.
6098         * sysdeps/libm-i387/s_finitel.S: Moved to ...
6099         * sysdeps/i386/fpu/s_finitel.S: ...here.
6100         * sysdeps/libm-i387/s_floor.S: Moved to ...
6101         * sysdeps/i386/fpu/s_floor.S: ...here.
6102         * sysdeps/libm-i387/s_floorf.S: Moved to ...
6103         * sysdeps/i386/fpu/s_floorf.S: ...here.
6104         * sysdeps/libm-i387/s_floorl.S: Moved to ...
6105         * sysdeps/i386/fpu/s_floorl.S: ...here.
6106         * sysdeps/libm-i387/s_fma.S: Moved to ...
6107         * sysdeps/i386/fpu/s_fma.S: ...here.
6108         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
6109         * sysdeps/i386/fpu/s_fmaf.S: ...here.
6110         * sysdeps/libm-i387/s_fmal.S: Moved to ...
6111         * sysdeps/i386/fpu/s_fmal.S: ...here.
6112         * sysdeps/libm-i387/s_fmax.S: Moved to ...
6113         * sysdeps/i386/fpu/s_fmax.S: ...here.
6114         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
6115         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
6116         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
6117         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
6118         * sysdeps/libm-i387/s_fmin.S: Moved to ...
6119         * sysdeps/i386/fpu/s_fmin.S: ...here.
6120         * sysdeps/libm-i387/s_fminf.S: Moved to ...
6121         * sysdeps/i386/fpu/s_fminf.S: ...here.
6122         * sysdeps/libm-i387/s_fminl.S: Moved to ...
6123         * sysdeps/i386/fpu/s_fminl.S: ...here.
6124         * sysdeps/libm-i387/s_frexp.S: Moved to ...
6125         * sysdeps/i386/fpu/s_frexp.S: ...here.
6126         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
6127         * sysdeps/i386/fpu/s_frexpf.S: ...here.
6128         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
6129         * sysdeps/i386/fpu/s_frexpl.S: ...here.
6130         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
6131         * sysdeps/i386/fpu/s_ilogb.S: ...here.
6132         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
6133         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
6134         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
6135         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
6136         * sysdeps/libm-i387/s_llrint.S: Moved to ...
6137         * sysdeps/i386/fpu/s_llrint.S: ...here.
6138         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
6139         * sysdeps/i386/fpu/s_llrintf.S: ...here.
6140         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
6141         * sysdeps/i386/fpu/s_llrintl.S: ...here.
6142         * sysdeps/libm-i387/s_log1p.S: Moved to ...
6143         * sysdeps/i386/fpu/s_log1p.S: ...here.
6144         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
6145         * sysdeps/i386/fpu/s_log1pf.S: ...here.
6146         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
6147         * sysdeps/i386/fpu/s_log1pl.S: ...here.
6148         * sysdeps/libm-i387/s_log2.S: Moved to ...
6149         * sysdeps/i386/fpu/s_log2.S: ...here.
6150         * sysdeps/libm-i387/s_log2f.S: Moved to ...
6151         * sysdeps/i386/fpu/s_log2f.S: ...here.
6152         * sysdeps/libm-i387/s_log2l.S: Moved to ...
6153         * sysdeps/i386/fpu/s_log2l.S: ...here.
6154         * sysdeps/libm-i387/s_logb.S: Moved to ...
6155         * sysdeps/i386/fpu/s_logb.S: ...here.
6156         * sysdeps/libm-i387/s_logbf.S: Moved to ...
6157         * sysdeps/i386/fpu/s_logbf.S: ...here.
6158         * sysdeps/libm-i387/s_logbl.S: Moved to ...
6159         * sysdeps/i386/fpu/s_logbl.S: ...here.
6160         * sysdeps/libm-i387/s_lrint.S: Moved to ...
6161         * sysdeps/i386/fpu/s_lrint.S: ...here.
6162         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
6163         * sysdeps/i386/fpu/s_lrintf.S: ...here.
6164         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
6165         * sysdeps/i386/fpu/s_lrintl.S: ...here.
6166         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
6167         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
6168         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
6169         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
6170         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
6171         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
6172         * sysdeps/libm-i387/s_remquo.S: Moved to ...
6173         * sysdeps/i386/fpu/s_remquo.S: ...here.
6174         * sysdeps/libm-i387/s_remquof.S: Moved to ...
6175         * sysdeps/i386/fpu/s_remquof.S: ...here.
6176         * sysdeps/libm-i387/s_remquol.S: Moved to ...
6177         * sysdeps/i386/fpu/s_remquol.S: ...here.
6178         * sysdeps/libm-i387/s_rint.S: Moved to ...
6179         * sysdeps/i386/fpu/s_rint.S: ...here.
6180         * sysdeps/libm-i387/s_rintf.S: Moved to ...
6181         * sysdeps/i386/fpu/s_rintf.S: ...here.
6182         * sysdeps/libm-i387/s_rintl.S: Moved to ...
6183         * sysdeps/i386/fpu/s_rintl.S: ...here.
6184         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
6185         * sysdeps/i386/fpu/s_scalbn.S: ...here.
6186         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
6187         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
6188         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
6189         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
6190         * sysdeps/libm-i387/s_significand.S: Moved to ...
6191         * sysdeps/i386/fpu/s_significand.S: ...here.
6192         * sysdeps/libm-i387/s_significandf.S: Moved to ...
6193         * sysdeps/i386/fpu/s_significandf.S: ...here.
6194         * sysdeps/libm-i387/s_significandl.S: Moved to ...
6195         * sysdeps/i386/fpu/s_significandl.S: ...here.
6196         * sysdeps/libm-i387/s_sin.S: Moved to ...
6197         * sysdeps/i386/fpu/s_sin.S: ...here.
6198         * sysdeps/libm-i387/s_sincos.S: Moved to ...
6199         * sysdeps/i386/fpu/s_sincos.S: ...here.
6200         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
6201         * sysdeps/i386/fpu/s_sincosf.S: ...here.
6202         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
6203         * sysdeps/i386/fpu/s_sincosl.S: ...here.
6204         * sysdeps/libm-i387/s_sinf.S: Moved to ...
6205         * sysdeps/i386/fpu/s_sinf.S: ...here.
6206         * sysdeps/libm-i387/s_sinl.S: Moved to ...
6207         * sysdeps/i386/fpu/s_sinl.S: ...here.
6208         * sysdeps/libm-i387/s_tan.S: Moved to ...
6209         * sysdeps/i386/fpu/s_tan.S: ...here.
6210         * sysdeps/libm-i387/s_tanf.S: Moved to ...
6211         * sysdeps/i386/fpu/s_tanf.S: ...here.
6212         * sysdeps/libm-i387/s_tanl.S: Moved to ...
6213         * sysdeps/i386/fpu/s_tanl.S: ...here.
6214         * sysdeps/libm-i387/s_trunc.S: Moved to ...
6215         * sysdeps/i386/fpu/s_trunc.S: ...here.
6216         * sysdeps/libm-i387/s_truncf.S: Moved to ...
6217         * sysdeps/i386/fpu/s_truncf.S: ...here.
6218         * sysdeps/libm-i387/s_truncl.S: Moved to ...
6219         * sysdeps/i386/fpu/s_truncl.S: ...here.
6220         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
6221         * sysdeps/ieee754/k_standard.c: ...here.
6222         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
6223         * sysdeps/ieee754/s_lib_version.c: ...here.
6224         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
6225         * sysdeps/ieee754/s_matherr.c: ...here.
6226         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
6227         * sysdeps/ieee754/s_signgam.c: ...here.
6228         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
6229         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
6230         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
6231         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
6232         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
6233         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
6234         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
6235         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
6236         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
6237         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
6238         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
6239         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
6240         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
6241         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
6242         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
6243         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
6244         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
6245         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
6246         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
6247         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
6248         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
6249         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
6250         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
6251         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
6252         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
6253         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
6254         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
6255         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
6256         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
6257         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
6258         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
6259         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
6260         * sysdeps/libm-ieee754/e_log.c: Moved to ...
6261         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
6262         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
6263         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
6264         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
6265         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
6266         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
6267         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
6268         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
6269         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
6270         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
6271         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
6272         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
6273         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
6274         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
6275         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
6276         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
6277         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
6278         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
6279         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
6280         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
6281         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
6282         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
6283         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
6284         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
6285         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
6286         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
6287         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
6288         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
6289         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
6290         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
6291         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
6292         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
6293         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
6294         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
6295         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
6296         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
6297         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
6298         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
6299         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
6300         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
6301         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
6302         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
6303         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
6304         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
6305         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
6306         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
6307         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
6308         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
6309         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
6310         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
6311         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
6312         (__isnan): Comment above function says it returns 0 or 1, but it
6313         used to return 0 or -1.
6314         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
6315         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
6316         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
6317         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
6318         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
6319         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
6320         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
6321         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
6322         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
6323         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
6324         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
6325         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
6326         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
6327         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
6328         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
6329         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
6330         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
6331         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
6332         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
6333         * sysdeps/generic/s_nextafter.c: ...here.
6334         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
6335         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
6336         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
6337         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
6338         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
6339         * sysdeps/libm-ieee754/s_round.c: Moved to ...
6340         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
6341         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
6342         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
6343         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
6344         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
6345         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
6346         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
6347         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
6348         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
6349         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
6350         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
6351         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
6352         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
6353         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
6354         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
6355         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
6356         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
6357         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
6358         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
6359         * sysdeps/ieee754/mpn2flt.c: Moved to ...
6360         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
6361         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
6362         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
6363         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
6364         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
6365         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
6366         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
6367         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
6368         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
6369         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
6370         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
6371         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
6372         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
6373         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
6374         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
6375         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
6376         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
6377         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
6378         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
6379         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
6380         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
6381         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
6382         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
6383         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
6384         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
6385         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
6386         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
6387         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
6388         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
6389         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
6390         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
6391         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
6392         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
6393         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
6394         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
6395         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
6396         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
6397         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
6398         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
6399         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
6400         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
6401         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
6402         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
6403         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
6404         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
6405         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
6406         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
6407         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
6408         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
6409         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
6410         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
6411         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
6412         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
6413         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
6414         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
6415         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
6416         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
6417         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
6418         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
6419         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
6420         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
6421         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
6422         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
6423         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
6424         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
6425         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
6426         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
6427         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
6428         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
6429         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
6430         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
6431         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
6432         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
6433         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
6434         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
6435         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
6436         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
6437         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
6438         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
6439         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
6440         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
6441         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
6442         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
6443         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
6444         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
6445         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
6446         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
6447         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
6448         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
6449         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
6450         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
6451         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
6452         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
6453         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
6454         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
6455         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
6456         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
6457         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
6458         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
6459         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
6460         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
6461         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
6462         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
6463         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
6464         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
6465         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
6466         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
6467         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
6468         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
6469         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
6470         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
6471         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
6472         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
6473         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
6474         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
6475         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
6476         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
6477         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
6478         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
6479         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
6480         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
6481         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
6482         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
6483         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
6484         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
6485         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
6486         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
6487         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
6488         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
6489         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
6490         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
6491         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
6492         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
6493         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
6494         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
6495         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
6496         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
6497         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
6498         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
6499         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
6500         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
6501         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
6502         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
6503         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
6504         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
6505         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
6506         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
6507         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
6508         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
6509         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
6510         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
6511         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
6512         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
6513         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
6514         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
6515         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
6516         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
6517         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
6518         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
6519         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
6520         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
6521         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
6522         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
6523         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
6524         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
6525         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
6526         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
6527         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
6528         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
6529         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
6530         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
6531         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
6532         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
6533         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
6534         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
6535         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
6536         INSERT_WORDS.
6537         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
6538         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
6539         (__nearbyintl): Fix for exponents 2^30.
6540         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
6541         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
6542         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
6543         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
6544         (__rintl): Fix for exponents 2^30.
6545         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
6546         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
6547         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
6548         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
6549         (__scalbnl): Fix exponent for subnormal result.
6550         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
6551         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
6552         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
6553         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
6554         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
6555         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
6556         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
6557         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
6558         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
6559         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
6560         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
6561         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
6562         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
6563         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
6564         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
6565         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
6566         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
6567         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
6568         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
6569         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
6570         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
6571         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
6572         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
6573         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
6574         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
6575         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
6576         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
6577         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
6578         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
6579         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
6580         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
6581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
6582         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
6583         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
6584         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
6585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
6586         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
6587         * sysdeps/i386/fpu/s_scalbln.c: ...here.
6588         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
6589         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
6590         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
6591         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
6592         * sysdeps/libm-i387/t_exp.c: Moved to ...
6593         * sysdeps/i386/fpu/t_exp.c: ...here.
6594         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
6595         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
6596         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
6597         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
6598         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
6599         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
6600         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
6601         * sysdeps/i386/fpu/s_isinfl.c: ...here.
6602         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
6603         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
6604         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
6605         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
6606         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
6607         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
6608         Fix exponent for subnormal result.
6609         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
6610         * sysdeps/generic/s_nexttowardl.c: ...here.
6611         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
6612         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
6613         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
6614         * sysdeps/i386/fpu/s_isnanl.c: ...here.
6615         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
6616         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
6617         Comment above function says it returns 0 or 1, but it used to return
6618         0 or -1.
6619         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
6620         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
6621         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
6622         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
6623         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
6624         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
6625         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
6626         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
6627         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
6628         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
6629         Cannot compare exponents with different biases without adjusting.
6630         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
6631         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
6632         Cannot compare exponents with different biases without adjusting.
6633         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
6634         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
6635         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
6636         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
6637         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
6638         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
6639         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
6640         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
6641         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
6642         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
6643         * sysdeps/libm-ieee754/Dist: Split into ...
6644         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
6645         * sysdeps/ieee754/flt-32/Dist: ...this file.
6646
6647         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
6648         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
6649         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
6650         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
6651         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
6652         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
6653         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
6654         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
6655         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
6656         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
6657         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
6658         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
6659         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
6660         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
6661         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
6662         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
6663         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
6664         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
6665         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
6666         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
6667         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
6668         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
6669         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
6670         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
6671         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
6672         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
6673         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
6674         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
6675         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
6676         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
6677         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
6678         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
6679         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
6680         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
6681         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
6682         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
6683         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
6684         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
6685         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
6686         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
6687         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
6688         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
6689         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
6690         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
6691         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
6692         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
6693         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
6694
6695         * sysdeps/generic/math_ldbl.h: New file.
6696         * sysdeps/generic/s_nexttowardf.c: New file.
6697         * sysdeps/generic/strtold.c: New file.
6698         * sysdeps/generic/ldbl2mpn.c: New file.
6699
6700         * math/machine/endian.h: Remove.
6701         * sysdeps/i386/fpu/Implies: Remove.
6702         * sysdeps/ieee754/Implies: Remove.
6703
6704         * math/math_private.h: Move long double macros to math_ldbl.h
6705         header.
6706
6707 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
6708
6709         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
6710         connections without a hostname set address to localhost address.
6711
6712 1999-07-11  H.J. Lu  <hjl@gnu.org>
6713
6714         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
6715         nscd's own strong version of the get[a-z]*_r function.
6716         * nscd/hstcache.c: Likewise.
6717         * nscd/pwdcache.c: Likewise.
6718
6719 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
6720
6721         * configure.in: Recognize 2.95 as gcc version number.
6722         Patch by Joel Klecker <jk@espy.org>.
6723
6724 1999-07-12  Andreas Schwab  <schwab@suse.de>
6725
6726         * elf/rtld.c (dl_main): When putting back the interpreter object
6727         handle the case where a missing object might occur in the list of
6728         objects but not in the search list when in trace mode.
6729
6730 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
6731
6732         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
6733         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
6734         _nss_hesiod_initgroups.
6735
6736 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
6737
6738         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
6739         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
6740         Initialize it from &__data_start if defined, or else &_end.
6741
6742 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
6743
6744         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
6745         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
6746
6747 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
6748
6749         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
6750
6751 1999-07-09  H.J. Lu  <hjl@gnu.org>
6752
6753         * Versions.def (GLIBC_2.1.2): Added.
6754
6755         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
6756         old one as GLIBC_2.0.
6757         * nss/getXXbyYY_r.c: Likewise.
6758
6759         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
6760         GLIBC_2.1.2.
6761         * inet/Versions (getaliasbyname_r, getaliasent_r,
6762         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
6763         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
6764         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
6765         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
6766         getservbyname_r): Likewise.
6767         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
6768         * shadow/Versions (getspent_r, getspnam_r): Likewise.
6769
6770 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
6771
6772         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
6773         compilers.
6774         (__memset_cc): Likewise.
6775
6776         * sysdeps/generic/libc-start.c: For SUID binaries check whether
6777         the standard file descriptors are open.
6778         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6779
6780         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
6781         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
6782         range of mmap.  If not fail.
6783         Patches by Daniel Jacobowitz <dan@debian.org>.
6784
6785         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
6786         before the relocation happened.
6787         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
6788
6789         * Versions.def (libnsl): Add GLIBC_2.2.
6790         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
6791
6792 1999-07-08  Cristian Gafton  <gafton@redhat.com>
6793
6794         * nis/yp_xdr.c (xdr_ypall): New function.
6795
6796 1999-07-09  Andreas Schwab  <schwab@suse.de>
6797
6798         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
6799
6800         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
6801
6802 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
6803
6804         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
6805         * hesiod/hesiod-grp.c: Add initgroups support.
6806         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
6807
6808 1999-07-08  Andreas Schwab  <schwab@suse.de>
6809
6810         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
6811
6812         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
6813         negative numbers.
6814
6815         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
6816         EOF.
6817         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
6818
6819 1999-07-08  Andreas Schwab  <schwab@suse.de>
6820
6821         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
6822
6823 1999-07-08  Andreas Schwab  <schwab@suse.de>
6824
6825         * libio/fileno.c: Return -1 instead of EOF and set errno if the
6826         stream is not a real file stream.
6827
6828 1999-07-08  Andreas Schwab  <schwab@suse.de>
6829
6830         * manual/charset.texi: Fix typos.
6831
6832 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
6833
6834         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
6835
6836 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
6837
6838         * dlfcn: New directory.  Move the following files from elf:
6839         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
6840         dlopenold.c, dlsym.c, dlvsym.c.
6841         * dlfcn/Makefile: New file.
6842         * dlfcn/Versions: New file.
6843         * dlfcn/dlsym.c: All ELF-specific code split out to new
6844         function _dl_sym.
6845         * dlfcn/dlvsym.c: All ELF-specific code split out to new
6846         function _dl_vsym.
6847         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
6848         implemented here.
6849
6850         * dlfcn/dladdr.c: Remove all references to ELF data structures
6851         or headers.
6852         * dlfcn/dlclose.c: Likewise.
6853         * dlfcn/dlerror.c: Likewise.
6854         * dlfcn/dlopen.c: Likewise.
6855         * dlfcn/dlopenold.c: Likewise.
6856
6857         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
6858         yes, empty otherwise.
6859         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
6860         depending on build-shared.
6861         (subdirs): Add $(dlfcn).
6862         (rpath-dirs): Add dlfcn.
6863         * elf/Makefile: Remove all references to libdl or its
6864         components, except the ones relating to the test cases.
6865         (routines): Add dl-sym.
6866         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
6867         (libdl): Delete.
6868
6869         * elf/dl-close.c (_dl_close): Change argument to void *.
6870         * elf/dl-open.c (_dl_open): Change return type to void *.
6871         * elf/eval.c: Removed.
6872         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
6873         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
6874         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
6875         _CALL_DL_FCT macro.
6876         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
6877         Include real header from dlfcn directory.
6878         * include/ldsodefs.h: Removed.
6879
6880         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
6881         * nss/getXXbyYY_r.c: Likewise.
6882         * nss/getXXent_r.c: Likewise.
6883         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
6884         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
6885         * iconv/skeleton.c: Don't include ldsodefs.h.
6886         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
6887
6888 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
6889
6890         * sysdeps/generic/setenv.c: Describe problem.
6891
6892         * malloc/malloc.c (request2size): Also set errno if failing.
6893
6894         * malloc/malloc.c (request2size): Take care of overflow in
6895         addition.
6896
6897         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
6898         (NULL, != 0) correctly.
6899
6900         * elf/dl-load.c: Use a few more __builtin_expect.
6901
6902         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
6903         is large enough.
6904
6905 1999-07-07  Andreas Schwab  <schwab@suse.de>
6906
6907         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
6908         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
6909         (_PATH_DEVPTMX): Use _PATH_DEV.
6910
6911 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6912
6913         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
6914         * malloc/Makefile (tests): Add tst-malloc.
6915
6916 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
6917
6918         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
6919         convention.
6920
6921         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
6922         motherboards.
6923         Patch by Jay Estabrook.
6924
6925         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
6926         ldd for SPARC.
6927         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
6928         Patch by Cristian Gafton.
6929
6930 1999-07-02  Cristian Gafton  <gafton@redhat.com>
6931
6932         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
6933         instead of "return NULL" to make C++ happy.
6934
6935 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
6936
6937         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
6938         allowed by the file access mode of the open file.
6939
6940 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
6941
6942         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
6943         macros defined.
6944
6945 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
6946
6947         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
6948         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
6949         * sysdeps/sparc/sparc64/rshift.S: Likewise.
6950         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
6951
6952 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6953
6954         * malloc/malloc.c (request2size): Check for overflow and return
6955         NULL whenever it is encountered.
6956
6957 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
6958
6959         * sysdeps/posix/tempname.c (__gen_tempname):   Add
6960         ability to create directories.  Replace OPENIT and LARGEFILE
6961         args with a single flags parameter.
6962         * sysdeps/generic/tempname.c: Likewise.
6963         * include/stdio.h: Adjust prototype of __gen_tempname to
6964         match.  Define symbolic constants for second argument.
6965
6966         * misc/mkdtemp.c: New file, provides new function mkdtemp().
6967         * stdlib/stdlib.h: Prototype it.
6968         * misc/Versions: Export it.
6969         * misc/Makefile (routines): Add mktemp.
6970         * manual/filesys.texi: Document it.
6971
6972         * misc/mktemp.c: Adjust call of __gen_tempname to match new
6973         convention.
6974         * misc/mkstemp.c: Likewise.
6975         * stdio-common/tempnam.c: Likewise.
6976         * stdio-common/tmpfile.c: Likewise.
6977         * stdio-common/tmpfile64.c: Likewise.
6978         * stdio-common/tmpnam.c: Likewise.
6979         * stdio-common/tmpnam_r.c: Likewise.
6980
6981 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
6982
6983         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
6984         R_SPARC_OLO10 relocations.
6985         * elf/elf.h (R_SPARC_OLO10): Fix comment.
6986
6987 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6988
6989         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
6990         doesn't belong in the tests, but in the wordexp implementation.
6991
6992         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
6993         split fields.
6994
6995 1999-07-01  Cristian Gafton  <gafton@redhat.com>
6996
6997         * time/strptime.c (strptime): Initialize the tm struct first to avoid
6998         returning bogus results on incomplete data.
6999         (strptime_internal): day_of_the_week() requres both tm_mon and
7000         tm_mday to be initialized.
7001         Compute them first if they are not given.
7002         (strptime_internal): (have_mon, have_mday): New variables.
7003
7004 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7005
7006         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
7007
7008 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7009
7010         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
7011         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7012
7013 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7014
7015         * posix/wordexp.c (parse_tilde): Handle failing call to
7016         get.*_r functions correctly for non-existing entry.
7017         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7018         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
7019
7020 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7021
7022         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
7023         getxxbyYY_r functions correctly for non-existing entry.
7024         * sunrpc/getrpcport.c: Likewise.
7025         * sunrpc/clnt_simp.c: Likewise.
7026         * inet/rexec.c: Likewise.
7027         * sunrpc/clnt_gen.c: Likewise.
7028         * inet/rcmd.c: Likewise.
7029         * sysdeps/generic/glob.c: Likewise.
7030
7031 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7032
7033         * pwd/Makefile (tests): Add rules for tst-getpw.
7034
7035         * pwd/tst-getpw.c: New program to test getpw.
7036
7037 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7038
7039         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
7040         correctly.
7041
7042 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7043
7044         * manual/arith.texi (System V Number Conversion): Fix the
7045         description which confused pointer and value to pointer.
7046         Reported by Andries.Brouwer@cwi.nl.
7047
7048 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7049
7050         * pwd/getpw.c (__getpw): Check for NULL result pointer.
7051
7052 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7053
7054         * manual/users.texi (Lookup User): Document POSIX return
7055         semantics for getpwuid_r and getgrgid_r.
7056
7057         * manual/socket.texi (Host Names): Document that the result
7058         pointer is null in case of error or host not found and fix a
7059         typo.  Give a small example.
7060
7061 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7062
7063         * pwd/getpw.c: Add warning since no buffer size is given and
7064         therefore no overrun tests are possible.
7065
7066 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7067
7068         * pwd/pwd.h: Add getpw prototype declaration.
7069
7070 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7071
7072         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
7073         * wcsmbs/wcschr.c: Likewise.
7074
7075 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
7076
7077         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
7078         returns.
7079         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
7080         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
7081         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
7082
7083         * elf/dl-dst.h: Fix typo.
7084         * elf/dl-open.c: Likewise.
7085
7086 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
7087
7088         * elf/dl-libc.c: New file, provides three functions:
7089         __libc_dlopen, __libc_dlclose, __libc_dlsym.
7090         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
7091         * elf/Makefile (routines): Add dl-libc.c.
7092         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
7093         argument to void *.
7094         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
7095
7096         * iconv/gconv.c: Include dlfcn.h.
7097         * iconv/gconv_db.c: Likewise.
7098         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
7099
7100         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
7101         `handle' to a void *.
7102         (__gconv_find_func): Delete prototype.
7103
7104         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
7105         dlerror_run and related functions and structs.  Use
7106         __libc_dlopen, __libc_dlsym, __libc_dlclose.
7107         * nss/nsswitch.c: Likewise.
7108
7109 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
7110
7111         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
7112         function correctly.
7113
7114         * sunrpc/getrpcport.c: Test for gethostbyname_r function
7115         correctly.
7116
7117         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
7118
7119         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
7120         functions correctly.
7121
7122         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
7123
7124         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
7125         file reading a bit.
7126
7127         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
7128
7129 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7130
7131         * manual/string.texi (Copying and Concatenation): Mention that
7132         strndup is a GNU extension.
7133
7134 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7135
7136         * pwd/getpw.c (__getpw): Fix check for error return.
7137
7138 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7139
7140         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
7141         occurence of the aux object start with the current list entry, not
7142         the new one.  Adjust tail pointer in the unique list.  Explain how
7143         the meaning of the variables changes [PR libc/1168].
7144
7145 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7146
7147         * sysdeps/m68k/fpu/Dist: New file.
7148
7149 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7150
7151         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
7152         definitions...
7153         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
7154         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
7155         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7156         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7157         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7158         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7159         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7160         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7161         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7162         * sysdeps/m68k/fpu/s_csin.c: Likewise.
7163         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7164         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7165         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7166         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7167         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7168         * sysdeps/m68k/fpu/s_modf.c: Likewise.
7169
7170 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
7171
7172         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
7173         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
7174         _EXTERN_INLINE, use a macro specific to each file,
7175         _HURD_FD_H_EXTERN_INLINE and the like.
7176         * hurd/Makefile (inline-headers): New variable.
7177         (routines): Remove hurdinline.  Add $(inlines).
7178         (inlines): New variable.
7179         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
7180         (generated): Append those here.
7181         * hurd/hurdinline.c: File removed.
7182
7183         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
7184
7185         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
7186
7187 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7188
7189         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
7190
7191 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
7192
7193         * string/bits/string2.h (strnlen): Remove extra prototype.
7194
7195 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7196
7197         * manual/filesys.texi (Working on Directory Trees): Fix typos.
7198         Reported by Andries.Brouwer@cwi.nl.
7199
7200 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
7201
7202         * nscd/connections.c (handle_request): Use correct type for optlen
7203         variable.
7204
7205         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
7206         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
7207
7208 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
7209
7210         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
7211         * nscd/pwdcache.c: Likewise.
7212         * nscd/hstcache.c: Likewise.
7213
7214 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
7215
7216         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
7217
7218         * posix/getopt.h: Include stdio.h.
7219
7220         * manual/arith.texi: Document restriction of ndigit parameter of
7221         ecvt and friends.
7222         * misc/efgcvt.c: Define NDIGIT_MAX.
7223         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
7224         Do not dynamically allocate the static buffers.  They are small enough.
7225         * misc/efgcvt_r.c: Define NDIGIT_MAX.
7226         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
7227         * misc/qefgcvt.c: Define NDIGIT_MAX.
7228         * misc/qefgcvt_r.c: Likewise.
7229         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
7230
7231 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
7232
7233         * libio/stdio.h: Define stdin, stdout, stderr as macros.
7234         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
7235         These are *pragmas* not macros.
7236         * wcsmbs/wchar.h: Fix comment.
7237
7238         * grp/grp.h: Use __foo_t_defined convention to typedef things
7239         only once.
7240         * io/sys/stat.h: Likewise.
7241         * libio/stdio.h: Likewise.
7242         * posix/unistd.h: Likewise.
7243         * posix/sys/types.h: Likewise.
7244         * posix/sys/wait.h: Likewise.
7245         * pwd/pwd.h: Likewise.
7246         * signal/signal.h: Likewise.
7247         * sysdeps/generic/stdint.h: Likewise.
7248         * sysdeps/gnu/utmpx.h: Likewise.
7249         * termios/termios.h: Likewise.
7250
7251 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
7252
7253         * stdio/fputc.c: Don't define alias if fputc is defined as a
7254         macro.
7255         * stdio/putc.c: Define weak alias here since it is not done
7256         anymore in fputc.c.
7257
7258 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7259
7260         * assert/assert.h: Don't produce `defined' as part of macro
7261         expansion.
7262
7263 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
7264
7265         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
7266         OFFSET argument of (off_t) -1.
7267         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
7268         OFFSET argument of (off_t) -1.
7269
7270         * sysdeps/mach/hurd/pwrite.c: New file.
7271         * sysdeps/mach/hurd/pread.c: New file.
7272
7273         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
7274         pass it in the RPC instead of always -1.
7275         * hurd/fd-write.c (_hurd_fd_write): Likewise.
7276         * hurd/hurd/fd.h: Update decls.
7277
7278 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7279
7280         * libio/wscanf.c: Include <wchar.h> for prototype.
7281
7282 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
7283
7284         * manual/io.texi. Fix typos.
7285         * manual/stdio.texi: Likewise.
7286         Patches by Brian Youmans <3diff@gnu.org>.
7287
7288 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
7289
7290         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
7291         bits of two words differ.
7292
7293 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7294
7295         * libio/Makefile (routines): Add putwchar and putwchar_u.
7296
7297         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
7298         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
7299         stdout.  Fix parameter name.
7300
7301         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
7302         * libio/getchar_u.c: Likewise.
7303
7304         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
7305
7306 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7307
7308         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
7309         macro expansion---it's undefined.  Properly parenthesize
7310         substituted parameters.
7311         (__GLIBC_PREREQ): Likewise.
7312
7313 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
7314
7315         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
7316         weird effects.
7317
7318         * stdlib/longlong.h: Provide __P definition if not already
7319         defined.
7320
7321         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
7322
7323 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
7324
7325         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
7326
7327 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7328
7329         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
7330
7331 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7332
7333         * stdio-common/vfprintf.c (group_member): Make parameters and
7334         return types pointers to CHAR_T instead of UCHAR_T.
7335         (vfprintf): Change type of work_buffer, workend and string to
7336         CHAR_T pointer/array.
7337         (process_arg, process_string_arg): Adjust/remove casts.  Add
7338         missing use of L_ macro.
7339         (printf_unknown): Add missing uses of L_ macro.
7340
7341 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7342
7343         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
7344         warning.
7345
7346 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7347
7348         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
7349         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
7350         (__wunderflow): Likewise.
7351         (_IO_switch_to_wget_mode): Likewise.
7352         (_IO_init_wmarker): Likewise.
7353
7354         * libio/wfileops.c (_IO_wfile_seekoff): Call
7355         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
7356         (_IO_wfile_jumps): Fix pbackfail entry.
7357
7358         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
7359         function if the stream is currently unoriented.
7360
7361 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
7362
7363         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
7364         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
7365         __gnuc_va_list in v*w(printf|scanf) prototypes.
7366
7367 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7368
7369         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
7370         1999-03-29 to iopopen also here.
7371         Reported by Richard Braakman <dark@xs4all.nl>.
7372
7373 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7374
7375         * include/features.h: Use __GNUC_PREREQ.
7376         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7377
7378 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7379
7380         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
7381         Change EOF to WEOF and remove cast.
7382         (UNGETC): Remove macro.
7383         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
7384         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
7385         Change ISASCII to isascii and MBRLEN to mbrlen.
7386         (parse_one_spec): Compare info.spec always against wchar_t
7387         values.
7388         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
7389         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
7390         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
7391
7392 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7393
7394         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
7395         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
7396         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
7397         oldiofsetpos64 only if doing versioning.
7398
7399 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
7400
7401         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
7402
7403 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7404
7405         * libio/libio.h: Fix last patch.
7406
7407 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
7408
7409         * libio/libio.h (_IO_putwc): Correct type of first argument.
7410         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
7411         putwc_unlocked, putwchar_unlocked): Likewise.
7412         * libio/fputwc.c: Likewise.
7413         * libio/fputwc_unlocked.c: Likewise.
7414         * libio/putwc.c: Likewise.
7415         * libio/putwc_unlocked.c: Likewise.
7416         * libio/putwchar.c: Likewise.
7417         * libio/putwchar_unlocked.c: Likewise.
7418
7419 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
7420
7421         * sysdeps/gnu/siglist.h: File moved to ...
7422         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
7423         any platform, since it just associates the SIG* macros with text names
7424         and descriptions. For any signal macros do not exist on every
7425         platform, we can use #ifdef tests here and still use this single
7426         common file for all platforms.
7427         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
7428         should be usable for all platforms after the binary compatibility
7429         stuff in the current sysdeps/gnu version is no longer required.
7430         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
7431         * sysdeps/generic/make_siglist.c: File removed.
7432         * sysdeps/mach/hurd/siglist.h: Use #include_next.
7433         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
7434
7435 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
7436
7437         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
7438         * sysdeps/gnu/siglist.c: ... here.
7439         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
7440         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
7441         * sysdeps/gnu/siglist.h: New file, contents from linux version.
7442         Add entry for SIGLOST protected by #ifdef.
7443         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
7444         and define OLD_SIGLIST_SIZE_STR.
7445         * sysdeps/mach/hurd/siglist.h: New file, likewise.
7446
7447 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
7448
7449         * include/features.h: Define new macros __GNUC_PREREQ and
7450         __GLIBC_PREREQ which can be used to test the version of gcc
7451         and glibc respectively.
7452
7453         * assert/assert.h: Use __GNUC_PREREQ.
7454         * intl/libintl.h: Likewise.
7455         * math/complex.h: Likewise.
7456         * math/tgmath.h: Likewise.
7457         * misc/sys/cdefs.h: Likewise.
7458         * posix/sys/types.h: Likewise.
7459         * socket/sys/socket.h: Likewise.
7460         * string/bits/string2.h: Likewise.
7461         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
7462         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7463
7464 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
7465
7466         * include/libintl.h: Declare _libc_intl_domainname here.
7467         Define _ and N_ here.
7468         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
7469         define _ and N_.  Don't declare _libc_intl_domainname.
7470         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
7471
7472         * db2/config.h: Don't include sys/stat.h or define
7473         HAVE_ST_BLKSIZE here...
7474         * db2/compat.h: ...do it here.
7475
7476         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
7477         other headers.
7478         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
7479         * iconv/iconv.c: Include stddef.h for NULL.
7480         * malloc/malloc.h: Include features.h.
7481         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
7482
7483         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
7484         into the generated file.
7485         * sysdeps/gnu/errlist.awk: Likewise.
7486         * sysdeps/gnu/errlist.c: Rebuilt.
7487
7488         * assert/assert-perr.c: Include libintl.h.
7489         * assert/assert.c: Likewise.
7490         * elf/dl-open.c: Likewise.
7491         * elf/dlsym.c: Likewise.
7492         * elf/dlvsym.c: Likewise.
7493         * iconv/iconv_prog.c: Likewise.
7494         * inet/rcmd.c: Likewise.
7495         * inet/ruserpass.c: Likewise.
7496         * locale/programs/charset.c: Likewise.
7497         * locale/programs/ld-collate.c: Likewise.
7498         * locale/programs/ld-ctype.c: Likewise.
7499         * locale/programs/ld-messages.c: Likewise.
7500         * locale/programs/ld-monetary.c: Likewise.
7501         * locale/programs/ld-numeric.c: Likewise.
7502         * locale/programs/ld-time.c: Likewise.
7503         * locale/programs/locfile.c: Likewise.
7504         * locale/programs/repertoire.c: Likewise.
7505         * login/programs/database.c: Likewise.
7506         * login/programs/request.c: Likewise.
7507         * malloc/mcheck.c: Likewise.
7508         * misc/error.c: Likewise.
7509         * nis/nis_call.c: Likewise.
7510         * nis/nis_callback.c: Likewise.
7511         * nis/nis_error.c: Likewise.
7512         * nis/nis_local_names.c: Likewise.
7513         * nis/nis_print.c: Likewise.
7514         * nis/nis_print_group_entry.c: Likewise.
7515         * nis/ypclnt.c: Likewise.
7516         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
7517         * nscd/cache.c: Likewise.
7518         * nscd/connections.c: Likewise.
7519         * nscd/grpcache.c: Likewise.
7520         * nscd/hstcache.c: Likewise.
7521         * nscd/nscd_conf.c: Likewise.
7522         * nscd/nscd_stat.c: Likewise.
7523         * nscd/pwdcache.c: Likewise.
7524         * posix/id.c: Likewise.
7525         * resolv/herror.c: Likewise.
7526         * stdio-common/psignal.c: Likewise.
7527         * string/strsignal.c: Likewise.
7528         * sunrpc/auth_unix.c: Likewise.
7529         * sunrpc/clnt_perr.c: Likewise.
7530         * sunrpc/clnt_raw.c: Likewise.
7531         * sunrpc/clnt_tcp.c: Likewise.
7532         * sunrpc/clnt_udp.c: Likewise.
7533         * sunrpc/clnt_unix.c: Likewise.
7534         * sunrpc/get_myaddr.c: Likewise.
7535         * sunrpc/pm_getmaps.c: Likewise.
7536         * sunrpc/pmap_clnt.c: Likewise.
7537         * sunrpc/pmap_rmt.c: Likewise.
7538         * sunrpc/rpc_main.c: Likewise.
7539         * sunrpc/rpc_scan.c: Likewise.
7540         * sunrpc/svc_run.c: Likewise.
7541         * sunrpc/svc_simple.c: Likewise.
7542         * sunrpc/svc_tcp.c: Likewise.
7543         * sunrpc/svc_udp.c: Likewise.
7544         * sunrpc/svc_unix.c: Likewise.
7545         * sunrpc/xdr_rec.c: Likewise.
7546         * sunrpc/xdr_ref.c: Likewise.
7547         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
7548         * sysdeps/posix/gai_strerror.c: Likewise.
7549         * sysdeps/unix/siglist.c: Likewise.
7550         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
7551         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7552         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
7553         * timezone/zic.c: Likewise.
7554
7555 1999-06-18  H.J. Lu  <hjl@gnu.org>
7556
7557         * localedata/Makefile (charmaps): Exclude SCCS.
7558         (locales): Likewise.
7559         (repertoiremaps): Likewise.
7560
7561 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
7562
7563         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
7564         * sysdeps/generic/bsd-setjmp.c: Likewise.
7565
7566         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
7567
7568         * iconv/gconv_open.c: Include string.h for memset prototype.
7569
7570         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
7571         definitions.
7572
7573         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
7574         assignment to avoid warning on 64bit platforms.
7575
7576 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
7577
7578         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
7579
7580         * nss/getXXbyYY_r.c: Return error code not -1.
7581         * nss/getXXent_r.c: Likewise.
7582         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
7583         small.
7584         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
7585         value > 0 for error.
7586         * nscd/nscd_gethst_r.c: Likewise.
7587         * nscd/nscd_getpw_r.c: Likewise.
7588
7589 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7590
7591         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
7592         disciplines.
7593
7594 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7595
7596         * nscd/nscd_nischeck.c: Fix typos.
7597
7598 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
7599
7600         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
7601         always when oact is NULL.
7602         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
7603
7604 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7605
7606         * math/libm-test.c (jn_test): Adjust delta.
7607
7608 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7609
7610         * libio/vwprintf.c: Include <wchar.h> for prototypes.
7611         * libio/wprintf.c: Likewise.
7612
7613 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7614
7615         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
7616         to not write beyond allocated memory.
7617         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
7618
7619 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
7620
7621         * malloc/mtrace.c: Keep lock while printing output lines.
7622         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
7623
7624 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
7625
7626         * configure.in: Add warnings about broken code.
7627
7628         * Versions.def: Add GLIBC_2.2 for libc.
7629
7630         * iconv/gconv.h: Make header suitable for inclusion in public header
7631         by protecting all names with __.
7632         * iconv/gconv.c: Adapt for symbol name changes.
7633         * iconv/gconv.h: Likewise.
7634         * iconv/gconv_builtin.c: Likewise.
7635         * iconv/gconv_close.c: Likewise.
7636         * iconv/gconv_db.c: Likewise.
7637         * iconv/gconv_dl.c: Likewise.
7638         * iconv/gconv_int.h: Likewise.
7639         * iconv/gconv_open.c: Likewise.
7640         * iconv/gconv_simple.c: Likewise.
7641         * iconv/iconv.c: Likewise.
7642         * iconv/iconv_close.c: Likewise.
7643         * iconv/iconv_open.c: Likewise.
7644         * iconv/loop.c: Likewise.
7645         * iconv/skeleton.c: Likewise.
7646         * iconvdata/8bit-gap.c: Likewise.
7647         * iconvdata/8bit-generic.c: Likewise.
7648         * iconvdata/ansi_x3.110.c: Likewise.
7649         * iconvdata/big5.c: Likewise.
7650         * iconvdata/cns11643.h: Likewise.
7651         * iconvdata/cns11643l1.h: Likewise.
7652         * iconvdata/euc-cn.c: Likewise.
7653         * iconvdata/euc-jp.c: Likewise.
7654         * iconvdata/euc-kr.c: Likewise.
7655         * iconvdata/euc-tw.c: Likewise.
7656         * iconvdata/gb2312.h: Likewise.
7657         * iconvdata/iso-2022-jp.c: Likewise.
7658         * iconvdata/iso-2022-kr.c: Likewise.
7659         * iconvdata/iso646.c: Likewise.
7660         * iconvdata/iso8859-1.c: Likewise.
7661         * iconvdata/iso_6937-2.c: Likewise.
7662         * iconvdata/iso_6937.c: Likewise.
7663         * iconvdata/jis0201.h: Likewise.
7664         * iconvdata/jis0208.h: Likewise.
7665         * iconvdata/jis0212.h: Likewise.
7666         * iconvdata/johab.c: Likewise.
7667         * iconvdata/ksc5601.h: Likewise.
7668         * iconvdata/sjis.c: Likewise.
7669         * iconvdata/t.61.c: Likewise.
7670         * iconvdata/uhc.c: Likewise.
7671         * stdlib/mblen.c: Likewise.
7672         * stdlib/mbtowc.c: Likewise.
7673         * stdlib/wctomb.c: Likewise.
7674         * wcsmbs/btowc.c: Likewise.
7675         * wcsmbs/mbrtowc.c: Likewise.
7676         * wcsmbs/mbsnrtowcs.c: Likewise.
7677         * wcsmbs/mbsrtowcs.c: Likewise.
7678         * wcsmbs/wchar.h: Likewise.
7679         * wcsmbs/wcrtomb.c: Likewise.
7680         * wcsmbs/wcsmbsload.c: Likewise.
7681         * wcsmbs/wcsmbsload.h: Likewise.
7682         * wcsmbs/wcsnrtombs.c: Likewise.
7683         * wcsmbs/wcsrtombs.c: Likewise.
7684         * wcsmbs/wctob.c: Likewise.
7685
7686         * include/limits.h (MB_LEN_MAX): Increase to 16.
7687
7688         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
7689         _G_iconv_t.
7690         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7691         * include/wchar.h: Change mbstate_t to __mbstate_t.
7692
7693         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
7694         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
7695         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
7696         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
7697         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
7698         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
7699         and iofwide.
7700         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
7701         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
7702         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
7703         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
7704         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
7705         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
7706         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
7707         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
7708         GLIBC_2.2 for libc.
7709         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
7710         Extend _IO_file contain pointer to codecvt, widedata and mode.
7711         (_IO_getwc_unlocked): New macro.
7712         (_IO_putwc_unlocked): New macro.
7713         (_IO_fwide): New macro.
7714         * libio/libioP.h: Add new prototypes and adjust existing declarations.
7715         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
7716         buffers based on mode.
7717         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
7718         oriented.
7719         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
7720         flag to be enough to signal unallocated buffer.  For wide oriented
7721         stream don't make it linebuffered.  Don't use _IO_do_flush, use
7722         _IO_new_do_write directly.
7723         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
7724         (_IO_file_seek): Likewise.
7725         * libio/genops.c (_IO_least_marker): Make global.
7726         (__underflow): Orient stream if not already done.
7727         (__uflow): Likewise.
7728         (_IO_default_seekpos): Change to type _IO_off64_t.
7729         (_IO_default_seekoff): Likewise.
7730         (_IO_default_seek): Likewise.
7731         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
7732         in initialization.
7733         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
7734         to use _IO_off64_t.
7735         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
7736         char stream.
7737         * libio/ftello64.c: Likewise.
7738         * libio/ioftell.c: Likewise.
7739         * libio/iofopncook.c: Likewise.
7740         * libio/ioseekoff.c: Likewise.
7741         * libio/ioseekpos.c: Likewise.
7742         * libio/oldfileops.c: Likewise.
7743         * libio/iofgetpos.c: Store state of conversion if necessary.
7744         * libio/iofgetpos64.c: Likewise.
7745         * libio/iofsetpos.c: Restore conversion state if necessary.
7746         * libio/iofsetpos64.c: Likewise.
7747         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
7748         * libio/iofopen.c: Likewise.
7749         * libio/iofopen64.c: Likewise.
7750         * libio/iopopen.c: Likewise.
7751         * libio/iovdprintf.c: Likewise.
7752         * libio/iovsprintf.c: Likewise.
7753         * libio/iovsscanf.c: Likewise.
7754         * libio/memstream.c: Likewise.
7755         * libio/obprintf.c: Likewise.
7756         * libio/iofputs.c: Orient stream if not already happened.
7757         * libio/iofputs_u.c: Likewise.
7758         * libio/iofwrite.c: Likewise.
7759         * libio/iofwrite_u.c: Likewise.
7760         * libio/ioputs.c: Likewise.
7761         * libio/iosetbuffer.c: Handle not yet oriented stream.
7762         * libio/iosetvbuf.c: Likewise.
7763         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
7764         * libio/stdfiles.c: Likewise.
7765         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
7766         failed allocation.
7767         (_IO_str_seekoff): Use _IO_off64_t.
7768         * libio/vasprintf.c: Pre-orient stream.
7769         * libio/vsnprintf.c: Likewise.
7770         * libio/fputwc.c: New file.
7771         * libio/fputwc_u.c: New file.
7772         * libio/fwprintf.c: New file.
7773         * libio/fwscanf.c: New file.
7774         * libio/getwc.c: New file.
7775         * libio/getwc_u.c: New file.
7776         * libio/getwchar.c: New file.
7777         * libio/getwchar_u.c: New file.
7778         * libio/iofgetws.c: New file.
7779         * libio/iofgetws_u.c: New file.
7780         * libio/iofputws.c: New file.
7781         * libio/iofputws_u.c: New file.
7782         * libio/iofwide.c: New file.
7783         * libio/iogetwline.c: New file.
7784         * libio/ioungetwc.c: New file.
7785         * libio/iovswscanf.c: New file.
7786         * libio/iowpadn.c: New file.
7787         * libio/oldiofgetpos.c: New file.
7788         * libio/oldiofgetpos64.c: New file.
7789         * libio/oldiofsetpos.c: New file.
7790         * libio/oldiofsetpos64.c: New file.
7791         * libio/putwc.c: New file.
7792         * libio/putwc_u.c: New file.
7793         * libio/putwchar.c: New file.
7794         * libio/putwchar_u.c: New file.
7795         * libio/swprintf.c: New file.
7796         * libio/swscanf.c: New file.
7797         * libio/tst_swprintf.c: New file.
7798         * libio/tst_swscanf.c: New file.
7799         * libio/tst_wprintf.c: New file.
7800         * libio/tst_wscanf.c: New file.
7801         * libio/tst_wscanf.input: New file.
7802         * libio/vswprintf.c: New file.
7803         * libio/vwprintf.c: New file.
7804         * libio/vwscanf.c: New file.
7805         * libio/wfiledoalloc.c: New file.
7806         * libio/wfileops.c: New file.
7807         * libio/wgenops.c: New file.
7808         * libio/wprintf.c: New file.
7809         * libio/wscanf.c: New file.
7810         * libio/wstrops.c: New file.
7811         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
7812         vfwprintf, and vfwscanf.
7813         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
7814         make global.
7815         * stdio-common/_itowa.c: New file.
7816         * stdio-common/_itowa.h: New file.
7817         * stdio-common/itoa-digits.c: Minimal optimization.
7818         * stdio-common/itowa-digits.c: New file.
7819         * stdio-common/printf-parse.h: Allow use in wide character context.
7820         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
7821         * stdio-common/printf.h (printf_info): Add wide bit.
7822         * stdio-common/printf_fp.c: Determine from wide bit whether stream
7823         is wide oriented or not.
7824         * stdio-common/printf_size.c: Likewise.
7825         * sysdeps/generic/printf_fphex.c: Likewise.
7826         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
7827         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
7828         context.
7829         * stdio-common/vfscand.c: Likewise.
7830         * stdio-common/vfwprintf.c: New file.
7831         * stdio-common/vfwscanf.c: New file.
7832
7833         * time/Makefile (routines): Add wcsftime.
7834         (tests): Add tst_wcsftime.
7835         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
7836         * time/strftime.c: Make usable as wcsftime.
7837         * time/wcsftime.c: New file.
7838         * time/tst_wcsftime.c: New file.
7839
7840         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
7841         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
7842         * wcsmbs/wcschrnul.c: New file.
7843         * wcsmbs/wmemcpy.c: New file.
7844         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
7845         * wcsmbs/wmemmove.c: Likewise for wmemmove.
7846
7847         * manual/stdio.texi: Document is_char and wide element if printf_info.
7848
7849         * manual/time.texi: Document wcsftime.
7850
7851         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
7852         __wmemmove, __wcschrnul, and __vfwscanf.
7853
7854         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
7855         * locale/C-time.c: Adapt for above change.
7856         * locale/categories.def: Likewise.
7857         * locale/localeinfo.h: Likewise.
7858         * localedata/Makefile: Don't run tests for now.
7859
7860         * manual/errno.texi: Fix typos.
7861         * manual/memory.texi: Likewise.
7862         * manual/ctype.texi: Likewise.
7863         Patches by Brian Youmans <3diff@gnu.org>.
7864
7865 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7866
7867         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
7868
7869 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7870
7871         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
7872         word order.
7873         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
7874         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
7875
7876 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7877
7878         * db2/db/db.c: Restore __nss_db_open alias.
7879         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
7880         include.
7881         * db2/os/os_rw.c (__os_write): Maintain const correctness.
7882         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
7883
7884 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
7885
7886         * stdio-common/printf-parse.h (parse_one_spec): Don't set
7887         is_longlong if not necessary.
7888
7889 1999-06-15  H.J. Lu  <hjl@gnu.org>
7890
7891         * Make-dist (sysdep_dirs): Exclude SCCS.
7892         * MakeTAGS (sysdep_dirs): Likewise.
7893
7894 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
7895
7896         * posix/regex.c (re_error_msgid): Remove extra commas.
7897
7898 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
7899
7900         * stdlib/tst-strtoll.c: New file.
7901         * stdlib/Makefile (tests): Add tst-strtoll.c
7902         * stdlib/strtol.c: It is not generally true that if
7903         (unsigned)a*(unsigned)b overflows, then the result is
7904         less than 'a'.
7905
7906 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
7907
7908         * nscd/connections.c (handle_request): Only root is allowed to
7909         send GETSTAT request in non secure mode.
7910         * nscd/nscd.c: Print error message if other then root try to
7911         use getstat.
7912
7913 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7914
7915         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
7916
7917 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7918
7919         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
7920         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
7921
7922 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7923
7924         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
7925         for character to search, to help the compiler.
7926         * sysdeps/generic/strchrnul.c: Likewise.
7927         * sysdeps/generic/memchr.c: Likewise.
7928         * sysdeps/generic/memccpy.c: Likewise.
7929         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
7930
7931 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7932
7933         * sysdeps/m68k/memchr.S: New file.
7934         * sysdeps/m68k/rawmemchr.S: New file.
7935         * sysdeps/m68k/strchr.S: New file.
7936         * sysdeps/m68k/strchrnul.S: New file.
7937
7938 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
7939
7940         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
7941         add `memory' clobber; optimise for constant `val'.
7942         (atomic_add): Likewise.
7943         (test_and_set): Remove `volatile'; add `memory' clobber; be more
7944         like the original `test_and_set'.
7945         (compare_and_swap): Remove `volatile'; add `memory' clobber;
7946         optimise for constant `oldval'.
7947         (always_swap): Remove `volatile'; add `memory' clobber.
7948
7949 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7950
7951         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
7952         functions for gcc <= 2.7.x.
7953
7954 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
7955
7956         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
7957         change.
7958
7959 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
7960
7961         * db2/Makefile (distribute): Remove files which do not exist
7962         anymore.
7963
7964         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
7965         definitions to calm down gcc.
7966
7967         * db2/db.h: Update from db 2.7.5.
7968         * db2/db_185.h: Likewise.
7969         * db2/db_int.h: Likewise.
7970         * db2/btree/bt_compare.c: Likewise.
7971         * db2/btree/bt_conv.c: Likewise.
7972         * db2/btree/bt_curadj.c: Likewise.
7973         * db2/btree/bt_cursor.c: Likewise.
7974         * db2/btree/bt_delete.c: Likewise.
7975         * db2/btree/bt_open.c: Likewise.
7976         * db2/btree/bt_page.c: Likewise.
7977         * db2/btree/bt_put.c: Likewise.
7978         * db2/btree/bt_rec.c: Likewise.
7979         * db2/btree/bt_recno.c: Likewise.
7980         * db2/btree/bt_rsearch.c: Likewise.
7981         * db2/btree/bt_search.c: Likewise.
7982         * db2/btree/bt_split.c: Likewise.
7983         * db2/btree/bt_stat.c: Likewise.
7984         * db2/btree/btree_auto.c: Likewise.
7985         * db2/common/db_appinit.c: Likewise.
7986         * db2/common/db_apprec.c: Likewise.
7987         * db2/common/db_err.c: Likewise.
7988         * db2/common/db_region.c: Likewise.
7989         * db2/common/db_salloc.c: Likewise.
7990         * db2/db/db.c: Likewise.
7991         * db2/db/db.src: Likewise.
7992         * db2/db/db_am.c: Likewise.
7993         * db2/db/db_auto.c: Likewise.
7994         * db2/db/db_dispatch.c: Likewise.
7995         * db2/db/db_dup.c: Likewise.
7996         * db2/db/db_iface.c: Likewise.
7997         * db2/db/db_join.c: Likewise.
7998         * db2/db/db_overflow.c: Likewise.
7999         * db2/db/db_pr.c: Likewise.
8000         * db2/db/db_rec.c: Likewise.
8001         * db2/db/db_ret.c: Likewise.
8002         * db2/db185/db185.c: Likewise.
8003         * db2/dbm/dbm.c: Likewise.
8004         * db2/hash/hash.c: Likewise.
8005         * db2/hash/hash_auto.c: Likewise.
8006         * db2/hash/hash_dup.c: Likewise.
8007         * db2/hash/hash_page.c: Likewise.
8008         * db2/hash/hash_rec.c: Likewise.
8009         * db2/hash/hash_stat.c: Likewise.
8010         * db2/include/btree.h: Likewise.
8011         * db2/include/btree_ext.h: Likewise.
8012         * db2/include/clib_ext.h: Likewise.
8013         * db2/include/common_ext.h: Likewise.
8014         * db2/include/db_am.h: Likewise.
8015         * db2/include/db_auto.h: Likewise.
8016         * db2/include/db_cxx.h: Likewise.
8017         * db2/include/db_ext.h: Likewise.
8018         * db2/include/db_join.h: Likewise.
8019         * db2/include/db_page.h: Likewise.
8020         * db2/include/hash.h: Likewise.
8021         * db2/include/hash_ext.h: Likewise.
8022         * db2/include/lock.h: Likewise.
8023         * db2/include/lock_ext.h: Likewise.
8024         * db2/include/log.h: Likewise.
8025         * db2/include/log_ext.h: Likewise.
8026         * db2/include/mp.h: Likewise.
8027         * db2/include/mp_ext.h: Likewise.
8028         * db2/include/os.h: Likewise.
8029         * db2/include/os_ext.h: Likewise.
8030         * db2/include/os_func.h: Likewise.
8031         * db2/include/txn.h: Likewise.
8032         * db2/include/txn_auto.h: Likewise.
8033         * db2/include/txn_ext.h: Likewise.
8034         * db2/include/xa.h: Likewise.
8035         * db2/include/xa_ext.h: Likewise.
8036         * db2/lock/lock.c: Likewise.
8037         * db2/lock/lock_conflict.c: Likewise.
8038         * db2/lock/lock_deadlock.c: Likewise.
8039         * db2/lock/lock_region.c: Likewise.
8040         * db2/lock/lock_util.c: Likewise.
8041         * db2/log/log.c: Likewise.
8042         * db2/log/log_archive.c: Likewise.
8043         * db2/log/log_auto.c: Likewise.
8044         * db2/log/log_findckp.c: Likewise.
8045         * db2/log/log_get.c: Likewise.
8046         * db2/log/log_put.c: Likewise.
8047         * db2/log/log_rec.c: Likewise.
8048         * db2/log/log_register.c: Likewise.
8049         * db2/mp/mp_bh.c: Likewise.
8050         * db2/mp/mp_fget.c: Likewise.
8051         * db2/mp/mp_fopen.c: Likewise.
8052         * db2/mp/mp_fput.c: Likewise.
8053         * db2/mp/mp_fset.c: Likewise.
8054         * db2/mp/mp_open.c: Likewise.
8055         * db2/mp/mp_pr.c: Likewise.
8056         * db2/mp/mp_region.c: Likewise.
8057         * db2/mp/mp_sync.c: Likewise.
8058         * db2/mutex/mutex.c: Likewise.
8059         * db2/mutex/uts4_cc.s: Likewise.
8060         * db2/os/os_abs.c: Likewise.
8061         * db2/os/os_alloc.c: Likewise.
8062         * db2/os/os_config.c: Likewise.
8063         * db2/os/os_dir.c: Likewise.
8064         * db2/os/os_fid.c: Likewise.
8065         * db2/os/os_fsync.c: Likewise.
8066         * db2/os/os_map.c: Likewise.
8067         * db2/os/os_oflags.c: Likewise.
8068         * db2/os/os_open.c: Likewise.
8069         * db2/os/os_rw.c: Likewise.
8070         * db2/os/os_seek.c: Likewise.
8071         * db2/os/os_sleep.c: Likewise.
8072         * db2/os/os_spin.c: Likewise.
8073         * db2/os/os_stat.c: Likewise.
8074         * db2/os/os_tmpdir.c: Likewise.
8075         * db2/os/os_unlink.c: Likewise.
8076         * db2/progs/db_archive/db_archive.c: Likewise.
8077         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8078         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8079         * db2/progs/db_dump/db_dump.c: Likewise.
8080         * db2/progs/db_load/db_load.c: Likewise.
8081         * db2/progs/db_printlog/README: Likewise.
8082         * db2/progs/db_printlog/commit.awk: Likewise.
8083         * db2/progs/db_printlog/count.awk: Likewise.
8084         * db2/progs/db_printlog/db_printlog.c: Likewise.
8085         * db2/progs/db_printlog/pgno.awk: Likewise.
8086         * db2/progs/db_printlog/range.awk: Likewise.
8087         * db2/progs/db_printlog/status.awk: Likewise.
8088         * db2/progs/db_printlog/txn.awk: Likewise.
8089         * db2/progs/db_recover/db_recover.c: Likewise.
8090         * db2/progs/db_stat/db_stat.c: Likewise.
8091         * db2/txn/txn.c: Likewise.
8092         * db2/txn/txn.src: Likewise.
8093         * db2/txn/txn_auto.c: Likewise.
8094         * db2/txn/txn_rec.c: Likewise.
8095         * db2/xa/xa.c: Likewise.
8096         * db2/xa/xa_db.c: Likewise.
8097         * db2/xa/xa_map.c: Likewise.
8098
8099         * db2/btree/bt_close.c: Removed.
8100         * db2/db/db_thread.c: Likewise.
8101         * db2/hash/hash_debug.c: Likewise.
8102         * db2/include/db.h.src: Likewise.
8103         * db2/include/db_int.h.src: Likewise.
8104         * db2/include/os_jump.h: Likewise.
8105         * db2/mutex/alpha.dec: Likewise.
8106         * db2/mutex/alpha.gcc: Likewise.
8107         * db2/mutex/parisc.hp: Likewise.
8108         * db2/mutex/uts4.cc.s: Likewise.
8109
8110         * db2/Makefile: Add new routines, remove old for 2.7.5.
8111         * db2/Versions: Add internal function names for the helper programs.
8112         * db2/makedb.c: Update for new cursor callback.
8113         * Versions.def: Define versions for libdb.
8114
8115 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
8116
8117         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
8118         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
8119         * nscd/nscd_nischeck.c: New file.
8120         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
8121
8122 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8123
8124         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
8125         MSG_* flags from Linux 2.2.9.
8126
8127 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
8128
8129         * Makeconfig (static-start-installed-name): Set to
8130         $(start-installed-name) if not defined.
8131         (+link-static): Use $(static-start-installed-name) instead of
8132         $(start-installed-name).
8133         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
8134         Set to crt0.o.
8135
8136 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
8137
8138         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
8139         inserting a send right into the child instead of unconditionally
8140         copying the send right.
8141
8142 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
8143
8144         * locale/lc-time.c: Add free_mem function to free if necessary
8145         statically allocated memory.
8146
8147 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
8148
8149         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
8150         bias from the raw exponent.
8151
8152 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
8153
8154         * inet/arpa/tftp.h: Move attribute declaration in right position.
8155
8156 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
8157
8158         * nscd/nscd.c: Add -S options for separate caching of data for
8159         every user. So one user couldn't see the data another user
8160         has gotten with his credentials.
8161         * nscd/nscd.h: Add new prototypes.
8162         * nscd/cache.c: Compare owner of cache entry if in secure mode.
8163         * nscd/connections.c: Check on shutdown if caller really was root.
8164         In secure mode get uid of caller.
8165         * nscd/grpcache.c: Add support for new secure group mode.
8166         * nscd/hstcache.c: Add support for new secure hosts mode.
8167         * nscd/pwdcache.c: Add support for new secure passwd mode.
8168
8169 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
8170
8171         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
8172         of user-provided buffer.
8173
8174 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
8175
8176         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
8177         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
8178
8179 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
8180
8181         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
8182         and A format.
8183
8184         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
8185         returning after last entry.
8186         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
8187
8188 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
8189
8190         * misc/sysexits.h: Remove advertising clause of copyright.
8191         * resolv/getnetnamadr.c: Likewise.
8192         * sysdeps/vax/bcopy.s: Likewise.
8193         * sysdeps/vax/bzero.s: Likewise.
8194         * sysdeps/vax/ffs.s: Likewise.
8195         * sysdeps/vax/memchr.s: Likewise.
8196         * sysdeps/vax/memcmp.s: Likewise.
8197         * sysdeps/vax/memmove.s: Likewise.
8198         * sysdeps/vax/memset.s: Likewise.
8199         * sysdeps/vax/strcat.s: Likewise.
8200         * sysdeps/vax/strchr.s: Likewise.
8201         * sysdeps/vax/strcmp.s: Likewise.
8202         * sysdeps/vax/strcpy.s: Likewise.
8203         * sysdeps/vax/strcspn.s: Likewise.
8204         * sysdeps/vax/strlen.s: Likewise.
8205         * sysdeps/vax/strncat.s: Likewise.
8206         * sysdeps/vax/strncmp.s: Likewise.
8207         * sysdeps/vax/strncpy.s: Likewise.
8208         * sysdeps/vax/strpbrk.s: Likewise.
8209         * sysdeps/vax/strrchr.s: Likewise.
8210         * sysdeps/vax/strsep.s: Likewise.
8211         * sysdeps/vax/strspn.s: Likewise.
8212         * sysdeps/vax/strstr.s: Likewise.
8213
8214         * libio/iofopncook.c: Adjust for renaming of structure elements.
8215         * libio/libio.h: Define cookie functions with all the names.
8216
8217         * pwd/fgetpwent_r.c: Set errno in the correct way.
8218         * shadow/fgetspent_r.c: Likewise.
8219         * pwd/fgetpwent.c: Handle long lines correctly.  Little
8220         optimizations.  Free static buffer when debugging memory handling.
8221         * shadow/fgetspent.c: Likewise.
8222
8223         * grp/fgetgrent.c: Little optimization in loop.
8224
8225 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8226
8227         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
8228         in a different way.
8229
8230 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
8231
8232         * stdlib/longlong.h: gas changed sethi handling when without
8233         %hi(). Fix assembly.
8234         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
8235         port specific cache id checks.
8236         * sysdeps/generic/dl-cache.h: New file.
8237         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
8238
8239 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
8240
8241         * gmon/gmon.c: Remove advertising clause of copyright.
8242         * gmon/mcount.c: Likewise.
8243         * gmon/sys/gmon.h: Likewise.
8244         * inet/arpa/ftp.h: Likewise.
8245         * inet/arpa/telnet.h: Likewise.
8246         * inet/arpa/tftp.h: Likewise.
8247         * inet/inet_lnaof.c: Likewise.
8248         * inet/inet_mkadr.c: Likewise.
8249         * inet/inet_net.c: Likewise.
8250         * inet/inet_netof.c: Likewise.
8251         * inet/protocols/routed.h: Likewise.
8252         * inet/protocols/rwhod.h: Likewise.
8253         * inet/protocols/talkd.h: Likewise.
8254         * inet/protocols/timed.h: Likewise.
8255         * inet/rcmd.c: Likewise.
8256         * inet/rexec.c: Likewise.
8257         * inet/ruserpass.c: Likewise.
8258         * io/fts.c: Likewise.
8259         * io/fts.h: Likewise.
8260         * login/login_tty.c: Likewise.
8261         * misc/fstab.h: Likewise.
8262         * misc/getttyent.c: Likewise.
8263         * misc/getusershell.c: Likewise.
8264         * misc/sys/queue.h: Likewise.
8265         * misc/sys/syslog.h: Likewise.
8266         * misc/syslog.c: Likewise.
8267         * misc/ttyent.h: Likewise.
8268         * misc/ttyslot.c: Likewise.
8269         * resolv/arpa/nameser.h: Likewise.
8270         * resolv/gethnamaddr.c: Likewise.
8271         * resolv/herror.c: Likewise.
8272         * resolv/inet_addr.c: Likewise.
8273         * resolv/mapv4v6addr.h: Likewise.
8274         * resolv/mapv4v6hostent.h: Likewise.
8275         * resolv/nss_dns/dns-host.c: Likewise.
8276         * resolv/nss_dns/dns-network.c: Likewise.
8277         * resolv/res_comp.c: Likewise.
8278         * resolv/res_data.c: Likewise.
8279         * resolv/res_debug.c: Likewise.
8280         * resolv/res_init.c: Likewise.
8281         * resolv/res_mkquery.c: Likewise.
8282         * resolv/res_query.c: Likewise.
8283         * resolv/res_send.c: Likewise.
8284         * resolv/resolv.h: Likewise.
8285         * sysdeps/generic/div.c: Likewise.
8286         * sysdeps/generic/netinet/ip.h: Likewise.
8287         * sysdeps/generic/netinet/tcp.h: Likewise.
8288         * sysdeps/generic/paths.h: Likewise.
8289         * sysdeps/generic/prof-freq.c: Likewise.
8290         * sysdeps/generic/sys/ttydefaults.h: Likewise.
8291         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8292         * sysdeps/gnu/netinet/tcp.h: Likewise.
8293         * sysdeps/ieee754/support.c: Likewise.
8294         * sysdeps/mach/hurd/sys/param.h: Likewise.
8295         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
8296         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8297         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
8298         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8299         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
8300         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
8301         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
8302         * sysdeps/unix/sysv/linux/paths.h: Likewise.
8303         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
8304         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
8305         * sysdeps/vax/DEFS.h: Likewise.
8306         * termios/sys/ttychars.h: Likewise.
8307         * misc/daemon.c: Likewise.  Call fork.
8308
8309         * grp/fgetgrent.c (buffer): Make file local variable.
8310         (free_mem): New function.  Call for malloc debugging.
8311
8312         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
8313
8314 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8315
8316         * grp/Makefile: Add rules for tst_fgetgrent.
8317
8318         * grp/tst_fgetgrent.c: Rewritten to read only one file.
8319
8320         * grp/tst_fgetgrent.sh: New file.
8321
8322 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
8323
8324         * grp/Makefile (tests): Add tst_fgetgrent.
8325         * grp/tst_fgetgrent.c: New file.
8326         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8327
8328 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
8329
8330         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
8331         be POSIX compliant.  Prior definition was broken for Hurd.
8332         Reported by Mark Kettenis <kettenis@gnu.org>.
8333
8334 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
8335
8336         * ctype/ctype.h: Protect __tobody code by __extension__.
8337
8338 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
8339
8340         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
8341         reading and reset in case the buffer was too small.
8342
8343         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
8344         of EOF.
8345
8346 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8347
8348         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
8349         another SIOGIFNAME typo.
8350
8351 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
8352
8353         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
8354
8355         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
8356         bit.
8357
8358 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8359
8360         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
8361         the precision if the mantissa is zero.
8362
8363 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8364
8365         * manual/lang.texi (Floating Point Parameters): GCC already
8366         supports long double for a long time.
8367
8368 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8369
8370         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
8371         yn_test): Increase some epsilons.
8372
8373 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
8374
8375         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
8376         parameters.
8377
8378 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
8379
8380         * sysdeps/unix/sysv/linux/kernel-features.h: Define
8381         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
8382         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
8383         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
8384
8385         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
8386         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
8387         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
8388         * sysdeps/libm-ieee754/w_j1.c: Likewise.
8389         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
8390         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
8391         * sysdeps/libm-ieee754/w_jn.c: Likewise.
8392         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
8393         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
8394
8395         * stdio-common/vfprintf.c: Correct typos.
8396
8397         * math/libm-test.c (jn_test): Adjust delta.
8398         (y1_test): Likewise.
8399         (yn_test): Likewise.
8400
8401         * elf/do-lookup.h: It should never happen that if we expect a versioned
8402         symbol from a file the file has no version table.  This should have
8403         been checked in dl-version.c.
8404         * elf/dl-lookup.c: Include assert.h.
8405
8406         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
8407         function handling.
8408
8409         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
8410
8411 1999-06-06  Andi Kleen  <ak@muc.de>
8412
8413         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
8414         SA_RESTORER flag.
8415
8416 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8417
8418         * math/libm-test.c (yn_test): Change one delta.
8419         (jn_test): Likewise.
8420         (j1_test): Likewise.
8421         (y0_test): Likewise.
8422
8423 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
8424
8425         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
8426         avoid multiple calls to getpagesize() which might be a syscall.
8427
8428 1999-06-06  Philip Blundell  <philb@gnu.org>
8429
8430         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
8431
8432 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8433
8434         * manual/install.texi (Running make install): Correct typo in
8435         dynamic linker invocation.
8436
8437 1999-06-05  Philip Blundell  <philb@gnu.org>
8438
8439         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
8440         problems with GOT addressing.
8441
8442 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8443
8444         * malloc/malloc.c (check_action): Change into bitmap so that both
8445         diagnostic and abort can be requested by setting it to 3.
8446         (mALLOC_SET_STATe): Disable malloc checking if necessary.
8447
8448 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
8449
8450         * configure.in: Few changes for HPUX.
8451
8452         * scripts/config.guess: Update from latest version.
8453         * scripts/config.sub: Likewise.
8454
8455 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8456
8457         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
8458         map files.  Closes PR libc/1147.
8459
8460 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8461
8462         * math/libm-test.c (main): Add new test functions.
8463         (jn_test): New tests.
8464         (j1_test): Add some more tests.
8465         (j0_test): Add some more tests.
8466         (y0_test): Add some more tests.
8467         (y1_test): Add some more tests.
8468
8469 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8470
8471         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
8472         Patch by mhagger@dera.gov.uk [PR libc/1145].
8473
8474         * math/libm-test.c (y1_test): New tests.
8475         (y0_test): Likewise.
8476         (j1_test): Likewise.
8477         (j0_test): Likewise.
8478         (main): Added new tests.
8479
8480 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
8481
8482         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
8483         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
8484         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
8485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
8486         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
8487         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
8488
8489 1999-06-02  David S. Miller  <davem@redhat.com>
8490
8491         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
8492         pointers properly.
8493
8494 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
8495
8496         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
8497         and elide compatibility code if possible.
8498
8499 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
8500
8501         * manual/llio.texi: Remove menu entry for removed section.
8502
8503 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8504
8505         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
8506         variables.
8507
8508 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8509
8510         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
8511         (from Linux 2.3.4).
8512
8513 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
8514
8515         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
8516
8517 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8518
8519         * manual/stdio.texi: Fix some typos.
8520
8521 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8522
8523         * malloc/malloc.h: Properly handle future GCC versions.
8524
8525 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8526
8527         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
8528         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
8529         text of error message.
8530
8531         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
8532
8533 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
8534
8535         * manual/filesys.texi: Extend (f)truncate documentation.
8536         * manual/llio.texi: Remove duplicate (f)truncate definition.
8537
8538 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8539
8540         * manual/stdio.texi (Formatted Output Functions): Mention
8541         semantics of snprintf in glibc 2.0.
8542         Reported by Ben Pfaff <pfaffben@msu.edu>.
8543
8544 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
8545
8546         * include/features.h (__GLIBC_MINOR__): Bump to 2.
8547
8548 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
8549
8550         * math/libm-test.c: Adjust a few more deltas for the poor ARM
8551         FPU emulator.
8552
8553 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8554
8555         * configure.in: Fix typo.
8556
8557 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8558
8559         * manual/socket.texi (Host Names): Remove statement that h_errno
8560         needs to be declared since this isn't true anymore.
8561         Closes PR libc/1138.
8562
8563 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
8564
8565         * config.h.in: Add __LINUX_KERNEL_VERSION.
8566         * configure.in: Recognize --enable-kernel.
8567         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
8568         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
8569         appropriately.
8570         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
8571         given perform runtime test.
8572
8573         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
8574         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
8575         minimal supported kernel is known to have the feature.
8576         * sysdeps/unix/sysv/linux/poll.c: Likewise.
8577         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8578         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8579         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8580         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8581         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
8582         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8583         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8584         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8585         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8586         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8587         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
8588         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
8589         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8590         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8591
8592         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
8593
8594 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
8595
8596         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
8597
8598 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
8599
8600         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
8601         Optimized sparc64 routines.
8602
8603 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
8604
8605         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
8606         they are the same as ints.
8607         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
8608
8609         * version.h (VERSION): Bump to 2.1.90.
8610         (RELEASE): Mark as development.
8611
8612         * stdio-common/vfprintf.c (vfprintf): Don't implement special
8613         handling for long long if it is the same as long.
8614         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
8615
8616         * stdlib/strtol.c: Moved to ...
8617         * sysdeps/generic/strtol.c: ...here.
8618         * stdlib/strtoul.c: Moved to ...
8619         * sysdeps/generic/strtoul.c: ...here.
8620         * stdlib/strtoll.c: Moved to ...
8621         * sysdeps/generic/strtoll.c: ...here.
8622         * stdlib/strtoull.c: Moved to ...
8623         * sysdeps/generic/strtoull.c: ...here.
8624         * stdlib/strtol_l.c: Moved to ...
8625         * sysdeps/generic/strtol_l.c: ...here.
8626         * stdlib/strtoul_l.c: Moved to ...
8627         * sysdeps/generic/strtoul_l.c: ...here.
8628         * stdlib/strtoll_l.c: Moved to ...
8629         * sysdeps/generic/strtoll_l.c: ...here.
8630         * stdlib/strtoull_l.c: Moved to ...
8631         * sysdeps/generic/strtoull_l.c: ...here.
8632
8633         * sysdeps/wordsize-64/strtol.c: New file.
8634         * sysdeps/wordsize-64/strtoul.c: New file.
8635         * sysdeps/wordsize-64/strtoll.c: New file.
8636         * sysdeps/wordsize-64/strtoull.c: New file.
8637         * sysdeps/wordsize-64/strtol_l.c: New file.
8638         * sysdeps/wordsize-64/strtoul_l.c: New file.
8639         * sysdeps/wordsize-64/strtoll_l.c: New file.
8640         * sysdeps/wordsize-64/strtoull_l.c: New file.
8641
8642         * wcsmbs/wcstol.c: Moved to ...
8643         * sysdeps/generic/wcstol.c: ...here.
8644         * wcsmbs/wcstoul.c: Moved to ...
8645         * sysdeps/generic/wcstoul.c: ...here.
8646         * wcsmbs/wcstoll.c: Moved to ...
8647         * sysdeps/generic/wcstoll.c: ...here.
8648         * wcsmbs/wcstoull.c: Moved to ...
8649         * sysdeps/generic/wcstoull.c: ...here.
8650         * wcsmbs/wcstol_l.c: Moved to ...
8651         * sysdeps/generic/wcstol_l.c: ...here.
8652         * wcsmbs/wcstoul_l.c: Moved to ...
8653         * sysdeps/generic/wcstoul_l.c: ...here.
8654         * wcsmbs/wcstoll_l.c: Moved to ...
8655         * sysdeps/generic/wcstoll_l.c: ...here.
8656         * wcsmbs/wcstoull_l.c: Moved to ...
8657         * sysdeps/generic/wcstoull_l.c: ...here.
8658
8659         * sysdeps/wordsize-64/wcstol.c: New file.
8660         * sysdeps/wordsize-64/wcstoul.c: New file.
8661         * sysdeps/wordsize-64/wcstoll.c: New file.
8662         * sysdeps/wordsize-64/wcstoull.c: New file.
8663         * sysdeps/wordsize-64/wcstol_l.c: New file.
8664         * sysdeps/wordsize-64/wcstoul_l.c: New file.
8665         * sysdeps/wordsize-64/wcstoll_l.c: New file.
8666         * sysdeps/wordsize-64/wcstoull_l.c: New file.
8667
8668 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
8669
8670         * sysdeps/sparc/bits/wordsize.h: New file.
8671         * sysdeps/sparc/fpu/bits/fenv.h: New file.
8672         * sysdeps/sparc/fpu/fpu_control.h: New file.
8673         * sysdeps/sparc/gmp-mparam.h: New file.
8674
8675         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
8676         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
8677         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
8678         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
8679         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
8680         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
8681
8682         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
8683         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
8684         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
8685         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
8686
8687         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
8688         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
8689         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
8690         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
8691         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
8692
8693 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
8694
8695         * login/openpty.c (openpty): Make sure pty does not because
8696         controlling TTY.
8697
8698         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
8699
8700 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
8701
8702         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
8703         Do proper error return.
8704
8705 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8706
8707         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
8708         of __P in the rest of glibc; define __MALLOC_PMT and use it.
8709         Reported by Stephan Kulow <coolo@kde.org>.
8710
8711 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
8712
8713         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
8714
8715         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
8716
8717 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8718
8719         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
8720         names to protect from user's macro namespace.
8721         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
8722         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
8723         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
8724         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
8725         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
8726         Adapted.
8727         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
8728         sysdeps/arm/fpu/fesetenv.c: Likewise.
8729         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
8730         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
8731         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
8732         * sysdeps/mips/fesetenv.c: Likewise.
8733
8734 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
8735
8736         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
8737
8738 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
8739
8740         * configure.in: Recognize and allow gcc 2.95.
8741
8742 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
8743
8744         * sysdeps/generic/bits/elfclass.h: Version common to
8745         wordsize-32 and wordsize-64.
8746         * sysdeps/generic/bits/environments.h: Ditto.
8747         * sysdeps/generic/stdint.h: Ditto.
8748         * sysdeps/generic/inttypes.h: Ditto.
8749
8750         * sysdeps/generic/bits/wordsize.h: New file.
8751         * stdlib/Makefile: Add bits/wordsize.h to headers.
8752
8753         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
8754
8755         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
8756         headers to be used for 32bit and 64bit ABI compilations.
8757         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
8758         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
8759         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
8760         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
8761         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
8762
8763         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
8764         * sysdeps/wordsize-64/bits/environments.h: Remove.
8765         * sysdeps/wordsize-64/stdint.h: Remove.
8766         * sysdeps/wordsize-64/inttypes.h: Remove.
8767         * sysdeps/wordsize-64/bits/wordsize.h: New file.
8768
8769         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
8770         * sysdeps/wordsize-32/bits/environments.h: Remove.
8771         * sysdeps/wordsize-32/stdint.h: Remove.
8772         * sysdeps/wordsize-32/inttypes.h: Remove.
8773         * sysdeps/wordsize-32/bits/wordsize.h: New file.
8774
8775 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
8776
8777         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
8778         __align_cpy_16): New functions.
8779         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
8780
8781         * sysdeps/sparc/sparc32/Versions: New file.
8782         * sysdeps/sparc/sparc64/Versions: New file.
8783         * sysdeps/sparc/Versions: Remove.
8784
8785 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
8786
8787         * sysdeps/unix/sysv/linux/configure.in:
8788         On sparc64-*-linux*, set slibdir to /lib64 if prefix
8789         is /usr, plus set libdir to ${exec_prefix}/lib64.
8790         * sysdeps/unix/sysv/linux/configure: Regenerated.
8791         * config.make.in: Propagate libdir settings from configure
8792         to the Makefiles.
8793         * shlib-versions: sparc64-*-linux* dynamic linker is
8794         /lib64/ld-linux.so.2.
8795
8796 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
8797
8798         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
8799         RPC connection.
8800
8801 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
8802
8803         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
8804         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
8805
8806         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
8807         contains garbage in bits 8-63.
8808         * sysdeps/sparc/sparc64/memset.S: Ditto.
8809         * sysdeps/sparc/sparc64/strchr.S: Ditto.
8810
8811 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
8812
8813         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
8814
8815 1999-05-17  David S. Miller  <davem@redhat.com>
8816
8817         * sysdeps/sparc/sparc32/atomicity.h: New file.
8818         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
8819         * sysdeps/sparc/sparc64/atomicity.h: New file.
8820         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
8821         sysdep-CFLAGS.
8822
8823 1999-05-18  Richard Henderson  <rth@twiddle.net>
8824
8825         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
8826
8827 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8828
8829         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
8830         posix/sys/types.h: Handle the case of __GNUC__=3,
8831         __GNUC_MINOR__=(anything).
8832
8833 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8834
8835         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
8836         if _FORCE_INLINES.
8837
8838 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
8839
8840         * elf/Makefile (distribute): Remove dl-origin.h.
8841         Add dl-dst.h and gen-trusted-dirs.awk.
8842
8843 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8844
8845         * sysdeps/i386/i486/Versions: New file with inline functions from
8846         sysdeps/i386/i486/bits/string.h for now.
8847
8848         * sysdeps/i386/Versions: Add inline functions from
8849         sysdeps/i386/bits/string.h.
8850
8851         * string/Versions: Add inline functions from <bits/string2.h>.
8852
8853         * string/Makefile (routines): Add string-inlines.
8854         * string/string-inlines.c: New file, used for implementation of
8855         extern inline functions.
8856
8857         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
8858         non inlined versions of functions.
8859         * string/bits/string2.h: Likewise.
8860         * sysdeps/i386/bits/string.h: Likewise.
8861
8862 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
8863
8864         * inet/arpa/tftp.h: Add second packed attribute.
8865
8866 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8867
8868         * malloc/malloc.c: Cleanup to bring in line with released
8869         stand-alone version `ptmalloc'.  Update some comments.
8870         (internal_function): Move fallback definition so that the source
8871         compiles outside of libc, and use it in more places.
8872         (malloc_atfork): Fix when malloc_check is in use.
8873
8874 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8875
8876         * stdlib/tst-strtod.c: Fix typo.
8877
8878 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8879
8880         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
8881         const incorrectness.
8882
8883 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
8884
8885         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
8886
8887 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
8888
8889         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
8890         * sunrpc/key_call.c: Fix memory leak, close file handle.
8891         * nis/nis_creategroup.c: Use malloc instead of calloc,
8892         set ctime and mtime.
8893         * nis/nis_subr.c: Check for realloc result.
8894         * nis/nis_file.c: Fix memory leak.
8895         * nis/nis_table.c: Pretty print.
8896         * nis/nis_getservlist.c: Likewise.
8897         * nis/nis_ismember.c: Likewise.
8898         * nis/nis_lookup.c: Likewise.
8899         * nis/nis_ping.c: Likewise.
8900         * nis/nis_removemember.c: Likewise.
8901         * nis/nis_util.c: Likewise, check calloc result.
8902
8903 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
8904
8905         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
8906         * sysdeps/generic/sys/socketvar.h: ... here.
8907         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
8908         * sysdeps/generic/netinet/in_systm.h: ... here.
8909         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
8910         sys/socketvar.h.
8911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
8912         * inet/Makefile (headers): Add netinet/in_systm.h here.
8913         * socket/Makefile (headers): Add sys/socketvar.h here.
8914
8915 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
8916
8917         * stdlib/strtol.c: Optimize inner loop of long long versions.
8918
8919         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
8920         Unix98.  Add forward declaration of struct utmp.
8921
8922 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
8923
8924         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
8925         calloc.
8926
8927         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
8928         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
8929         memory allocation results.
8930
8931 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
8932
8933         * sysdeps/generic/getutmp.c: Include <string.h>
8934         (getutmp): Rewrite to only copy those members that are really
8935         present in `struct utmp'.
8936         * sysdeps/generic/getutmpx.c: Likewise.
8937
8938 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
8939
8940         * nss/getXXbyYY.c: Add free_mem function which disposes all
8941         statically allocated memory when debugging.
8942         * nss/getXXent.c: Likewise.
8943         * nss/nsswitch.c: Likewise.
8944
8945 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
8946
8947         * sysdeps/gnu/getutmpx.c: New file.
8948         * sysdeps/gnu/getutmp.c: New file.
8949
8950 1999-05-13  H.J. Lu  <hjl@gnu.org>
8951
8952         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
8953         (getutmp): Likewise.
8954
8955         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
8956         getutmpx for login.
8957
8958         * sysdeps/gnu/utmpx.h (getutmp): Added.
8959         (getutmpx): Likewise.
8960
8961         * sysdeps/generic/getutmp.c: New file.
8962
8963         * sysdeps/generic/getutmpx.c: New file.
8964
8965 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8966
8967         * glibcbug.in (BUGGLIBC): Change address to
8968         libc-alpha@sourceware.cygnus.com.
8969
8970 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8971
8972         * resolv/arpa/nameser.h: Add C++ protectors.
8973
8974 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8975
8976         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
8977         Elad Tsur <eladts@post.tau.ac.il>.
8978
8979 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
8980
8981         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
8982         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
8983         lazily if LD_BIND_NOW is not set.
8984         * elf/dl-support.c (_dl_lazy): New variable.
8985         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
8986         * elf/rtld.c (_dl_lazy): new global variable.
8987         ( dl_main): Remove lazy, replace it by _dl_lazy.
8988
8989 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8990
8991         * locale/setlocale.c (new_composite_name): Check also whether the
8992         first category name differs.
8993
8994 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8995
8996         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
8997         the generic one.
8998
8999 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
9000
9001         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
9002         structure; storage suitable for any socket address.
9003         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
9004         Likewise.
9005         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
9006         sockaddr_storage): Likewise.
9007
9008         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
9009         platform.
9010
9011 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
9012
9013         * hesiod/Versions: Change _nss_hesiod_getpwuid and
9014         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
9015         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
9016
9017 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
9018
9019         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
9020         if the file is empty.
9021
9022 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
9023
9024         * elf/do-lookup.h: Fix typo in comment.
9025
9026         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
9027         f_bsize to help some broken programs.
9028
9029         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
9030
9031         * stdio-common/vfprintf.c: Fix typo.
9032
9033 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
9034
9035         * elf/link.h (struct link_map): New field l_phdr_allocated.
9036         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
9037         the program header being part of any loaded segment.  If it is not
9038         allocate memory and set l_phdr_allocated flag.
9039         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
9040
9041         * nss/digits_dots.c: Correct return value interpretation of
9042         inet_ntoa.  Fix PR libc/1109.
9043
9044 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
9045
9046         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
9047
9048 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
9049
9050         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
9051         * stdlib/fpioconst.c: Move #endif before end of struct.
9052
9053 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
9054
9055         * Versions.def (ld.so): Add GLIBC_2.1.1.
9056         * elf/Makefile (routines): Add dl-origin.
9057         (tests): Add origtest.  Add dependencies for the program.
9058         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
9059         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
9060         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
9061         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
9062         DT_AUXILIARY, and DT_FILTER filenames.
9063         * elf/dl-load.c (expand_dynamic_string_token): Explode into
9064         two functions and three macros.
9065         (_dl_dst_count, _dl_dst_substitute): New functions.
9066         * elf/dl-dst.h: New file.
9067         * elf/dl-open.c (_dl_open): Take extra parameter with address of
9068         caller.  Pass address in args structure.
9069         (dl_open_worker): Recognize and expand DSTs in filename.
9070         * elf/ldsodefs.h (_dl_open): Adapt prototype.
9071         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
9072         (__dlopen_check): Pass caller address to dlopen_doit in args.
9073         * elf/dlopendoit.c: Likewise.
9074         * iconv/gconv_dl.c: Adapt call of _dl_open.
9075         * nss/nsswitch.c: Likewise.
9076         * elf/origtest.c: New file.
9077         * sysdeps/generic/dl-origin.h: Moved to...
9078         * sysdeps/generic/dl-origin.c: ...here.
9079         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
9080         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
9081
9082         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
9083         with specific bases and only few bits set in second word.
9084
9085         * timezone/Makefile (install-others): Create target directory
9086         before creating tzfiles.
9087
9088 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
9089
9090         * nis/nis_file.c (readColdStartFile): Allocate memory only after
9091         the file is opened successfully.
9092
9093         * nis/nis_table.c: Fix some memory leaks.
9094
9095 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
9096
9097         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
9098         variable.
9099
9100         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
9101         around DST.  Correctly ignore ORIGIN IN SUID binaries.
9102
9103 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
9104
9105         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
9106         * sysdeps/generic/strtok.c: Likewise.
9107
9108         * string/tester.c: Add test of rawmemchr.
9109
9110         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
9111         specification.  It's not necessary.
9112
9113         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
9114         * elf/gen-trusted-dirs.awk: New file.
9115         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
9116         from SYSTEM_DIRS macro.
9117         (system_dirs_len): New variable.  Contains lengths of system_dirs
9118         strings.
9119         (fillin_rpath): Rewrite for systems_dirs being a simple string.
9120         Improve string comparisons.  Change parameter trusted to be a flag.
9121         Change all callers.
9122         (_dt_init_paths): Improve using new format for system_dirs.
9123
9124         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
9125         $ORIGIN for SUID binaries.
9126
9127         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
9128
9129 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9130
9131         * sunrpc/Makefile: Generate dependencies for all flavors of
9132         librpcsvc objects.
9133         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
9134         invocations.
9135
9136 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9137
9138         * elf/dlopenold.c: Move #if down after includes to get
9139         dependencies right.
9140
9141 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9142
9143         * sysdeps/generic/bzero.c: Undefine __bzero.
9144
9145 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
9146
9147         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
9148         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
9149         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
9150         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
9151
9152         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
9153         parameter to struct gaih_servtuple *.  Adapt appropriately.
9154         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
9155         This fixes a memory leak.
9156         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
9157
9158         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
9159         and fpregset_t definition.  They are defined in ucontext.h.
9160
9161 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
9162
9163         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
9164         and struct ether_header must be packed on the ARM.  The default
9165         alignment constraints add padding to the end of the structures.
9166
9167 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
9168
9169         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
9170         default alignment constraints add padding to the end of the
9171         structure and between members.
9172
9173 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
9174
9175         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
9176         _dl_cache_libcmp instead of strcmp.
9177
9178         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
9179         fails on a file.
9180         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
9181
9182 1998-03-30  Joel Klecker  <espy@debian.org>
9183
9184         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
9185         (sysdep-others,install-bin): Add lddlibc4.
9186
9187 1999-05-02  H.J. Lu  <hjl@gnu.org>
9188
9189         * timezone/zic.c (dolink): Remove the symlink destination first.
9190
9191         * catgets/open_catalog.c (__open_catalog): Set catalog->status
9192         to "nonexisting" if failed to open the file.
9193
9194 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
9195
9196         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
9197         gcc3.
9198
9199         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
9200         Prevent warnings from multiplication with 0x01010101 by another cast.
9201
9202 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9203
9204         * string/bits/string2.h (memset): Revert to previous version if
9205         unaligned writes are not available.
9206
9207 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
9208
9209         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
9210         better code in presence of the asm.
9211
9212 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9213
9214         * stdlib/fmtmsg.c (keywords): Increase array size for faster
9215         indexing.
9216
9217         * locale/localeinfo.h (_nl_category_names): Increase array element
9218         size for faster indexing.
9219         * locale/setlocale.c (_nl_category_names): Adjusted.
9220
9221 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9222
9223         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
9224
9225 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9226
9227         * sysdeps/m68k/stackinfo.h: New file.
9228
9229 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
9230
9231         * string/tester.c (test_strchrnul): New function.
9232         (test_memset): Test one more special case.
9233
9234         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
9235         25% of all cases.
9236
9237         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
9238         base types.
9239
9240         * string/bits/string2.h: Fix bugs I introduced in last change.
9241
9242         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
9243         register stall.
9244         Extend memset optimization.
9245         Correct i686 version of memchr.
9246
9247 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
9248
9249         * sysdeps/i386/bzero.c: Add #undef __bzero.
9250
9251         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
9252         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
9253         exec server simulated a SIGTRAP before we even started up, so gdb is
9254         already happy.
9255
9256 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
9257
9258         * nss/digits_dots.c: Always initialize not_ok.
9259
9260 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
9261
9262         * string/bits/string2.h (memset): Avoid arithmetic overflow at
9263         compile time, which produces obnoxious warnings.  If GCCv2 is
9264         in use, map __bzero to __builtin_memset to enable that
9265         optimization.
9266
9267 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
9268
9269         * string/bits/string2.h: Add more memset optimizations.
9270
9271         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
9272
9273         * resolv/inet_pton.c (inet_pton4): Little optimizations.
9274         (inet_pton6): Likewise.
9275
9276         * nss/getXXbyYY_r.c: Include assert.h.
9277         * nss/getXXbyYY.c: Likewise.
9278
9279 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9280
9281         * termios/tcgetsid.c (tcgetsid): Rename variable to
9282         tiocgsid_does_not_work.
9283
9284 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
9285
9286         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
9287
9288 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9289
9290         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
9291         This allows e.g. gethostbyname to accept "10.1234".
9292         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
9293
9294         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
9295         non quad IPv4 numbers.
9296
9297 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9298
9299         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
9300
9301 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
9302
9303         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
9304         * argp/argp-parse.c (_argp_hang): Likewise.
9305         * argp/argp-pv.c (argp_program_version): Likewise.
9306         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
9307         * inet/ether_hton.c (ether_hton, startp): Likewise.
9308         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
9309         * inet/getnetgrent_r.c (setup, startp): Likewise.
9310         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
9311         * intl/localealias.c (string_space, string_space_act, string_space_max,
9312         nmap, maxmap): Likewise.
9313         * libio/iopopen.c (proc_file_chain): Likewise.
9314         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
9315         * locale/lc-collate.c (__collate_table, __collate_extra,
9316         __collate_element_hash, __collate_element_strings,
9317         __collate_element_values): Likewise.
9318         * malloc/mcheck.c (mcheck_used): Likewise.
9319         * malloc/mtrace.c (added_atexit_handler): Likewise.
9320         * malloc/set-freeres.c (already_called): Likewise.
9321         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
9322         * misc/syslog.c (LogStat, LogTag): Likewise.
9323         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
9324         * nss/getXXbyYY_r.c (startp): Likewise.
9325         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
9326         * posix/regex.c (init_syntax_once) [done]: Likewise.
9327         (debug): Likewise.
9328         * string/strfry.c (init): Likewise.
9329         * sunrpc/svc_run.c (svc_top): Likewise.
9330         * posix/euidaccess.c (have_ids): Likewise.
9331         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
9332         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
9333         * time/getdate.c (getdate_err): Likewise.
9334         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
9335         Likewise.
9336         * time/tzset.c (old_tz, is_initialized): Likewise.
9337
9338         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
9339         of static data with zero.
9340         * signal/allocrtsig.c (init): Likewise.
9341
9342         * string/Makefile (routines): Add strchrnul.
9343         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
9344         * string/string.c: Add strchrnul prototype.
9345         * include/string.h: Add __strchrnul prototype.
9346         * sysdeps/generic/strchrnul.c: New file.
9347         * sysdeps/i386/strchrnul.S: New file.
9348         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
9349         * sysdeps/i386/i486/bits/string.c: Likewise.
9350         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
9351         * inet/ether_line.c (ether_line): Likewise.
9352         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
9353         * nss/nsswitch.c (nss_parse_file): Likewise.
9354         * posix/execvp.c (execvp): Likewise.
9355         * posix/fnmatch.c (internal_fnmatch): Likewise.
9356         * resolv/res_hconf.c (_res_hconv_init): Likewise.
9357         * resolv/res_init.c (res_init): Likewise.
9358         * stdlib/fmtmsg.c (init): Likewise.
9359         * stdlib/getsubopt.c (getsubopt): Likewise.
9360
9361         * catgets/catgets.c (catopen): Only allocate one memory block.
9362         (catclose): Only one free call necessary.
9363
9364         * catgets/open_catalog.c (__open_catalog): Simplify handling of
9365         file descriptor.
9366
9367         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
9368         of real functions.  Simplify _tolower and _toupper.
9369
9370         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
9371         variable.
9372
9373         * iconv/gconv.h (struct gconv_info): Change data element from pointer
9374         to array of size 0.
9375         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
9376         * iconv/gconv_close.c (__gconv_close): Don't free data.
9377
9378         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
9379         insert new alias.
9380
9381         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
9382         for error while inserting in tree.
9383
9384         * include/time.h: Pretty print.
9385
9386         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
9387         in table and lots of relocations.
9388         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
9389         string pointers in table and lots of relocations.
9390
9391         * intl/finddomain.c: Remove definition of strchr macro.
9392
9393         * io/ftw.c (nftw_arr, ftw_arr): Make const.
9394
9395         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
9396
9397         * locale/localeinfo.h (_nl_category_names): Change into an array with
9398         fixed width char string elements.
9399         * locale/setlocale.c (_nl_category_names): Likewise.
9400         (_nl_current): Make global.
9401         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
9402
9403         * malloc/Makefile (distribute): Add stackinfo.h.
9404         * sysdeps/generic/stackinfo.h: New file.
9405         * sysdeps/i386/stackinfo.h: New file.
9406         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
9407         * posix/execle.c: Likewise.
9408         * posix/execlp.c: Likewise.
9409
9410         * nis/nis_table.c (__create_ib_request): Always use realloc.
9411
9412         * posix/execvp.c (execute): Rename to script_execute and keep only
9413         code to execute using shell.
9414         (execvp): Call execv directly and only fall back on script_execute.
9415
9416         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
9417         and always use xdigits instead.
9418
9419         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
9420         where appropriate.
9421
9422         * stdlib/fpioconst.h (__tens): New declaration.
9423         (struct mp_power): Remove array, add arrayoff element.
9424         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
9425         __tens array and add in _fpioconst_pow10 offsets into __tens.
9426         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
9427         * stdlib/strtod.c: Likewise.
9428
9429         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
9430
9431         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
9432         of the list.
9433         * stdlib/atexit.c (__exit_funcs): Don't initialize.
9434
9435         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
9436
9437         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
9438         a single and an array with offsets.
9439
9440         * sunrpc/des_soft.c (partab): Make it const.
9441
9442         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
9443         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
9444         (__key_decryptsession_pk_LOCAL): Likewise.
9445         (__key_gendes_LOCAL): Likewise.
9446         (MESSENGER): Mark const.
9447         (key_call_private_main): Don't initialize with 0.
9448         (use_keyenvoy): Don't initialize with 0.
9449         (key_call): Rewrite to reverse logic of use_doors variable.
9450
9451         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
9452         (startp): Don't initialize with zero.
9453
9454         * sunrpc/openchild.c (_openchild): Make first argument const.
9455
9456         * sunrpc/pmap_rmt.c (timeout): Mark const.
9457         * sunrpc/xcrypt.c (hex): Likewise.
9458
9459         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
9460         initialization of global variables.
9461         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
9462         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9463         * termios/tcgetsid.c: Likewise.
9464
9465         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
9466         fxsr to osfxsr.
9467
9468         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
9469         block.  Add function to free memory if wanted.
9470         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
9471
9472         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
9473
9474         * wcsmbs/wmemset.c: Little code optimization.
9475
9476 1999-04-23  Paul Eggert  <eggert@twinsun.com>
9477
9478         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
9479         ifdef _LIBC.
9480
9481 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
9482
9483         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
9484         implementation and just always fail with ENOSYS.  This entry point is
9485         obsolete.  Add link warning to that effect.
9486
9487 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
9488
9489         * hurd/get-host.c: Include <hurd/lookup.h>.
9490
9491 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
9492
9493         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
9494         is != NULL.
9495
9496 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9497
9498         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
9499         ISO C9x and Unix98.
9500
9501 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
9502
9503         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
9504         Patch by Peter Miller <millerp@canb.auug.org.au>.
9505
9506 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
9507
9508         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
9509         prefers loopback device.
9510
9511 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
9512
9513         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
9514         no_leading_period change.
9515
9516         * posix/testfnm.c: More test cases.
9517
9518 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
9519
9520         * include/dirent.h: Remove __getdirentries declaration, add __getdents
9521         and __getdents64.
9522         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
9523         * sysdeps/unix/readdir_r.c: Likewise.
9524         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9525         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
9526         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
9527         __getdirentries.  Remove fourth argument.
9528         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
9529         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
9530         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
9531         Add getdirentries and getdirentries64.
9532         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
9533
9534         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
9535         pointer in case of an invalid [[: expression.
9536
9537         * posix/testfnm.c: Add more test cases.
9538
9539 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
9540
9541         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
9542         set, pass EXEC_SIGTRAP flag in exec RPC.
9543
9544 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
9545
9546         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
9547         extra parameter.  Fix several more bugs involving wildcard and
9548         ranges.
9549         (fnmatch): New function.  Call internal_fnmatch.
9550
9551         * posix/testfnm.c: More test cases.
9552
9553 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9554
9555         * manual/install.texi (Configuring and compiling): Explain that
9556         files are changed in the source directory.
9557         Closes PR libc/981.
9558         (Configuring and compiling): Explain situation with PARALLELMFLAGS
9559         in the source directory.
9560
9561 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9562
9563         * locale/programs/ld-ctype.c: Spelling fixes.
9564         (ctype_finish): Fix argument of error message format.
9565         * locale/programs/ld-messages.c: Spelling fixes.
9566         * locale/programs/ld-monetary.c: Spelling fixes.
9567         * locale/programs/ld-time.c (time_finish): Make sure that name and
9568         format of era_entries are adjacent.
9569         (time_output): Reduce the size of the io vector.
9570
9571 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9572
9573         * manual/filesys.texi (Attribute Meanings): Move a misplaced
9574         paragraph.
9575
9576 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9577
9578         * locale/programs/ld-collate.c (collate_output): Convert
9579         undefined_offset to an array index.  Fix computation of other
9580         endian extra table.
9581
9582 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
9583
9584         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
9585         return success with empty value.
9586
9587 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
9588
9589         * posix/fnmatch.c: Include string.h also for glibc.
9590         (fnmatch, case '?'): Optimize if cascades a bit.
9591         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
9592
9593         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
9594
9595 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
9596
9597         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
9598         * iconv/gconv_int.h: Declare UTF16 functions.
9599         * iconv/gconv_simple.c: Add UTF16 conversion functions.
9600
9601 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9602
9603         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
9604         be used correctly as parameter for parse_dollars/parse_tilde.
9605
9606 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9607
9608         * manual/conf.texi (Utility Limits): Remove duplicate description
9609         of BC_DIM_MAX.
9610
9611 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
9612
9613         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
9614         outbufend for dst==NULL.
9615
9616 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
9617
9618         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
9619         for dst==NULL.
9620         Fixes PR libc/1084.
9621
9622         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
9623         Fixes PR libc/1083.
9624
9625 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
9626
9627         * sunrpc/Makefile: Remove special handling of bootparam.x,
9628         add rpcsvc/bootparam.h to headers.
9629         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
9630         * sunrpc/rpcsvc/bootparam.x: Renamed to...
9631         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
9632
9633 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
9634
9635         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
9636         detect and handle invalid descriptors.
9637
9638 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
9639
9640         * timezone/zic.c (dolink): Append complete path not only filename
9641         to ../ list.
9642
9643 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9644
9645         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
9646
9647 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
9648
9649         * iconvdata/gconv-modules: Rename CP874 to IBM874.
9650         * iconvdata/Makefile: Likewise.
9651         * iconvdata/cp874.h: Removed.
9652         * iconvdata/cp874.c: Renamed to...
9653         * iconvdata/ibm874.c: ...this.
9654
9655 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
9656
9657         * sysdeps/unix/sysv/linux/bits/types.h: Correct
9658         signed/unsigned-ness of blkcnt and fsblkcnt.
9659         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9660         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9661
9662         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
9663         SOL_AAL, and SOL_IRDA.
9664
9665 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9666
9667         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
9668         include "linux_fsinfo.h".
9669         Based on a patch by H.J. Lu <hjl@gnu.org>.
9670
9671 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
9672
9673         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
9674
9675 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
9676
9677         * nscd/cache.c (prune_cache): Only disable file checking for
9678         future if the file does not exist.
9679         Update file_mtime if cache was flushed.
9680
9681 1999-04-15  David S. Miller  <davem@redhat.com>
9682
9683         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
9684         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
9685
9686 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
9687
9688         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
9689         compilation of file.
9690
9691 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
9692
9693         * Versions.def: Add GLIBC_2.1.1 to libpthread.
9694
9695         * iconvdata/Makefile (modules): Add KOI8-U.
9696         (distribute): Add koi8-u.c.
9697         (gen-8bit-gap-modules): Add koi8-u.
9698         * iconvdata/gconv-modules: Add KOI8-U entries.
9699         * iconvdata/koi8-u.c: New file.
9700
9701 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
9702
9703         * sunrpc/auth_des.c: 64bit fixes, security fixes.
9704         * sunrpc/auth_none.c: Pretty print.
9705         * sunrpc/auth_unix.c: Likewise.
9706         * sunrpc/authdes_prot.c: Likewise.
9707         * sunrpc/authuxprot.c: Likewise.
9708         * sunrpc/bindrsvprt.c: Likewise.
9709         * sunrpc/clnt_gen.c: Likewise.
9710         * sunrpc/rpc/xdr.h: Likewise.
9711         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
9712         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
9713         * sunrpc/rtime.c: Use new rpc_timeval.
9714         * sunrpc/svc_authux.c: Don't use *long pointers.
9715         * sunrpc/svcauth_des.c: Likewise + security fixes.
9716         * sunrpc/xdr_mem.c: Don't use *long pointers.
9717         * sunrpc/xdr_rec.c: Likewise.
9718         * sunrpc/xdr_sizeof.c: Likewise.
9719         * sunrpc/xdr_stdio.c: Likewise.
9720
9721 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
9722
9723         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
9724         so that it is redone for each sending.
9725
9726 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9727
9728         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
9729
9730 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
9731
9732         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
9733         known to not exist don't try to load shared objects.
9734         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
9735
9736         * nscd/cache.c (prune_cache): The table might not be unused.  In
9737         this case do nothing.
9738
9739         * catgets/gencat.c (read_input_file): Don't drop white spaces
9740         between number/identifier and string.
9741         Patch by Dima Barsky <dima@pwd.hp.com>.
9742         If no white space at all follows number/identifier remove existing
9743         message with the number/identifier.
9744
9745 1999-04-14  H.J. Lu  <hjl@gnu.org>
9746
9747         * sunrpc/clnt_udp.c (is_network_up): New function.
9748         (clntudp_call): Call is_network_up () to check if any network
9749         interface is up in case of timeout.
9750
9751 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9752
9753         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
9754         * wctype/Makefile (tests): Add test_wcfuncs.
9755
9756 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
9757
9758         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
9759         architectures.
9760         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
9761         instead of CFLAGS.
9762         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
9763         instead of CFLAGS. For gnulib and string directories use
9764         -Wa,-Av9a gcc ASFLAGS.
9765         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
9766         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
9767         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
9768         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
9769         the same way as sparc-*.
9770
9771 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
9772
9773         * locale/programs/locfile.c (locfile_read): Fix typo.
9774         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
9775
9776 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
9777
9778         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
9779         restarted after being interrupted by a signal.  The parameters on
9780         the stack were corrupted by the signal handler.
9781
9782         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
9783         restarted after being interrupted by a signal.  The parameters on
9784         the stack were corrupted by the signal handler.
9785
9786 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9787
9788         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
9789         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
9790
9791 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
9792
9793         * posix/wordexp-test.c: In field-splitting test cases where
9794         subshells were involved, unset IFS first: some shells (ash) use
9795         IFS even when no expansion is performed.
9796
9797 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9798
9799         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
9800         the real end of the chunk, not some random point inbetween.
9801         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
9802         obstack when growing.  Use fast version of obstack_blank when
9803         shrinking.
9804         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
9805         allocating the vtable pointer.
9806         (_IO_obstack_vprintf): Adjust for above change and avoid
9807         unnecessary casts.  Use fast version of obstack_blank when
9808         shrinking.
9809         Fixes PR libc/1075.
9810
9811 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
9812
9813         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
9814         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
9815
9816 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
9817
9818         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
9819         is seen, as well as fixing semantics.  Don't reset the word count
9820         to zero when an invalid character is seen, but leave it as it was
9821         (this makes a difference with WRDE_APPEND).
9822
9823         * posix/wordexp-test.c: More test cases.
9824
9825         * posix/wordexp.c (parse_param): In words like ${var#pattern},
9826         always expand pattern when it is needed.  Also, handle quoting in
9827         pattern properly.
9828
9829 1999-04-12  Philip Blundell  <philb@gnu.org>
9830
9831         * elf/elf.h: Update ARM definitions to match current gas2.
9832
9833         * sysdeps/arm/bits/endian.h: Support big endian operation.
9834
9835         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
9836         Don't bother range checking the port number.
9837
9838         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
9839
9840         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
9841         the syscall name in assembler output for ease of debugging.
9842
9843         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
9844         compiler behaviour.
9845         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
9846         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
9847         (sysdep_routines): Add sigrestorer.
9848
9849         * string/tester.c (test_strcpy): Add new tests for unaligned
9850         arguments.
9851         * sysdeps/arm/bits/string.h: Delete inline implementations of
9852         strcpy and stpcpy.
9853
9854 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
9855
9856         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
9857
9858 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
9859
9860         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
9861
9862 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
9863
9864         * iconvdata/Makefile (modules): Add TIS-620.
9865         (distribute): Add tis-620.c.
9866         (gen-8bit-gap-modules): tis-620.
9867         * iconvdata/tis-620.c: New file.
9868         * iconvdata/gconv-modules: Add TIS-620 entries.
9869
9870         * iconvdata/asmo_449.c: Correct comment.
9871
9872 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9873
9874         * manual/install.texi (Configuring and compiling): Comment out
9875         description of --disable-static since this doesn't work currently
9876         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
9877
9878 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
9879
9880         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
9881         use binary search.
9882         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9883
9884 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9885
9886         * scripts/test-installation.pl (installation_problem): Skip
9887         libnss1_* libraries from glibc-compat add-on.
9888
9889 1999-04-07  H.J. Lu  <hjl@gnu.org>
9890
9891         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
9892         libstdc++ 2.7.2.
9893         * posix/Versions (__waitpid): Likewise.
9894
9895 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9896
9897         * manual/install.texi (Reporting Bugs): Add section about reported
9898         bugs and correct email address of glibcbug script.
9899
9900 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
9901
9902         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
9903         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
9904         xdr_u_longlong_t. Based on patch from Dan Shechter
9905         <damageboy@isdn.net.il>.
9906         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
9907         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
9908
9909         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
9910
9911 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9912
9913         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
9914         directly if getdents returns with error set.
9915
9916 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9917
9918         * locale/langinfo.h (THOUSEP): Rename second occurence of
9919         THOUSANDS_SEP to THOUSEP.
9920         Reported by Roman Belenov <roman@nstl.nnov.ru>.
9921
9922 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
9923
9924         * hurd/STATUS: File removed.  Moved items that are still relevant into
9925         TODO list in hurd source.
9926
9927 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
9928
9929         * sysdeps/mach/hurd/bits/time.h: New file.
9930         * sysdeps/mach/hurd/getrusage.c: New file.
9931         * sysdeps/mach/hurd/clk_tck.c: New file.
9932         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
9933         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
9934         (sysdep_routines): Add clk_tck.
9935         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
9936         implemented.
9937
9938 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
9939
9940         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
9941         (closelog): But instead here.
9942         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
9943
9944 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9945
9946         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
9947         the source directory.  Fixes PR libc/1059.
9948
9949 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9950
9951         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
9952         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9953
9954 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
9955
9956         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
9957         * iconvdata/testdata/ISO-8859-14: New file.
9958         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
9959         * iconvdata/testdata/ISO-8859-15: New file.
9960         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
9961
9962 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
9963
9964         * iconvdata/testdata/CP1258: New file.
9965         * iconvdata/testdata/CP1258..UTF8: New file.
9966         * iconvdata/TESTS: Add CP1258 entry.
9967
9968         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
9969
9970         * timezone/africa: Update from tzdata1999d.
9971         * timezone/europe: Likewise.
9972         * timezone/northamerica: Likewise.
9973
9974 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
9975
9976         * login/programs/pt_chown.c (main): Save effective user ID before
9977         dropping priviliges and use this to check if the program is
9978         properly installed.
9979
9980 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
9981
9982         * iconvdata/testdata/CP1254: Update for charmap changes.
9983         * iconvdata/testdata/CP1254..UTF8: Likewise.
9984         * iconvdata/testdata/CP1255: Likewise.
9985         * iconvdata/testdata/CP1255..UTF8: Likewise.
9986         * iconvdata/testdata/CP1256: Likewise.
9987         * iconvdata/testdata/CP1256..UTF8: Likewise.
9988         * iconvdata/testdata/CP1257: Likewise.
9989         * iconvdata/testdata/CP1257..UTF8: Likewise.
9990
9991         * iconvdata/Makefile (distribute): Remove cp1258.h.
9992         (gen-8bit-gap-modules): Add cp1258.
9993         * iconvdata/cp1258.h: Removed.
9994
9995 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
9996
9997         * timezone/tst-timezone.c (tests): Add more cases.
9998         (check_tzvars): Mark errors clearer.
9999         (main): Likewise.
10000
10001 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10002
10003         * login/programs/pt_chown.c: Drop privileges if invoked with
10004         arguments.  Don't close the master pty.
10005
10006 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
10007
10008         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
10009         Minor optimization.
10010
10011 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
10012
10013         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
10014         relocation for SUID binaries.
10015
10016 1999-03-29  Paul Eggert  <eggert@twinsun.com>
10017
10018         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
10019         while in child process.
10020
10021 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
10022
10023         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
10024         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
10025         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
10026         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
10027         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
10028
10029         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
10030         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
10031         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
10032         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
10033         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
10034         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
10035         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
10036         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
10037         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
10038         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
10039         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
10040         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
10041         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
10042         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
10043         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
10044         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
10045         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
10046         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
10047         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
10048         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
10049         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
10050         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
10051         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
10052         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
10053         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
10054         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
10055
10056         * sysdeps/sparc/sparc32/bcopy.c: New file.
10057         * sysdeps/sparc/sparc32/bzero.c: New file.
10058         * sysdeps/sparc/sparc32/memchr.S: New file.
10059         * sysdeps/sparc/sparc32/memcpy.S: New file.
10060         * sysdeps/sparc/sparc32/memmove.c: New file.
10061         * sysdeps/sparc/sparc32/memset.S: New file.
10062         * sysdeps/sparc/sparc32/stpcpy.S: New file.
10063         * sysdeps/sparc/sparc32/strchr.S: New file.
10064         * sysdeps/sparc/sparc32/strrchr.c: New file.
10065         * sysdeps/sparc/sparc32/strcpy.S: New file.
10066         * sysdeps/sparc/sparc32/strlen.S: New file.
10067         * sysdeps/sparc/sparc32/strcat.S: New file.
10068         * sysdeps/sparc/sparc32/strcmp.S: New file.
10069
10070         * sysdeps/sparc/sparc64/bcopy.c: New file.
10071         * sysdeps/sparc/sparc64/bzero.c: New file.
10072         * sysdeps/sparc/sparc64/memchr.S: New file.
10073         * sysdeps/sparc/sparc64/memcmp.S: New file.
10074         * sysdeps/sparc/sparc64/memcpy.S: New file.
10075         * sysdeps/sparc/sparc64/memset.S: New file.
10076         * sysdeps/sparc/sparc64/stpcpy.S: New file.
10077         * sysdeps/sparc/sparc64/strcat.S: New file.
10078         * sysdeps/sparc/sparc64/strchr.S: New file.
10079         * sysdeps/sparc/sparc64/strcmp.S: New file.
10080         * sysdeps/sparc/sparc64/strcpy.S: New file.
10081         * sysdeps/sparc/sparc64/strcspn.S: New file.
10082         * sysdeps/sparc/sparc64/strlen.S: New file.
10083         * sysdeps/sparc/sparc64/strncpy.S: New file.
10084         * sysdeps/sparc/sparc64/strpbrk.S: New file.
10085         * sysdeps/sparc/sparc64/strrchr.c: New file.
10086         * sysdeps/sparc/sparc64/strspn.S: New file.
10087         * sysdeps/sparc/sparc64/stpncpy.S: New file.
10088         * sysdeps/sparc/sparc64/strncmp.S: New file.
10089
10090         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
10091         Append -fPIC, don't replace.
10092
10093         * configure.in: Recognize sparcv8plus / sparcv9.
10094
10095 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10096
10097         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
10098         char * to avoid C++ warning.
10099         Patch by yasushi@cs.washington.edu [PR libc/1035].
10100
10101 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10102
10103         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
10104         declared in stdlib.h, correct return value of mkstemp.
10105         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
10106
10107         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
10108         from Linux 2.2.5.
10109
10110 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10111
10112         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
10113         C++ warning.
10114
10115         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
10116         inline functions.  Closes PR libc/1049.
10117
10118 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10119
10120         * timezone/README: Update from tzdata1999c and tzcode1999c.
10121
10122         * timezone/africa: Update from tzdata1999c.
10123         * timezone/antarctica: Likewise.
10124         * timezone/asia: Likewise.
10125         * timezone/australasia: Likewise.
10126         * timezone/europe: Likewise.
10127         * timezone/northamerica: Likewise.
10128         * timezone/southamerica: Likewise.
10129         * timezone/zone.tab: Likewise.
10130
10131         * timezone/zic.c: Update from tzcode1999c.
10132
10133 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10134
10135         * Makerules: Add $(common-objpfx)Versions.all to common-generated
10136         outside of ifndef avoid-generated.
10137
10138         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
10139         in iofdopen.c.
10140         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
10141         iofopen.c.
10142         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
10143         in iofclose.c.
10144         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
10145         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
10146
10147 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
10148
10149         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
10150         if we build the profiled library.
10151
10152 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10153
10154         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
10155         Jaeger <aj@arthur.rhein-neckar.de>
10156
10157 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
10158
10159         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
10160         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
10161         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
10162
10163 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
10164
10165         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
10166         works properly in subdirs.
10167
10168 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
10169
10170         * sysdeps/mach/hurd/Makefile: Undo last change.
10171         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
10172         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
10173
10174         * mach/Machrules (+preinit, +postinit, +interp,
10175         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
10176         linked just like other shared libraries.
10177         (interface.so): Fix typo in defn, so it works.
10178         ($(objpfx)$(interface.so)): Make it depend on libc.so.
10179
10180 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
10181
10182         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
10183         $(link-rpcuserlibs).
10184
10185 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10186
10187         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
10188         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
10189         targets if not building shared libraries.
10190
10191 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10192
10193         * configure.in: Also look in $PATH when searching for
10194         install-info.  Remove autoconf bug workaround and require autoconf
10195         2.13.
10196
10197 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10198
10199         * db/Makefile: Don't try to install shared library link if not
10200         building with shared libs.
10201
10202 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10203
10204         * rt/Makefile: Link against static library if no shared lib is
10205         available.
10206
10207         * localedata/Makefile: The shells scripts implementing the test
10208         require the dynamic linker which is not available with
10209         --disable-shared.  Skip the test if --disable-shared is given.
10210
10211         * linuxthreads/Makefile: Link test against static libpthread if no
10212         shared lib is available.
10213
10214         * iconvdata/Makefile (tests): Run iconv-test only if we're
10215         building shared libraries.
10216         * elf/Makefile (tests): Likewise for elf tests.
10217
10218         * posix/Makefile: The test frameworks globtest and wordexp-test
10219         require the dynamic linker which is not available with
10220         --disable-shared.  Skip the test if --disable-shared is given.
10221
10222         * grp/Makefile (otherlibs): For static nss build link against
10223         necessary libs.
10224
10225 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10226
10227         * debug/Makefile (install-bin): Install and build catchsegv only
10228         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
10229         libc/965].
10230
10231 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10232
10233         * time/tzfile.c (__tzfile_read): Handle the case where there are
10234         transitions but no DST.
10235
10236 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
10237
10238         * mach/Machrules (extra-libs-others): Add $(interface-library) here
10239         too, so it gets built in the others pass rather than the lib pass.
10240         This is necessary since the RPC libraries need to be linked against
10241         libc.
10242
10243 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
10244
10245         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
10246         _itoa_word decl.
10247
10248         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
10249         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
10250         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
10251         versions of lib{mach,hurd}user.so without reference to libc.so,
10252         then link libc.so against that to get deps and symbol versions, then
10253         finally link real lib*user.so against libc.so.
10254
10255         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
10256         Support whole-file locking (only) by using the file_lock RPC.  This
10257         has very wrong semantics, but is better than nothing for the time
10258         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
10259         protocols that will be somewhat hairy to specify.)
10260
10261 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
10262
10263         * sysdeps/mach/hurd/ptsname.c: New file.
10264
10265 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10266
10267         * timezone/asia: Fix rule in Asia/Nicosia entry.
10268
10269 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10270
10271         * manual/getopt.texi (Using Getopt): Explain "::" in option
10272         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
10273
10274 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
10275
10276         * sunrpc/clnt_unix.c: Fix creation of parameters for
10277         sendmsg/recvmsg on non intel platforms.
10278         * sunrpc/svc_unix.c: Likewise.
10279
10280 1999-03-18  Philip Blundell  <philb@gnu.org>
10281
10282         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
10283         implementation.
10284
10285 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10286
10287         * timezone/africa: Update from tzdata1999b.
10288         * timezone/asia: Likewise.
10289         * timezone/australasia: Likewise.
10290         * timezone/europe: Likewise.
10291         * timezone/northamerica: Likewise.
10292         * timezone/southamerica: Likewise.
10293         * timezone/zone.tab: Likewise.
10294
10295         * timezone/README: Mention tzdata1999b.
10296
10297 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
10298
10299         * sysdeps/generic/segfault.c (write_strsignal): New function.
10300         (catch_segfault): Use it instead of calling strsignal.
10301
10302 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10303
10304         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
10305         char to avoid warning.
10306
10307 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
10308
10309         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
10310
10311         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
10312         outbuf to unsigned char to avoid warning.
10313
10314 1999-03-11  David S. Miller  <davem@redhat.com>
10315
10316         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
10317         masks.
10318         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
10319
10320 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
10321
10322         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
10323         `unsigned char'.
10324         (gconv_step_data): Likewise.
10325         * iconv/gconv_int.h (__gconv): Likewise.
10326         (__BUILINT_TRANS): Likewise.
10327         * iconv/gconv.c (__gconv): Likewise.
10328         * iconv/iconv.c (iconv): Add casts for call of __gconv.
10329         * iconv/skeleton.c: Change local parameters and variable from `char' to
10330         `unsigned char'.  Remove casts from calls into modules.
10331         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
10332         `char' to `unsigned char'.
10333         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
10334         * wcsmbs/mbrtowc.c: Likewise.
10335         * wcsmbs/mbsnrtowcs.c: Likewise.
10336         * wcsmbs/mbsrtowcs.c: Likewise.
10337         * wcsmbs/wcrtomb.c: Likewise.
10338         * wcsmbs/wcsnrtombs.c: Likewise.
10339         * wcsmbs/wcsrtombs.c: Likewise.
10340         * wcsmbs/wctob.c: Likewise.
10341
10342 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
10343
10344         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
10345         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
10346         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
10347         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
10348         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
10349         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
10350
10351 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
10352
10353         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
10354         _hurd_select if TIMEMOUT is -1.
10355
10356 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
10357
10358         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
10359
10360 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
10361
10362         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
10363         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
10364
10365 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10366
10367         * manual/libc.texinfo: Undo last change for now.
10368
10369 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
10370
10371         * intl/locale.alias: Add entries for Croatian.
10372         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
10373
10374 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
10375
10376         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
10377         if the opened master pty really is a pty.  `isatty' checks for
10378         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
10379         if we are out of pty's.
10380
10381 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
10382
10383         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
10384         opened file is closed on exec.
10385         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
10386         opened socket.
10387
10388 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10389
10390         * manual/llio.texi (File Position Primitive): Reformat @end
10391         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
10392
10393 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
10394
10395         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
10396         entry is found.
10397         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10398         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
10399
10400         * locale/programs/localedef.c (main): Initialize `cat' to please
10401         the compiler.
10402
10403 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
10404
10405         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
10406         check for root-owned symlinks and reject them too.
10407
10408 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10409
10410         * stdio-common/printf_fphex.c: Move to ...
10411         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
10412         extended precision number.
10413         * sysdeps/m68k/printf_fphex.c: New file.
10414
10415 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10416
10417         * manual/stdio.texi: Fix typos.
10418
10419 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
10420
10421         * version.h (VERSION): Bump to 2.1.1.
10422
10423 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
10424
10425         * nis/ypclnt.c: Try only twice to connect to NIS server.
10426
10427 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
10428
10429         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
10430
10431 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10432
10433         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
10434         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
10435         * stdlib/strtold.c: Moved to ...
10436         * sysdeps/generic/strtold.c: ... here.
10437         * sysdeps/m68k/strtold.c: New file.
10438
10439 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10440
10441         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
10442         point if the precision is zero, even if the mantissa is non-zero.
10443
10444 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
10445
10446         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
10447         arguments into the request message buffer inside `send_rpc'
10448         subfunction.  We must repeat the marshalling when retrying the RPC
10449         after a SIGTTOU delivery.
10450
10451         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
10452         path when there is no ctty port.
10453         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
10454         Move sigstate check inside loop so we recheck after handling a signal.
10455
10456 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10457
10458         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
10459         O_EXLOCK are BSD extensions.
10460         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
10461
10462 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
10463
10464         * manual/signal.texi (Termination in Handler): Correct example.
10465         Install default handler before reraising the signal.
10466         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
10467
10468 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
10469
10470         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
10471         null, in which case send an empty string.
10472
10473 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
10474
10475         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
10476         backward compatibility EH functions to be linked when using
10477         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
10478
10479 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10480
10481         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
10482         /dev/pts status may change during runtime.
10483
10484 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10485
10486         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
10487         change.  /dev/pts status can change during runtime.
10488
10489 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
10490
10491         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
10492         poll reports error.
10493         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
10494         add some more sanity checks.
10495         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
10496         parser prototype.
10497
10498 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
10499
10500         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
10501         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
10502         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
10503         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
10504         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
10505         for x_getint32.
10506         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
10507         * nis/nis_print.c: Fix ctime argument for platforms where
10508         sizeof (time_t) != sizeof (int).
10509
10510 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
10511
10512         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
10513         CLOCKS_PER_SEC instead of CLK_TCK.
10514
10515 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
10516
10517         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
10518         whether /dev/pts is available.
10519         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
10520         dev_pts_available.
10521
10522         * posix/globtest.sh: Make common_objpfx path absolute and and db2
10523         and hesiod directory to library path [PR libc/1007].
10524
10525 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10526
10527         * resolv/inet_addr.c (inet_aton): Don't allow componets >
10528         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
10529
10530 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
10531
10532         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10533         DT_PLTGOT has already been relocated.
10534         (__elf_machine_fixup_plt): Likewise.
10535         Minor cleanups.
10536
10537 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
10538
10539         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
10540
10541 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
10542
10543         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
10544         and fold string to uppercase [PR libc/1005].
10545
10546 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10547
10548         * elf/dl-load.c (lose): Fix return type.
10549
10550 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
10551
10552         * sysdeps/mach/hurd/bits/fcntl.h
10553         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
10554         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
10555         set O_NOTRANS as well.
10556         (__hurd_file_name_lookup_retry): At successful end of lookup,
10557         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
10558         it is a translated node not owned by root.
10559         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
10560         on the file name passed to LOOKUP.
10561
10562 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
10563
10564         * manual/time.texi (High Resolution Timer): Correct computation in
10565         example.  Reported by jjf@devel.cemsys.com.
10566
10567 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
10568
10569         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
10570         entry is already relocated.
10571
10572 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10573
10574         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
10575         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
10576
10577 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10578
10579         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
10580         uc_link which is the right name according to Unix98.
10581         Reported by Craig Metz [PR libc/1001].
10582         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
10583         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
10584         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
10585         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
10586         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
10587         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
10588
10589 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10590
10591         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
10592         @ifinfo.
10593
10594 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10595
10596         * iconvdata/Makefile: Always include iconv-rules, but disable rule
10597         to regenerate it if avoid-generated.
10598
10599         * Makeconfig: Always include sys-dirs, but disable rule to
10600         regenerate it when avoid-generated.
10601
10602         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
10603         rule to generate sysd-syscalls.
10604
10605         * elf/Makefile (generated): Remove $(objpfx) from names.
10606
10607 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
10608
10609         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
10610         actual length if the adress length is smaller than the input
10611         value.  Change type of *LEN paramater to socklen_t.
10612         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
10613         * sysdeps/mach/hurd/accept.c (accept): Likewise.
10614         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
10615         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
10616         paramater to socklen_t.
10617
10618 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
10619
10620         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
10621         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
10622         with the RPC.
10623
10624 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
10625
10626         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
10627         __get_phys_pages): Cast &HBI to silence warning.
10628
10629         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
10630         * hurd/hurdchdir.c: New file.
10631         * hurd/hurdfchdir.c: New file.
10632         * sysdeps/mach/hurd/chroot.c: Call
10633         _hurd_change_directory_port_from_name to do the work.
10634         * sysdeps/mach/hurd/chdir.c: Likewise.
10635         * sysdeps/mach/hurd/fchdir.c: Call
10636         _hurd_change_directory_port_from_fd to do the work.
10637         * hurd/fchroot.c: Likewise.
10638         * hurd/hurd.h: Declare them.
10639
10640 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
10641
10642         * elf/dl-load.c (lose): Add more comments to explain the `why'.
10643         (_dl_map_object): Remove redundant test.
10644
10645 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
10646
10647         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
10648         try to _hurd_port_free a lower-numbered descriptor that was not in any
10649         fd_set.
10650
10651 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10652
10653         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
10654         declaration for ____wcstod_l_internal.
10655
10656         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
10657         __strtod_internal prototype.
10658         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
10659         (____strtold_l_internal): Add prototype declaration.
10660         (__strtold_l): Call correct function.
10661
10662 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
10663
10664         * elf/elf.h: Add 32bit HPPA definitions.
10665
10666 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10667
10668         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
10669         non-checked heap is restored when malloc checking was requested by
10670         the user.
10671         (struct malloc_state): Add using_malloc_checking.
10672         (MALLOC_STATE_VERSION): Increment minor.
10673         (using_malloc_checking, disallow_malloc_check): New variables.
10674         (__malloc_check_init): Use them.
10675         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
10676         that it can the chunk is properly instrumented when malloc
10677         checking is enabled.  Set the new using_malloc_checking field.
10678         (malloc_hook_ini): Correct signature when _LIBC is not defined.
10679
10680 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10681
10682         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10683         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
10684         time.
10685
10686         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
10687         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
10688         if ld.so is the main program.
10689
10690 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
10691
10692         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
10693         large for work_buffer, allocate new buffer.
10694         (printf_unknown): Likewise.  [PR libc/988]
10695
10696 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
10697
10698         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
10699         instead of stat and fstat.
10700         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10701
10702 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10703
10704         * elf/dl-error.c (_dl_signal_cerror): New function.
10705         (_dl_signal_error): Don't call receiver function.
10706         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
10707         instead of _dl_signal_error when reporting references to undefined
10708         symbols or versions.
10709         (_dl_lookup_versioned_symbol): Likewise.
10710         (_dl_lookup_versioned_symbol_skip): Likewise.
10711         * elf/dl-version.c (match_symbol): Likewise.
10712
10713         * elf/ldsodefs.h: Declare _dl_signal_cerror.
10714
10715 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
10716
10717         * misc/getttyent.c (getttyent): Release lock on stream later to
10718         also protect global variable zapchar.
10719
10720         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
10721         __times [PR libc/990].
10722
10723 1999-02-21  David S. Miller  <davem@redhat.com>
10724
10725         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
10726         parentheses in Feb 2 changes.
10727         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
10728
10729 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10730
10731         * sysdeps/generic/glob.c (glob): Save previous errno.
10732
10733 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
10734
10735         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
10736         lookup functions if it is too small.
10737
10738 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
10739
10740         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
10741         for tracing to the scope lists.
10742         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
10743         DT_SYMTAB is always available according to ELF spec.
10744
10745         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
10746         call test whether there is any scope left.
10747         (_dl_lookup_versioned_symbol_skip): Likewise.
10748
10749         * elf/Makefile (distribute): Add do-lookup.h.
10750         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
10751         * elf/dl-lookup.c: Move do_lookup function in separate file and
10752         include the file twice, for handling versioning and without it.
10753
10754         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
10755         entry is already relocated.
10756         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10757         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10758         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
10759         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10760         Likewise.
10761         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10762         Likewise.
10763         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
10764         Likewise.
10765
10766         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
10767         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
10768         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
10769         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
10770         rel and rela relocations can both happen and skip one test if this
10771         is not possible.
10772         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
10773         appropriately.
10774         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
10775         already relocated.
10776         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
10777         relocated.
10778         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
10779         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
10780         (_dl_map_object): DT_STRTAB entry is already relocated.
10781         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
10782         already relocated.
10783         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
10784         relocated.
10785         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
10786         DT_VERSYM entries are already relocated.
10787         (profile_fixup): Likewise.
10788         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
10789         all users.
10790         (match_symbol): DT_STRTAB entry is already relocated.
10791         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
10792         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
10793         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
10794         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
10795         (find_needed): DT_STRTAB entry is already relocated.
10796         (dl_main): Pass extra argument to elf_get_dynamic_info.
10797         DT_STRTAB entry is already relocated.
10798         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
10799         DT_PLTGOT entries are already relocated.
10800         (elf_machine_rela): Likewise for DT_SYMTAB.
10801         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
10802         relocated.
10803         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10804         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
10805         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10806         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10807         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
10808         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
10809         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
10810         * sysdeps/mips/mips64/dl-machine.h: Likewise.
10811
10812         * grp/initgroups.c (initgroups): If function in current module was
10813         successful don't stop but continue to process to get all the groups.
10814
10815         * elf/dl-load.c (_dl_map_object_from_fd): Use global
10816         _dl_pf_to_proot array to convert p_flags value.
10817         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10818
10819         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
10820         loop to clear `info'.
10821
10822         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
10823         do the work and don't use inline assembler.
10824
10825 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
10826
10827         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
10828         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
10829         noreturn, and prevent it from being inlined.
10830         Define LOSE appropriately.
10831         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
10832         Optimize decoding of p_flags for certain platforms.
10833
10834 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
10835
10836         * Makeconfig (link-libc): When doing a static link, make sure that
10837         libgcc.a is included both before and after libc.a.
10838
10839 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
10840
10841         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
10842         sp_warn, sp_inact, sp_expire and sp_flag.
10843
10844 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
10845
10846         * elf/link.h (link_map): Add l_dev and l_ino.
10847         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
10848         loaded shared object with all loaded objects.  Initialize l_ino
10849         and l_dev in case it's new.
10850         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
10851         object.
10852         * elf/Makefile: Compile and run new test.
10853         * elf/multiload.c: New file.
10854
10855         * nss/nsswitch.h (service_user): Change name field from const char *
10856         to char[0].
10857         (name_database_entry): Likewise.
10858         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
10859         for change of `service_user'.
10860         (nss_getline): Adjust memory allocation for change of
10861         `name_database_entry'.
10862
10863         * catgets/catgets.c: Correctly handle NLSPATH from environment
10864         [PR libc/980].
10865
10866         * io/Makefile (routines): Add lock64.
10867         * io/Versions: Add lockf64 for GLIBC_2.1.1.
10868         * sysdeps/generic/lockf64.c: New file.
10869
10870 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
10871
10872         * string/bits/string2.h: Only use strncmp optimization if count
10873         argument is constant.
10874
10875 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
10876
10877         * sysdeps/mach/hurd/revoke.c: New file.
10878
10879 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
10880
10881         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
10882         int to avoid warning about `ISO C restricts enumerator values to
10883         range of `int''.
10884
10885 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10886
10887         * elf/dlfcn.h: Fix typo.
10888         * sysdeps/generic/bits/dlfcn.h: Likewise.
10889         * sysdeps/mips/bits/dlfcn.h: Likewise.
10890
10891 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
10892
10893         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
10894         for the case N == 0.
10895
10896         * db2/Makefile (distribute): Add LICENSE.
10897
10898 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
10899
10900         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
10901         generated files.
10902
10903         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
10904
10905 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
10906
10907         * time/mktime.c: Use ISO C form for function definitions and
10908         remove unnecessary prototypes.
10909
10910         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
10911
10912         * time/time.h: Avoid unneccesary #ifdef.
10913
10914 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
10915
10916         * stdio-common/_itoa.c (_itoa): Correct parameters to
10917         udiv_qrnnd_preinv.
10918
10919 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10920
10921         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
10922         before (e.g. in glob.h).
10923         Closes PR libc/959.
10924
10925 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10926
10927         * sysdeps/mips/fpu_control.h: Fix typo.
10928         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
10929         Remove __setfpucw.
10930
10931 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
10932
10933         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
10934         the "unused" ends of the sockets.  Let pipes be bidirectional.
10935
10936 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
10937
10938         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
10939         invalid ai_flags.
10940
10941 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10942
10943         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
10944         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
10945
10946         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
10947         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
10948
10949 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
10950
10951         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
10952
10953 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10954
10955         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
10956         check for priority mask.
10957
10958 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
10959
10960         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
10961         Reported by Craig Metz <cmetz@inner.net> .
10962
10963 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10964
10965         * stdio-common/Makefile (tests): tllformat added.
10966
10967         * stdio-common/tllformat.c: New program, based on tiformat.c with
10968         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
10969
10970 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10971
10972         * posix/test-vfork.c: Fix exit status test.
10973
10974 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10975
10976         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
10977         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
10978
10979 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10980
10981         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
10982         of separare explicit comparisons.
10983
10984 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10985
10986         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
10987         defined.
10988
10989         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
10990         defined.
10991
10992 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
10993
10994         * po/el.po: Update from translation team.
10995
10996 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10997
10998         * intl/locale.alias: Fix slovenian entry [PR libc/948].
10999
11000 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11001
11002         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
11003         * inet/ruserpass.c: Likewise.
11004         * locale/programs/stringtrans.c: Likewise.
11005         * locale/programs/localedef.c: Likewise.
11006         * nscd/grpcache.c: Likewise.
11007         * nss/nss_files/files-XXX.c: Likewise.
11008         * stdlib/canonicalize.c: Likewise.
11009         * sysdeps/posix/sigwait.c: Likewise.
11010
11011 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11012
11013         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
11014         even on 64 bit platforms.
11015
11016         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11017         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
11018
11019 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
11020
11021         * intl/dcgettext.c: Include locale.h is available.
11022
11023 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
11024
11025         * po/nl.po: Update from translation team.
11026
11027         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
11028
11029         * Makefile: Allow calling goals for po subdir.
11030
11031         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
11032         signal definitions.
11033
11034         * po/el.po: New file.
11035
11036 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11037
11038         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
11039         when processing DT_SYMBOLIC objects.
11040
11041 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11042
11043         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
11044         program headers without PT_PHDR only require that they are
11045         contained within one of the loaded segments.  Don't use assert,
11046         since that would be a bug in the object, not the dynamic linker.
11047
11048 1999-02-08  Richard Henderson  <rth@cygnus.com>
11049
11050         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
11051         restore all call-clobbered fp regs.
11052
11053 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
11054
11055         * po/cs.po: New file.
11056
11057         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
11058         SUID binaries.
11059
11060 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
11061
11062         * signal/signal.h: Don't declare __libc_allocate_rtsig.
11063         * include/signal.h: Declare __libc_allocate_rtsig here.
11064
11065         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
11066         point functions, not do_lookup since the later can be called more
11067         than once.
11068
11069 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
11070
11071         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
11072         macro, so that architectures which need to add some special
11073         offset to stack pointer can share this file.
11074
11075         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
11076         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
11077         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
11078         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
11079
11080         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
11081         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
11082         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
11083         between sparc32 and sparc64.
11084
11085         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
11086         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
11087         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
11088         between sparc32 and sparc64.
11089
11090         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
11091         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
11092         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
11093         between sparc32 and sparc64.
11094
11095         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
11096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
11097         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
11098         between sparc32 and sparc64.
11099
11100 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
11101
11102         * Versions.def: New version GLIBC_2.1.1 for libc.
11103         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
11104         * stdlib/labs.c: Moved to...
11105         * sysdeps/generic/labs.c: ...here.
11106         * stdlib/llabs.c: Moved to...
11107         * sysdeps/generic/llabs.c: ...here.
11108         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
11109         header.  Declare _Exit.
11110         * sysdeps/generic/_exit.c: Add alias _Exit.
11111         * sysdeps/mach/hurd/_exit.c: Likewise.
11112         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
11113         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
11114         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
11115         * sysdeps/unix/_exit.c: Likewise.
11116         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
11117         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
11118         * sysdeps/wordsize-64/inttypes.h: Likewise.
11119         * sysdeps/wordsize-32/llabs.c: New file.
11120         * sysdeps/wordsize-32/lldiv.c: New file.
11121         * sysdeps/wordsize-64/labs.c: New file.
11122         * sysdeps/wordsize-64/ldiv.c: New file.
11123         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
11124         * manual/startup.texi: Document _Exit.
11125
11126 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11127
11128         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
11129
11130 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
11131
11132         * Versions.def: Add versions for ld.so.
11133         * csu/Versions: Remove __libc_stack_end here.
11134         * elf/Versions: Split libc definitions in libc and ld.so definitions.
11135         * elf/Makefile (ld-map): Change to ld.so.map.
11136         * scripts/versions.awk: Recognize dot in library names.
11137
11138         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
11139         Don't use __tolower and __toupper in inline functions.
11140         Add optimizing macros for tolower and toupper.
11141         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
11142         (_toupper): Don't use __toupper.
11143         * ctype/ctype.c (tolower): Don't use __tolower.
11144         (toupper): Don't use toupper.
11145
11146         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
11147
11148         * resolv/Versions (libresolv): Export __ns_name_unpack and
11149         __ns_name_ntop.
11150         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
11151         make it global.  Change all users.  Similar for ns_name_ntop.
11152         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
11153         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
11154         directly to detect too small buffer.
11155         * resolv/nss_dns/dns-network.c: Likewise.
11156
11157         * stdio-common/Makefile (tests): Add scanf12.
11158         * stdio-common/scanf12.c: New file.
11159         * stdio-common/scanf12.input: New file.
11160         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
11161         floating-point correctly if the number is invalid.
11162
11163         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
11164         functions.
11165         * stdio-common/printf_fp.c: Likewise.
11166         * stdio-common/printf_fphex.c: Likewise.
11167         * stdio-common/vfprintf.c: Likewise.
11168
11169
11170 See ChangeLog.9 for earlier changes.