]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
2
3 * Makefile (install): Correct passing -r parameter to ldconfig.
4
5 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
6 Reported by Bruno Haible <haible@ilog.fr>.
7
8 2000-01-11 Andreas Schwab <schwab@suse.de>
9
10 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
11
12 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
13
14 * nss/getent.c: Add ipv6 support for hosts.
15
16 2000-01-05 Philip Blundell <pb@futuretv.com>
17
18 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
19 getrlimit64, setrlimit64 for GLIBC_2.1.3.
20 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
21 oldsetrlimit.
22 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
23 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
24 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
25 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
26 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
27 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
28
29 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
30 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
31 [subdir=misc] (sysdep_headers): Add sys/elf.h.
32
33 2000-01-09 Andreas Jaeger <aj@suse.de>
34
35 * manual/install.texi (Tools for Compilation): Update required
36 compiler version.
37 (Configuring and compiling): Restore old comments about
38 configparms; modify to reflect current usage.
39
40 2000-01-09 Philip Blundell <philb@gnu.org>
41
42 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
43 resolution if the hints included AI_NUMERICHOST.
44
45 2000-01-11 Andreas Schwab <schwab@suse.de>
46
47 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
48 infinite loop to avoid pulling in stdio in the dynamic linker.
49 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
50
51 2000-01-10 Andreas Jaeger <aj@suse.de>
52
53 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
54 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
55 EM_MIPS_RS3_LE.
56 * sysdeps/mips/mips64/dl-machine.h: Likewise.
57
58 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
59 gregset_t, fpregset_t, and NGREG definitions.
60
61 * sysdeps/mips/Implies: Add wordsize-32.
62
63 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
64 int's.
65
66 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
67 missing int's.
68
69 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
70 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
71 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
72 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
73 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
74 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
75 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
76
77 2000-01-09 Philip Blundell <philb@gnu.org>
78
79 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
80 (dl_platform_init): Allow _dl_platform to be NULL.
81
82 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
83 last change.
84
85 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
86
87 * nscd/connections.c (handle_request): Handle systems without
88 SO_PEERCRED.
89 (nscd_run): Likewise.
90
91 2000-01-07 Andreas Jaeger <aj@suse.de>
92
93 Add support for Berkeley db 3.0.x and merge db support:
94 * nss/nss_db/dummy-db.h (struct db30): New.
95 (struct dbc30): New.
96 Added DB30* flags.
97
98 * nss/makedb.c: Move all database routines to db-open.c.
99 (main): Adjust to interface changes.
100 Load database early to initialize version dependend variables.
101
102 * nss/db-open.c: Merge database routines from makedb.c.
103 Define version dependend constansts as variables.
104 (load_db): Check also for db 3.
105 (internal_setent): Call dbopen.
106 (db_cursor): New function from makedb; handles db 3 now.
107 (dbopen): New function from makedb; handles db 3.
108
109 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
110 different in different DB versions.
111
112 * nss/nss_db/nss_db.h: Add version dependend constants as
113 variables, add exportet interfaces from db-open.c.
114
115 * nss/Makefile ($(objpfx)makedb): Link against db-open.
116
117 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
118
119 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
120 Reported by Jim Meyering.
121
122 * time/strftime.c: Pretty printing.
123
124 2000-01-07 Andreas Jaeger <aj@suse.de>
125
126 * manual/socket.texi (Host Names): Fix example.
127 Reported by Marco Budde <budde@telos.de>.
128
129 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
130
131 * localedata/Makefile (install-locales): Create locale directory
132 if it does not exist.
133
134 * locale/programs/charmap.c (charmap_read): Call lr_open here and
135 not in parse_charmap. Try also the directories on the I18NPATH.
136 (parse_charmap): Change accordingly.
137
138 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
139
140 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
141 and oldsetrlimit64.c.
142
143 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
144 sys/procfs.h.
145
146 * manual/texinfo.tex: Updated from latest official version.
147
148 * debug/Makefile (distribute): Add frame.h.
149
150 2000-01-05 Philip Blundell <philb@gnu.org>
151
152 * sysdeps/arm/frame.h: New file.
153 * sysdeps/generic/frame.h: Likewise.
154 * sysdeps/generic/segfault.c (struct layout): Delete definition;
155 include the above file instead.
156 * sysdeps/generic/backtrace.c (struct layout): Likewise.
157 (__backtrace): Use ADVANCE_STACK_FRAME.
158 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
159 (ADVANCE_STACK_FRAME): New macro.
160 (GET_FRAME): Apply above to returned value.
161
162 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
163
164 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
165
166 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
167 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
168
169 * io/ftw.c (process_entry): Cache object dev/inode only for
170 directories (PR libc/1514).
171
172 2000-01-05 Andreas Schwab <schwab@suse.de>
173
174 * locale/programs/charmap.c (charmap_read): Fix typo.
175
176 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
177
178 * locale/programs/charset.c: Removed.
179
180 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
181 * iconvdata/gconv-modules: Likewise.
182 * iconvdata/iso8859-16.c: New file.
183
184 2000-01-05 Andreas Schwab <schwab@suse.de>
185
186 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
187
188 2000-01-05 Andreas Jaeger <aj@suse.de>
189
190 * intl/locale.alias: Add lithunian entry.
191 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
192
193 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
194
195 * locale/programs/stringtrans.c: Removed.
196 * locale/programs/stringtrans.h: Removed.
197 * locale/programs/linereader.c: Remove #include of stringtrans.h.
198
199 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
200 _POSIX_MAPPED_FILES is not defined.
201
202 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
203 for loc_name copy.
204
205 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
206 _nl_POSIX_name instead of "C" and "POSIX" strings.
207
208 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
209 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
210 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
211 reuse the _nl_C_LC_CTYPE_tolower table.
212 (_nl_C_LC_CTYPE_toupper32): Likewise.
213 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
214 toupper32 entries.
215
216 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
217 characters >= 0x80.
218 (_nl_C_LC_CTYPE_class32): Likewise.
219
220 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
221 aio_idle_time.
222 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
223 after the operation is done. Let them linger for a user-definable
224 time.
225 * rt/aio_cancel.c: Likewise.
226 Patch by Willian M Shubert <william.m.shubert@intel.com>.
227
228 * sysdeps/i386/i686/add_n.S: New file.
229
230 2000-01-02 Philip Blundell <philb@gnu.org>
231
232 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
233 to obtain port mapping information. Avoid use of mprotect.
234
235 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
236
237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
238 definition from 2.3.36.
239
240 2000-01-04 Andreas Jaeger <aj@suse.de>
241
242 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
243 (struct db27): Add missing fields byteswapped, join and flags;
244 remove wrong member handleq.
245 (struct dbc27): Correct lock field.
246
247 * nss/makedb.c: Remove __P.
248
249 2000-01-04 Andreas Jaeger <aj@suse.de>
250
251 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
252 success, fix a memory leak and clean up function.
253
254 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
255
256 * Makefile (install): Pass $(install_root) to ldconfig.
257 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
258
259 2000-01-03 Jakub Jelinek <jakub@redhat.com>
260
261 * soft-fp/op-1.h: Fix division for machines using not normalizing
262 version of udiv_qrnnd in longlong.h.
263 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
264 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
265 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
266 Patch by Eddie C. Dost <ecd@skynet.be>.
267
268 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
269
270 2000-01-03 Andreas Schwab <schwab@suse.de>
271
272 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
273 needed for change in common symbol handing in newer binutils.
274
275 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
276
277 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
278 kernel without mmap2 syscall.
279
280 2000-01-03 Philip Blundell <philb@gnu.org>
281
282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
283 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
284 ARM for kernels >= 2.3.35.
285
286 2000-01-03 Philip Blundell <philb@gnu.org>
287
288 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
289 Optimise error handling a little.
290 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
291
292 2000-01-03 Andreas Jaeger <aj@suse.de>
293
294 * include/resolv.h: Remove declarations for __ns_name_ntop and
295 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
296
297 2000-01-03 Andreas Jaeger <aj@suse.de>
298
299 * time/tst-strptime.c (test_tm): Add tests for all fields of
300 struct tm.
301
302 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
303
304 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
305
306 2000-01-03 Andreas Jaeger <aj@suse.de>
307
308 * string/tester.c (test_strsep): Add one more test.
309
310 2000-01-03 Philip Blundell <philb@gnu.org>
311
312 * string/tester.c (test_mempcpy): New function.
313 (main): Call it.
314 (test_memcpy): Test unaligned cases too.
315
316 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
317
318 * sysdeps/arm/fpu/bits/mathdef.h: New file.
319
320 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
321
322 * posix/Makefile (tests): Add tst-mmap.
323 * posix/tst-mmap.c: New file.
324
325 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
326 call before handling error.
327
328 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
329 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
330
331 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
332 0xa2e6 and 0xa2e7.
333 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
334 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
335 mappings.
336 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
337 * iconvdata/testdata/ISO-2022-KR: Likewise.
338
339 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
340
341 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
342 ISO-8859-13.
343 * iconvdata/Makefile (distribute): Remove baltic.c.
344 (modules): Remove BALTIC.
345 (gen-8bit-gap-modules): Remove baltic.
346 * iconvdata/baltic.c: Removed.
347
348 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
349
350 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
351
352 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
353 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
354 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
355
356 * nss/Makefile: Add rules to build makedb.
357 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
358 * nss/nss_db/dummy-db.h: Likewise.
359 * nss/makedb.c: New file. Copied from file in db2, modified to not
360 depend on being linked against libdb.
361
362 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
363
364 * Makeconfig (all-subdirs): Remove db and db2.
365 * db/*: Removed.
366 * db2/*: Removed.
367
368 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
369 functions from here...
370 * nss/db-alias.c: ...and here...
371 * nss/db-netgrp.c: ...and here...
372 * nss/nss_db/db-open.c: ...to here. New file.
373 * nss/nss_db/dummy-db.h: New file.
374 * nss/nss_db/nss_db.h: New file.
375 * nss/Depend: Depend in dlfcn, not db2.
376 * nss/Makefile (libnss_db-routines): Add db-open.
377 (distribute): Add nss_db.h dummy-db.h.
378 (libnss_db.so): Replace libdb dependency by $(libdl).
379 Based on a patch by Zack Weinberg.
380
381 * locale/programs/ld-ctype.c: Implement rest of transliteration
382 definition parsing.
383 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
384 * locale/programs/locfile-token.h: Add tok_translit_ignore.
385
386 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
387
388 * locale/programs/ld-collate.c (collate_output): Emit correct
389 information for collation elements.
390 Don't write over end of array idx.
391 * posix/regex.c: Handle also collation elements at end of range.
392
393 * posix/PTESTS: Fix a few typos.
394
395 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
396 no idea where this came from.
397 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
398
399 1999-12-31 Andreas Jaeger <aj@suse.de>
400
401 * libio/strfile.h: Remove K&R compatibility.
402 * locale/langinfo.h: Likewise.
403 * locale/localeconv.c (localeconv): Likewise.
404 * locale/programs/simple-hash.h: Likewise.
405 * nis/nis_xdr.h: Likewise.
406 * nis/rpcsvc/nislib.h: Likewise.
407 * nis/rpcsvc/nis_callback.h: Likewise.
408 * nis/rpcsvc/nis.h: Likewise.
409 * nis/ypclnt.c: Likewise.
410 * nscd/nscd_proto.h: Likewise.
411 * nscd/nscd.c: Likewise.
412 * sysdeps/generic/inttypes.h: Likewise.
413 * sysdeps/gnu/utmpx.h: Likewise.
414
415 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
416 * sunrpc/rpcsvc/rusers.x: Likewise.
417
418 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
419
420 * elf/dl-misc.c: Remove __libc_write prototype since it's already
421 in include/unistd.h.
422 * elf/dl-profile.c: Likewise.
423 * elf/dl-load.c: Likewise for __libc_read.
424
425 * elf/dl-profile.c: Remove __P.
426 * elf/sprof.c: Likewise.
427 * elf/sln.c: Likewise.
428
429 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
430
431 * locale/langinfo.h: Add constants for wide character collation
432 symbol table.
433 * locale/categories.def: Add appropriate entries for collate symbol
434 table entries.
435 * locale/C-collate.c: Add initializers for new entries.
436 Remove commented out code.
437 * locale/elem-hash.h: New file.
438 * locale/Makefile (distribute): Add elem-hash.h.
439 * locale/programs/ld-collate.c: Implement output of collate symbol
440 table.
441
442 * posix/regex.c: Implement collation class handling.
443
444 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
445
446 * posix/regex.c (regex_compile): Implement equivalence class handling.
447
448 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
449
450 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
451 (OPCODE_LWZU): New macro.
452 (OPCODE_ADDIS_HI): New macro.
453 (OPCODE_LIS_HI): New macro.
454 (__elf_machine_runtime_setup): Change PLT code-generation scheme
455 for thread safety even with very large PLTs, better efficiency,
456 and to fix a cache-flushing bug. Also support the Motorola
457 8xx processors which have a different cache line size than all
458 the others.
459 (__elf_machine_fixup_plt): Likewise.
460 (__process_machine_rela): Don't use elf_machine_fixup_plt.
461
462 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
463
464 * wcsmbs/wcscoll.c: Use multibyte character version.
465 * wcsmbs/wcsxfrm.c: Likewise.
466 * string/strcoll.c: Prepare to be used for the wide character version.
467 * string/strxfrm.c: Likewise.
468 * locale/weightwc.h: New file.
469
470 1999-12-30 Geoff Keating <geoffk@cygnus.com>
471
472 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
473 the (void) casts as now feraiseexcept returns a value.
474 (feclearexcept): Likewise.
475
476 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
477 it interferes with the macros for AIX.
478
479 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
480
481 * locale/programs/ld-collate.c (collate_finish): Always define
482 weight for UNDEFINED if not defined by the user but don't complain
483 unless it is needed in the multibyte character table.
484 (collate_output): Add extra dummy elements in wide char tables in the
485 same way done for multibyte. Always output undefined entry in
486 wide character table.
487
488 * locale/Makefile (categories): Remove commented-out old definition.
489
490 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
491 to new_element if the wide char is not valid.
492 (handle_ellipsis): Likewise.
493 (collate_read): It's no problem if the string in the collating element
494 definition cannot be represented as multibyte or wide char string.
495
496 1999-12-13 Andreas Jaeger <aj@suse.de>
497
498 * resolv/resolv.h: Remove K&R compatibility.
499
500 * resolv/res_libc.c: Move definition of _res after res_init,
501 res_init should use the threaded specific context.
502
503 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
504 needed anymore.
505
506 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
507
508 * locale/langinfo.h: Add constants for wide character collation data.
509 * locale/categories.def: Add appropriate entries for collate entries.
510 * locale/C-collate.c: Add initializers for new entries.
511 * locale/programs/ld-collate.c: Implement output of wide character
512 tables.
513
514 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
515 compute wide character table size a bit: it now gives up a bit of
516 total table size for fewer levels.
517
518 * soft-fp/*: Tons of new files to implement floating-point arithmetic
519 in software.
520 Contributed by Richard Henderson, Jakub Jelinek and others.
521
522 1999-12-29 Andreas Jaeger <aj@suse.de>
523
524 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
525 <asm/io.h>; remove K&R compatibility; add missing ints.
526
527 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
528 add missing ints.
529
530 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
531
532 1999-12-29 Andreas Jaeger <aj@suse.de>
533
534 * manual/getopt.texi (Using Getopt): Document ordering of options.
535
536 1999-12-29 Andreas Jaeger <aj@suse.de>
537
538 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
539 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
540
541 1999-12-14 Andreas Jaeger <aj@suse.de>
542
543 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
544 2.3.32.
545
546 1999-12-28 Jakub Jelinek <jakub@redhat.com>
547
548 * elf/sprof.c (load_shobj): Fix error message.
549 (generate_call_graph): Cast %*s length argument to int.
550 * locale/programs/localedef.c (construct_output_path): Likewise.
551 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
552 specifier.
553 (ctype_class_new): Likewise.
554 * locale/programs/ld-time.c (time_finish): Likewise.
555 * sunrpc/svc_simple.c (register_rpc): Likewise.
556 * nscd/connections.c (nscd_run, start_threads): Use long instead of
557 int to avoid cast warnings.
558 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
559 warning.
560 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
561 variable se.
562
563 * time/strftime.c (my_strftime): Provide wide era string when
564 requested.
565
566 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
567 Separate into 32bit and 64bit versions.
568
569 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
570
571 * iconvdata/Makefile (modules): Add ISO-2022-CN.
572 Add link rules for this module.
573 (distribute): Add iso-2022-cn.c and cns11643l2.h.
574 * iconvdata/cns11643l2.h: New file.
575 * iconvdata/iso-2022-cn.c: New file.
576 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
577
578 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
579 unsigned.
580 (ucs4_to_cns11643l1): Likewise.
581 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
582
583 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
584 loop to UCS4.
585 Optimize recognition of escape sequences a bit.
586
587 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
588 and oldsetrlimit definitions.
589
590 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
591
592 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
593 identifying errors more easily.
594
595 * iconvdata/testdata/EUC-CN..UTF8: New file.
596 * iconvdata/testdata/GBK..UTF8: New file.
597
598 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
599 mappings. Fix last patch.
600 * iconvdata/TESTS: Add GBK.
601 * iconvdata/testdata/GBK: New file.
602
603 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
604 0x2312, and 0x2500..0x254b.
605 * iconvdata/TESTS: Add EUC-CN.
606 * iconvdata/testdata/EUC-CN: New file.
607
608 * iconvdata/gbgbk.c: New file.
609 * iconvdata/Makefile (modules): Add GBGBK.
610 (distribute): Add gbgbk.c.
611 * iconvdata/gconv-modules: Add entries for GBGBK modules.
612
613 * iconvdata/euc-cn.c: Fix comment.
614
615 * iconvdata/gbk.c: Optimize the switch statement in the conversion
616 to GBK a bit.
617
618 * locale/programs/charmap.c (charmap_new_char): Recognize special
619 character names Uxxxx and Pxxxx and initialize the UCS4 value from
620 the value of xxxx.
621
622 1999-12-17 Andreas Jaeger <aj@suse.de>
623
624 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
625
626 1999-12-16 Mark Mitchell <mark@codesourcery.com>
627
628 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
629 * stdlib/exit.h (flavor): Add ef_cxa.
630 (exit_function): Add cxa variant.
631 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
632 * stdlib/cxa_atexit.c: New file.
633 * stdlib/cxa_finalize.c: New file.
634
635 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
636
637 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
638 Unicode tables.
639
640 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
641
642 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
643 __have_no_stat64.
644 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
645 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
646
647 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
648 of <asm/resource.h>.
649
650 1999-12-26 Philip Blundell <philb@gnu.org>
651
652 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
653 argument count for `syscall' to 7.
654 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
655 with more than five arguments.
656 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
657
658 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
659
660 * locale/programs/ld-collate.c (collate_output): Don't start with empty
661 extrapool and indirectpool obstacks since we need the offsets to be
662 nonzero.
663 (collate_read): Call load_locale, not find_locale.
664 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
665 wasn't defined in the file also initialize repertoire if possible.
666 * locale/programs/ld-time.c (time_finish): Fix message string.
667 * locale/programs/linereader.c: Cast parameters of lr_error to
668 correct type to prevnet warning.
669 * locale/programs/localedef.c (load_locale): New file.
670 * locale/programs/localedef.h: Add its prototype.
671 * locale/programs/repertoire.c (repertoire_new_char): Add missing
672 parameters to lr_error call.
673
674 * localedata/Makefile: Enable running tests again.
675 * localedata/tests/test2.def: Adjust syntax to new specification.
676 * localedata/tests/test3.def: Likewise.
677 * localedata/tst-trans.sh: Redirect output of program into file.
678
679 * string/strcoll.c: Fix many error in new implementation to make it
680 pass (at least) the test suite.
681
682 * locale/Makefile: Don't link localedef statically anymore.
683
684 * locale/ld-collate.c (struct element_t): Add field is_character and
685 use it to distinguish real character from collating elements and
686 symbols.
687 (new_element): Take new parameter to initialize is_character. Change
688 all callers.
689 (handle_ellipsis): Use is_character field to make sure ellipsis is
690 only used with characters.
691 (collate_read): Fix reading of collating elements.
692
693 * string/strxfrm.c: Correct loop end detection and memory access
694 in the little optimization at the end.
695
696 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
697 emit warnings. Provide default value for mon_decimal_point.
698
699 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
700 category wasn't defined.
701 (collate_output): Likewise.
702
703 * locale/programs/ld-address.c: Don't emit message about not defined
704 category if be_quiet.
705 * locale/programs/ld-ctype.c: Likewise.
706 * locale/programs/ld-identification.c: Likewise.
707 * locale/programs/ld-measurement.c: Likewise.
708 * locale/programs/ld-messages.c: Likewise.
709 * locale/programs/ld-monetary.c: Likewise.
710 * locale/programs/ld-name.c: Likewise.
711 * locale/programs/ld-numeric.c: Likewise.
712 * locale/programs/ld-paper.c: Likewise.
713 * locale/programs/ld-telephone.c: Likewise.
714 * locale/programs/ld-time.c: Likewise.
715
716 * locale/programs/locfile.c (write_locale_data): Correct memory
717 allocation for fname.
718
719 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
720
721 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
722 (collate_finish): Test that position is used in all sections for
723 a level or in none.
724
725 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
726 of the index returned by findidx.
727
728 * string/strcoll.c: Complete rewrite for new collate implementation.
729 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
730 locally.
731
732 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
733 indirect table.
734 * locale/langinfo.h: Likewise.
735 * locale/categories.def: Likewise. Remove reference to postload
736 functions.
737 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
738 __collate_tablemb, __collate_weightmb, and __collate_extramb.
739 * locale/localeinfo.h: Remove declaration for removed variables above.
740 Remove prototype for _nl_get_era_entry.
741 * locale/weight.h: Complete rewrite for new collate implementation.
742 * locale/programs/ld-collate.c: Many changes to make output file
743 usable in strxfrm/strcoll.
744 * string/strxfrm.c: Complete rewrite for new collate implementation.
745 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
746 locally.
747
748 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
749
750 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
751 transformation values for chars >255.
752 * wctype/wctrans.c: Return pointer unmodified.
753
754 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
755
756 * sysdeps/posix/system.c (__libc_system): Check whether command
757 processor is available if LINE is NULL. Don't return immediately
758 if wait call returned with EINTR.
759 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
760
761 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
762
763 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
764 prevent warning.
765
766 * locale/programs/ld-collate.c: Implement writing out multibyte
767 collation data.
768
769 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
770 * locale/localeinfo.h: Declare variables only for currently implemented
771 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
772 * locale/lc-collate.c: Define variables only for currently implemented
773 functionality.
774 * locale/langinfo.h: Define symbols only for currently implemented
775 functionality.
776 * locale/categories.def: Define elements for currently implemented
777 functionality.
778 * locale/C-collate.c: Comment out definitions of arrays with symbol
779 name definitions etc.
780 (_nl_C_LC_COLLATE): Update for currently defined information.
781
782 * intl/libintl.h: Remove dcgettext macro definition.
783 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
784
785 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
786
787 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
788 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
789
790 1999-12-22 Jakub Jelinek <jakub@redhat.com>
791
792 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
793 for __fenv_stfsr argument.
794 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
795 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
796 Remove ugetrlimit.
797 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
798 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
799 (XSTAT_IS_XSTAT64): Define.
800 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
801 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
802 and __libc_pwrite64.
803 Remove oldgetrlimit and oldsetrlimit.
804 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
805 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
806 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
807
808 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
809 pointer to the syscall, not address of that pointer.
810 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
811 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
812 (__syscall_stat64): Provide proper prototype.
813
814 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
815 has_no_truncate64 between truncate64 and ftruncate64.
816 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
817
818 * sysdeps/unix/sysv/linux/kernel-features.h
819 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
820 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
821
822 1999-12-22 Andreas Jaeger <aj@suse.de>
823
824 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
825 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
826
827 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
828
829 * locale/lc-time.c: Extend structure era_entry.
830 * locale/localeinfo.h: Likewise.
831 * locale/lc-time.c: Handle '-' direction used in locale's era part
832 properly.
833 * time/strptime.c: Likewise.
834 * time/strftime.c: Likewise.
835 * locale/programs/ld-time.c: Consider negative values in era part
836 of locale as B.C..
837 * time/strptime.c (strptime_internal): Merged Yoshiyama's
838 %E[CyY] implementation.
839
840 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
841
842 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
843 of recursive() call.
844 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
845 parsing.
846
847 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
848
849 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
850 Patch by Scott Bambrough <scottb@netwinder.org>.
851
852 1999-12-21 Andreas Schwab <schwab@suse.de>
853
854 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
855
856 * include/unistd.h: Declare __libc_lseek.
857
858 1999-12-21 Andreas Jaeger <aj@suse.de>
859
860 * stdlib/longlong.h: Remove __P.
861
862 1999-12-21 Andreas Jaeger <aj@suse.de>
863
864 * sysdeps/powerpc/fpu/libm-ulps: New file.
865
866 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
867
868 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
869 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
870
871 1999-12-21 Andreas Jaeger <aj@suse.de>
872
873 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
874 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
876 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
877 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
878 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
879 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
880 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
881 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
882 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
883 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
884 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
885
886 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
887
888 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
889 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
890 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
891 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
892 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
893 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
894 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
895 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
896 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
897 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
898 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
899 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
900 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
901 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
902 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
903 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
904 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
905 putpmsg.
906
907 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
908
909 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
910 before testing for __ASSUME_STAT64_SYSCALL.
911 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
912 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
913
914 1999-12-20 Andreas Schwab <schwab@suse.de>
915
916 * manual/install.texi (Running make install): Clearify that
917 install_root should be an absolute file name.
918
919 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
920
921 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
922
923 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
924 buffer is given to place conversion descriptor in initial state.
925 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
926 CSPC862LATINHEBREW.
927 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
928 (according to IANA registry).
929 Reported by Bruno Haible <haible@ilog.fr>.
930
931 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
932
933 * locale/categories.def: Remove most of the collate definitions.
934 * locale/langinfo.h: Comment out corresponding definitions.
935 * locale/programs/locale-spec.c (locale_special): Don't recognize the
936 collate names yet.
937 * locale/programs/ld-collate.c: Correct and optimize computation of
938 weights. Set up list of all definitions correctly. Start writing
939 function to generate output file.
940
941 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
942 loop to compute default mapping.
943
944 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
945
946 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
947 cancelation wrapper.
948 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
950 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
951
952 1999-12-19 Andreas Jaeger <aj@suse.de>
953
954 * sysdeps/generic/libc-start.c: Remove declaration of
955 __libc_open. Move declaration of __libc_fcntl to ...
956 * include/fcntl.h: ...here.
957
958 * include/unistd.h: Move __libc_open and __libc_open64 to ...
959 * include/fcntl.h: ...here.
960
961 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
962 happened yet.
963
964 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
965 rename label.
966
967 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
968
969 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
970 inclusion.
971
972 1999-12-19 Andreas Jaeger <aj@suse.de>
973
974 * include/string.h: Mark __strndup with __attribute_malloc__.
975
976 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
977
978 * locale/langinfo.h: Always define CODESET.
979 (CODESET): Define also as macro.
980
981 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
982 generate mantissa output in using malloc if it is larger than
983 20000 characters.
984 Reported by Jim Meyering <meyering@ascend.com>.
985
986 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
987
988 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
989 available gcc version.
990 * string/string.h: Mark strdup, __strdup, and strndup with
991 __attribute_malloc__.
992 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
993 __attribute_malloc__.
994 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
995 and __default_morecore with __attribute_malloc__.
996 Provide default definition for __attribute_malloc__.
997 * libio/stdio.h: Make tempnam with __attribute_malloc__.
998
999 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
1000 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
1001 * io/Versions: Export __libc_open64 and __libc_lseek64.
1002 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
1003 and __libc_pwrite64.
1004 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
1005 wrapper.
1006 * sysdeps/generic/pread.c: Likewise.
1007 * sysdeps/generic/pread64.c: Likewise.
1008 * sysdeps/generic/pwrite.c: Likewise.
1009 * sysdeps/generic/pwrite64.c: Likewise.
1010 * sysdeps/posix/open64.c: Likewise.
1011 * sysdeps/posix/pread.c: Likewise.
1012 * sysdeps/posix/pread64.c: Likewise.
1013 * sysdeps/posix/pwrite.c: Likewise.
1014 * sysdeps/posix/pwrite64.c: Likewise.
1015 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1016 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1017 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1018 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1019 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1020 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1021 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1022 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1023 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1024
1025 * sysdeps/posix/open64.c: Help gcc generating better code.
1026
1027 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
1028 instead of __open.
1029
1030 1999-12-11 H.J. Lu <hjl@gnu.org>
1031
1032 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
1033 instead of __fcntl.
1034
1035 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1036
1037 * iconvdata/isiri-3342.c: New file.
1038 * iconvdata/Makefile (modules): Add ISIRI-3342.
1039 (distribute): Add isiri-3342.c.
1040 (gen-8bit-gap-modules): Add isiri-3342.
1041 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
1042
1043 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1044
1045 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
1046 result if necessary.
1047
1048 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
1049 unreliable kernel headers.
1050 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1051 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1052 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
1053 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
1054
1055 1999-12-18 Andreas Jaeger <aj@suse.de>
1056
1057 * config.make.in (datadir): Added.
1058 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
1059
1060 1999-12-18 Andreas Jaeger <aj@suse.de>
1061
1062 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
1063 set errno.
1064 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1065
1066 1999-12-18 Andreas Jaeger <aj@suse.de>
1067
1068 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
1069 syscall if available.
1070 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
1071 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
1072
1073 * sysdeps/unix/sysv/linux/kernel-features.h
1074 (__ASSUME_STAT64_SYSCALL): New.
1075
1076 1999-12-17 Scott Bambrough <scottb@netwinder.org>
1077
1078 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
1079 cache flush.
1080 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
1081 after .text segment fixups.
1082
1083 1999-12-16 Andreas Jaeger <aj@suse.de>
1084
1085 * rt/aio.h: Remove erroneous __restrict declarations.
1086
1087 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1088
1089 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
1090 do the job if it is there neither.
1091 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
1092
1093 1999-12-16 Andreas Jaeger <aj@suse.de>
1094
1095 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
1096 duplicate definition with function __nan.
1097 Closes PR libc/1487 reported by <diana@kai.com>.
1098
1099 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
1100
1101 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
1102
1103 * locale/programs/ld-collate.c: Implement handling of absolute
1104 ellipsis. Parsing of file and constructing the internal data
1105 structures should now be complete.
1106 (collate_finish): Start adding support to generate the data
1107 structures which are written out to the file.
1108
1109 * intl/dcgettext.c: Rewrite to handle caching of previous results here
1110 instead of in the dcgettext macro.
1111 * intl/libintl.h (dcgettext): Don't define for systems using this
1112 glibc or systems with tsearch.
1113
1114 * sysdeps/generic/mathdef.h: Protect definitions for math.h
1115 against double inclusion.
1116 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1117 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1118 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1119 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1120
1121 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
1122 that different?).
1123
1124 1999-12-17 Andreas Jaeger <aj@suse.de>
1125
1126 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
1127 struct with aiocb.
1128
1129 * rt/Makefile (tests): Added tst-aio64.
1130 Added dependency rules for tst-aio64.
1131
1132 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
1133 64bit tests.
1134
1135 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
1136
1137 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
1138 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
1139 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
1140 old value (signed long).
1141 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
1142 long RLIM_INFINITY.
1143 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
1144 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
1145 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
1146 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
1147 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
1148 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
1149 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
1150 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
1151 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
1152 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
1153 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
1154 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
1155 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
1156 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
1157 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
1158
1159 1999-12-17 Andreas Jaeger <aj@suse.de>
1160
1161 * elf/ldconfig.c: Add new option -l to manualy link shared
1162 libraries.
1163 (options): Added option.
1164 (parse_opt): Set option.
1165 (main): Handle option.
1166 (manual_link): New function.
1167
1168 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
1169
1170 * string/bits/string2.h: Fix patch from 1999-12-07.
1171
1172 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
1173
1174 * sysdeps/generic/strsep.c: If delim string has only one character
1175 don't run over end of string.
1176
1177 * locale/programs/ld-collate.c (insert_weights): Also update next
1178 pointer of last cursor element.
1179 (insert_value): Return nonzero value if nothing got inserted.
1180 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
1181
1182 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1183
1184 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
1185 where appropriate.
1186
1187 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1188
1189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1190 Copy sa_flags into kernel sigaction structure.
1191
1192 1999-12-14 Andreas Jaeger <aj@suse.de>
1193
1194 * string/tester.c (test_strsep): More tests for access beyond
1195 the final NUL. The first two tests come from PR libc/1486 by
1196 martinea@iro.umontreal.ca.
1197
1198 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
1199
1200 * nis/ypclnt.c: Correct handling of cached client handles.
1201 (__xdr_ypresp_all): Call callback function for errors, too,
1202 like Solaris does.
1203 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
1204 * nis/nss_compat/compat-initgroups.c: Likewise.
1205 * nis/nss_compat/compat-spwd.c: Likewise.
1206 * nis/nss_nis/nis-alias.c: Likewise.
1207 * nis/nss_nis/nis-ethers.c: Likewise.
1208 * nis/nss_nis/nis-grp.c: Likewise.
1209 * nis/nss_nis/nis-hosts.c: Likewise.
1210 * nis/nss_nis/nis-netgrp.c: Likewise.
1211 * nis/nss_nis/nis-publickey.c: Likewise.
1212 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
1213 Map if available, optimize query if name/port and protocol is known.
1214
1215 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
1216
1217 * locale/programs/ld-collate.c (collate_read): Make symbolic
1218 ellipsis work. Remove old and unused code.
1219
1220 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
1221
1222 * locale/programs/ld-collate.c (collate_read): Implement
1223 reorder-section handling.
1224
1225 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
1226
1227 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
1228
1229 * locale/programs/ld-collate.c (collate_read): Add handling of
1230 reorder-after.
1231
1232 * locale/programs/ld-collate.c: Many changes to implement parsing
1233 of collation definition (still not complete).
1234
1235 1999-12-09 Andreas Jaeger <aj@suse.de>
1236
1237 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
1238 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
1239 Reported by Christian Starkjohann <cs@obdev.at>.
1240
1241 1999-12-09 Andreas Jaeger <aj@suse.de>
1242
1243 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
1244
1245 1999-12-09 Jakub Jelinek <jakub@redhat.com>
1246
1247 * stdlib/longlong.h: Update from latest egcs version.
1248
1249 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
1250
1251 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
1252 has to preceede __attribute__, otherwise g++ barfs.
1253
1254 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
1255 on sparc64-*-linux.
1256
1257 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
1258 use sigcontext.
1259 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1260
1261 1999-12-05 Wolfram Gloger <wg@malloc.de>
1262
1263 * malloc/malloc.c (arena_get2): If generating a new arena fails,
1264 try to generate a minimal one and hope for mmap_chunk() to succeed
1265 later.
1266
1267 1999-11-07 Wolfram Gloger <wg@malloc.de>
1268
1269 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
1270 mutex_t work as an `in-use' flag even without threads.
1271 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
1272 for multiple arenas separately from NO_THREADS.
1273 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
1274 fall back to an mmap()ed arena when sbrk() has failed.
1275
1276 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
1277
1278 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1279 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1280 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
1281 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1282 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
1283 oldgetrlimit and oldsetrlimit.
1284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
1285 oldsetrlimit.
1286 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
1287 oldsetrlimit rules into 32-bit arch subdirs.
1288 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1289
1290 * locale/programs/ld-collate.c (insert_value): If this is the
1291 first symbol the cursor can be the same as the next pointer.
1292
1293 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
1294
1295 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
1296 arrays.
1297 (allocate_arrays): Allocate memory for map32. Correctly install
1298 default values in it and install defined mappings.
1299
1300 * locale/programs/ld-monetary.c (monetary_finish): Provide default
1301 value for mon_grouping.
1302
1303 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
1304 headers are not clean enough.
1305
1306 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
1307
1308 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1309 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
1310 on x86.
1311 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
1312 * sysdeps/unix/sysv/linux/truncate64.c: New file.
1313 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
1314 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
1315
1316 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
1317 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
1318 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
1319 _nl_C_LC_CTYPE_tolower32 tables.
1320 Don't compile it names of 14652 classes and maps.
1321 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
1322 _NL_CTYPE_TOLOWER32.
1323 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
1324 and __ctype32_tolower.
1325 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
1326 (ctype_output): Write out map32 values.
1327 (allocate_arrays): Compute mapping tables correctly.
1328 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
1329 (towupper): Use __ctype32_toupper.
1330 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
1331
1332 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
1333 determine tolower mapping for 8bit table if the tolower keyword is
1334 not given.
1335
1336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
1337 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
1338
1339 1999-12-07 Jakub Jelinek <jakub@redhat.com>
1340
1341 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
1342 __stpcpy_small): Cast switch expressions to int to shut up compiler
1343 warnings.
1344
1345 1999-12-07 Scott Bambrough <scottb@netwinder.org>
1346
1347 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
1348 relocs if possible.
1349
1350 1999-12-06 Andreas Schwab <schwab@suse.de>
1351
1352 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
1353 ugetrlimit syscall exists.
1354
1355 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
1356 exported symbols.
1357 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1358
1359 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
1360
1361 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
1362 pointers if character is illegal.
1363 Reported by Bruno Haible <haible@ilog.fr>.
1364
1365 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
1366 (increment_counter): New function. Broken out of find_derivation.
1367 (find_derivation): No need for a lock. Increment counter only when
1368 the derivation was already available.
1369 * iconv/gconv_dl.c: Add debugging functions.
1370 (known_compare): We have to use strcmp.
1371 Reported by Bruno Haible <haible@ilog.fr>.
1372
1373 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
1374
1375 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
1376 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
1377 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
1378 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
1379 SHIFT_JIS alias.
1380 Reported by Bruno Haible <haible@ilog.fr>.
1381
1382 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
1383
1384 1999-12-03 Andreas Jaeger <aj@suse.de>
1385
1386 * nss/getXXbyYY.c: Include <resolv.h>
1387 (FUNCTION_NAME): Use res_ninit instead of res_init.
1388
1389 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
1390 declaration and prototypes.
1391 Remove extra _res declaration.
1392 (INTERNAL): Use thread aware res_ninit function.
1393
1394 * inet/gethstbyad_r.c: Include <resolv.h>.
1395
1396 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
1397 res_libc.c. Disabled unneeded functions.
1398
1399 * resolv/res_libc.c: New file.
1400
1401 * Versions.def: Add version GLIBC_2.2 for libpthread.
1402 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
1403
1404 * include/resolv.h: Add internal interfaces.
1405
1406 * resolv/Makefile (routines): Add new files.
1407 (libresolv-routines): Likewise.
1408 (distribute): Likewise.
1409
1410 * resolv/gethnamaddr.c: Use thread safe resolver functions.
1411 * resolv/nss_dns/dns-host.c: Likewise.
1412 * resolv/nss_dns/dns-network.c: Likewise.
1413
1414 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
1415 * resolv/nsap_addr.c: Likewise.
1416 * resolv/res_comp.c: Likewise.
1417 * resolv/res_debug.c: Likewise.
1418 * resolv/res_init.c: Likewise.
1419 * resolv/res_mkquery.c: Likewise.
1420 * resolv/res_query.c: Likewise.
1421 * resolv/res_send.c: Likewise.
1422 * resolv/resolv.h: Likewise.
1423
1424 * resolv/Versions: Add __res_state and __res_ninit with version
1425 GLIBC_2.2 to libc.
1426 Add new interfaces with version GLIBC_2.2 to libresolv.
1427
1428 * resolv/Banner: Update.
1429
1430 * include/arpa/nameser_compat.h: New file.
1431
1432 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
1433 * resolv/ns_netint.c: Likewise.
1434 * resolv/ns_parse.c: Likewise.
1435 * resolv/ns_print.c: Likewise.
1436 * resolv/ns_samedomain.c: Likewise.
1437 * resolv/ns_ttl.c: Likewise.
1438 * resolv/arpa/nameser_compat.h: Likewise.
1439 * resolv/res_debug.h: Likewise.
1440
1441 Some patches are based on work done by Adam D. Bradley
1442 <artdodge@cs.bu.edu>.
1443
1444 1999-11-30 Andreas Jaeger <aj@suse.de>
1445
1446 Add ldconfig:
1447 * elf/Makefile (extra-objs): Added ldconfig-modules.
1448 (ldconfig-modules): New.
1449 Added vpath for xstrdup and xmalloc.
1450 Check for use-ldconfig instead of has-ldconfig.
1451 ($(objpfx)ldconfig): New rule with dependencies.
1452 (distribute): Add new files.
1453
1454 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
1455 developed together with Jakub Jelinek <jakub@redhat.com>.
1456 * sysdeps/generic/readelflib.c: Likewise.
1457
1458 * elf/cache.c: New file.
1459 * elf/ldconfig.c: New file.
1460 * elf/ldconfig.h: New file.
1461 * elf/readlib.c: New file.
1462
1463 * Makefile (install): Remove flag -d in ldconfig call.
1464
1465 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
1466 by default.
1467
1468 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
1469 comment.
1470
1471 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
1472 set always use_ldconfig instead.
1473
1474 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
1475
1476 * sysdeps/generic/bits/stropts.h: Update with LiS types and
1477 values. Patch by David Grothe <dave@gcom.com>.
1478
1479 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
1480 Make long types.
1481 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1482 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1483 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1484
1485 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
1486
1487 * locale/lc-time.c (_nl_get_era_entry): Separate eras
1488 initialization as _nl_init_era_entry().
1489 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
1490 * locale/lc-time.c (_nl_get_era_year_offset): New function.
1491 * locale/lc-time.c (_nl_get_era_year_start): New function.
1492 * locale/localeinfo.h: Declare new functions.
1493 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
1494 and ERA_W_FORMAT.
1495
1496 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
1497
1498 * posix/regex.c (SYNTAX): Make more portable.
1499 Patch by Aharon Robbins <arnold@skeeve.com>.
1500
1501 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
1502
1503 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
1504 nonzero, use cthread_fork to create the signal thread.
1505 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
1506 _hurd_msgport_thread here (to self).
1507 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
1508 is zero, instead compute child signal thread's starting SP from parent
1509 signal thread's current SP and the threadvar_stack variables.
1510 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
1511 These are now referenced weakly by _hurdsig_init.
1512
1513 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
1514 &_hurd_itimer_thread not &_hurd_msgport_thread.
1515
1516 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
1517
1518 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
1519 without HURD_DPORT_USE to clean up warnings.
1520 * hurd/dtable.c (get_dtable_port): Likewise.
1521
1522 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
1523 (install_ctty): Do the changing of the cttyid port cell here, inside
1524 the critical section while we holding the dtable lock.
1525 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
1526 the port cell and calling rectty_dtable.
1527 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
1528 (install_ctty): Use it inside a critical section, with the lock held.
1529 * sysdeps/mach/hurd/setsid.c (__setsid): Use
1530 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
1531 after proc_setsid, having held the dtable lock throughout.
1532 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
1533 cttyid port for null and bail out early if so. The dtable lock
1534 serializes us after any cttyid change and its associated dtable update.
1535
1536 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
1537
1538 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
1539 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
1540 We don't install this file for users.
1541 * sysdeps/mach/hurd/Dist: Add it.
1542 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
1543 Append nfs/nfs.h here.
1544
1545 1999-12-01 Andreas Jaeger <aj@suse.de>
1546
1547 * sysdeps/generic/if_index.c (__protocol_available): Add missing
1548 int for parameter.
1549
1550 * stdio/stdio.h: Fix typo.
1551 Patches by Marcus G. Daniels <mgd@santafe.edu>.
1552
1553 1999-12-01 Andreas Jaeger <aj@suse.de>
1554
1555 * scripts/test-installation.pl (installation_problem): Filter out
1556 libpthread_db.
1557
1558 1999-12-01 Andreas Schwab <schwab@suse.de>
1559
1560 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
1561 __rlim_t and __rlim64_t.
1562 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1564
1565 1999-12-01 Andreas Schwab <schwab@suse.de>
1566
1567 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1568 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
1569 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1570 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
1571 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
1572 new kernel version. Add symbol versions.
1573 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
1574 oldgetrlimit.
1575 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1576 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1577 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
1578 and s_ugetrlimit.
1579 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1580 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1581 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1582 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
1583 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
1584 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1585 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
1586 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
1587 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
1588 file.
1589 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
1590 file.
1591
1592 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
1593
1594 * sysdeps/generic/usleep.c: Fix typo.
1595
1596 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
1597
1598 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
1599 itself.
1600
1601 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
1602 _UTSNAME_H.
1603
1604 * malloc/set-freeres.c: Really use already_called variable.
1605
1606 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
1607 function call directly.
1608 * libio/iosetvbuf.c: Likewise.
1609
1610 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
1611
1612 * configure.in: Add AIX 4.3 support.
1613
1614 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
1615 standard was issued in 1992.
1616 Reported by Bruno Haible <haible@ilog.fr>.
1617
1618 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
1619
1620 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
1621 SIGCLD als SIGCHLD.
1622
1623 1999-11-29 Andreas Jaeger <aj@suse.de>
1624
1625 * manual/time.texi (Basic CPU Time): Better describe wrap around.
1626 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1627
1628 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
1629
1630 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
1631 Patch by Bruno Haible <haible@ilog.fr>.
1632
1633 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
1634
1635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
1636
1637 1999-11-29 Andreas Schwab <schwab@suse.de>
1638
1639 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
1640 __v to __bswap_32_v.
1641 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
1642 and __bswap_64_r to avoid clash with __bswap_32 macro.
1643
1644 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
1645
1646 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
1647 gconv-modules.
1648
1649 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
1650
1651 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
1652 patch. Use wch instead of idx to compute index.
1653 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1654
1655 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
1656
1657 * locale/iso-3166.def: Update from latest official list.
1658
1659 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
1660
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
1662 asm/ptrace.h, since this will not be done with 2.3.xx automatically
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1664
1665 1999-11-26 Andreas Jaeger <aj@suse.de>
1666
1667 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
1668
1669 1999-11-26 Andreas Jaeger <aj@suse.de>
1670
1671 * inet/rcmd.c: Include stdlib for declaration of free.
1672 Declare iruserok.
1673
1674 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1675
1676 * iconv/gconv.c (__gconv): Always initialize
1677 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
1678
1679 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
1680 written bytes.
1681 * iconvdata/iso-2022-jp.c: Likewise.
1682
1683 1999-11-25 H.J. Lu <hjl@gnu.org>
1684
1685 * stdlib/exit.c (exit): Run funtions only if
1686 __exit_funcs->idx > 0.
1687
1688 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1689
1690 * manual/charset.texi (iconv Examples): Add iconv call to flush
1691 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
1692
1693 1999-11-25 Andreas Jaeger <aj@suse.de>
1694
1695 * manual/install.texi (Running make install): Better describe
1696 update from libc5.
1697 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1698
1699 1999-11-25 Andreas Jaeger <aj@suse.de>
1700
1701 * include/sys/mman.h: Remove K&R compatibility.
1702
1703 1999-11-15 Andreas Jaeger <aj@suse.de>
1704
1705 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
1706 use __off64_t.
1707
1708 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1709
1710 * iconv/iconv_prog.c (process_block): For stateful charsets write
1711 out byte sequence to get to initial state at the end of the file.
1712
1713 1999-11-25 Andreas Schwab <schwab@suse.de>
1714
1715 * Makeconfig: Include sys-dirs and sys-sorted earlier.
1716 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
1717 ($(common-objpfx)sysd-sorted): Emit marker when this file is
1718 complete.
1719
1720 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
1721
1722 * manual/setjmp.texi: Many changes to correct bad English introduced
1723 mainly by me.
1724 * manual/time.texi: Likewise.
1725 Patches by Neil Booth <neil@rosenet.ne.jp>.
1726
1727 * include/string.h: Remove K&R compatibility.
1728
1729 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
1730
1731 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
1732
1733 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
1734
1735 * string/stratcliff.c: Add one more strchr test for something
1736 which was reported to not work (which proofed to be wrong).
1737
1738 * iconv/skeleton.c: It's __is_last, not is_last.
1739
1740 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
1741 the UCS value.
1742 (allocate_arrays): Likewise.
1743 (find_idx): Correctly increase array size.
1744 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1745
1746 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
1747
1748 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
1749 is true.
1750
1751 1999-11-23 Andreas Jaeger <aj@suse.de>
1752
1753 * include/sys/select.h: Remove K&R compatibility.
1754 * include/sys/statfs.h: Likewise.
1755 * include/gnu/libc-version.h: Likewise.
1756 * include/db_185.h: Likewise.
1757 * include/dlfcn.h: Likewise.
1758 * include/search.h: Likewise.
1759 * include/setjmp.h: Likewise.
1760 * include/signal.h: Likewise.
1761 * include/stdio.h: Likewise.
1762 * include/unistd.h: Likewise.
1763
1764 1999-11-23 Andreas Jaeger <aj@suse.de>
1765
1766 * include/aio.h: Remove __THROW from internal interfaces. __THROW
1767 is only need in external header files that might be compiled by a
1768 C++ compiler.
1769 * include/alloca.h: Likewise.
1770 * include/db.h: Likewise.
1771 * include/dirent.h: Likewise.
1772 * include/execinfo.h: Likewise.
1773 * include/fpu_control.h: Likewise.
1774 * include/glob.h: Likewise.
1775 * include/grp.h: Likewise.
1776 * include/libintl.h: Likewise.
1777 * include/math.h: Likewise.
1778 * include/math.h: Likewise.
1779 * include/mntent.h: Likewise.
1780 * include/mntent.h: Likewise.
1781 * include/netdb.h: Likewise.
1782 * include/pwd.h: Likewise.
1783 * include/sched.h: Likewise.
1784 * include/shadow.h: Likewise.
1785 * include/stdlib.h: Likewise.
1786 * include/sys/file.h: Likewise.
1787 * include/sys/gmon.h: Likewise.
1788 * include/sys/ioctl.h: Likewise.
1789 * include/sys/socket.h: Likewise.
1790 * include/sys/stat.h: Likewise.
1791 * include/sys/sysinfo.h: Likewise.
1792 * include/sys/time.h: Likewise.
1793 * include/sys/times.h: Likewise.
1794 * include/sys/uio.h: Likewise.
1795 * include/sys/wait.h: Likewise.
1796 * include/termios.h: Likewise.
1797 * include/time.h: Likewise.
1798 * include/ulimit.h: Likewise.
1799 * include/utmp.h: Likewise.
1800 * include/wchar.h: Likewise.
1801
1802 1999-11-22 Andreas Jaeger <aj@suse.de>
1803
1804 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
1805 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
1806 libc/1456+1457.
1807
1808 1999-11-22 Jakub Jelinek <jakub@redhat.com>
1809
1810 * sysdeps/generic/siglist.h: Avoid declaring the same field
1811 twice if SIGPWR is defined to SIGLOST.
1812 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
1813 not signed, so we should not special case it for negative args.
1814 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
1815 memmove, use the one provided in memcpy.S.
1816 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
1817 copies like memmove, while the previous version worked like memcpy.
1818 Implement optimized assembly memmove.
1819 * sysdeps/sparc/sparc64/memmove.c: New file.
1820
1821 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
1822
1823 * po/cs.po: Update from translators.
1824
1825 1999-11-23 Andreas Jaeger <aj@suse.de>
1826
1827 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
1828 (elf_machine_got): Removed, not needed anymore.
1829 (ELF_MACHINE_RELOC_NOPLT): Removed.
1830 (ELF_MACHINE_JMP_SLOT): Added.
1831 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
1832 (_RTLD_EPILOGUE): Likewise.
1833 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
1834 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1835 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
1836 Ralf Baechle <baechle@uni-koblenz.de>.
1837
1838 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
1839
1840 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
1841
1842 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
1843 name from the locale name. Only use the value in the LC_CTYPE
1844 locale data file.
1845
1846 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
1847 file be equal to file size.
1848
1849 * stdlib/longlong.h: Add count_trailing_zeros back.
1850
1851 * stdlib/longlong.h: Update from latest egcs version.
1852
1853 1999-11-22 Andreas Jaeger <aj@suse.de>
1854
1855 * locale/programs/ld-collate.c (insert_value): Correct order of
1856 arguments for lr_error call.
1857
1858 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
1859 __syscall_setrlimit.
1860
1861 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
1862 for key_t.
1863 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1864
1865 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
1866
1867 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
1868 gcc version.
1869
1870 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
1871 14652-style definition of new maps and classes.
1872
1873 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
1874
1875 * locale/programs/ld-monetary.c (monetary_finish): Don't print
1876 individual error message if nothing is defined.
1877
1878 * locale/programs/ld-time.c (time_startup): Test for lr being
1879 nonzero, not time.
1880
1881 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
1882 decimal_point is not defined.
1883
1884 * wctype/wctrans.c (wctrans): Use correct base index to access
1885 extra mapping tables.
1886
1887 * locale/loadlocale.c (_nl_load_locale): Use actual number of
1888 entries from file and not the fixed (minimal number from the
1889 langinfo.h list.
1890
1891 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
1892 values in charmaps.
1893
1894 1999-11-18 Paul Eggert <eggert@twinsun.com>
1895
1896 * time/strftime.c (my_strftime): Some old compilers object to
1897 '\a', so don't bother optimizing for it.
1898
1899 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
1900
1901 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
1902 the rlimits structure passed in.
1903
1904 1999-11-19 Andreas Jaeger <aj@suse.de>
1905
1906 * include/sys/resource.h (__setrlimit): Add prototype.
1907
1908 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
1909
1910 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
1911 entries for rtld_search_dirs[0].
1912 Patch by David Mosberger <davidm@hpl.hp.com>.
1913
1914 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
1915
1916 * locale/programs/ld-ctype.c: Don't predefine the character
1917 classes and mappings of ISO 14652.
1918
1919 * locale/programs/ld-ctype.c: Punt if character class definitions
1920 to not consists of tok_bsymbol (for now).
1921
1922 * time/strptime.c (day_of_the_week): Make sure result is never
1923 negative.
1924 (strptime_internal): Allow %C without %y.
1925
1926 1999-11-18 Andreas Jaeger <aj@suse.de>
1927
1928 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
1929 comments.
1930
1931 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
1932 of defining *_SUPER_MAGIC.
1933 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
1934
1935 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
1936
1937 * locale/programs/locale.c: Don't handle LC_ALL together with the
1938 other categories when printing the value.
1939 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1940
1941 * locale/locale.h: Correct comment about LC_ALL.
1942
1943 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
1944
1945 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
1946 nelems. Correctly compute index for additional character classes.
1947 (ctype_read): Handle charclass and charconv definitions. Also
1948 recognize arbitrary strings as mapping names.
1949 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
1950 character era strings.
1951 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
1952 and format for wide characters.
1953 * time/strftime.c: Correctly determine era information for wide
1954 wcsftime.
1955 * wctype/wctrans.c: Fix after removal of second endianess table.
1956 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
1957 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1958
1959 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
1960 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
1961
1962 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
1963 gregset_t, fpregset_t, and NGREG definitions.
1964
1965 * locale/programs/ld-ctype.c: Implement character width information
1966 handling.
1967
1968 1999-11-09 Andreas Jaeger <aj@suse.de>
1969
1970 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
1971
1972 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
1973 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
1974
1975 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
1976
1977 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
1978
1979 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
1980
1981 1999-11-07 Andreas Jaeger <aj@suse.de>
1982
1983 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
1984 defines from Linux scsi_ioctl.h header.
1985
1986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
1987 scsi_ioctl.h.
1988 * sysdeps/unix/sysv/linux/Dist: Likewise.
1989
1990 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
1991 pretty printed.
1992
1993 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
1994 sync with Linux 2.3.26.
1995
1996 1999-11-17 Andreas Jaeger <aj@suse.de>
1997
1998 * shlib-versions: Allow mipsel for libm.
1999 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000
2001 1999-11-16 Andreas Jaeger <aj@suse.de>
2002
2003 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
2004
2005 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
2006
2007 * locale/programs/ld-ctype.c (set_class_defaults): Set default
2008 value for alpha and alnum correctly.
2009
2010 * locale/programs/ld-address.c (address_output): Fix output of
2011 country_num.
2012
2013 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
2014
2015 * timezone/asia: Update from tzdata1999j.
2016 * timezone/australasia: Likewise.
2017 * timezone/europe: Likewise.
2018 * timezone/northamerica: Likewise.
2019 * timezone/southamerica: Likewise.
2020 * timezone/zone.tab: Likewise.
2021
2022 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2023
2024 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
2025 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2026 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2027 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
2028 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2029
2030 1999-11-15 Andreas Jaeger <aj@suse.de>
2031
2032 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2033 __syscall_setrlimit.
2034 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2035
2036 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2037
2038 * scripts/versions.awk: Don't expect to read predecessor versions,
2039 compute them.
2040 * Versions.def: Remove predecessors. They now get computed.
2041
2042 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2043
2044 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
2045 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
2046 prototype.
2047 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
2048 * sysdeps/powerpc/stackinfo.h: New file.
2049 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
2050
2051 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2052
2053 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
2054 GLIBC_2.1.3.
2055
2056 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2057
2058 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
2059 hurd_directory_name_split.
2060 * Versions.def (libc): Add GLIBC_2.1.3.
2061
2062 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
2063
2064 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
2065 to return the location of the null byte written into the string.
2066 (describe_number): Likewise.
2067 (describe_number): Remove assert, not always used with #.
2068 If FLAVOR is null, don't use it.
2069 (describe_number): Take signed argument and print a - if negative.
2070 (_S_msg_report_wait): Report system call number for system calls that
2071 aren't mach_msg. Soup up reporting for mach_msg: If destination port
2072 matches SS->intr_port, bracket port description with [...] to indicate
2073 a Hurd interruptible RPC; if destination port is null, examine the
2074 receive port and report that state; if receive port is also null,
2075 check for timeout and report its value.
2076 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
2077 zero iff we managed to examine the stack; take new args RCV_NAME,
2078 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
2079
2080 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
2081 MACH_PORT_DEAD specially.
2082
2083 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
2084
2085 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
2086 (__directory_name_split): New function.
2087 * hurd/hurd.h: Declare them.
2088 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
2089 __file_name_split, so we ignore trailing slashes properly.
2090 * sysdeps/mach/hurd/rename.c: Likewise.
2091
2092 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
2093
2094 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
2095 from current kernel headers.
2096
2097 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
2098 SO_PASSCRED defined.
2099
2100 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2101
2102 * locale/C-ctype.c: Fix typo in char class name.
2103
2104 * configure.in: Allow user so specify --enable-kernel=current.
2105
2106 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
2107
2108 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
2109
2110 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
2111 i386 version.
2112 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2113 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2115 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2116
2117 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2118
2119 * intl/locale.alias: Add Estonian entries.
2120 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
2121
2122 1999-11-02 Andreas Jaeger <aj@suse.de>
2123
2124 * Versions.def: Add version GLIBC_2.2 for libm.
2125 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
2126 fedisableexcept.
2127 * sysdeps/generic/feenablxcpt.c: Stub file.
2128 * sysdeps/generic/fedisblxcpt.c: Stub file.
2129 * sysdeps/generic/fegetexcept.c: Stub file.
2130 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
2131 * sysdeps/i386/fpu/feenablxcpt.c: New file.
2132 * sysdeps/i386/fpu/fegetexcept.c: New file.
2133 * math/Makefile (libm-support): Add new files.
2134 * math/Versions: Add new functions with version GLIBC_2.2.
2135 * manual/arith.texi (Control Functions): Document fegetexcept,
2136 feenableexcept and fedisableexcept.
2137
2138 1999-11-01 Wolfram Gloger <wg@malloc.de>
2139
2140 * malloc/malloc.h: Describe __malloc_initialize_hook.
2141 * manual/memory.texi: Document __malloc_initialize_hook.
2142
2143 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
2144
2145 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
2146
2147 1999-11-09 Andreas Jaeger <aj@suse.de>
2148
2149 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2150 implementation for ttyname_r call; fix inverted condition; return
2151 ut_user.
2152 Closes PR libc/1438.
2153
2154 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2155
2156 * math/fenv.h: Include bits/fenvinline.h if optimizing.
2157 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
2158 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
2159 * sysdeps/generic/bits/fenv.h: New file.
2160
2161 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2162
2163 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
2164 printf call.
2165
2166 1999-11-10 Andreas Jaeger <aj@suse.de>
2167
2168 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
2169
2170 1999-11-10 Andreas Jaeger <aj@suse.de>
2171
2172 * string/strsignal.c (strsignal): Correct check for snprintf
2173 return value.
2174 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
2175
2176 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
2177 according to changed snprintf return value.
2178 Reported by Lawrence K. Chen <lchen@opentext.com>.
2179
2180 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
2181 for ecvt_r and fcvt_r.
2182
2183 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2184
2185 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
2186 directory with the reference since this is as secure as using the
2187 object with the dependency.
2188 (_dl_dst_substitute): Likewise.
2189
2190 * elf/dl-load.c (_dl_dst_count): Change strings in first two
2191 strncmp calls to allow reuse.
2192 (_dl_dst_substitute): Likewise.
2193
2194 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
2195
2196 * posix/regex.c (init_syntax_once): move below definition of
2197 ISALNUM etc., then use ISALNUM to init the table, so that
2198 the word ops will work if i18n'ed.
2199 (SYNTAX): And subscript with 0xFF for 8bit character sets.
2200
2201 1999-11-09 Andreas Jaeger <aj@suse.de>
2202
2203 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2204 implementation for ttyname_r call; fix inverted condition; return
2205 ut_user. Closes PR libc/1438.
2206
2207 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2208
2209 * timezone/checktab.awk: Update from tzcode1999h.
2210 * timezone/africa: Update from tzdata1999i.
2211 * timezone/asia: Likewise.
2212 * timezone/australasia: Likewise.
2213 * timezone/backward: Likewise.
2214 * timezone/europe: Likewise.
2215 * timezone/northamerica: Likewise.
2216 * timezone/southamerica: Likewise.
2217 * timezone/iso3166.tab: Likewise.
2218 * timezone/zone.tab: Likewise.
2219
2220 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
2221 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
2222
2223 1999-11-09 Andreas Jaeger <aj@suse.de>
2224
2225 * posix/Makefile (tests): Added tst-getlogin.
2226
2227 * posix/tst-getlogin.c: New file, contains simple tests for
2228 getlogin and getlogin_r.
2229
2230 1999-11-09 Andreas Schwab <schwab@suse.de>
2231
2232 * misc/syslog.c: For LOG_PERROR only append a newline if
2233 necessary.
2234
2235 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
2236
2237 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
2238 definitions.
2239
2240 1999-11-08 Andreas Jaeger <aj@suse.de>
2241
2242 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
2243 this fixes a memory leak (closes PR libc/1435).
2244
2245 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
2246 reflect memory allocation.
2247
2248 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
2249 allocation in _nl_explode_name.
2250
2251 1999-11-06 Andreas Jaeger <aj@suse.de>
2252
2253 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
2254 to initialize it.
2255 Reported by wes@surety.com, closes PR libc/1432.
2256
2257 1999-11-05 Geoff Keating <geoffk@cygnus.com>
2258
2259 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
2260 enumerator lists (-pedantic complains).
2261 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
2262 test for 'one bit set'.
2263 (feclearexcept): Likewise.
2264
2265 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
2266
2267 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
2268
2269 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
2270 for kernel changes.
2271 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
2272 unsigned.
2273
2274 1999-10-04 Tim Waugh <twaugh@redhat.com>
2275
2276 * posix/wordexp-test.c: More tests.
2277
2278 * posix/wordexp.c (wordexp): Explicit null words should be kept.
2279
2280 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2281
2282 * locale/programs/linereader.c (get_string): Correct type of buf2
2283 variable.
2284 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
2285 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
2286 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
2287 _NL_CTYPE_OUTDIGIT*_WC.
2288 (allocate_arrays): Completely initialize mapping tables.
2289 * locale/programs/ld-time.c (time_startup): We need the wide car
2290 string.
2291 (time_finish): Correct handling of era.
2292 (time_output): Fix a few array indeces.
2293 (time_read): Pass the repertoire map to lr_token.
2294
2295 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
2296
2297 * Versions.def: Add version for libthread_db.
2298
2299 1999-11-02 Andreas Jaeger <aj@suse.de>
2300
2301 * manual/header.texi (Library Summary): The command @indexfonts
2302 doesn't exist anymore, use @smallfonts instead.
2303
2304 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
2305
2306 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
2307 instead of duplicating definitions.
2308
2309 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
2310
2311 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
2312 by the debugger.
2313 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2314 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
2315 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2317 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2318
2319 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
2320
2321 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
2322
2323 * sysdeps/unix/sysv/linux/kernel-features.h
2324 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
2325 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
2326
2327 * manual/texinfo.tex: Updated.
2328
2329 1999-11-01 Andreas Jaeger <aj@suse.de>
2330
2331 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
2332
2333 * inet/gethstbynm2_r.c: Reorder addresses.
2334
2335 1999-09-11 Paul Eggert <eggert@twinsun.com>
2336
2337 * posix/glob.h (glob): If #defining to glob64, do this before
2338 declaring it, so that all declarations and uses match, and do not
2339 declare glob64, to avoid a declaration clash.
2340 (globfree): Likewise with globfree64.
2341
2342 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2343
2344 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
2345 Keep the trailing slash unless DIRNAME is just "x:/".
2346
2347 1999-10-11 Andreas Jaeger <aj@suse.de>
2348
2349 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
2350 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2351 Closes PR libc/1384.
2352
2353 1999-10-20 Andreas Schwab <schwab@suse.de>
2354
2355 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
2356 (generated): Add it here.
2357 (before-compile): Add libm-test.c.
2358 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
2359 libm-test.stmp.
2360 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
2361 $(objdir)/math/.
2362
2363 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
2364
2365 * Makefile (pdf): New goal.
2366 * manual/Makefile: Add definitions and rules for PDF generation.
2367
2368 * Versions.def (libm): Add GLIBC_2.1.3.
2369
2370 ISO C99 TR1 changes various fe* functions to return an error value.
2371 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
2372 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
2373 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
2374 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2375 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2376 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2377 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2378 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2379 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2380 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2381 * sysdeps/arm/fpu/fegetenv.c: Likewise.
2382 * sysdeps/arm/fpu/fesetenv.c: Likewise.
2383 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2384 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2385 * sysdeps/generic/fclrexcpt.c: Likewise.
2386 * sysdeps/generic/fegetenv.c: Likewise.
2387 * sysdeps/generic/fesetenv.c: Likewise.
2388 * sysdeps/generic/feupdateenv.c: Likewise.
2389 * sysdeps/generic/fgetexcptflg.c: Likewise.
2390 * sysdeps/generic/fraiseexcpt.c: Likewise.
2391 * sysdeps/generic/fsetexcptflg.c: Likewise.
2392 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2393 * sysdeps/i386/fpu/fegetenv.c: Likewise.
2394 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2395 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2396 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2397 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2398 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2399 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2400 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2401 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2402 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2403 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2404 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2405 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2406 * sysdeps/mips/fclrexcpt.c: Likewise.
2407 * sysdeps/mips/fegetenv.c: Likewise.
2408 * sysdeps/mips/fesetenv.c: Likewise.
2409 * sysdeps/mips/feupdateenv.c: Likewise.
2410 * sysdeps/mips/fgetexcptflg.c: Likewise.
2411 * sysdeps/powerpc/fclrexcpt.c: Likewise.
2412 * sysdeps/powerpc/fegetenv.c: Likewise.
2413 * sysdeps/powerpc/fesetenv.c: Likewise.
2414 * sysdeps/powerpc/feupdateenv.c: Likewise.
2415 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
2416 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
2417 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
2418 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
2419 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2420 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2421 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2422 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2423 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2424 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2425 * math/fenv.h: Adjust prototypes.: Likewise.
2426 * manual/arith.texi: Adjust documentation for these changes.
2427
2428 * manual/arith.texi: Document feraiseexcept.
2429
2430 * sysdeps/powerpc/fegetenv.c: Moved to...
2431 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
2432 * sysdeps/powerpc/fegetround.c: Moved to...
2433 * sysdeps/powerpc/fpu/fegetround.c: ...here.
2434 * sysdeps/powerpc/feholdexcpt.c: Moved to...
2435 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
2436 * sysdeps/powerpc/fesetenv.c: Moved to...
2437 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
2438 * sysdeps/powerpc/fenv_libc.h: Moved to...
2439 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
2440 * sysdeps/powerpc/feupdateenv.c: Moved to...
2441 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
2442 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
2443 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
2444 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
2445 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
2446 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
2447 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
2448 * sysdeps/powerpc/ftestexcept.c: Moved to...
2449 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
2450 * sysdeps/powerpc/fesetround.c: Moved to...
2451 * sysdeps/powerpc/fpu/fesetround.c: ...here
2452 * sysdeps/powerpc/fenv_const.c: Moved to...
2453 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
2454
2455 * sysdeps/mips/fclrexcpt.c: Moved to...
2456 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
2457 * sysdeps/mips/fegetenv.c: Moved to...
2458 * sysdeps/mips/fpu/fegetenv.c: ...here.
2459 * sysdeps/mips/fegetround.c: Moved to...
2460 * sysdeps/mips/fpu/fegetround.c: ...here.
2461 * sysdeps/mips/fesetenv.c: Moved to...
2462 * sysdeps/mips/fpu/fesetenv.c: ...here.
2463 * sysdeps/mips/fesetround.c: Moved to...
2464 * sysdeps/mips/fpu/fesetround.c: ...here.
2465 * sysdeps/mips/feupdateenv.c: Moved to...
2466 * sysdeps/mips/fpu/feupdateenv.c: ...here.
2467 * sysdeps/mips/fgetexcptflg.c: Moved to...
2468 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
2469 * sysdeps/mips/ftestexcept.c: Moved to...
2470 * sysdeps/mips/fpu/ftestexcept.c: ...here.
2471
2472 1999-10-29 Jakub Jelinek <jakub@redhat.com>
2473
2474 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
2475 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
2476 libraries from statically linked programs.
2477 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
2478 fix for sigaction on SPARC.
2479 Patches by David S. Miller <davem@redhat.com>.
2480
2481 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
2482 gregset_t and other required structures and defines for SPARC 64bit
2483 ABI as well, not only 32bit ABI.
2484
2485 1999-10-31 Andreas Jaeger <aj@suse.de>
2486
2487 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
2488 by __USE_ISOC99 and update comments.
2489
2490 * math/complex.h: Update comments for ISO C99.
2491 * math/fenv.h: Likewise.
2492 * math/test-fenv.c: Likewise.
2493 * math/tgmath.h: Likewise.
2494 * libio/stdio.h: Likewise.
2495 * posix/sys/types.h: Likewise.
2496 * sysdeps/generic/inttypes.h: Likewise.
2497 * sysdeps/generic/stdint.h: Likewise.
2498
2499 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
2500
2501 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
2502
2503 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
2504 recognize _ISOC99_SOURCE.
2505 * libio/stdio.h: Likewise.
2506 * math/math.h: Likewise.
2507 * math/bits/mathcalls.h: Likewise.
2508 * math/stdio.h: Likewise.
2509 * stdlib/stdlib.h: Likewise.
2510 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2511 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2512 * sysdeps/arm/bits/huge_val.h: Likewise.
2513 * sysdeps/generic/bits/mathdef.h: Likewise.
2514 * sysdeps/i386/bits/huge_val.h: Likewise.
2515 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2516 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2517 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2518 * sysdeps/m68k/bits/huge_val.h: Likewise.
2519 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2520 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2521 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2522 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2523 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2524 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2525 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2526 * wcsmbs/wchar.h: Likewise.
2527
2528 * sysdeps/powerpc/bits/mathdef.h: Moved to...
2529 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
2530 * sysdeps/powerpc/bits/mathinline.h: Moved to...
2531 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
2532 * sysdeps/powerpc/bits/fenv.h: Moved to...
2533 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
2534
2535 1999-10-31 Andreas Jaeger <aj@suse.de>
2536
2537 * manual/math.texi (Errors in Math Functions): Correct TeX code.
2538
2539 1999-10-31 Andreas Jaeger <aj@suse.de>
2540
2541 * math/libm-test.inc: Change comments to use ISO C99 instead of
2542 ISO C9x.
2543 * math/w_lgamma.c: Likewise.
2544 * math/w_lgammaf.c: Likewise.
2545 * math/w_lgammal.c: Likewise.
2546 * math/test-fenv.c: Likewise.
2547 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2548 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2549 * sysdeps/generic/printf_fphex.c: Likewise.
2550
2551 1999-10-31 Andreas Jaeger <aj@suse.de>
2552
2553 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
2554
2555 * manual/math.texi: Change ISO C9x to ISO C99.
2556 * manual/startup.texi: Likewise.
2557 * manual/stdio.texi: Likewise.
2558
2559 1999-10-31 Andreas Jaeger <aj@suse.de>
2560
2561 * manual/arith.texi: Change ISO C9x to ISO C99.
2562 * manual/time.texi (Low-Level Time String Parsing): Likewise.
2563
2564 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
2565
2566 * socket/Makefile (distribute): Add ifreq.h.
2567
2568 * manual/time.texi (Formatting Date and Time): Revise comments about
2569 origins of the formats with ISO C99 references.
2570
2571 1999-10-30 Andreas Jaeger <aj@suse.de>
2572
2573 * sysdeps/unix/sysv/linux/ifreq.h: New file.
2574
2575 1999-10-29 Andreas Jaeger <aj@suse.de>
2576
2577 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
2578 input format; mention that strtof and strtold are part of ISO C99.
2579
2580 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
2581
2582 * manual/math.texi (Errors in Math Functions): New section.
2583 * math/libm-err-tab.pl: Moved to...
2584 * manual/libm-err-tab.pl: ...here.
2585 * manual/Makefile: Add rules for math function error table generation.
2586
2587 * stdlib/tst-strtod.c: Add more hexadecimal tests.
2588
2589 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
2590 != 1 correctly and more than one digit before decimal point..
2591
2592 1999-10-27 Andreas Jaeger <aj@suse.de>
2593
2594 * sysdeps/generic/ifreq.h: New file.
2595
2596 * resolv/res_hconf.c: Add missing includes to get all prototypes.
2597 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
2598 Reported by John DiMarco <jdd@cs.toronto.edu>.
2599
2600 (_res_hconf_reorder_addrs): Made thread safe.
2601 (free_mem): New function, needed for malloc debugging.
2602
2603 1999-10-29 Andreas Jaeger <aj@suse.de>
2604
2605 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
2606 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
2607 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
2608 opensock to use __opensock.
2609
2610 * socket/Makefile (routines): Add opensock.
2611
2612 * include/sys/socket.h (__opensock): Add prototype declaration.
2613
2614 1999-10-29 Andreas Jaeger <aj@suse.de>
2615
2616 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
2617 N_* constants.
2618 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2619
2620 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
2621 new constant from Linux 2.3.25pre1.
2622
2623 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
2624
2625 1999-10-29 Andreas Jaeger <aj@suse.de>
2626
2627 * math/libm-err-tab.pl: New file to generate a table of
2628 libm-test-ulps values.
2629
2630 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
2631
2632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
2633 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
2634 struct sigcontext* object as second parameter for profil_counter.
2635 Patches by Jakub Jelinek <jakub@redhat.com>.
2636
2637 1999-10-29 Andreas Jaeger <aj@suse.de>
2638
2639 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
2640 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
2641
2642 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
2643 efs, qnx4 and reiser file systems.
2644
2645 1999-10-29 Andreas Jaeger <aj@suse.de>
2646
2647 * locale/Makefile (others): Set to localedef and locale for make
2648 clean.
2649
2650 * debug/Makefile (generated): Add xtrace for make clean to work.
2651
2652 1999-10-29 Andreas Jaeger <aj@suse.de>
2653
2654 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
2655
2656 1999-10-25 Andreas Jaeger <aj@suse.de>
2657
2658 * math/libm-test.inc: Added code to ignore the given max ulps.
2659 (print_max_error): Check for ignore_max_ulp.
2660 (check_float_internal): Likewise.
2661 (parse_opt): Parse --ignore-max-ulp.
2662 (main): Initialize ignore_max_ulp.
2663
2664 1999-10-26 Andreas Jaeger <aj@suse.de>
2665
2666 * stdlib/msort.c: Include <alloca.h> for prototype.
2667 Remove K&R compatibility and _quicksort prototype.
2668
2669 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
2670 some comments.
2671 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
2672 Remove K&R compatibility.
2673 Move prototype declaration to include/stdlib.h.
2674 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
2675
2676 * include/stdlib.h: Prototype declaration for _quicksort.
2677
2678 1999-10-27 Andreas Jaeger <aj@suse.de>
2679
2680 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
2681 shifted a bit too much.
2682 Reported by Eugen Dedu <dedu@ese-metz.fr>.
2683
2684 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
2685
2686 * resolv/gethnamaddr.c: Account bytes needed for alignment in
2687 buflen. Patch by Olaf Kirch <okir@lst.de>.
2688
2689 * md5-crypt/md5test.c: Correct names of MD5 functions after
2690 removing of public names.
2691
2692 * configure.in: Don't allow --enable-kernel without parameter.
2693
2694 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
2695
2696 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
2697 problems.
2698
2699 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
2700
2701 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
2702 only used internally.
2703 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
2704 remove weak alias for public names.
2705 * md5-crypt/md5.c: Remove weak aliase.
2706
2707 1999-10-25 Andreas Jaeger <aj@suse.de>
2708
2709 * math/README.libm-test: New file, documents libm-test.inc.
2710
2711 1999-10-25 Andreas Jaeger <aj@suse.de>
2712
2713 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
2714 given.
2715 (print_ulps_file): Fix loops to not read @tests and @functions
2716 since those are not initialized with -n now.
2717 (parse_ulps): Set $results{..}{"kind"}.
2718
2719 1999-10-25 Andreas Jaeger <aj@suse.de>
2720
2721 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
2722
2723 * math/libm-test.inc (check_float_internal): Don't print ulps for
2724 wrong sign of zero.
2725
2726 1999-10-20 Andreas Jaeger <aj@suse.de>
2727
2728 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
2729 versus AF_LOCAL.
2730 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
2731
2732 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
2733
2734 * math/libm-test.inc: Disable some boundary case tests for inline
2735 function testing.
2736
2737 * math/math.h: Pretty printing.
2738
2739 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
2740 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2741 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2742 * sysdeps/i386/fpu/e_log10.S: Likewise.
2743 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2744 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2745 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2746 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2747 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2748 * sysdeps/i386/fpu/s_log2.S: Likewise.
2749 * sysdeps/i386/fpu/s_log2f.S: Likewise.
2750 * sysdeps/i386/fpu/s_log2l.S: Likewise.
2751
2752 * sysdeps/i386/fpu/libm-test-ulps: New file.
2753
2754 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
2755 value for x == 0.
2756 (pow): Correct case x == 0.
2757 (__sgn1l): Correct handling of -0.0.
2758
2759 1999-10-22 Andreas Jaeger <aj@suse.de>
2760
2761 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
2762 (atan_test): Likewise.
2763 (atanh_test): Likewise.
2764 (atan2_test): Likewise.
2765 (carg_test): Likewise.
2766 (ceil_test): Likewise.
2767 (cos_test): Likewise.
2768 (cosh_test): Likewise.
2769 (cpow_test): Likewise.
2770 (erf_test): Likewise.
2771 (erfc_test): Likewise.
2772 (exp_test): Likewise.
2773 (exp10_test): Likewise.
2774 (exp2_test): Likewise.
2775 (expm1_test): Likewise.
2776 (fabs_test): Likewise.
2777 (floor_test): Likewise.
2778 (fmod_test): Likewise.
2779 (gamma_test): Likewise.
2780 (lgamma_test): Likewise.
2781 (log10_test): Likewise.
2782 (log1p_test): Likewise.
2783 (log2_test): Likewise.
2784 (logb_test): Likewise.
2785 (nearbyint_test): Likewise.
2786 (remainder_test): Likewise.
2787 (remquo_test): Likewise.
2788 (sin_test): Likewise.
2789 (sincos_test): Likewise.
2790 (sinh_test): Likewise.
2791 (sqrt_test): Likewise.
2792 (tan_test): Likewise.
2793 (tanh_test): Likewise.
2794 (tgamma_test): Likewise.
2795
2796 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
2797
2798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
2799
2800 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
2801
2802 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
2803 for -Inf and return NaN.
2804
2805 * configure.in: Correct test for Cygnus gcc versions.
2806
2807 1999-10-21 Andreas Jaeger <aj@suse.de>
2808
2809 * math/libm-test.inc (cimag_test): New function, tests cimag.
2810 (creal_test): New function, tests creal.
2811 (conj_test): New function, tests conj.
2812 (main): Add new functions.
2813
2814 1999-10-20 Andreas Jaeger <aj@suse.de>
2815
2816 * math/libm-test.inc: Rewrite to allow different deltas for real
2817 and imaginary part of complex functions.
2818 * math/gen-libm-test.pl: Likewise.
2819
2820 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
2821
2822 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
2823 aliases.
2824
2825 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
2826
2827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
2828 for -Inf and return NaN.
2829
2830 * math/gen-libm-test.pl: Fix program name in help message.
2831
2832 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
2833
2834 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
2835
2836 * sysdeps/i386/Implies: Correct order of libm directories.
2837
2838 1999-10-19 Andreas Jaeger <aj@suse.de>
2839
2840 * include/bits/ipc.h: Remove K&R compatibility.
2841 * include/libintl.h: Likewise.
2842 * include/math.h: Likewise.
2843 * include/mntent.h: Likewise
2844 * include/netdb.h: Likewise.
2845 * include/pwd.h: Likewise.
2846 * include/sched.h: Likewise.
2847 * include/shadow.h: Likewise
2848 * include/stdlib.h: Likewise.
2849 * include/sys/file.h: Likewise.
2850 * include/sys/gmon.h: Likewise.
2851 * include/sys/ioctl.h: Likewise.
2852 * include/sys/mman.h: Likewise.
2853 * include/sys/resource.h: Likewise.
2854 * include/sys/socket.h: Likewise.
2855 * include/sys/stat.h: Likewise.
2856 * include/sys/sysinfo.h: Likewise.
2857 * include/sys/time.h: Likewise.
2858 * include/sys/times.h: Likewise.
2859 * include/sys/uio.h: Likewise.
2860 * include/sys/wait.h: Likewise.
2861 * include/termios.h: Likewise.
2862 * include/time.h: Likewise.
2863 * include/ulimit.h: Likewise.
2864 * include/utmp.h: Likewise.
2865 * include/wchar.h: Likewise.
2866 * include/wctype.h: Likewise.
2867
2868 1999-10-19 Andreas Jaeger <aj@suse.de>
2869
2870 * math/libm-test.inc: Remove one K&R compatibility.
2871 (main): Enable nexttoward_test.
2872
2873 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
2874 libm-test-ulps.h; pretty print output a bit.
2875
2876 1999-10-19 Andreas Jaeger <aj@suse.de>
2877
2878 * iconv/iconv_prog.c (main): Set exit value in case that reading
2879 from stdin failed [PR libc/1404].
2880
2881 1999-10-18 Andreas Jaeger <aj@suse.de>
2882
2883 Added improved math testsuite:
2884 * math/libm-test.inc: New file, contains all tests from
2885 libm-test.c but in a different form.
2886 * math/libm-test.c: Removed.
2887 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
2888 * math/gen-libm-test.pl: New file: Preprocessor.
2889 * math/test-double.c: Adopted to new testsuite.
2890 * math/test-idouble.c: Likewise.
2891 * math/test-float.c: Likewise.
2892 * math/test-ifloat.c: Likewise.
2893 * math/test-ldouble.c: Likewise.
2894 * math/test-ildoubl.c: Likewise.
2895 * math/Makefile: Added rules to generate new suite.
2896
2897 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
2898
2899 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
2900 Patch by J. Richard Sladkey <jrs@world.std.com>.
2901
2902 * scripts/config.sub: Update from latest autoconf version.
2903 * scripts/config.guess: Likewise.
2904
2905 1999-10-18 Andreas Jaeger <aj@suse.de>
2906
2907 * inet/arpa/inet.h: Remove K&R compatibility.
2908 * math/fenv.h: Likewise.
2909
2910 1999-10-18 Andreas Jaeger <aj@suse.de>
2911
2912 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2913 kernel_sigaction): Remove K&R compatibility.
2914 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
2915 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2916 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
2917 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
2918 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
2919 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
2920 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2921 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
2922 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2923 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
2924 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
2925 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2926 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
2927 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2928 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2929 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2930 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
2931
2932 1999-10-18 Andreas Jaeger <aj@suse.de>
2933
2934 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
2935 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
2936
2937 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
2938
2939 * po/gl.po: New file.
2940
2941 1999-10-18 Andreas Schwab <schwab@suse.de>
2942
2943 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
2944 namespace selection.
2945
2946 1999-10-18 Andreas Schwab <schwab@suse.de>
2947
2948 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
2949 clash with the TERM environment variable.
2950
2951 1999-10-18 Andreas Jaeger <aj@suse.de>
2952
2953 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
2954 returns now NaN + i NaN.
2955 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
2956 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
2957
2958 1999-10-18 Andreas Jaeger <aj@suse.de>
2959
2960 * include/aio.h: Remove K&R compatiblity.
2961 * include/alloca.h: Likewise.
2962 * include/db.h: Likewise.
2963 * include/dirent.h: Likewise.
2964 * include/fcntl.h: Likewise.
2965 * include/fpu_control.h: Likewise.
2966 * include/glob.h: Likewise.
2967 * include/grp.h: Likewise.
2968 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
2969 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2970 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2971 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2972
2973 * include/execinfo.h: Add __THROW.
2974
2975 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
2976
2977 * sysdeps/mips/Implies: Remove wordsize-32 reference.
2978 * sysdeps/mips/mips3/Implies: Add it here.
2979
2980 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
2981
2982 * elf/elf.h: Add various platform and architecture extensions.
2983
2984 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
2985 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
2986 LC_ALL.
2987
2988 * socket/sys/socket.h: Remove K&R compatibility.
2989
2990 1999-10-16 Andreas Jaeger <aj@suse.de>
2991
2992 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
2993
2994 1999-10-15 Andreas Jaeger <aj@suse.de>
2995
2996 * stdlib/Makefile (tests): Added tst-xpg-basename.
2997
2998 * stdlib/tst-xpg-basename.c: New test file.
2999
3000 1999-10-14 Cristian Gafton <gafton@redhat.com>
3001
3002 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
3003
3004 1999-10-14 Andreas Jaeger <aj@suse.de>
3005
3006 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
3007 endian version works for both endiannesses.
3008
3009 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
3010 seconds.
3011
3012 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3013
3014 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
3015 register names unconditionally, only if __USE_GNU.
3016
3017 * debug/Makefile: Fix rules to generate pcprofiledump.
3018
3019 * include/ucontext.h: New file.
3020
3021 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
3022
3023 1999-10-12 Andreas Jaeger <aj@suse.de>
3024
3025 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
3026
3027 * math/basic-test.c: Fix typo.
3028
3029 * locale/programs/xstrdup.c: Include string.h for glibc
3030 compilation to get string prototypes.
3031
3032 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
3033 gregset_t and fpregset_t.
3034
3035 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
3036 warnings. Correct value for x == 0.
3037
3038 * argp/argp-help.c: Remove broken definition of flockfile and
3039 funlockfile.
3040
3041 1999-10-12 Andreas Schwab <schwab@suse.de>
3042
3043 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
3044 generic Linux version.
3045
3046 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3047
3048 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
3049
3050 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3051
3052 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
3053 and fpregset_t definitions.
3054
3055 * malloc/memprof.c (GETSP): Define for PowerPC.
3056 (GETTIME): Fix generic version.
3057
3058 1999-10-10 Philip Blundell <philb@gnu.org>
3059
3060 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
3061 __BYTE_ORDER.
3062
3063 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3064
3065 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
3066 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3067 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
3068 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
3069
3070 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
3071
3072 * sysdeps/powerpc/e_sqrt.c: Moved to...
3073 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
3074 * sysdeps/powerpc/e_sqrtf.c: Moved to...
3075 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
3076
3077 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
3078 * sysdeps/powerpc/sub_n.S: Likewise.
3079 * sysdeps/powerpc/strlen.S: Likewise.
3080 * sysdeps/powerpc/strcpy.S: Likewise.
3081 * sysdeps/powerpc/strcmp.S: Likewise.
3082 * sysdeps/powerpc/strchr.S: Likewise.
3083 * sysdeps/powerpc/stpcpy.S: Likewise.
3084 * sysdeps/powerpc/setjmp.S: Likewise.
3085 * sysdeps/powerpc/rshift.S: Likewise.
3086 * sysdeps/powerpc/ppc-mcount.S: Likewise.
3087 * sysdeps/powerpc/mul_1.S: Likewise.
3088 * sysdeps/powerpc/memset.S: Likewise.
3089 * sysdeps/powerpc/lshift.S: Likewise.
3090 * sysdeps/powerpc/dl-start.S: Likewise.
3091 * sysdeps/powerpc/bzero.S: Likewise.
3092 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3093 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3094 * sysdeps/powerpc/addmul_1.S: Likewise.
3095 * sysdeps/powerpc/add_n.S: Likewise.
3096 * sysdeps/powerpc/__longjmp.S: Likewise.
3097 * sysdeps/powerpc/elf/start.S: Likewise.
3098
3099 1999-10-11 Cristian Gafton <gafton@redhat.com>
3100
3101 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
3102 SA_SIGINFO.
3103
3104 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
3105
3106 * stdlib/atexit.c (initial): New variable. Use to initialize
3107 __exit_funcs.
3108 * stdlib/exit.c (exit): Beware to not free statically allocated
3109 list element [PR libc/1305].
3110
3111 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
3112 slash before the basename [PR libc/1383].
3113
3114 * argp/argp.h: Fix typo in last patch.
3115
3116 * sysdeps/powerpc/sysdep.h: New file.
3117 * sysdeps/unix/powerpc/sysdep.h: New file.
3118 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
3119 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
3120 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
3121 instead of bare numbers.
3122 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
3123 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3124 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3125
3126 * sysdeps/hppa/sysdep.h: New file.
3127
3128 1999-10-10 Andreas Jaeger <aj@suse.de>
3129
3130 * misc/sgtty.h: Fix typo in last patch.
3131
3132 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
3133
3134 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
3135 * sysdeps/powerpc/s_copysign.S: Move to...
3136 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
3137 * sysdeps/powerpc/s_copysignf.S: Move to...
3138 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
3139 * sysdeps/powerpc/s_fabs.S: Move to...
3140 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
3141 * sysdeps/powerpc/s_fabsf.S: Move to...
3142 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
3143 * sysdeps/powerpc/s_fdim.c: Move to...
3144 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
3145 * sysdeps/powerpc/s_fdimf.c: Move to...
3146 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
3147 * sysdeps/powerpc/s_fmax.S: Move to...
3148 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
3149 * sysdeps/powerpc/s_fmaxf.S: Move to...
3150 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
3151 * sysdeps/powerpc/s_fmin.S: Move to...
3152 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
3153 * sysdeps/powerpc/s_fminf.S: Move to...
3154 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
3155 * sysdeps/powerpc/s_isnan.S: Move to...
3156 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
3157 * sysdeps/powerpc/s_isnanf.S: Move to...
3158 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
3159 * sysdeps/powerpc/s_llrint.c: Move to...
3160 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
3161 * sysdeps/powerpc/s_llrintf.c: Move to...
3162 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
3163 * sysdeps/powerpc/s_llround.c: Move to...
3164 * sysdeps/powerpc/fpu/s_llround.c: ...here.
3165 * sysdeps/powerpc/s_llroundf.c: Move to...
3166 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
3167 * sysdeps/powerpc/s_lrint.c: Move to...
3168 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
3169 * sysdeps/powerpc/s_lrintf.S: Move to...
3170 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
3171 * sysdeps/powerpc/s_lround.c: Move to...
3172 * sysdeps/powerpc/fpu/s_lround.c: ...here.
3173 * sysdeps/powerpc/s_lroundf.c: Move to...
3174 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
3175 * sysdeps/powerpc/s_rint.c: Move to...
3176 * sysdeps/powerpc/fpu/s_rint.c: ...here.
3177 * sysdeps/powerpc/s_rintf.c: Move to...
3178 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
3179 * sysdeps/powerpc/t_sqrt.c: Move to...
3180 * sysdeps/powerpc/fpu/t_sqrt: ...here.
3181 * sysdeps/powerpc/w_sqrt.c: Move to...
3182 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
3183 * sysdeps/powerpc/w_sqrtf.c: Move to...
3184 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
3185 * configure.in: Support platforms which have no .text pseudo-op.
3186 Patches partly by Jimi X <jimix@pobox.com>.
3187
3188 * Makeconfig: Look also in all subdirs for shlib-versions files.
3189
3190 * malloc/memprof.sh: Fix --help string a bit.
3191
3192 * argp/argp.h: Remove K&R compatiblity.
3193 * assert/assert.h: Likewise.
3194 * catgets/nl_types.h: Likewise.
3195 * ctype/ctype.h: Likewise.
3196 * db/db.h: Likewise.
3197 * db/ndbm.h: Likewise.
3198 * db2/db.h: Likewise.
3199 * db2/db_185.h: Likewise.
3200 * debug/execinfo.h: Likewise.
3201 * dirent/dirent.h: Likewise.
3202 * dlfcn/dlfcn.h: Likewise.
3203 * gmon/sys/gmon.h: Likewise.
3204 * grp/grp.h: Likewise.
3205 * iconv/gconv.h: Likewise.
3206 * iconv/iconv.h: Likewise.
3207 * include/execinfo.h: Likewise.
3208 * inet/aliases.h: Likewise.
3209 * inet/netinet/ether.h: Likewise.
3210 * inet/netinet/in.h: Likewise.
3211 * intl/libintl.h: Likewise.
3212 * io/fcntl.h: Likewise.
3213 * io/fts.h: Likewise.
3214 * io/ftw.h: Likewise.
3215 * io/utime.h: Likewise.
3216 * io/sys/poll.h: Likewise.
3217 * io/sys/stat.h: Likewise.
3218 * io/sys/statfs.h: Likewise.
3219 * io/sys/statvfs.h: Likewise.
3220 * libio/libio.h: Likewise.
3221 * libio/stdio.h: Likewise.
3222 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
3223 * locale/locale.h: Likewise.
3224 * login/pty.h: Likewise.
3225 * login/utmp.h: Likewise.
3226 * malloc/mcheck.h: Likewise.
3227 * math/complex.h: Likewise.
3228 * math/math.h: Likewise.
3229 * math/math_private.h: Likewise.
3230 * misc/err.h: Likewise.
3231 * misc/fstab.h: Likewise.
3232 * misc/libgen.h: Likewise.
3233 * misc/mntent.h: Likewise.
3234 * misc/regexp.h: Likewise.
3235 * misc/search.h: Likewise.
3236 * misc/sgtty.h: Likewise.
3237 * misc/ttyent.h: Likewise.
3238 * misc/sys/cdefs.h: Likewise.
3239 * misc/sys/file.h: Likewise.
3240 * misc/sys/ioctl.h: Likewise.
3241 * misc/sys/mman.h: Likewise.
3242 * misc/sys/select.h: Likewise.
3243 * misc/sys/syslog.h: Likewise.
3244 * misc/sys/uio.h: Likewise.
3245 * misc/sys/ustat.h: Likewise.
3246 * nss/nss.h: Likewise.
3247 * posix/sched.h: Likewise.
3248 * posix/unistd.h: Likewise.
3249 * posix/wordexp.h: Likewise.
3250 * posix/sys/times.h: Likewise.
3251 * posix/sys/utsname.h: Likewise.
3252 * posix/sys/wait.h: Likewise.
3253 * pwd/pwd.h: Likewise.
3254 * resolv/netdb.h: Likewise.
3255 * resolv/resolv.h: Likewise.
3256 * resource/ulimit.h: Likewise.
3257 * resource/sys/resource.h: Likewise.
3258 * resource/sys/vlimit.h: Likewise.
3259 * resource/sys/vtimes.h: Likewise.
3260 * rt/aio.h: Likewise.
3261 * setjmp/setjmp.h: Likewise.
3262 * shadow/shadow.h: Likewise.
3263 * signal/signal.h: Likewise.
3264 * socket/socket.h: Likewise.
3265 * stdio/stdio.h: Likewise.
3266 * stdio-common/_itoa.h: Likewise.
3267 * stdio-common/_itowa.h: Likewise.
3268 * stdio-common/printf.h: Likewise.
3269 * stdlib/alloca.h: Likewise.
3270 * stdlib/fmtmsg.h: Likewise.
3271 * stdlib/monetary.h: Likewise.
3272 * stdlib/stdlib.h: Likewise.
3273 * stdlib/ucontext.h: Likewise.
3274 * streams/stropts.h: Likewise.
3275 * string/argz.h: Likewise.
3276 * string/envz.h: Likewise.
3277 * string/string.h: Likewise.
3278 * string/strings.h: Likewise.
3279 * string/bits/string2.h: Likewise.
3280 * sunrpc/rpc/auth.h: Likewise.
3281 * sunrpc/rpc/auth_des.h: Likewise.
3282 * sunrpc/rpc/auth_unix.h: Likewise.
3283 * sunrpc/rpc/clnt.h: Likewise.
3284 * sunrpc/rpc/des_crypt.h: Likewise.
3285 * sunrpc/rpc/netdb.h: Likewise.
3286 * sunrpc/rpc/pmap_clnt.h: Likewise.
3287 * sunrpc/rpc/pmap_prot.h: Likewise.
3288 * sunrpc/rpc/pmap_rmt.h: Likewise.
3289 * sunrpc/rpc/rpc_msg.h: Likewise.
3290 * sunrpc/rpc/svc.h: Likewise.
3291 * sunrpc/rpc/svc_auth.h: Likewise.
3292 * sunrpc/rpc/xdr.h: Likewise.
3293 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
3294 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3295 * sysvipc/sys/ipc.h: Likewise.
3296 * sysvipc/sys/msg.h: Likewise.
3297 * sysvipc/sys/sem.h: Likewise.
3298 * sysvipc/sys/shm.h: Likewise.
3299 * termios/termios.h: Likewise.
3300 * time/time.h: Likewise.
3301 * time/sys/time.h: Likewise.
3302 * time/sys/timeb.h: Likewise.
3303 * wcsmbs/wchar.h: Likewise.
3304 * wctype/wctype.h: Likewise.
3305
3306 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
3307
3308 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
3309 _GNU_SOURCE be defined.
3310
3311 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
3312
3313 * ctype/ctype.h: Pretty print.
3314
3315 * po/cs.po: Fix typos.
3316
3317 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
3318 handling of empty entries. [PR libc/1345]
3319 Patch by Thorsten Kukuk <kukuk@suse.de>.
3320
3321 1999-10-08 Andreas Schwab <schwab@suse.de>
3322
3323 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
3324
3325 1999-10-08 Andreas Schwab <schwab@suse.de>
3326
3327 * debug/pcprofiledump.c: Fix typos.
3328
3329 1999-10-07 Andreas Jaeger <aj@suse.de>
3330
3331 * math/Makefile (tests): Added basic-tests.
3332
3333 * math/basic-test.c: New file. Contains function basic_tests from
3334 libm-test.
3335
3336 1999-10-07 Andreas Schwab <schwab@suse.de>
3337
3338 * malloc/memprof.sh: Fix quoting bugs.
3339
3340 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
3341
3342 * timezone/europe: Update from tzdata1999h.
3343
3344 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
3345
3346 * elf/elf.h: Update from last gABI draft.
3347
3348 * elf/elf.h: Remove EM_486 entry.
3349 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
3350 test for EM_486.
3351
3352 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
3353
3354 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
3355 Add rules for both programs.
3356 * debug/pcprofiledump.c: New file.
3357 * debug/xtrace.sh: New file.
3358 * debug/pcprofile.c: Allow creating output file. Add magic signature
3359 to let reader recognize file format.
3360
3361 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
3362
3363 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
3364
3365 1999-10-05 Andreas Jaeger <aj@suse.de>
3366
3367 * locale/programs/ld-identification.c: Fix typo in comment.
3368 * locale/programs/ld-messages.c: Likewise.
3369 * locale/programs/ld-monetary.c: Likewise.
3370 * locale/programs/ld-name.c: Likewise.
3371
3372 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
3373 (collate_read): Remove unnecessary comparisons with ignore_content.
3374
3375 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
3376 assigned elements.
3377 (ctype_read): Remove unnecessary comparisons with ignore_content.
3378 Fix typos in comments.
3379
3380 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
3381 comparisons with ignore_content.
3382
3383 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
3384
3385 * po/cs.po: Update.
3386
3387 * time/time.h: Move __gmtime_r declaration to ...
3388 * include/time.h: ...here.
3389
3390 1999-10-05 Andreas Jaeger <aj@suse.de>
3391
3392 * manual/message.texi (The message catalog files): Fix description
3393 to match gencat implementation and Unix98: Message fields are
3394 separated by a single blank space.
3395
3396 1999-10-05 Andreas Jaeger <aj@suse.de>
3397
3398 * manual/string.texi (Search Functions): Add missing end for
3399 memrchr description.
3400
3401 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3402
3403 * malloc/memprof.sh: Various small cleanups. Add short options.
3404 Write error messages to stderr.
3405
3406 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
3407
3408 * malloc/memprof.sh: Take options to control memprofstat.
3409
3410 * malloc/Makefile: Add rule to generate memprof script.
3411 * malloc/memprof.sh: New file.
3412
3413 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
3414 GNU standard.
3415
3416 1999-10-04 Andreas Jaeger <aj@suse.de>
3417
3418 * configure.in: Allow makeinfo 4.*.
3419
3420 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3421
3422 * stdio-common/vfprintf.c: Correct last patch and use outchar
3423 instead of PUTC to output single characters.
3424 * stdio-common/Makefile (tests): Add bug13.
3425 * stdio-common/bug13.c: New file.
3426
3427 * configure.in: Add additional options --with-gd-include and
3428 --with-gd-lib to help people with strange installations.
3429
3430 * malloc/Makefile: Add libdl dependency to libmemprof.so.
3431 * malloc/Depend: New file.
3432
3433 1999-10-04 Andreas Jaeger <aj@suse.de>
3434
3435 * timezone/README: Change wording to not mention the current
3436 version. This way we can't forget to update the file.
3437
3438 1999-10-04 Andreas Jaeger <aj@suse.de>
3439
3440 * manual/time.texi (Basic CPU Time): Fix typo.
3441 Reported by Ben Pfaff <pfaffben@msu.edu>.
3442
3443 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3444
3445 * string/string.h: Move __memrchr declaration to ...
3446 * include/string.h: ...here.
3447
3448 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3449
3450 * string/Makefile (routines): Add memrchr.
3451
3452 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
3453 Correct order of tests for matching bytes.
3454
3455 * string/tester.c: Add tests for memrchr.
3456
3457 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
3458 Start from the last character and take decrement not increment
3459 into account for correction in return line. Add memrchr alias.
3460 * sysdeps/i386/bits/string.h: Likewise.
3461
3462 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3463
3464 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
3465
3466 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3467
3468 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
3469
3470 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
3471 conventions.
3472
3473 * string/Versions: Export memrchr.
3474
3475 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3476
3477 * misc/Versions (GLIBC_2.2): Add getloadavg.
3478 * misc/Makefile (routines): Add getloadavg.
3479 * sysdeps/generic/getloadavg.c: New file.
3480 * sysdeps/mach/getloadavg.c: New file.
3481 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
3482
3483 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
3484 * sysdeps/i386/bits/string.h (__memrchr): New function.
3485 * string/string.h: Declare memrchr, __memrchr.
3486 * manual/string.texi (Search Functions): Document memrchr.
3487
3488 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3489
3490 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
3491 CFLAGS-memprofstat.c, and LIBGD variables.
3492 * config.make.in: Add LIBGD.
3493 * malloc/Makefile: Add rules to generate libmemprof.so and
3494 memprofstat.
3495 * malloc/memprof.c: New file.
3496 * malloc/memprofstat.c: New file.
3497
3498 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
3499
3500 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
3501
3502 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
3503 (inet_ntop6): Likewise.
3504
3505 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
3506 overruns.
3507
3508 * resolv/tst-aton.c (main): Add more tests.
3509
3510 * resolv/inet_addr.c (inet_aton): Correct some problems with to
3511 large numbers. Optimize a bit.
3512
3513 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
3514
3515 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
3516 account for added '0'.
3517
3518 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
3519 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
3520 len argument to be greater than needed address size.
3521
3522 1999-10-01 Andreas Jaeger <aj@suse.de>
3523
3524 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
3525 warning.
3526 * intl/finddomain.c (_nl_find_domain): Likewise.
3527
3528 1999-09-30 Andreas Schwab <schwab@suse.de>
3529
3530 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
3531
3532 1999-09-30 Andreas Jaeger <aj@suse.de>
3533
3534 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
3535 * sysdeps/i386/rshift.S: Likewise.
3536 * sysdeps/i386/strchrnul.S: Likewise.
3537 * sysdeps/i386/strchr.S: Likewise.
3538 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
3539 PR libc/1339.
3540
3541 1999-09-30 Andreas Jaeger <aj@suse.de>
3542
3543 * manual/examples/pipe.c: Close other end of pipe to make example work.
3544
3545 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
3546
3547 * timezone/checktab.awk: Update from tzcode1999g.
3548 * timezone/tzselect.ksh: Likewise.
3549 * timezone/africa: Update from tzdata1999g.
3550 * timezone/asia: Likewise.
3551 * timezone/australasia: Likewise.
3552 * timezone/europe: Likewise.
3553 * timezone/northamerica: Likewise.
3554 * timezone/southamerica: Likewise.
3555 * timezone/iso3166.tab: Likewise.
3556 * timezone/zone.tab: Likewise.
3557
3558 1999-09-27 Andreas Jaeger <aj@suse.de>
3559
3560 * resolv/netdb.h: Remove declaration of getnodebyname. It has
3561 been renamed to getipnodebyname. Move flags around.
3562
3563 1999-09-27 Andreas Schwab <schwab@suse.de>
3564
3565 * manual/message.texi (Locating gettext catalog): Fix typos.
3566
3567 1999-09-27 Andreas Jaeger <aj@suse.de>
3568
3569 * manual/socket.texi (Out-of-Band Data): Correct example program,
3570 rename some variables for clarity.
3571 Reported by James Antill <james@and.org>, close PR libc/1329.
3572
3573 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
3574
3575 * locale/programs/ld-collate.c (insert_value): Add hack to not
3576 crash in incomplete collate implementation.
3577
3578 * locale/programs/ld-collate.c (read_directions): Read new token
3579 after accepting sorting rule.
3580
3581 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
3582
3583 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
3584 error message printing. Correctly test whether all characters of
3585 current token are used.
3586 (ctype_read): NUL terminate last_str.
3587
3588 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
3589
3590 * nscd/connections.c: Invalidate caches on request.
3591 * nscd/nscd-client.h: Add INVALIDATE to request_type.
3592 * nscd/nscd.c: Add invalidate cache option.
3593 * nscd/nscd.conf: Change log directory to /var/log (FHS).
3594
3595 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
3596
3597 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
3598 not ovverwrite last group member with NULL pointer.
3599 Reported by Thomas Winder <thomas.winder@newlogic.at>.
3600
3601 1999-09-24 Andreas Jaeger <aj@suse.de>
3602
3603 * stdio-common/tst-printf.c (main): Add a testcase for large
3604 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
3605
3606 1999-09-24 Andreas Schwab <schwab@suse.de>
3607
3608 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
3609
3610 1999-09-24 Andreas Jaeger <aj@suse.de>
3611
3612 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
3613 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
3614
3615 1999-09-23 Mark Kettenis <kettenis@gnu.org>
3616
3617 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
3618 variable. Define MORECORE_CLEARS to 2.
3619
3620 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
3621 doesn't clear the contents of memory that is reallocated after
3622 decrementing the break value first. Update comment about
3623 MORECORE_CLEARS, explaining the meaning of the values it can be
3624 set to.
3625
3626 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
3627
3628 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
3629 one more case.
3630
3631 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
3632 (log): Likewise.
3633 (log10): Likewise.
3634 (log1p): Likewise.
3635 (log2): Likewise.
3636
3637 1999-09-22 Andreas Jaeger <aj@suse.de>
3638
3639 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
3640 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
3641
3642 1999-09-22 Andreas Schwab <schwab@suse.de>
3643
3644 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
3645
3646 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3647
3648 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3649 the source directory. Fixes PR libc/1059.
3650
3651 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
3652
3653 * locale/programs/repertoire.c (repertoire_find_value): Abort if
3654 rep parameter is NULL.
3655 (repertoire_find_symbol): Likewise.
3656 (repertoire_find_seq): Likewise.
3657
3658 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
3659
3660 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
3661 returned errno value in some cases.
3662
3663 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
3664
3665 * iconvdata/Makefile (modules): Add GBK.
3666 (distribute): Add gbk.c.
3667 * iconvdata/gbk.c: New file.
3668 * iconvdata/gconv-modules: Add GBK entry.
3669 Contributed by Sean Chen <sean.chen@turbolinux.com>.
3670
3671 * locale/programs/ld-monetary.c (monetary_output): Remove
3672 byte-order code.
3673
3674 * locale/programs/ld-time.c (time_output): Correct expected number
3675 of iov entries.
3676
3677 * manual/filesys.texi (Testing File Access): Correct description of
3678 SUID.
3679
3680 1999-080-25 H.J. Lu <hjl@gnu.org>
3681
3682 * csu/defs.awk (.end): Only match with leading white spaces.
3683 (.align): Likewise.
3684
3685 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
3686
3687 * stdlib/isomac.c: Add va_copy to allowed macros.
3688
3689 * po/pl.po: Updated.
3690
3691 1999-09-17 Andreas Schwab <schwab@suse.de>
3692
3693 * Makefile (clean): Also remove $(postclean) files.
3694
3695 1999-09-15 Andreas Jaeger <aj@suse.de>
3696
3697 * pwd/Makefile (otherlibs): Add for building with static-nss.
3698 * inet/Makefile (otherlibs): Likewise.
3699
3700 1999-09-15 Andreas Jaeger <aj@suse.de>
3701
3702 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
3703 function definition to avoid a compilation failure.
3704
3705 1999-09-15 Andreas Jaeger <aj@suse.de>
3706
3707 * stdlib/tst-environ.c (main): Add getenv regression test for
3708 environment variable that's one character long.
3709
3710 1999-09-15 Andreas Jaeger <aj@suse.de>
3711
3712 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
3713 signal definitions to let glibc compile with older Linux versions
3714 (2.0.10 to 2.1.100 or so).
3715
3716 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
3717
3718 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
3719 return zero to indicate no children died yet (assuming WNOHANG).
3720
3721 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
3722
3723 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
3724
3725 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
3726
3727 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
3728 Return _hurd_pgrp instead of 0.
3729
3730 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
3731
3732 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
3733 pages rather than just reprotecting them. This way we don't hold on
3734 to the backing space.
3735
3736 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
3737 Use __munmap instead of __vm_deallocate.
3738
3739 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
3740
3741 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
3742 returned errno value in some cases.
3743
3744 1999-09-17 Andreas Jaeger <aj@suse.de>
3745
3746 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
3747 to override user settings.
3748
3749 1999-09-17 Andreas Schwab <schwab@suse.de>
3750
3751 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
3752 using a pointer to it.
3753
3754 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
3755
3756 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
3757 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
3758
3759 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
3760
3761 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
3762
3763 * elf/elf.h (PF_MASKOS): New definition.
3764 (EM_VAX): New definition.
3765
3766 1999-08-09 Scott Bambrough <scottb@netwinder.org>
3767
3768 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
3769 'unsigned char ftype[8]', and 'unsigned int init_flag' to
3770 struct user_fp. These were added in version 2.2.12 of the
3771 ARM Linux kernel.
3772 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
3773 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
3774 The generic procfs.h included <asm/elf.h>. This causes
3775 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
3776 are included in the same source file. Found when building GDB.
3777
3778 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
3779
3780 * locale/langinfo.h: Remove byte-order dependent names.
3781 * locale/categories.def: Update after removal of byte-order dependent
3782 names.
3783 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
3784 with magic number in other byte order.
3785 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
3786 * locale/C-collate.c: Remove initializers for other byte-order.
3787 * locale/C-ctype.c: Likewise.
3788 * locale/C-monetary.c: Likewise.
3789 * locale/C-paper.c: Likewise.
3790 * locale/C-time.c: Likewise.
3791 * locale/lc-collate.c: Remove byte-order oriented initialization.
3792 * locale/lc-ctype.c: Likewise.
3793 * locale/lc-monetary.c: Likewise.
3794 * locale/lc-time.c: Likewise.
3795 * locale/programs/ld-address.c: Don't generate output in both
3796 byte-orders.
3797 * locale/programs/ld-ctype.c: Likewise.
3798 * locale/programs/ld-paper.c: Likewise.
3799 * locale/programs/ld-time.c: Likewise.
3800 * time/strftime.c (NLW): Don't use different byte-orders.
3801 * wctype/cname-lookup.h (cname_lookup): Likewise.
3802
3803 * Makeconfig (localedir): Define using libdir, not datadir.
3804 (msgcatdir): New variable.
3805 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
3806 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
3807 msgcatdir.
3808 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
3809 (CPPFLAGS): Define paths using msgcatdir.
3810 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
3811 * po/Makefile (mo-installed): Define using msgcatdir.
3812
3813 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
3814
3815 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
3816
3817 * stdio-common/vfprintf.c: Remove limitation on size of precision
3818 for integers.
3819
3820 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
3821 glibc by defining internal_function if it isn't already.
3822
3823 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
3824 fails don't rely on errno value.
3825 (getanswer_r): Set *ERRNOP in error cases.
3826
3827 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
3828 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
3829 associated data. Test for matching numeric address and family.
3830 (getaddrinfo): Remember EAI_NODATA result and return this in case
3831 everything fails.
3832 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
3833
3834 * locale/programs/ld-address.c: Fix handling of non-existing
3835 definitions for this category. Correctly ignore content of this
3836 category is this is necessary.
3837 * locale/programs/ld-collate.c: Likewise.
3838 * locale/programs/ld-ctype.c: Likewise.
3839 * locale/programs/ld-identification.c: Likewise.
3840 * locale/programs/ld-measurement.c: Likewise.
3841 * locale/programs/ld-messages.c: Likewise.
3842 * locale/programs/ld-monetary.c: Likewise.
3843 * locale/programs/ld-name.c: Likewise.
3844 * locale/programs/ld-numeric.c: Likewise.
3845 * locale/programs/ld-paper.c: Likewise.
3846 * locale/programs/ld-telephone.c: Likewise.
3847 * locale/programs/ld-time.c: Likewise.
3848 * locale/programs/locfile.h (handle_copy): Take extra parameter
3849 with result pointer. Fill in name of locale from which to copy.
3850 Correctly read token after `END'.
3851
3852 * locale/programs/localedef.c (main): Correct handling copy.
3853 (add_to_readlist): Take extra parameter which says whether we
3854 are supposed to read the file or not.
3855 (find_locale): Call add_to_readlist with extra parameter set to 0.
3856
3857 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
3858 instead of wrong number in array definitions.
3859 (add_to_readlist): Update prototype.
3860
3861 * locale/programs/locfile.c (locfile_read): Mark categories not
3862 available in source file as read.
3863 (write_all_categories): Fix typo.
3864
3865 * locale/programs/locales.h: Removed.
3866
3867 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
3868
3869 * elf/elf.h (SHF_MASKOS): Added.
3870
3871 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
3872
3873 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3874
3875 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
3876
3877 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3878
3879 * configure.in: Fix make version test for make 3.77.95 and later
3880 versions.
3881 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
3882
3883 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
3884
3885 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
3886
3887 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
3888 WINT_MAX values.
3889
3890 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
3891
3892 1999-09-09 Andreas Schwab <schwab@suse.de>
3893
3894 * elf/link.h: Fix comment.
3895
3896 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
3897
3898 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
3899
3900 * math/math.h: Pretty print.
3901
3902 1999-09-10 Andreas Schwab <schwab@suse.de>
3903
3904 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
3905 character variable on bigendian platforms without unaligned memory
3906 access.
3907
3908 1999-09-07 Cristian Gafton <gafton@redhat.com>
3909
3910 * sysdeps/unix/sysv/linux/sys/raw.h: New file
3911 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
3912 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
3913
3914 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
3915
3916 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
3917
3918 * time/ap.c: Removed. It was not used.
3919 * time/date.c: Likewise.
3920 * sysdeps/unix/nlist.c: Likewise.
3921 * sysdeps/generic/nlist.c: Likewise.
3922 * sysdeps/generic/varargs.h: Likewise.
3923 * stdio-common/scanf11.c: Likewise.
3924 * stdio-common/scanf6.c: Likewise.
3925 * scripts/=__ify: Likewise.
3926 * scripts/printsources: Likewise.
3927 * resolv/getnetnamadr.c: Likewise.
3928 * posix/id.c: Likewise.
3929 * misc/ioctltst.c: Likewise.
3930 * misc/nlist.h: Likewise.
3931 * math/test-math.h: Likewise.
3932 * include/nlist.h: Likewise.
3933
3934 1999-09-06 Andreas Schwab <schwab@suse.de>
3935
3936 * time/tzset.c (compute_change): Replace slow loop to compute T by
3937 simple algorithm.
3938
3939 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
3940
3941 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
3942 escape sequences out even if the character itself does not fit
3943 into the buffer.
3944
3945 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
3946
3947 1999-08-31 H.J. Lu <hjl@gnu.org>
3948
3949 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
3950
3951 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
3952
3953 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
3954 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
3955 (_hurd_priority_which_map):
3956
3957 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
3958
3959 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
3960
3961 1999-09-03 Andreas Schwab <schwab@suse.de>
3962
3963 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
3964 fork from __syscall_fork to __libc_fork.
3965 * posix/Versions: Add __libc_fork and __vfork to version
3966 GLIBC_2.1.2.
3967
3968 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3969
3970 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
3971 dependencies in sort.
3972
3973 1999-09-01 H.J. Lu <hjl@gnu.org>
3974
3975 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
3976
3977 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
3978 <sys/user.h> instead of <asm/user.h>.
3979
3980 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
3981
3982 * elf/elf.h: Update PARISC-specific flags and symbolic names.
3983
3984 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
3985
3986 * elf/elf.h: Update PARISC relocations.
3987
3988 1999-08-31 Scott Bambrough <scottb@netwinder.org>
3989
3990 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
3991 #ifdef statement to prevent it from being included twice.
3992 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
3993 #include <bits/armsigctx.h>.
3994
3995 1999-08-31 Andreas Schwab <schwab@suse.de>
3996
3997 * locale/C-collate.c: Add missing initialisations.
3998 * locale/C-ctype.c: Likewise.
3999
4000 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
4001
4002 * time/strftime.c (my_strftime): Remove unneeded variable len.
4003
4004 * time/strptime.c: Undo last change.
4005
4006 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
4007
4008 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
4009 Change charset.h to charmap.h.
4010 (categories): Add new categories. Leave out collate for now.
4011 Update build rules.
4012 * locale/categories.def: Add definitions for new categories.
4013 * locale/langinfo.h: Likewise.
4014 * locale/locale.h: Likewise.
4015 * locale/C-address.c: New file.
4016 * locale/C-identification.c: New file.
4017 * locale/C-measurement.c: New file.
4018 * locale/C-name.c: New file.
4019 * locale/C-paper.c: New file.
4020 * locale/C-telephone.c: New file.
4021 * locale/lc-address.c: Likewise.
4022 * locale/lc-identification.c: Likewise.
4023 * locale/lc-measurement.c: Likewise.
4024 * locale/lc-name.c: Likewise.
4025 * locale/lc-paper.c: Likewise.
4026 * locale/lc-telephone.c: Likewise.
4027 * locale/C-ctype.c: Update for locale rewrite.
4028 * locale/C-messages.c: Likewise.
4029 * locale/C-monetary.c: Likewise.
4030 * locale/C-time.c: Likewise.
4031 * locale/lc-collate.c: Likewise.
4032 * locale/lc-ctype.c: Likewise.
4033 * locale/lc-monetary.c: Likewise.
4034 * locale/lc-time.c: Likewise.
4035 * locale/localeinfo.h: Likewise.
4036 * locale/newlocale.c: Likewise.
4037 * locale/setlocale.c: Likewise.
4038 * locale/weight.h: Likewise.
4039 * locale/findlocale.c: Unconditionally use mmap.
4040 Handle new categories.
4041 * locale/loadlocale.c: Likewise.
4042 * locale/iso-3166.def: New file.
4043 * locale/iso-639.def: New file.
4044 * locale/programs/charmap-kw.gperf: Add new keywords.
4045 * locale/programs/locfile-kw.gperf: Likewise.
4046 * locale/programs/locfile-token.h: Define new tokens.
4047 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
4048 * locale/programs/charmap.h: New file.
4049 * locale/programs/charset.h: Removed.
4050 * locale/programs/config.h: Add __LC_LAST.
4051 * locale/programs/lc-address.c: New file.
4052 * locale/programs/lc-identification.c: New file.
4053 * locale/programs/lc-measurement.c: New file.
4054 * locale/programs/lc-name.c: New file.
4055 * locale/programs/lc-paper.c: New file.
4056 * locale/programs/lc-telephone.c: New file.
4057 * locale/programs/lc-collate.c: Update for locale rewrite.
4058 * locale/programs/lc-ctype.c: Likewise.
4059 * locale/programs/lc-messages.c: Likewise.
4060 * locale/programs/lc-monetary.c: Likewise.
4061 * locale/programs/lc-numeric.c: Likewise.
4062 * locale/programs/lc-time.c: Likewise.
4063 * locale/programs/locale.c: Likewise.
4064 * locale/programs/localedef.c: Likewise.
4065 * locale/programs/locfile.c: Likewise.
4066 * locale/programs/repertoire.c: Likewise.
4067 * locale/programs/repertoire.h: Likewise.
4068 * locale/programs/locfile.c: Update prototypes.
4069 Update handle_copy definition.
4070 * locale/programs/linereader.c: Add handling of wide char strings and
4071 new definition file syntax.
4072 * locale/programs/linereader.h (struct token): Add elements for wide
4073 character strings.
4074 * locale/programs/locale-spec.c: Disable handling of collation
4075 elements for now.
4076 * locale/programs/simple-hash.h: Cleanup.
4077 * locale/programs/stringtrans.h: Handle quite of end of line.
4078 * string/strcoll.c: Fall back on strcmp for now.
4079 * string/strxfrm.c: Fall back on strncpy/strlen for now.
4080 * time/strftime.c: Use new wide character data for wcsftime.
4081 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
4082 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
4083
4084 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
4085 compiling for i386 to avoid i686-like GOT pointer computation.
4086
4087 * db2/db_int.h: Change tsl_t type to u_int32_t.
4088 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
4089 * db2/mutex/alpha.h: New file.
4090 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
4091 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
4092 known.
4093 Patches by Richard Henderson.
4094
4095 * stdlib/tst-environ.c: Add cast to avoid warning.
4096 * timezone/test-tz.c: Use setenv instead of putenv.
4097
4098 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4099
4100 * manual/libc.texinfo: Update version and date.
4101
4102 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
4103
4104 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
4105 (File System Interface): Correct entry.
4106 (Permission Bits): Add missing commata after @xref.
4107
4108 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4109
4110 * timezone/tst-timezone.c (main): Don't pass const strings to
4111 putenv to avoid warnings.
4112
4113 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
4114
4115 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
4116
4117 * nis/Versions: Add _nss_*_getipnodebyname_r.
4118 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
4119 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
4120 * nss/Versions: Add _nss_files_getipnodebyname_r.
4121
4122 1999-08-28 H.J. Lu <hjl@gnu.org>
4123
4124 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
4125 memory for buffer.
4126
4127 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4128
4129 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
4130 kernel.
4131 * inet/netinet/in.h: Likewise.
4132 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4133 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4134
4135 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
4136
4137 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
4138 thresholds for SUID binaries. [PR libc/1277]
4139
4140 * posix/regexbug1.c: Add one more similar case.
4141
4142 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4143
4144 * manual/install.texi (Running make install): Give examples for
4145 timezone and locale installation.
4146
4147 1999-08-28 Zack Weinberg <zack@bitmover.com>
4148
4149 * glibcbug.in: Get CCVERSION from autoconf substitution.
4150 * configure.in: Calculate and substitute CCVERSION.
4151
4152 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4153
4154 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
4155 partially reverting a patch from 1998-12-29. We just can't change
4156 the flags, kernels with different flags lead to
4157 incompatibilities.
4158
4159 1999-08-26 Andreas Schwab <schwab@suse.de>
4160
4161 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
4162
4163 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4164
4165 * inet/rexec.c (rexec): Free memory if strings were allocated in
4166 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
4167
4168 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4169
4170 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
4171
4172 * manual/argp.texi: Fixing language and typos.
4173 * manual/conf.texi: Likewise.
4174 * manual/contrib.texi: Likewise.
4175 * manual/ctype.texi: Likewise.
4176 * manual/filesys.texi: Likewise.
4177 * manual/install.texi: Likewise.
4178 * manual/job.texi: Likewise.
4179 * manual/lang.texi: Likewise.
4180 * manual/llio.texi: Likewise.
4181 * manual/locale.texi: Likewise.
4182 * manual/math.texi: Likewise.
4183 * manual/nss.texi: Likewise.
4184 * manual/pipe.texi: Likewise.
4185 * manual/signal.texi: Likewise.
4186 * manual/socket.texi: Likewise.
4187 * manual/stdio.texi: Likewise.
4188 * manual/sysinfo.texi: Likewise.
4189 * manual/users.texi: Likewise.
4190 Patches by Neil Booth <NeilB@earthling.net>.
4191
4192 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4193
4194 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
4195 unsigned to avoid warning. [PR libc/1271].
4196
4197 * conform/conformtest.pl: Allow testing regex.h which requires
4198 sys/types.h being included.
4199
4200 * conform/data/regex.h-data: Allow *_t types.
4201 * conform/data/pwd.h-data: Likewise.
4202 * conform/data/sched.h-data: Likewise.
4203 * conform/data/pthread.h-data: Likewise.
4204 * conform/data/search.h-data: Likewise.
4205
4206 * misc/search.h: Avoid namespace pollution.
4207
4208 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
4209 pwd.h, and pthread.h.
4210 * conform/data/pthread.h-data: New file.
4211 * conform/data/pwd.h-data: New file.
4212 * conform/data/regex.h-data: New file.
4213 * conform/data/sched.h-data: New file.
4214 * conform/data/search.h-data: New file.
4215
4216 * NAMESPACE: Add REG_ for regex.h.
4217
4218 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
4219 they are removed.
4220
4221 * configure.in (libc_cv_asm_global_directive): Indent .text in
4222 test code so that the lame HPUX compiler recognizes it.
4223 * sysdeps/hppa/bits/endian.h: New file.
4224 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
4225 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
4226 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
4227 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
4228
4229 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
4230 Patch by John Tobey <jtobey@banta-im.com>.
4231
4232 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
4233
4234 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
4235 old_siocfifconf definition to toplevel.
4236 (__protocol_available): Remove old_siocfifconf definition.
4237
4238 1999-08-25 Mark Kettenis <kettenis@gnu.org>
4239
4240 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
4241 really dealing with a master pseudo terminal, and really returning
4242 the name of the associated slave pseudo terminal by checking the
4243 device number.
4244 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
4245 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
4246
4247 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4248
4249 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
4250 underscore in _llseek entry.
4251
4252 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
4253 entry.
4254
4255 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
4256 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
4257
4258 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
4259 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4260
4261 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4262
4263 * inet/Makefile (routines): Add getipnodebynm.
4264 * inet/getipnodebynm.c: New file.
4265 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
4266 interface type.
4267 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4268 EXTRA_ARGS_VALUE is not already done.
4269 (internal_getent): Allow extra parameters and pass them to parse_line.
4270 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
4271 (_nss_files_get##name##_r): Likewise.
4272 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
4273 and EXTRA_ARGS_VALUE to pass flags and type to parser.
4274 Add getipnodebyname function.
4275 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4276 EXTRA_ARGS_VALUE is not already done.
4277 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
4278 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
4279 to parse_line.
4280 (_nss_db_get##name##_r): Pass extra parameters to lookup.
4281 (_nss_db_get,ENTNAME_r): Likewise.
4282 * sysdeps/generic/if_index.c (__protocol_available): New function.
4283 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4284
4285 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
4286
4287 * login/pty-private.h: Move to...
4288 * sysdeps/generic/pty-private.h: ...here.
4289 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
4290 version.
4291 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
4292 available.
4293
4294 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
4295 of __overflow.
4296
4297 * conform/conformtest.pl (@headers): Add monetary.h-data,
4298 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
4299 * conform/data/monetary.h-data: New file.
4300 * conform/data/mqueue.h-data: New file.
4301 * conform/data/ndbm.h-data: New file.
4302 * conform/data/nl_types.h.h-data: New file.
4303 * conform/data/poll.h-data: New file.
4304
4305 * stdio-common/Makefile (test): Add tst-cookie.
4306 * stdio-common/tst-cookie.c: New file.
4307
4308 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
4309 changed in last patch. Reported by Ralf Baechle.
4310
4311 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4312
4313 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
4314
4315 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
4316 Patches by Ralf Baechle <ralf@uni-koblenz.de>
4317
4318 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4319
4320 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
4321 Linux 2.3.15.
4322
4323 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
4324
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
4326 syscall.
4327 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4328
4329 * misc/libgen.h: Don't take basename macro as taking arguments.
4330
4331 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
4332 for gcc >= 2.95.
4333 * sysdeps/i386/bits/huge_val.h: Likewise.
4334 * sysdeps/i386/bits/huge_val.h: Likewise.
4335 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4336 * sysdeps/m68k/bits/huge_val.h: Likewise.
4337 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4338 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
4339
4340 * conform/Makefile: New file.
4341 * conform/conformtest.pl: New file.
4342 * conform/data/aio.h-data: New file.
4343 * conform/data/assert.h-data: New file.
4344 * conform/data/cpio.h-data: New file.
4345 * conform/data/ctype.h-data: New file.
4346 * conform/data/dirent.h-data: New file.
4347 * conform/data/dlfcn.h-data: New file.
4348 * conform/data/errno.h-data: New file.
4349 * conform/data/fcntl.h-data: New file.
4350 * conform/data/float.h-data: New file.
4351 * conform/data/fmtmsg.h-data: New file.
4352 * conform/data/fnmatch.h-data: New file.
4353 * conform/data/ftw.h-data: New file.
4354 * conform/data/glob.h-data: New file.
4355 * conform/data/grp.h-data: New file.
4356 * conform/data/iconv.h-data: New file.
4357 * conform/data/inttypes.h-data: New file.
4358 * conform/data/iso646.h-data: New file.
4359 * conform/data/langinfo.h-data: New file.
4360 * conform/data/libgen.h-data: New file.
4361 * conform/data/locale.h-data: New file.
4362 * conform/data/math.h-data: New file.
4363
4364 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4365
4366 * posix/execvp.c (execvp): Correct copying of file name.
4367
4368 1999-08-23 Mark Kettenis <kettenis@gnu.org>
4369
4370 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
4371
4372 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4373
4374 * stdio-common/Makefile: Move addition to routines to the right place.
4375
4376 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4377
4378 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
4379 since mips*-linux has ECANCELED.
4380
4381 1999-08-23 Andreas Schwab <schwab@suse.de>
4382
4383 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
4384 SIGCONTEXT_EXTRA_ARGS.
4385 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4386 * sysdeps/generic/sigcontextinfo.h: Likewise.
4387 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4388 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4389 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4391 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4393
4394 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4395
4396 * posix/regexbug1.c: Make it an error if the test fails.
4397
4398 1999-08-23 Andreas Schwab <schwab@suse.de>
4399
4400 * posix/regex.c (re_match_2_internal): Correct check for charset
4401 after exactn in loop.
4402
4403 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
4404
4405 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
4406 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4407 Patch by Joel Klecker.
4408
4409 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
4410 (__gconv_find_transform): Update prototype.
4411 (__gconv_open): Likewise.
4412 * iconv/gconv_open.c: Take extra parameter and pass it to
4413 __gconv_find_transform.
4414 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
4415 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
4416 transformation.
4417 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
4418 * wcsmbs/wcsmbsload.c: Likewise.
4419 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
4420 iconv for glibc.
4421 * intl/gettextP.h: Likewise.
4422 * intl/loadmsgcat.c: Likewise.
4423
4424 * posix/regexbug1.c: New file.
4425 * posix/Makefile (tests): Add regexbug1.
4426
4427 1999-08-22 Mark Kettenis <kettenis@gnu.org>
4428
4429 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
4430 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
4431 installing PORT in the descriptor cell.
4432
4433 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
4434
4435 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
4436 TIMEOUT as outputs of the asm to indicate that the signal thread
4437 might mutate them.
4438 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
4439 mach_msg if only sending or only receiving (i.e., not an RPC). When
4440 making an RPC that might get interrupted, save OPTION and the portion
4441 of the message buffer that gets clobbered by an EINTR reply message,
4442 and properly restore them before attempting to retry the request
4443 message send.
4444
4445 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4446
4447 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
4448 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
4449 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
4450 stdio is used instead of libio.
4451 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
4452 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
4453 to make the code compile again when stdio is used instead of
4454 libio.
4455 (vfprintf): Only check for correct orientation if ORIENT is
4456 defined.
4457 * stdio-common/Makefile (routines): Only add vfwprintf and
4458 vfwscanf if we're using libio.
4459
4460 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4461
4462 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
4463 any additional prototype just as we do for libio.
4464
4465 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4466
4467 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
4468 TZNAME_MAX. These limits are not X/Open specific.
4469 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
4470 is defined.
4471
4472 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4473
4474 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
4475 UIO_MAXIOV is left undefined in sys/uio.h.
4476 * stdio-common/stdio_lim.h.in: Adapt for change above.
4477
4478 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4479
4480 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
4481 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
4482 Patches by Ralf Baechle <ralf@uni-koblenz.de>
4483
4484 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
4485
4486 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
4487
4488 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
4489
4490 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
4491
4492 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
4493 call. It should not be necessary andis harmful for Alpha.
4494
4495 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
4496 type. [PR libc/1269]
4497
4498 * posix/execvp.c (execvp): Allocate array name of correct size.
4499 Optimize inner loop. Use execve directly, not execv.
4500
4501 * elf/elf.h: Corrected SHT_ values from new draft.
4502
4503 * intl/gettextP.h (struct loaded_domain): Add conv element.
4504 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
4505 Instead of returning found message directly convert it using iconv
4506 if a conversion was found when opening the file.
4507 * intl/loadinfo.h: Protect against multiple inclusion.
4508 Declare _nl_find_msg.
4509 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
4510 in the message file and if necessary find approrpiate
4511 conversion to match currently selected charset.
4512 * include/libintl.h: Declare __dgettext and __dcgettext.
4513 * include/iconv.h: New file.
4514
4515 1999-08-20 Andreas Schwab <schwab@suse.de>
4516
4517 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4518
4519 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
4520
4521 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
4522 all threads [PR libc/1223].
4523
4524 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
4525 [PR libc/1165].
4526
4527 * configure.in: Search for programs with prefix gnu* and g* first.
4528 [PR libc/1104].
4529
4530 * dirent/Makefile (routines): Add getdents64.
4531 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
4532 Remove getdents64.
4533 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
4534 compiled with _FILE_OFFSET_BITS=64.
4535 * sysdeps/generic/getdents64.c: New file.
4536 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
4537 __lseek for getdirentries64 definition.
4538
4539 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
4540
4541 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
4542 _FILE_OFFSET_BITS=64.
4543
4544 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
4545 parameter.
4546
4547 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
4548 after we have the lock.
4549
4550 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
4551 Patch by Richard Henderson.
4552
4553 1999-08-19 Andreas Schwab <schwab@suse.de>
4554
4555 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
4556 and call _IO_fwide, to get the wide stream state initialized
4557 correctly. Don't set _IO_JUMPS.
4558 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
4559 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
4560 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
4561 directly.
4562
4563 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4564
4565 * math/libm-test.c (jn_test): Fix typo in description.
4566 (erfc_test): Add some more tests.
4567 (erf_test): Add some more tests.
4568
4569 1999-08-19 Andreas Schwab <schwab@suse.de>
4570
4571 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
4572 expression using $(exceptions).
4573
4574 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
4575
4576 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
4577
4578 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
4579 allocated so far. [PR libc/1261].
4580
4581 * math/libm-test.c (j0_test): Adjust deltas for m68k.
4582 (jn_test): Likewise.
4583
4584 * dirent/dirent.h: Only define ino64_t if not already done.
4585 * posix/sys/types.h: Likewise.
4586
4587 * ctype/ctype.h: Avoid useless #endif #if pairs.
4588
4589 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
4590 (seekdir): Fix type of second parameter.
4591 * sysdeps/generic/seekdir.c: Likewise.
4592 * sysdeps/mach/hurd/seekdir.c: Likewise.
4593 * sysdeps/unix/seekdir.c: Likewise.
4594
4595 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
4596
4597 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4598
4599 * manual/install.texi (Configuring and compiling): Clarify ix86
4600 situation.
4601
4602 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
4603
4604 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
4605 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
4606 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
4607 stdio_lim.h. Define LONG_BIT and WORD_BIT.
4608
4609 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
4610
4611 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
4612
4613 * misc/search.h: Don't define NULL.
4614
4615 * posix/sys/types.h: Define blksize_t if it hasn't happened.
4616 Only define key_t and blkcnt_t if it hasn't happened before.
4617 Define blksize_t if not happened before.
4618 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
4619 * sysdeps/generic/bits/types.h: Define __blksize_t.
4620 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4621 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4622 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4623 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4624 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4625 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
4626 st_blksize member.
4627 (struct stat64): Likewise.
4628 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4629 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4630 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4631 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4632 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4633 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
4634 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4635
4636 * stdlib/getsubopt.c: Correct type of second argument.
4637 * stdlib/stdlib.h: Likewise.
4638
4639 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
4640 and ssize_t.
4641
4642 * sysdeps/generic/putenv.c: Correct type of parameter.
4643 * stdlib/stdlib.h: Likewise.
4644
4645 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
4646 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4647 * sysvips/sys/msg.h: Likewise.
4648
4649 * sysdeps/generic/semop.c: Correct type of third parameter.
4650 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4651 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
4652 size_t.
4653
4654 * sysdeps/generic/shmget.c: Correct type of second parameter.
4655 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
4656 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
4657 Declare __getpagesize here.
4658
4659 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
4660 sys/types.h.
4661 * sysdeps/gnu/bits/ipc.h: Likewise.
4662 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4663 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4664 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4665 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
4666 already done.
4667
4668 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
4669
4670 * debug/versions: Export __cyg_profile_func_enter and
4671 __cyg_profile_func_exit.
4672
4673 * math/bits/mathcalls.h: Pretty print.
4674
4675 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
4676
4677 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
4678 case for new tzdata.
4679
4680 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
4681 unsigned.
4682 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4683 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4684 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4685 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4686
4687 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
4688
4689 * sysdeps/generic/ualarm.c (ualarm): Change return value and
4690 parameter type to useconds_t.
4691 * sysdeps/unix/bsd/ualarm.c: Likewise.
4692
4693 * sysdeps/generic/usleep.c (usleep): Change parameter type to
4694 useconds_t.
4695 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
4696 * sysdeps/mach/usleep.c: Likewise.
4697
4698 * locale/weight.h: Include <errno.h>.
4699
4700 * posix/sys/types.h: Define type useconds_t if not done already.
4701 * posix/unistd.h: Likewise. Use this in ualarm and usleep
4702 declarations.
4703 * sysdeps/generic/bits/types.h: Define type __useconds_t.
4704 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4705 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4707 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4708 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4709
4710 * dirent/dirent.h (telldir): Change return type to long int.
4711 * sysdeps/generic/telldir.c: Likewise.
4712 * sysdeps/mach/hurd/telldir.c: Likewise.
4713 * sysdeps/unix/telldir.c: Likewise.
4714 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
4715
4716 * locale/weight.h: Set errno if an invalid character is found.
4717
4718 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4719
4720 * math/libm-test.c (erfc_test): Add test for example from PR
4721 libc/1259.
4722 (erf_test): Likewise.
4723
4724 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
4725
4726 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
4727 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
4728
4729 * timezone/private.h: Update from tzcode1999e.
4730 * timezone/zic.c: Likewise.
4731
4732 * timezone/africa: Update from tzdata1999e.
4733 * timezone/antarctica: Likewise.
4734 * timezone/asia: Likewise.
4735 * timezone/australasia: Likewise.
4736 * timezone/europe: Likewise.
4737 * timezone/leapseconds: Likewise.
4738 * timezone/northamerica: Likewise.
4739 * timezone/southamerica: Likewise.
4740
4741 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
4742 and write correct number of bytes in case of %ls with precision.
4743 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4744
4745 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
4746
4747 * nscd/nscd.init: Test for kernel version and make LSB compliant.
4748 Patch by Christian Gafton.
4749
4750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
4751 O_RSYNC. Patch by Christian Gafton.
4752
4753 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
4754 possibly unterminated strings for %ls when a precision is
4755 specified.
4756 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
4757
4758 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
4759 update_conversion_ptrs.
4760 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4761
4762 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4763
4764 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
4765 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4766
4767 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
4768 * wcsmbs/tst-wcsnlen.c: New file.
4769
4770 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4771
4772 * libio/ioputs.c (_IO_puts): Add missing brace.
4773
4774 1999-07-20 Geoff Keating <geoffk@cygnus.com>
4775
4776 * math/libm-test.c: Tweak deltas for a clean run on ppc.
4777
4778 1999-08-10 H.J. Lu <hjl@gnu.org>
4779
4780 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
4781 (vfprintf): Likewise.
4782 * stdio-common/vfscanf.c (ORIENT): Likewise.
4783 * libio/genops.c (__underflow): Likewise.
4784 (__uflow): Likewise.
4785 * libio/iofputs.c (_IO_fputs): Likewise.
4786 * libio/ioftell.c (_IO_ftell): Likewise.
4787 * libio/iofwrite.c (_IO_fwrite): Likewise.
4788 * libio/ioputs.c (_IO_puts): Likewise.
4789 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4790 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4791
4792 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4793
4794 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
4795
4796 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4797
4798 * manual/job.texi (Process Group Functions): Document getpgid,
4799 getsid.
4800
4801 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4802
4803 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
4804 initialize si_pid from it.
4805 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
4806 parameter.
4807 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
4808 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
4809 (struct requestlist): Likewise.
4810 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
4811 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
4812 to __aio_sigqueue.
4813 (__aio_notify): Pass caller PID to __aio_notify_only.
4814 * rt/aio_suspend.c: Initialize caller_pid.
4815 * rt/lio_listio.c: Likewise.
4816 * rt/lio_listio64.c: Likewise.
4817
4818 * rt/lio_listio.c: If nothing has to be done free mutex before
4819 signalling.
4820 * rt/lio_listio64.c: Likewise.
4821
4822 1999-08-10 H.J. Lu <hjl@gnu.org>
4823
4824 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
4825 handling.
4826
4827 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4828
4829 * elf/elf.h: Define ElfXX_Versym.
4830 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
4831 definition.
4832
4833 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
4834 for string output correctly in the wide character case.
4835 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
4836
4837 * intl/locale.alias: Add catalan.
4838
4839 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4840
4841 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
4842
4843 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4844
4845 * po/pt_BR.po: New file.
4846
4847 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4848
4849 * math/libm-test.c (yn_test): Adjust deltas for i386.
4850 (ccosh_test): Likewise.
4851 (jn_test): Likewise.
4852
4853 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4854
4855 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
4856
4857 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
4858
4859 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
4860 problem.
4861
4862 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4863
4864 * configure.in: install-sh lives now in scripts subdir.
4865 PR libc/1255 (bug 4).
4866
4867 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
4868
4869 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
4870 version.
4871
4872 * po/fr.po: Update.
4873
4874 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
4875
4876 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
4877
4878 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
4879
4880 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
4881 exponent.
4882
4883 1999-08-10 Andreas Schwab <schwab@suse.de>
4884
4885 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
4886 header.
4887
4888 1999-08-09 Scott Bambrough <scottb@netwinder.org>
4889
4890 * elf/elf.h: Added definition of ELFOSABI_ARM.
4891 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
4892 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
4893 object's header and ABI values are acceptable.
4894 (VALID_ELF_HEADER): New macro; provide default definition.
4895 (VALID_ELF_OSABI): New macro; provide default definition.
4896 (VALID_ELF_ABIVERSION): New macro; provide default definition.
4897 * sysdeps/arm/dl-machine.h Define ARM specific versions of
4898 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
4899
4900 1999-08-09 Andreas Schwab <schwab@suse.de>
4901
4902 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
4903
4904 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
4905
4906 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
4907
4908 1999-08-09 Andreas Schwab <schwab@suse.de>
4909
4910 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
4911
4912 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
4913
4914 * sysdeps/ieee754/ieee754.h: Handle platforms with special
4915 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
4916
4917 * string/bits/string2.h: Mark void* operations as extensions.
4918 * sysdeps/i386/i486/bits/string.h: Likewise.
4919
4920 * debug/Makefile (routines): Add noophooks.
4921 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
4922 * debug/noophooks.c: New file.
4923 * debug/pcprofile.c: New file.
4924
4925 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
4926
4927 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
4928 systems which allow using the functions also on non-seekable
4929 devices.
4930
4931 * resolv/res_send.c (res_send): Recompute timeout for poll for
4932 each jump to `wait'.
4933
4934 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
4935 braces to avoid warnings.
4936 (IN6ADDR_LOOPBACK_INIT): Likewise.
4937
4938 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
4939 MSG_DONTWAIT).
4940
4941 1999-08-06 H.J. Lu <hjl@gnu.org>
4942
4943 * malloc/malloc.c: Initialize __libc_pagesize early.
4944
4945 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
4946
4947 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
4948 defining it.
4949
4950 * inet/Makefile (tests): Add tst-ipnode.
4951 * inet/tst-ipnode.c: New file.
4952
4953 1999-08-06 Andreas Schwab <schwab@suse.de>
4954
4955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
4956 New definitions.
4957 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
4958 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
4959 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
4960 New definitions.
4961 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
4962 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
4963
4964 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
4965
4966 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
4967 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
4968 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
4969
4970 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
4971
4972 * resolv/res_send.c (res_send): Don't test file descriptor for
4973 range, we use poll now. [PR libc/1240]
4974
4975 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
4976
4977 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
4978 2.0 defined if they are not available.
4979
4980 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
4981
4982 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
4983 Define.
4984
4985 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
4986
4987 * rt/aio_read.c: Fix return value.
4988 * rt/aio_read64.c: Likewise.
4989 Reported by Christian Gafton.
4990
4991 * rt/aio_write.c: Fix return value.
4992 * rt/aio_write64.c: Likewise.
4993 * rt/aio_fsync.c: Likewise.
4994
4995 * rt/aio_misc.c: Set errno at correct place.
4996
4997 * rt/aio_fsync.c: Test OP parameter for correct values.
4998
4999 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
5000
5001 1999-08-04 Andreas Schwab <schwab@suse.de>
5002
5003 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
5004 Initialize result to one.
5005 (GET_NPROCS_CONF_PARSER): Likewise.
5006
5007 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
5008
5009 * inet/ether_hton.c: Pass errno pointer to NSS function.
5010 * inet/getnetgrent_r.c: Likewise.
5011 Reported by Marty Leisner <leisner@rochester.rr.com>.
5012
5013 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5014
5015 * nis/nis_callback.c: Fix port problem on big-endian machines
5016 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
5017 fields are always 32 bit.
5018 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
5019
5020 * nis/nss_nis/nis-service.c: Remove htons, port is always in
5021 network-byte-order.
5022 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
5023
5024 1999-08-03 Andreas Schwab <schwab@suse.de>
5025
5026 * sysdeps/posix/sigset.c: Unblock the signal after setting its
5027 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
5028 avoid two calls to sigprocmask.
5029
5030 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5031
5032 * sysdeps/generic/s_nexttowardf.c: Fix typo.
5033
5034 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
5035
5036 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
5037 Only allow rt signal frames. No SA_SIGINFO signals will have the
5038 siginfo_t just not filled out with SI_NOINFO code.
5039 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
5040 (register_dump): Take the above change into account.
5041 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
5042 (rt_signal_frame): Likewise.
5043
5044 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
5045
5046 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5047
5048 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
5049 instead of select().
5050
5051 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5052
5053 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
5054 nexttoward so something else so that aliasing works.
5055
5056 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5057
5058 * sysdeps/generic/math_ldbl.h: Fix typo.
5059 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
5060 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
5061
5062 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5063
5064 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
5065
5066 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
5067
5068 * elf/Makefile (tests): Add resolvfail. Add rules to build the
5069 program.
5070 * elf/resolvfail.c: New file.
5071
5072 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
5073 pass it to _dl_lookup_symbol.
5074
5075 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
5076 bit. Reword message.
5077
5078 * dlfcn/dlerror.c: Make code thread-safe.
5079
5080 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
5081
5082 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
5083 initializer in CHECK: a bit size, not the type code repeated!
5084
5085 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5086
5087 * string/tester.c: Add tests with constant arguments for strcpy
5088 and stpcpy.
5089
5090 1999-07-31 H.J. Lu <hjl@gnu.org>
5091
5092 * string/bits/string2.h (__strcpy_small): Fix a typo.
5093
5094 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5095
5096 * Makeconfig (link-libc): Always define it, not only for shared
5097 builds.
5098
5099 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
5100 * sysdeps/i386/fpu/e_powf.S: Likewise.
5101 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
5102
5103 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
5104 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
5105
5106 1999-07-30 Andreas Schwab <schwab@suse.de>
5107
5108 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
5109 definition.
5110 (__get_nprocs): Use it.
5111 (__get_nprocs_conf): Define as separate function if
5112 GET_NPROCS_CONF_PARSER is defined.
5113 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
5114
5115 * include/sys/sysinfo.h: New file.
5116 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
5117 interface.
5118 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5119
5120 1999-07-30 H.J. Lu <hjl@gnu.org>
5121
5122 * libio/iofflush.c (fflush_unlocked): Weak aliase if
5123 _IO_MTSAFE_IO is not defined.
5124 * libio/clearerr.c (clearerr_unlocked): Likewise.
5125 * libio/feof.c (feof_unlocked): Likewise.
5126 * libio/ferror.c (ferror_unlocked): Likewise.
5127 * libio/fputc.c (fputc_unlocked): Likewise.
5128 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
5129 * libio/getchar.c (getchar_unlocked): Likewise.
5130 * libio/putc.c (putc_unlocked): Likewise.
5131 * libio/putchar.c (putchar_unlocked): Likewise.
5132
5133 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
5134
5135 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
5136 svc_max_pollfd and svc_pollfd to GLIBC_2.2
5137 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
5138 for svc_run/poll interface.
5139 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
5140 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
5141 global variable.
5142 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
5143 rewrite other svc_getreq* functions to use svc_getreq_common.
5144 * sunrpc/svc_run.c: Use poll().
5145
5146 1999-07-30 Andreas Schwab <schwab@suse.de>
5147
5148 * Makerules: Put sysd-versions and Versions.all on
5149 postclean-generated instead of common-generated.
5150
5151 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5152
5153 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
5154 around and CLOCKS_PER_SEC is 1e6.
5155
5156 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
5157
5158 * configure.in: Add test for local label subtraction.
5159 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
5160 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
5161 labels to reduce number of runtime relocations and move jump
5162 tables in read-only seciton.
5163
5164 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
5165 assignment cannot be moved.
5166
5167 1999-07-29 H.J. Lu <hjl@gnu.org>
5168
5169 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
5170 if no threads are used.
5171
5172 * libio/iofwrite.c: Add weak alias for _unlocked function if not
5173 _IO_MTSAFE_IO.
5174 * libio/iofread.c: Likewise.
5175 * libio/iofgets.c: Likewise.
5176 * libio/iofputs.c: Likewise.
5177
5178 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
5179 definition.
5180
5181 * stdlib/mbtowc.c: Include <string.h>.
5182 * stdlib/wctomb.c: Likewise.
5183 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5184 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5185
5186 * misc/mntent_r.c: Include <alloca.h>.
5187 * elf/dl-runtime.c: Likewise.
5188
5189 1999-07-29 Andreas Schwab <schwab@suse.de>
5190
5191 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
5192 all floating point formats supported by gcc. Error out for
5193 unhandled precisions.
5194 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
5195 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
5196 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
5197
5198 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
5199
5200 * sysdeps/generic/setenv.c: Move setenv code in new function
5201 __add_to_environ. Add new parameter specifying already
5202 constructed string for the environment.
5203 (setenv): Call __add_to_environ with new parameter set to NULL.
5204 (unsetenv): Really test all elements for duplicated name. Missed those
5205 cases where the two are following each other.
5206 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
5207 * include/stdlib.h: Add prototype of __add_to_environ.
5208 * stdlib/tst-environ.c: New file.
5209 * stdlib/Makefile (tests): Add tst-environ.
5210
5211 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
5212
5213 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
5214 argument in realloc call.
5215 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
5216 Likewise.
5217 Reported by Danny Braniss <danny@cs.huji.ac.il>.
5218
5219 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5220
5221 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
5222 to print.
5223 * misc/efgcvt_r.c: Likewise.
5224 * misc/qefgcvt.c: Likewise.
5225 * misc/qefgcvt_r.c: Likewise.
5226 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
5227 anymore.
5228
5229 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5230
5231 * manual/math.texi (FP Function Optimization): Mention drawbacks.
5232
5233 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5234
5235 * stdlib/mblen.c: Use static state.
5236 Reported by Bruno Haible <haible@ilog.fr>.
5237
5238 * stdlib/mbtowc.c: Reset state for s == NULL.
5239 * stdlib/wctomb.c: Likewise.
5240 Reported by Bruno Haible <haible@ilog.fr>.
5241
5242 * stdlib/mbstowcs.c: Do not use global state.
5243 Reported by Bruno Haible <haible@ilog.fr>.
5244
5245 1999-07-28 Andeas Schwab <schwab@suse.de>
5246
5247 * iconvdata/Makefile: Don't try to run iconv tests when cross
5248 compiling.
5249
5250 1999-07-27 Mark Kettenis <kettenis@gnu.org>
5251
5252 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
5253 assembler code to switch stacks and call init1 outside this
5254 function. Inside `init' the code was optimized away by gcc
5255 2.95 since it was "clearly" unreachable.
5256 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5257 Do something similar for the trampoline code.
5258
5259 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
5260
5261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
5262 for the hinted protocol.
5263
5264 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5265
5266 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
5267
5268 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5269
5270 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
5271 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
5272 * elf/dl-load.c (_dl_map_object): Likewise.
5273 * elf/do-lookup.h (do_lookup*): Likewise.
5274 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
5275 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
5276 as uint64_t.
5277 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
5278
5279 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5280
5281 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
5282 * sysdeps/generic/getpgrp.c: Likewise.
5283 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
5284 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
5285 Patch by John Tobey <jtobey@banta-im.com>.
5286
5287 * sysdeps/posix/wait3.c: Help compiling in presence of
5288 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
5289
5290 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5291
5292 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
5293 as much as possible. Declare them using .register pseudo-op if they
5294 are still used.
5295 * sysdeps/sparc/sparc64/lshift.S: Likewise.
5296 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5297 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5298 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5299 * sysdeps/sparc/sparc64/memset.S: Likewise.
5300 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5301 * sysdeps/sparc/sparc64/rshift.S: Likewise.
5302 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
5303 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5304 * sysdeps/sparc/sparc64/strcat.S: Likewise.
5305 * sysdeps/sparc/sparc64/strchr.S: Likewise.
5306 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
5307 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
5308 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
5309 * sysdeps/sparc/sparc64/strlen.S: Likewise.
5310 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5311 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5312 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
5313 * sysdeps/sparc/sparc64/strspn.S: Likewise.
5314 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
5315 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5316 Optimize trampoline code for .plt4-.plt32767.
5317 Fix trampolines for .plt32768+.
5318
5319 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5320
5321 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
5322 -mcpu=v8.
5323 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
5324 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
5325 libc's private use (as assembly routine clobber it anyway).
5326
5327 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5328
5329 * README.template (configurations): The crypt add-on has a new
5330 ftp site.
5331 * manual/install.texi (Installation): Likewise.
5332
5333 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5334
5335 * time/time.h: Add forward for struct sigevent. Unix98 maybe
5336 requires to have a full definition but we wait for a bug report
5337 based on the test suite.
5338
5339 * sysdeps/generic/clock_getres.c: New file.
5340 * sysdeps/generic/clock_gettime.c: New file.
5341 * sysdeps/generic/clock_settime.c: New file.
5342 * sysdeps/generic/timer_create.c: New file.
5343 * sysdeps/generic/timer_delete.c: New file.
5344 * sysdeps/generic/timer_getoverr.c: New file.
5345 * sysdeps/generic/timer_gettime.c: New file.
5346 * sysdeps/generic/timer_settime.c: New file.
5347
5348 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
5349 CLOCK_REALTIME, and TIMER_ABSTIME.
5350 * sysdeps/mach/hurd/bits/time.h: Likewise.
5351 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5352 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5353
5354 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
5355
5356 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
5357 si_timer2.
5358
5359 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
5360
5361 * time/Makefile (routines): Add clock_getres, clock_gettime,
5362 clock_setres, timer_create, timer_delete, timer_getoverr,
5363 timer_gettime, and timer_settime.
5364
5365 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
5366 POSIX.1b. Add prototypes for clock and timer functions.
5367
5368 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
5369
5370 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
5371 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
5372
5373 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5374
5375 * stdlib/wcstombs.c: Do not use global state.
5376 Reported by Bruno Haible <haible@ilog.fr>.
5377
5378 * wcsmbs/wctob.c: Avoid sign extension when returning character.
5379 Reported by Bruno Haible <haible@ilog.fr>.
5380
5381 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
5382 of wide characters to convert do it right and don't overestimate
5383 by multiplying with MB_CUR_MAX.
5384 Reported by Bruno Haible <haible@ilog.fr>.
5385
5386 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
5387
5388 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
5389 (__stpcpy_small): Likewise.
5390 Union has no __uc member but __c.
5391
5392 1999-07-26 Andreas Schwab <schwab@suse.de>
5393
5394 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
5395
5396 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
5397
5398 * libio/iofclose.c (_IO_new_fclose): Only fall back on
5399 _IO_old_fclose if doing versioning.
5400
5401 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
5402 them appropriately.
5403 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5404
5405 * misc/mntent_r.c: Allow spaces and tabs in entry names by
5406 encoding these characters.
5407 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
5408
5409 * string/bits/string2.h: Fix aliasing problems.
5410 * sysdeps/i386/i486/bits/string.h: Likewise.
5411 * sysdeps/i386/bits/string.h: Likewise.
5412
5413 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
5414
5415 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
5416 * elf/rtld.c (dl_main): Don't call malloc() between
5417 re-relocating the dynamic linker and running the application's crt0.
5418
5419 1999-07-21 Paul D. Smith <psmith@gnu.org>
5420
5421 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
5422 glob.h to get __P() macro.
5423
5424 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
5425 not ANSI.
5426 (__strchrnul): This won't exist outside GLIBC, so create one.
5427
5428 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5429
5430 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
5431 __ino64_t should be 32bit unsigned type on sparc32.
5432 Define __off64_t to __quad_t instead of __int64_t.
5433 Make __pic_pid_t unsigned on sparc32.
5434
5435 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5436
5437 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
5438 in bash 2.03.
5439
5440 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
5441
5442 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
5443 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
5444
5445 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
5446
5447 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
5448 accesses.
5449
5450 * resolv/res_send.c: Add locks for res_send and res_close use.
5451
5452 * elf/Makefile (dl-routines): Add preinit.
5453 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
5454 * elf/link.h (struct link_map): Add new field l_preinitcount.
5455 * elf/dl-preinit.c: New file.
5456 * elf/dynamic-link.h: Initialize l_preinitcount.
5457 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
5458
5459 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
5460 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
5461 and l_initcount.
5462 * elf/dl-init.c: Handle DT_INIT_ARRAY.
5463 * elf/dynamic-link.h: Change parameters. Now only get link_map
5464 pointer. Calculate l_initcount.
5465
5466 * elf/link.h (struct link_map): Add l_runpath_dirs.
5467 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
5468 * elf/dl-load.c: Pretty print.
5469 (decompose_rpath): Take new parameter with info from where the path
5470 comes. Pass it the fillin_rpath.
5471 (_dl_init_paths): Initialize l_runpath_dirs.
5472 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
5473 Search using RUNPATH after LD_LIBRARY_PATH.
5474 * elf/dl-support.c: Adjust comment.
5475 * elf/rtld.c: Adjust help message.
5476
5477 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5478
5479 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
5480 interface.
5481
5482 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
5483
5484 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
5485 match BSD value; previous value of 1<<8 was a typo. I bet nothing
5486 ever used this, so I'm not going to worry about compatibility.
5487 [__USE_GNU] (IUCLC, OLCUC): New macros.
5488
5489 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
5490
5491 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
5492
5493 * elf/elf.h: Add ET_LOOS and ET_HIOS.
5494 Add various EM_* constants.
5495 Add SHN_LOOS and SHN_HIOS.
5496 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
5497 Add SHF_MERGE and SHF_STRINGS.
5498 (ElfXX_Sym): Update description of st_other field.
5499 Add STT_COMMON.
5500 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
5501 Add STV_* macros.
5502 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
5503 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
5504 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
5505
5506 * posix/unistd.h: Move declaration of __libc_enable_secure to...
5507 * include/unistd.h: ...here.
5508
5509 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
5510 * elf/dl-deps.c (expand_dst): Likewise.
5511
5512 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
5513 based on DT_FLAGS value.
5514
5515 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
5516 Add test for symbols marked STV_HIDDEN.
5517 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
5518 add undef_map. Compute reference_name locally. Update call to
5519 do_lookup.
5520 (_dl_lookup_symbol_skip): Likewise.
5521 (_dl_lookup_versioned_symbol): Likewise.
5522 (_dl_lookup_versioned_symbol_skip): Likewise.
5523 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
5524 * elf/dl-runtime.c: Likewise.
5525 * elf/dl-sym.c: Likewise.
5526 * elf/dl-symbol.c: Likewise.
5527 * elf/ldsodefs.h: Adjust prototypes.
5528
5529 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
5530 handle appropriately. Add comment about DT_TEXTREL.
5531 * elf/dl-runtime.c: Likewise.
5532
5533 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
5534
5535 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
5536 * elf/ldsodefs.h: Declare it.
5537 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
5538 instead of assert.
5539 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
5540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5541 (elf_machine_lazy_rel): Likewise.
5542 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
5543 (elf_machine_lazy_rel): Likewise.
5544 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
5545 (elf_machine_lazy_rel): Likewise.
5546 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5547 (elf_machine_lazy_rel): Likewise.
5548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5549 (elf_machine_lazy_rel): Likewise.
5550 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
5551 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
5552 (elf_machine_lazy_rel): Likewise.
5553 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5554 (elf_machine_lazy_rel): Likewise.
5555 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
5556 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
5557 _dl_reloc_bad_type instead of _dl_signal_error.
5558 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
5559
5560 1999-07-20 Mark Kettenis <kettenis@gnu.org>
5561
5562 * sysdeps/mach/_strerror.c: Include <libintl.h>.
5563
5564 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
5565
5566 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
5567 hurd_signal_preemptor matches but its `preemptor' field is null, use
5568 its `handler' field directly. This is to comply with behavior
5569 documented in <hurd/sigpreempt.h>.
5570
5571 1999-07-21 Andreas Schwab <schwab@suse.de>
5572
5573 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
5574 when reading from write-only stream.
5575 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
5576 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5577
5578 1999-07-21 Andreas Schwab <schwab@suse.de>
5579
5580 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
5581 NULL.
5582
5583 1999-07-21 Mark Kettenis <kettenis@gnu.org>
5584
5585 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
5586 <hurd/fd.h>.
5587 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
5588 <hurd/fd.h>.
5589 (__libc_write): Call __pwrite instead of __pread.
5590
5591 1999-07-20 Mark Kettenis <kettenis@gnu.org>
5592
5593 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
5594 __vm_allocate calls.
5595
5596 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
5597 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
5598
5599 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
5600 _hurd_fd_read with new OFFSET argument set to -1.
5601 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
5602 to -1.
5603
5604 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
5605
5606 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
5607 descriptor table sent in the RPC.
5608
5609 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5610
5611 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
5612 bill@taniwha.org [PR libc/1211].
5613
5614 1999-07-19 Andreas Schwab <schwab@suse.de>
5615
5616 * libio/Makefile (routines): Add fwprintf.
5617
5618 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
5619 * math/w_sqrt.c: Moved to ...
5620 * sysdeps/generic/w_sqrt.c: ... here.
5621 * math/w_sqrtf.c: Moved to ...
5622 * sysdeps/generic/w_sqrtf.c: ... here.
5623
5624 * Make-dist (generic-dirs): New variable.
5625 (try-sysdeps, +sysdep-names): Use it.
5626 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
5627 instead of $(lib)-routines.
5628 * elf/Makefile (distribute): Add dl-cache.h.
5629 * db2/Makefile (distribute): Add all new files.
5630 * iconvdata/Makefile (distribute): Don't distribute CVS
5631 directory.
5632 * math/Makefile (distribute): Remove machine/endian.h, add
5633 math_ldbl.h.
5634 * stdio-common/Makefile (distribute): Add _itowa.h.
5635 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
5636 * sysdeps/gnu/Dist: Add eval.c
5637 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
5638 dlfcn]: Add to this instead of libdl-routines.
5639 * sysdeps/ieee754/ldbl-128/Dist: New file.
5640 * sysdeps/mach/hurd/Dist: Add siglist.h
5641 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
5642
5643 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
5644
5645 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
5646
5647 * inet/Makefile (routines): Add getipnodebyad and freehostent.
5648 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
5649 * inet/freehostent.c: New file.
5650 * inet/getipnodebyad.c: New file.
5651 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
5652 and getipnodebyname. The latter comes soon.
5653 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
5654 Add support for getipnode* functions.
5655
5656 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
5657 Set h_aliases to NULL and not to a pointer to an array with a NULL
5658 pointer following XNS 5.2.
5659
5660 * posix/sched.h: Remove internal interfaces.
5661 * include/sched.h: Add internal interfaces.
5662
5663 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
5664
5665 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
5666
5667 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
5668 and return an error in this case.
5669 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
5670 available.
5671
5672 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5673
5674 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
5675 1999-07-17 and adjust len parameter.
5676 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5677 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
5678 * manual/socket.texi (Host Names): Likewise.
5679 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5680 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5681 Likewise.
5682 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5683 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5684 (ht_gethostbyaddr): Likewise.
5685 (_gethtbyaddr): Likewise.
5686
5687 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
5688
5689 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
5690 gethostbyaddr_r.
5691 * include/netdb.h: Likewise.
5692 * inet/gethstbyad.c: Correct type of len parameter.
5693 * inet/gethstbyad_r.c: Likewise.
5694
5695 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
5696
5697 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
5698
5699 * include/libc-symbol.h: Clean up definitions of weak_alias,
5700 strong_alias, symbol_version, etc. etc.
5701 * posix/getopt.h: Use ctype.h to get features.h included, and don't
5702 include it at all if __GNU_LIBRARY__ is already defined.
5703
5704 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
5705
5706 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
5707
5708 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
5709
5710 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
5711 type for tv_usec element.
5712 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5713 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
5714 * sysdeps/generic/bits/time.h: Likewise.
5715 * sysdeps/mach/hurd/bits/time.h: Likewise.
5716 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5717 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5718 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5719 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5720 * sysdeps/generic/bits/types.h: Likewise.
5721 * posix/sys/types.h: Define suseconds_t for X/Open.
5722
5723 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
5724
5725 * stdio-common/bug1.c: Avoid memory leak.
5726
5727 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
5728 program deterministic.
5729 * sysdeps/i386/fpu/e_powf.S: Likewise.
5730 * sysdeps/i386/fpu/e_powl.S: Likewise.
5731
5732 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
5733
5734 * math/Makefile: Add t_sincosl and k_sincosl support routines.
5735 * math/math_private.h (__kernel_sincosl): New declaration.
5736 * sysdeps/generic/t_sincosl.c: New file.
5737 * sysdeps/generic/k_sincosl.c: New file.
5738 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
5739 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
5740 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
5741 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
5742 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
5743 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
5744 __kernel_sincosl.
5745 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
5746 definition.
5747
5748 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
5749
5750 * posix/unistd.h: Use __PMT for exit.
5751
5752 1999-07-15 Philip Blundell <pb@nexus.co.uk>
5753
5754 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
5755 _outw, _outl): Added to GLIBC_2.1.2.
5756
5757 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
5758
5759 * posix/fnmatch.h: Use __name instead of __string in prototype to
5760 allow use outside glibc.
5761
5762 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
5763
5764 * time/tst-strptime.c (main): Add one more test case. Produce
5765 output even when result is ok.
5766
5767 * time/strptime.c (get_number): Handle number parsing more
5768 consistent with strftime. Only parse a given number of digits.
5769 (get_alt_number): Fix implementation. Was broken.
5770 (strptime_internal): Add third parameter to get_number and
5771 get_alt_number calls.
5772
5773 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
5774
5775 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
5776 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
5777 try both 32bit and 64bit dynamic linker.
5778 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
5779 script on all sparc targets.
5780
5781 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
5782
5783 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
5784 to int.
5785
5786 1999-07-13 Andreas Schwab <schwab@suse.de>
5787
5788 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
5789 inlining. Fixes PR libc/1198.
5790
5791 1999-07-14 Andreas Schwab <schwab@suse.de>
5792
5793 * Makerules (common-generated): Don't prepend $(common-objpfx).
5794
5795 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
5796
5797 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
5798 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
5799 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
5800 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
5801 macro.
5802 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5803 instead of ieee754.
5804 * sysdeps/arm/Implies: Likewise.
5805 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
5806 ieee754/ldbl-96 instead of ieee754.
5807 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
5808 * sysdeps/generic/e_atanhl.c: New file.
5809 * sysdeps/generic/e_coshl.c: New file.
5810 * sysdeps/generic/e_sinhl.c: New file.
5811 * sysdeps/generic/e_gammal_r.c: New file.
5812 * sysdeps/generic/e_hypotl.c: New file.
5813 * sysdeps/generic/s_cbrtl.c: New file.
5814 * sysdeps/generic/s_asinhl.c: New file.
5815 * sysdeps/generic/s_tanhl.c: New file.
5816 * sysdeps/generic/w_expl.c: New file.
5817 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5818 instead of ieee754.
5819 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
5820 ieee754/ldbl-96 instead of ieee754.
5821 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
5822 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
5823 printf_fphex.
5824 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5825 instead of ieee754.
5826 * sysdeps/mips/mips64/Implies: Likewise.
5827 * sysdeps/powerpc/Implies: Likewise.
5828 * sysdeps/sparc/Implies: Remove.
5829 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
5830 ieee754/dbl-64.
5831 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
5832 and ieee754/ldbl-128.
5833
5834 * sysdeps/sparc/bits/wordsize.h: Remove.
5835 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
5836 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
5837 only for sparc32.
5838 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
5839 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
5840 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
5841 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
5842 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
5843 support.
5844
5845 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
5846 of carries. Optimize.
5847
5848 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
5849 * sysdeps/generic/e_exp10.c: ...here.
5850 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
5851 * sysdeps/generic/e_exp10f.c: ...here.
5852 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
5853 * sysdeps/generic/e_exp10l.c: ...here.
5854 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
5855 * sysdeps/generic/e_scalb.c: ...here.
5856 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
5857 * sysdeps/generic/e_scalbf.c: ...here.
5858 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
5859 * sysdeps/generic/e_scalbl.c: ...here.
5860 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
5861 * sysdeps/generic/s_cacos.c: ...here.
5862 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
5863 * sysdeps/generic/s_cacosf.c: ...here.
5864 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
5865 * sysdeps/generic/s_cacosh.c: ...here.
5866 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
5867 * sysdeps/generic/s_cacoshf.c: ...here.
5868 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
5869 * sysdeps/generic/s_cacoshl.c: ...here.
5870 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
5871 * sysdeps/generic/s_cacosl.c: ...here.
5872 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
5873 * sysdeps/generic/s_casin.c: ...here.
5874 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
5875 * sysdeps/generic/s_casinf.c: ...here.
5876 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
5877 * sysdeps/generic/s_casinh.c: ...here.
5878 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
5879 * sysdeps/generic/s_casinhf.c: ...here.
5880 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
5881 * sysdeps/generic/s_casinhl.c: ...here.
5882 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
5883 * sysdeps/generic/s_casinl.c: ...here.
5884 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
5885 * sysdeps/generic/s_catan.c: ...here.
5886 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
5887 * sysdeps/generic/s_catanf.c: ...here.
5888 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
5889 * sysdeps/generic/s_catanh.c: ...here.
5890 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
5891 * sysdeps/generic/s_catanhf.c: ...here.
5892 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
5893 * sysdeps/generic/s_catanhl.c: ...here.
5894 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
5895 * sysdeps/generic/s_catanl.c: ...here.
5896 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
5897 * sysdeps/generic/s_ccos.c: ...here.
5898 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
5899 * sysdeps/generic/s_ccosf.c: ...here.
5900 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
5901 * sysdeps/generic/s_ccosh.c: ...here.
5902 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
5903 * sysdeps/generic/s_ccoshf.c: ...here.
5904 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
5905 * sysdeps/generic/s_ccoshl.c: ...here.
5906 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
5907 * sysdeps/generic/s_ccosl.c: ...here.
5908 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
5909 * sysdeps/generic/s_cexp.c: ...here.
5910 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
5911 * sysdeps/generic/s_cexpf.c: ...here.
5912 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
5913 * sysdeps/generic/s_cexpl.c: ...here.
5914 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
5915 * sysdeps/generic/s_clog.c: ...here.
5916 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
5917 * sysdeps/generic/s_clog10.c: ...here.
5918 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
5919 * sysdeps/generic/s_clog10f.c: ...here.
5920 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
5921 * sysdeps/generic/s_clog10l.c: ...here.
5922 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
5923 * sysdeps/generic/s_clogf.c: ...here.
5924 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
5925 * sysdeps/generic/s_clogl.c: ...here.
5926 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
5927 * sysdeps/generic/s_cpow.c: ...here.
5928 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
5929 * sysdeps/generic/s_cpowf.c: ...here.
5930 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
5931 * sysdeps/generic/s_cpowl.c: ...here.
5932 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
5933 * sysdeps/generic/s_cproj.c: ...here.
5934 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
5935 * sysdeps/generic/s_cprojf.c: ...here.
5936 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
5937 * sysdeps/generic/s_cprojl.c: ...here.
5938 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
5939 * sysdeps/generic/s_csin.c: ...here.
5940 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
5941 * sysdeps/generic/s_csinf.c: ...here.
5942 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
5943 * sysdeps/generic/s_csinh.c: ...here.
5944 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
5945 * sysdeps/generic/s_csinhf.c: ...here.
5946 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
5947 * sysdeps/generic/s_csinhl.c: ...here.
5948 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
5949 * sysdeps/generic/s_csinl.c: ...here.
5950 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
5951 * sysdeps/generic/s_csqrt.c: ...here.
5952 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
5953 * sysdeps/generic/s_csqrtf.c: ...here.
5954 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
5955 * sysdeps/generic/s_csqrtl.c: ...here.
5956 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
5957 * sysdeps/generic/s_ctan.c: ...here.
5958 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
5959 * sysdeps/generic/s_ctanf.c: ...here.
5960 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
5961 * sysdeps/generic/s_ctanh.c: ...here.
5962 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
5963 * sysdeps/generic/s_ctanhf.c: ...here.
5964 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
5965 * sysdeps/generic/s_ctanhl.c: ...here.
5966 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
5967 * sysdeps/generic/s_ctanl.c: ...here.
5968 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
5969 * sysdeps/generic/s_fdim.c: ...here.
5970 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
5971 * sysdeps/generic/s_fdimf.c: ...here.
5972 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
5973 * sysdeps/generic/s_fdiml.c: ...here.
5974 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
5975 * sysdeps/generic/s_fma.c: ...here.
5976 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
5977 * sysdeps/generic/s_fmaf.c: ...here.
5978 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
5979 * sysdeps/generic/s_fmal.c: ...here.
5980 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
5981 * sysdeps/generic/s_fmax.c: ...here.
5982 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
5983 * sysdeps/generic/s_fmaxf.c: ...here.
5984 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
5985 * sysdeps/generic/s_fmaxl.c: ...here.
5986 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
5987 * sysdeps/generic/s_fmin.c: ...here.
5988 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
5989 * sysdeps/generic/s_fminf.c: ...here.
5990 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
5991 * sysdeps/generic/s_fminl.c: ...here.
5992 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
5993 * sysdeps/generic/s_ldexp.c: ...here.
5994 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
5995 * sysdeps/generic/s_ldexpf.c: ...here.
5996 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
5997 * sysdeps/generic/s_ldexpl.c: ...here.
5998 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
5999 * sysdeps/generic/s_nan.c: ...here.
6000 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
6001 * sysdeps/generic/s_nanf.c: ...here.
6002 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
6003 * sysdeps/generic/s_nanl.c: ...here.
6004 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
6005 * sysdeps/generic/s_significand.c: ...here.
6006 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
6007 * sysdeps/generic/s_significandf.c: ...here.
6008 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
6009 * sysdeps/generic/s_significandl.c: ...here.
6010 Avoid conversion from int to double and then to long double.
6011 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
6012 * math/w_acos.c: ...here.
6013 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
6014 * math/w_acosf.c: ...here.
6015 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
6016 * math/w_acosh.c: ...here.
6017 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
6018 * math/w_acoshf.c: ...here.
6019 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
6020 * math/w_acoshl.c: ...here.
6021 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
6022 * math/w_acosl.c: ...here.
6023 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
6024 * math/w_asin.c: ...here.
6025 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
6026 * math/w_asinf.c: ...here.
6027 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
6028 * math/w_asinl.c: ...here.
6029 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
6030 * math/w_atan2.c: ...here.
6031 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
6032 * math/w_atan2f.c: ...here.
6033 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
6034 * math/w_atan2l.c: ...here.
6035 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
6036 * math/w_atanh.c: ...here.
6037 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
6038 * math/w_atanhf.c: ...here.
6039 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
6040 * math/w_atanhl.c: ...here.
6041 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
6042 * math/w_cosh.c: ...here.
6043 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
6044 * math/w_coshf.c: ...here.
6045 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
6046 * math/w_coshl.c: ...here.
6047 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
6048 * math/w_drem.c: ...here.
6049 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
6050 * math/w_dremf.c: ...here.
6051 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
6052 * math/w_dreml.c: ...here.
6053 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
6054 * math/w_exp10.c: ...here.
6055 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
6056 * math/w_exp10f.c: ...here.
6057 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
6058 * math/w_exp10l.c: ...here.
6059 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
6060 * math/w_exp2.c: ...here.
6061 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
6062 * math/w_exp2f.c: ...here.
6063 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
6064 * math/w_exp2l.c: ...here.
6065 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
6066 * math/w_fmod.c: ...here.
6067 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
6068 * math/w_fmodf.c: ...here.
6069 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
6070 * math/w_fmodl.c: ...here.
6071 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
6072 * math/w_hypot.c: ...here.
6073 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
6074 * math/w_hypotf.c: ...here.
6075 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
6076 * math/w_hypotl.c: ...here.
6077 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
6078 * math/w_j0.c: ...here.
6079 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
6080 * math/w_j0f.c: ...here.
6081 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
6082 * math/w_j0l.c: ...here.
6083 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
6084 * math/w_j1.c: ...here.
6085 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
6086 * math/w_j1f.c: ...here.
6087 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
6088 * math/w_j1l.c: ...here.
6089 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
6090 * math/w_jn.c: ...here.
6091 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
6092 * math/w_jnf.c: ...here.
6093 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
6094 * math/w_jnl.c: ...here.
6095 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
6096 * math/w_lgamma.c: ...here.
6097 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
6098 * math/w_lgamma_r.c: ...here.
6099 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
6100 * math/w_lgammaf.c: ...here.
6101 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
6102 * math/w_lgammaf_r.c: ...here.
6103 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
6104 * math/w_lgammal.c: ...here.
6105 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
6106 * math/w_lgammal_r.c: ...here.
6107 * sysdeps/libm-ieee754/w_log.c: Moved to ...
6108 * math/w_log.c: ...here.
6109 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
6110 * math/w_log10.c: ...here.
6111 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
6112 * math/w_log10f.c: ...here.
6113 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
6114 * math/w_log10l.c: ...here.
6115 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
6116 * math/w_logf.c: ...here.
6117 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
6118 * math/w_logl.c: ...here.
6119 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
6120 * math/w_pow.c: ...here.
6121 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
6122 * math/w_powf.c: ...here.
6123 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
6124 * math/w_powl.c: ...here.
6125 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
6126 * math/w_remainder.c: ...here.
6127 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
6128 * math/w_remainderf.c: ...here.
6129 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
6130 * math/w_remainderl.c: ...here.
6131 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
6132 * math/w_scalb.c: ...here.
6133 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
6134 * math/w_scalbf.c: ...here.
6135 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
6136 * math/w_scalbl.c: ...here.
6137 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
6138 * math/w_sinh.c: ...here.
6139 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
6140 * math/w_sinhf.c: ...here.
6141 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
6142 * math/w_sinhl.c: ...here.
6143 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
6144 * math/w_sqrt.c: ...here.
6145 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
6146 * math/w_sqrtf.c: ...here.
6147 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
6148 * math/w_sqrtl.c: ...here.
6149 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
6150 * math/w_tgamma.c: ...here.
6151 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
6152 * math/w_tgammaf.c: ...here.
6153 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
6154 * math/w_tgammal.c: ...here.
6155 * sysdeps/libm-i387/e_acos.S: Moved to ...
6156 * sysdeps/i386/fpu/e_acos.S: ...here.
6157 * sysdeps/libm-i387/e_acosf.S: Moved to ...
6158 * sysdeps/i386/fpu/e_acosf.S: ...here.
6159 * sysdeps/libm-i387/e_acosh.S: Moved to ...
6160 * sysdeps/i386/fpu/e_acosh.S: ...here.
6161 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
6162 * sysdeps/i386/fpu/e_acoshf.S: ...here.
6163 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
6164 * sysdeps/i386/fpu/e_acoshl.S: ...here.
6165 * sysdeps/libm-i387/e_acosl.S: Moved to ...
6166 * sysdeps/i386/fpu/e_acosl.S: ...here.
6167 * sysdeps/libm-i387/e_asin.S: Moved to ...
6168 * sysdeps/i386/fpu/e_asin.S: ...here.
6169 * sysdeps/libm-i387/e_asinf.S: Moved to ...
6170 * sysdeps/i386/fpu/e_asinf.S: ...here.
6171 * sysdeps/libm-i387/e_asinl.S: Moved to ...
6172 * sysdeps/i386/fpu/e_asinl.S: ...here.
6173 * sysdeps/libm-i387/e_atan2.S: Moved to ...
6174 * sysdeps/i386/fpu/e_atan2.S: ...here.
6175 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
6176 * sysdeps/i386/fpu/e_atan2f.S: ...here.
6177 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
6178 * sysdeps/i386/fpu/e_atan2l.S: ...here.
6179 * sysdeps/libm-i387/e_atanh.S: Moved to ...
6180 * sysdeps/i386/fpu/e_atanh.S: ...here.
6181 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
6182 * sysdeps/i386/fpu/e_atanhf.S: ...here.
6183 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
6184 * sysdeps/i386/fpu/e_atanhl.S: ...here.
6185 * sysdeps/libm-i387/e_exp.S: Moved to ...
6186 * sysdeps/i386/fpu/e_exp.S: ...here.
6187 * sysdeps/libm-i387/e_exp10.S: Moved to ...
6188 * sysdeps/i386/fpu/e_exp10.S: ...here.
6189 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
6190 * sysdeps/i386/fpu/e_exp10f.S: ...here.
6191 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
6192 * sysdeps/i386/fpu/e_exp10l.S: ...here.
6193 * sysdeps/libm-i387/e_expf.S: Moved to ...
6194 * sysdeps/i386/fpu/e_expf.S: ...here.
6195 * sysdeps/libm-i387/e_expl.S: Moved to ...
6196 * sysdeps/i386/fpu/e_expl.S: ...here.
6197 * sysdeps/libm-i387/e_fmod.S: Moved to ...
6198 * sysdeps/i386/fpu/e_fmod.S: ...here.
6199 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
6200 * sysdeps/i386/fpu/e_fmodf.S: ...here.
6201 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
6202 * sysdeps/i386/fpu/e_fmodl.S: ...here.
6203 * sysdeps/libm-i387/e_hypot.S: Moved to ...
6204 * sysdeps/i386/fpu/e_hypot.S: ...here.
6205 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
6206 * sysdeps/i386/fpu/e_hypotf.S: ...here.
6207 * sysdeps/libm-i387/e_log.S: Moved to ...
6208 * sysdeps/i386/fpu/e_log.S: ...here.
6209 * sysdeps/libm-i387/e_log10.S: Moved to ...
6210 * sysdeps/i386/fpu/e_log10.S: ...here.
6211 * sysdeps/libm-i387/e_log10f.S: Moved to ...
6212 * sysdeps/i386/fpu/e_log10f.S: ...here.
6213 * sysdeps/libm-i387/e_log10l.S: Moved to ...
6214 * sysdeps/i386/fpu/e_log10l.S: ...here.
6215 * sysdeps/libm-i387/e_logf.S: Moved to ...
6216 * sysdeps/i386/fpu/e_logf.S: ...here.
6217 * sysdeps/libm-i387/e_logl.S: Moved to ...
6218 * sysdeps/i386/fpu/e_logl.S: ...here.
6219 * sysdeps/libm-i387/e_pow.S: Moved to ...
6220 * sysdeps/i386/fpu/e_pow.S: ...here.
6221 * sysdeps/libm-i387/e_powf.S: Moved to ...
6222 * sysdeps/i386/fpu/e_powf.S: ...here.
6223 * sysdeps/libm-i387/e_powl.S: Moved to ...
6224 * sysdeps/i386/fpu/e_powl.S: ...here.
6225 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
6226 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
6227 * sysdeps/libm-i387/e_remainder.S: Moved to ...
6228 * sysdeps/i386/fpu/e_remainder.S: ...here.
6229 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
6230 * sysdeps/i386/fpu/e_remainderf.S: ...here.
6231 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
6232 * sysdeps/i386/fpu/e_remainderl.S: ...here.
6233 * sysdeps/libm-i387/e_scalb.S: Moved to ...
6234 * sysdeps/i386/fpu/e_scalb.S: ...here.
6235 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
6236 * sysdeps/i386/fpu/e_scalbf.S: ...here.
6237 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
6238 * sysdeps/i386/fpu/e_scalbl.S: ...here.
6239 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
6240 * sysdeps/i386/fpu/e_sqrt.S: ...here.
6241 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
6242 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
6243 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
6244 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
6245 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
6246 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
6247 * sysdeps/libm-i387/s_asinh.S: Moved to ...
6248 * sysdeps/i386/fpu/s_asinh.S: ...here.
6249 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
6250 * sysdeps/i386/fpu/s_asinhf.S: ...here.
6251 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
6252 * sysdeps/i386/fpu/s_asinhl.S: ...here.
6253 * sysdeps/libm-i387/s_atan.S: Moved to ...
6254 * sysdeps/i386/fpu/s_atan.S: ...here.
6255 * sysdeps/libm-i387/s_atanf.S: Moved to ...
6256 * sysdeps/i386/fpu/s_atanf.S: ...here.
6257 * sysdeps/libm-i387/s_atanl.S: Moved to ...
6258 * sysdeps/i386/fpu/s_atanl.S: ...here.
6259 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
6260 * sysdeps/i386/fpu/s_cbrt.S: ...here.
6261 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
6262 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
6263 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
6264 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
6265 * sysdeps/libm-i387/s_ceil.S: Moved to ...
6266 * sysdeps/i386/fpu/s_ceil.S: ...here.
6267 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
6268 * sysdeps/i386/fpu/s_ceilf.S: ...here.
6269 * sysdeps/libm-i387/s_ceill.S: Moved to ...
6270 * sysdeps/i386/fpu/s_ceill.S: ...here.
6271 * sysdeps/libm-i387/s_cexp.S: Moved to ...
6272 * sysdeps/i386/fpu/s_cexp.S: ...here.
6273 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
6274 * sysdeps/i386/fpu/s_cexpf.S: ...here.
6275 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
6276 * sysdeps/i386/fpu/s_cexpl.S: ...here.
6277 * sysdeps/libm-i387/s_copysign.S: Moved to ...
6278 * sysdeps/i386/fpu/s_copysign.S: ...here.
6279 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
6280 * sysdeps/i386/fpu/s_copysignf.S: ...here.
6281 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
6282 * sysdeps/i386/fpu/s_copysignl.S: ...here.
6283 * sysdeps/libm-i387/s_cos.S: Moved to ...
6284 * sysdeps/i386/fpu/s_cos.S: ...here.
6285 * sysdeps/libm-i387/s_cosf.S: Moved to ...
6286 * sysdeps/i386/fpu/s_cosf.S: ...here.
6287 * sysdeps/libm-i387/s_cosl.S: Moved to ...
6288 * sysdeps/i386/fpu/s_cosl.S: ...here.
6289 * sysdeps/libm-i387/s_exp2.S: Moved to ...
6290 * sysdeps/i386/fpu/s_exp2.S: ...here.
6291 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
6292 * sysdeps/i386/fpu/s_exp2f.S: ...here.
6293 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
6294 * sysdeps/i386/fpu/s_exp2l.S: ...here.
6295 * sysdeps/libm-i387/s_expm1.S: Moved to ...
6296 * sysdeps/i386/fpu/s_expm1.S: ...here.
6297 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
6298 * sysdeps/i386/fpu/s_expm1f.S: ...here.
6299 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
6300 * sysdeps/i386/fpu/s_expm1l.S: ...here.
6301 * sysdeps/libm-i387/s_fdim.S: Moved to ...
6302 * sysdeps/i386/fpu/s_fdim.S: ...here.
6303 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
6304 * sysdeps/i386/fpu/s_fdimf.S: ...here.
6305 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
6306 * sysdeps/i386/fpu/s_fdiml.S: ...here.
6307 * sysdeps/libm-i387/s_finite.S: Moved to ...
6308 * sysdeps/i386/fpu/s_finite.S: ...here.
6309 * sysdeps/libm-i387/s_finitef.S: Moved to ...
6310 * sysdeps/i386/fpu/s_finitef.S: ...here.
6311 * sysdeps/libm-i387/s_finitel.S: Moved to ...
6312 * sysdeps/i386/fpu/s_finitel.S: ...here.
6313 * sysdeps/libm-i387/s_floor.S: Moved to ...
6314 * sysdeps/i386/fpu/s_floor.S: ...here.
6315 * sysdeps/libm-i387/s_floorf.S: Moved to ...
6316 * sysdeps/i386/fpu/s_floorf.S: ...here.
6317 * sysdeps/libm-i387/s_floorl.S: Moved to ...
6318 * sysdeps/i386/fpu/s_floorl.S: ...here.
6319 * sysdeps/libm-i387/s_fma.S: Moved to ...
6320 * sysdeps/i386/fpu/s_fma.S: ...here.
6321 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
6322 * sysdeps/i386/fpu/s_fmaf.S: ...here.
6323 * sysdeps/libm-i387/s_fmal.S: Moved to ...
6324 * sysdeps/i386/fpu/s_fmal.S: ...here.
6325 * sysdeps/libm-i387/s_fmax.S: Moved to ...
6326 * sysdeps/i386/fpu/s_fmax.S: ...here.
6327 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
6328 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
6329 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
6330 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
6331 * sysdeps/libm-i387/s_fmin.S: Moved to ...
6332 * sysdeps/i386/fpu/s_fmin.S: ...here.
6333 * sysdeps/libm-i387/s_fminf.S: Moved to ...
6334 * sysdeps/i386/fpu/s_fminf.S: ...here.
6335 * sysdeps/libm-i387/s_fminl.S: Moved to ...
6336 * sysdeps/i386/fpu/s_fminl.S: ...here.
6337 * sysdeps/libm-i387/s_frexp.S: Moved to ...
6338 * sysdeps/i386/fpu/s_frexp.S: ...here.
6339 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
6340 * sysdeps/i386/fpu/s_frexpf.S: ...here.
6341 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
6342 * sysdeps/i386/fpu/s_frexpl.S: ...here.
6343 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
6344 * sysdeps/i386/fpu/s_ilogb.S: ...here.
6345 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
6346 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
6347 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
6348 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
6349 * sysdeps/libm-i387/s_llrint.S: Moved to ...
6350 * sysdeps/i386/fpu/s_llrint.S: ...here.
6351 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
6352 * sysdeps/i386/fpu/s_llrintf.S: ...here.
6353 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
6354 * sysdeps/i386/fpu/s_llrintl.S: ...here.
6355 * sysdeps/libm-i387/s_log1p.S: Moved to ...
6356 * sysdeps/i386/fpu/s_log1p.S: ...here.
6357 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
6358 * sysdeps/i386/fpu/s_log1pf.S: ...here.
6359 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
6360 * sysdeps/i386/fpu/s_log1pl.S: ...here.
6361 * sysdeps/libm-i387/s_log2.S: Moved to ...
6362 * sysdeps/i386/fpu/s_log2.S: ...here.
6363 * sysdeps/libm-i387/s_log2f.S: Moved to ...
6364 * sysdeps/i386/fpu/s_log2f.S: ...here.
6365 * sysdeps/libm-i387/s_log2l.S: Moved to ...
6366 * sysdeps/i386/fpu/s_log2l.S: ...here.
6367 * sysdeps/libm-i387/s_logb.S: Moved to ...
6368 * sysdeps/i386/fpu/s_logb.S: ...here.
6369 * sysdeps/libm-i387/s_logbf.S: Moved to ...
6370 * sysdeps/i386/fpu/s_logbf.S: ...here.
6371 * sysdeps/libm-i387/s_logbl.S: Moved to ...
6372 * sysdeps/i386/fpu/s_logbl.S: ...here.
6373 * sysdeps/libm-i387/s_lrint.S: Moved to ...
6374 * sysdeps/i386/fpu/s_lrint.S: ...here.
6375 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
6376 * sysdeps/i386/fpu/s_lrintf.S: ...here.
6377 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
6378 * sysdeps/i386/fpu/s_lrintl.S: ...here.
6379 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
6380 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
6381 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
6382 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
6383 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
6384 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
6385 * sysdeps/libm-i387/s_remquo.S: Moved to ...
6386 * sysdeps/i386/fpu/s_remquo.S: ...here.
6387 * sysdeps/libm-i387/s_remquof.S: Moved to ...
6388 * sysdeps/i386/fpu/s_remquof.S: ...here.
6389 * sysdeps/libm-i387/s_remquol.S: Moved to ...
6390 * sysdeps/i386/fpu/s_remquol.S: ...here.
6391 * sysdeps/libm-i387/s_rint.S: Moved to ...
6392 * sysdeps/i386/fpu/s_rint.S: ...here.
6393 * sysdeps/libm-i387/s_rintf.S: Moved to ...
6394 * sysdeps/i386/fpu/s_rintf.S: ...here.
6395 * sysdeps/libm-i387/s_rintl.S: Moved to ...
6396 * sysdeps/i386/fpu/s_rintl.S: ...here.
6397 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
6398 * sysdeps/i386/fpu/s_scalbn.S: ...here.
6399 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
6400 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
6401 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
6402 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
6403 * sysdeps/libm-i387/s_significand.S: Moved to ...
6404 * sysdeps/i386/fpu/s_significand.S: ...here.
6405 * sysdeps/libm-i387/s_significandf.S: Moved to ...
6406 * sysdeps/i386/fpu/s_significandf.S: ...here.
6407 * sysdeps/libm-i387/s_significandl.S: Moved to ...
6408 * sysdeps/i386/fpu/s_significandl.S: ...here.
6409 * sysdeps/libm-i387/s_sin.S: Moved to ...
6410 * sysdeps/i386/fpu/s_sin.S: ...here.
6411 * sysdeps/libm-i387/s_sincos.S: Moved to ...
6412 * sysdeps/i386/fpu/s_sincos.S: ...here.
6413 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
6414 * sysdeps/i386/fpu/s_sincosf.S: ...here.
6415 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
6416 * sysdeps/i386/fpu/s_sincosl.S: ...here.
6417 * sysdeps/libm-i387/s_sinf.S: Moved to ...
6418 * sysdeps/i386/fpu/s_sinf.S: ...here.
6419 * sysdeps/libm-i387/s_sinl.S: Moved to ...
6420 * sysdeps/i386/fpu/s_sinl.S: ...here.
6421 * sysdeps/libm-i387/s_tan.S: Moved to ...
6422 * sysdeps/i386/fpu/s_tan.S: ...here.
6423 * sysdeps/libm-i387/s_tanf.S: Moved to ...
6424 * sysdeps/i386/fpu/s_tanf.S: ...here.
6425 * sysdeps/libm-i387/s_tanl.S: Moved to ...
6426 * sysdeps/i386/fpu/s_tanl.S: ...here.
6427 * sysdeps/libm-i387/s_trunc.S: Moved to ...
6428 * sysdeps/i386/fpu/s_trunc.S: ...here.
6429 * sysdeps/libm-i387/s_truncf.S: Moved to ...
6430 * sysdeps/i386/fpu/s_truncf.S: ...here.
6431 * sysdeps/libm-i387/s_truncl.S: Moved to ...
6432 * sysdeps/i386/fpu/s_truncl.S: ...here.
6433 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
6434 * sysdeps/ieee754/k_standard.c: ...here.
6435 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
6436 * sysdeps/ieee754/s_lib_version.c: ...here.
6437 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
6438 * sysdeps/ieee754/s_matherr.c: ...here.
6439 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
6440 * sysdeps/ieee754/s_signgam.c: ...here.
6441 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
6442 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
6443 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
6444 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
6445 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
6446 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
6447 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
6448 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
6449 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
6450 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
6451 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
6452 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
6453 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
6454 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
6455 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
6456 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
6457 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
6458 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
6459 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
6460 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
6461 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
6462 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
6463 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
6464 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
6465 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
6466 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
6467 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
6468 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
6469 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
6470 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
6471 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
6472 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
6473 * sysdeps/libm-ieee754/e_log.c: Moved to ...
6474 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
6475 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
6476 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
6477 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
6478 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
6479 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
6480 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
6481 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
6482 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
6483 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
6484 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
6485 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
6486 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
6487 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
6488 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
6489 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
6490 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
6491 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
6492 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
6493 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
6494 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
6495 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
6496 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
6497 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
6498 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
6499 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
6500 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
6501 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
6502 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
6503 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
6504 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
6505 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
6506 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
6507 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
6508 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
6509 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
6510 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
6511 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
6512 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
6513 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
6514 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
6515 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
6516 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
6517 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
6518 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
6519 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
6520 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
6521 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
6522 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
6523 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
6524 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
6525 (__isnan): Comment above function says it returns 0 or 1, but it
6526 used to return 0 or -1.
6527 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
6528 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
6529 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
6530 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
6531 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
6532 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
6533 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
6534 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
6535 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
6536 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
6537 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
6538 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
6539 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
6540 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
6541 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
6542 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
6543 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
6544 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
6545 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
6546 * sysdeps/generic/s_nextafter.c: ...here.
6547 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
6548 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
6549 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
6550 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
6551 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
6552 * sysdeps/libm-ieee754/s_round.c: Moved to ...
6553 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
6554 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
6555 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
6556 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
6557 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
6558 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
6559 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
6560 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
6561 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
6562 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
6563 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
6564 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
6565 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
6566 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
6567 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
6568 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
6569 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
6570 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
6571 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
6572 * sysdeps/ieee754/mpn2flt.c: Moved to ...
6573 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
6574 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
6575 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
6576 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
6577 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
6578 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
6579 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
6580 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
6581 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
6582 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
6583 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
6584 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
6585 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
6586 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
6587 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
6588 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
6589 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
6590 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
6591 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
6592 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
6593 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
6594 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
6595 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
6596 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
6597 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
6598 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
6599 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
6600 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
6601 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
6602 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
6603 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
6604 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
6605 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
6606 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
6607 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
6608 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
6609 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
6610 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
6611 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
6612 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
6613 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
6614 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
6615 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
6616 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
6617 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
6618 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
6619 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
6620 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
6621 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
6622 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
6623 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
6624 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
6625 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
6626 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
6627 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
6628 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
6629 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
6630 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
6631 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
6632 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
6633 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
6634 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
6635 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
6636 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
6637 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
6638 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
6639 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
6640 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
6641 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
6642 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
6643 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
6644 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
6645 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
6646 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
6647 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
6648 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
6649 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
6650 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
6651 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
6652 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
6653 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
6654 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
6655 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
6656 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
6657 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
6658 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
6659 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
6660 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
6661 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
6662 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
6663 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
6664 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
6665 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
6666 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
6667 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
6668 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
6669 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
6670 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
6671 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
6672 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
6673 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
6674 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
6675 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
6676 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
6677 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
6678 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
6679 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
6680 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
6681 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
6682 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
6683 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
6684 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
6685 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
6686 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
6687 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
6688 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
6689 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
6690 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
6691 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
6692 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
6693 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
6694 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
6695 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
6696 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
6697 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
6698 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
6699 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
6700 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
6701 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
6702 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
6703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
6704 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
6705 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
6706 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
6707 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
6708 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
6709 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
6710 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
6711 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
6712 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
6713 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
6714 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
6715 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
6716 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
6717 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
6718 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
6719 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
6720 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
6721 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
6722 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
6723 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
6724 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
6725 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
6726 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
6727 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
6728 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
6729 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
6730 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
6731 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
6732 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
6733 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
6734 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
6735 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
6736 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
6737 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
6738 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
6739 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
6740 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
6741 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
6742 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
6743 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
6744 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
6745 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
6746 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
6747 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
6748 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
6749 INSERT_WORDS.
6750 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
6751 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
6752 (__nearbyintl): Fix for exponents 2^30.
6753 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
6754 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
6755 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
6756 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
6757 (__rintl): Fix for exponents 2^30.
6758 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
6759 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
6760 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
6761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
6762 (__scalbnl): Fix exponent for subnormal result.
6763 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
6764 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
6765 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
6766 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
6767 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
6768 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
6769 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
6770 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
6771 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
6772 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
6773 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
6774 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
6775 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
6776 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
6777 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
6778 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
6779 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
6780 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
6781 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
6782 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
6783 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
6784 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
6785 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
6786 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
6787 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
6788 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
6789 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
6790 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
6791 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
6792 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
6793 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
6794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
6795 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
6796 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
6797 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
6798 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
6799 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
6800 * sysdeps/i386/fpu/s_scalbln.c: ...here.
6801 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
6802 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
6803 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
6804 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
6805 * sysdeps/libm-i387/t_exp.c: Moved to ...
6806 * sysdeps/i386/fpu/t_exp.c: ...here.
6807 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
6808 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
6809 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
6810 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
6811 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
6812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
6813 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
6814 * sysdeps/i386/fpu/s_isinfl.c: ...here.
6815 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
6816 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
6817 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
6818 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
6819 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
6820 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
6821 Fix exponent for subnormal result.
6822 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
6823 * sysdeps/generic/s_nexttowardl.c: ...here.
6824 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
6825 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
6826 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
6827 * sysdeps/i386/fpu/s_isnanl.c: ...here.
6828 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
6829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
6830 Comment above function says it returns 0 or 1, but it used to return
6831 0 or -1.
6832 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
6833 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
6834 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
6835 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
6836 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
6837 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
6838 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
6839 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
6840 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
6841 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
6842 Cannot compare exponents with different biases without adjusting.
6843 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
6844 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
6845 Cannot compare exponents with different biases without adjusting.
6846 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
6847 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
6848 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
6849 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
6850 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
6851 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
6852 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
6853 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
6854 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
6855 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
6856 * sysdeps/libm-ieee754/Dist: Split into ...
6857 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
6858 * sysdeps/ieee754/flt-32/Dist: ...this file.
6859
6860 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
6861 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
6862 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
6863 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
6864 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
6865 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
6866 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
6867 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
6868 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
6869 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
6870 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
6871 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
6872 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
6873 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
6874 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
6875 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
6876 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
6877 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
6878 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
6879 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
6880 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
6881 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
6882 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
6883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
6884 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
6885 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
6886 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
6887 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
6888 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
6889 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
6890 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
6891 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
6892 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
6893 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
6894 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
6895 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
6896 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
6897 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
6898 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
6899 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
6900 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
6901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
6902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
6903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
6904 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
6905 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
6906 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
6907
6908 * sysdeps/generic/math_ldbl.h: New file.
6909 * sysdeps/generic/s_nexttowardf.c: New file.
6910 * sysdeps/generic/strtold.c: New file.
6911 * sysdeps/generic/ldbl2mpn.c: New file.
6912
6913 * math/machine/endian.h: Remove.
6914 * sysdeps/i386/fpu/Implies: Remove.
6915 * sysdeps/ieee754/Implies: Remove.
6916
6917 * math/math_private.h: Move long double macros to math_ldbl.h
6918 header.
6919
6920 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
6921
6922 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
6923 connections without a hostname set address to localhost address.
6924
6925 1999-07-11 H.J. Lu <hjl@gnu.org>
6926
6927 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
6928 nscd's own strong version of the get[a-z]*_r function.
6929 * nscd/hstcache.c: Likewise.
6930 * nscd/pwdcache.c: Likewise.
6931
6932 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
6933
6934 * configure.in: Recognize 2.95 as gcc version number.
6935 Patch by Joel Klecker <jk@espy.org>.
6936
6937 1999-07-12 Andreas Schwab <schwab@suse.de>
6938
6939 * elf/rtld.c (dl_main): When putting back the interpreter object
6940 handle the case where a missing object might occur in the list of
6941 objects but not in the search list when in trace mode.
6942
6943 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
6944
6945 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
6946 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
6947 _nss_hesiod_initgroups.
6948
6949 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
6950
6951 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
6952 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
6953 Initialize it from &__data_start if defined, or else &_end.
6954
6955 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
6956
6957 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
6958 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
6959
6960 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
6961
6962 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
6963
6964 1999-07-09 H.J. Lu <hjl@gnu.org>
6965
6966 * Versions.def (GLIBC_2.1.2): Added.
6967
6968 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
6969 old one as GLIBC_2.0.
6970 * nss/getXXbyYY_r.c: Likewise.
6971
6972 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
6973 GLIBC_2.1.2.
6974 * inet/Versions (getaliasbyname_r, getaliasent_r,
6975 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
6976 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
6977 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
6978 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
6979 getservbyname_r): Likewise.
6980 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
6981 * shadow/Versions (getspent_r, getspnam_r): Likewise.
6982
6983 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
6984
6985 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
6986 compilers.
6987 (__memset_cc): Likewise.
6988
6989 * sysdeps/generic/libc-start.c: For SUID binaries check whether
6990 the standard file descriptors are open.
6991 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6992
6993 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
6994 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
6995 range of mmap. If not fail.
6996 Patches by Daniel Jacobowitz <dan@debian.org>.
6997
6998 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
6999 before the relocation happened.
7000 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7001
7002 * Versions.def (libnsl): Add GLIBC_2.2.
7003 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
7004
7005 1999-07-08 Cristian Gafton <gafton@redhat.com>
7006
7007 * nis/yp_xdr.c (xdr_ypall): New function.
7008
7009 1999-07-09 Andreas Schwab <schwab@suse.de>
7010
7011 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
7012
7013 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
7014
7015 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7016
7017 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
7018 * hesiod/hesiod-grp.c: Add initgroups support.
7019 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
7020
7021 1999-07-08 Andreas Schwab <schwab@suse.de>
7022
7023 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
7024
7025 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
7026 negative numbers.
7027
7028 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
7029 EOF.
7030 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
7031
7032 1999-07-08 Andreas Schwab <schwab@suse.de>
7033
7034 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
7035
7036 1999-07-08 Andreas Schwab <schwab@suse.de>
7037
7038 * libio/fileno.c: Return -1 instead of EOF and set errno if the
7039 stream is not a real file stream.
7040
7041 1999-07-08 Andreas Schwab <schwab@suse.de>
7042
7043 * manual/charset.texi: Fix typos.
7044
7045 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7046
7047 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
7048
7049 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
7050
7051 * dlfcn: New directory. Move the following files from elf:
7052 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
7053 dlopenold.c, dlsym.c, dlvsym.c.
7054 * dlfcn/Makefile: New file.
7055 * dlfcn/Versions: New file.
7056 * dlfcn/dlsym.c: All ELF-specific code split out to new
7057 function _dl_sym.
7058 * dlfcn/dlvsym.c: All ELF-specific code split out to new
7059 function _dl_vsym.
7060 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
7061 implemented here.
7062
7063 * dlfcn/dladdr.c: Remove all references to ELF data structures
7064 or headers.
7065 * dlfcn/dlclose.c: Likewise.
7066 * dlfcn/dlerror.c: Likewise.
7067 * dlfcn/dlopen.c: Likewise.
7068 * dlfcn/dlopenold.c: Likewise.
7069
7070 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
7071 yes, empty otherwise.
7072 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
7073 depending on build-shared.
7074 (subdirs): Add $(dlfcn).
7075 (rpath-dirs): Add dlfcn.
7076 * elf/Makefile: Remove all references to libdl or its
7077 components, except the ones relating to the test cases.
7078 (routines): Add dl-sym.
7079 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
7080 (libdl): Delete.
7081
7082 * elf/dl-close.c (_dl_close): Change argument to void *.
7083 * elf/dl-open.c (_dl_open): Change return type to void *.
7084 * elf/eval.c: Removed.
7085 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
7086 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
7087 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
7088 _CALL_DL_FCT macro.
7089 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
7090 Include real header from dlfcn directory.
7091 * include/ldsodefs.h: Removed.
7092
7093 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
7094 * nss/getXXbyYY_r.c: Likewise.
7095 * nss/getXXent_r.c: Likewise.
7096 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
7097 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
7098 * iconv/skeleton.c: Don't include ldsodefs.h.
7099 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
7100
7101 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7102
7103 * sysdeps/generic/setenv.c: Describe problem.
7104
7105 * malloc/malloc.c (request2size): Also set errno if failing.
7106
7107 * malloc/malloc.c (request2size): Take care of overflow in
7108 addition.
7109
7110 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
7111 (NULL, != 0) correctly.
7112
7113 * elf/dl-load.c: Use a few more __builtin_expect.
7114
7115 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
7116 is large enough.
7117
7118 1999-07-07 Andreas Schwab <schwab@suse.de>
7119
7120 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
7121 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
7122 (_PATH_DEVPTMX): Use _PATH_DEV.
7123
7124 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7125
7126 * malloc/tst-malloc.c: New file. Tests some basic functionality.
7127 * malloc/Makefile (tests): Add tst-malloc.
7128
7129 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7130
7131 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
7132 convention.
7133
7134 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
7135 motherboards.
7136 Patch by Jay Estabrook.
7137
7138 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
7139 ldd for SPARC.
7140 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
7141 Patch by Cristian Gafton.
7142
7143 1999-07-02 Cristian Gafton <gafton@redhat.com>
7144
7145 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
7146 instead of "return NULL" to make C++ happy.
7147
7148 1999-07-04 Mark Kettenis <kettenis@gnu.org>
7149
7150 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
7151 allowed by the file access mode of the open file.
7152
7153 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7154
7155 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
7156 macros defined.
7157
7158 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
7159
7160 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
7161 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
7162 * sysdeps/sparc/sparc64/rshift.S: Likewise.
7163 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
7164
7165 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
7166
7167 * malloc/malloc.c (request2size): Check for overflow and return
7168 NULL whenever it is encountered.
7169
7170 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
7171
7172 * sysdeps/posix/tempname.c (__gen_tempname): Add
7173 ability to create directories. Replace OPENIT and LARGEFILE
7174 args with a single flags parameter.
7175 * sysdeps/generic/tempname.c: Likewise.
7176 * include/stdio.h: Adjust prototype of __gen_tempname to
7177 match. Define symbolic constants for second argument.
7178
7179 * misc/mkdtemp.c: New file, provides new function mkdtemp().
7180 * stdlib/stdlib.h: Prototype it.
7181 * misc/Versions: Export it.
7182 * misc/Makefile (routines): Add mktemp.
7183 * manual/filesys.texi: Document it.
7184
7185 * misc/mktemp.c: Adjust call of __gen_tempname to match new
7186 convention.
7187 * misc/mkstemp.c: Likewise.
7188 * stdio-common/tempnam.c: Likewise.
7189 * stdio-common/tmpfile.c: Likewise.
7190 * stdio-common/tmpfile64.c: Likewise.
7191 * stdio-common/tmpnam.c: Likewise.
7192 * stdio-common/tmpnam_r.c: Likewise.
7193
7194 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
7195
7196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
7197 R_SPARC_OLO10 relocations.
7198 * elf/elf.h (R_SPARC_OLO10): Fix comment.
7199
7200 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
7201
7202 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
7203 doesn't belong in the tests, but in the wordexp implementation.
7204
7205 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
7206 split fields.
7207
7208 1999-07-01 Cristian Gafton <gafton@redhat.com>
7209
7210 * time/strptime.c (strptime): Initialize the tm struct first to avoid
7211 returning bogus results on incomplete data.
7212 (strptime_internal): day_of_the_week() requres both tm_mon and
7213 tm_mday to be initialized.
7214 Compute them first if they are not given.
7215 (strptime_internal): (have_mon, have_mday): New variables.
7216
7217 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7218
7219 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
7220
7221 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7222
7223 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
7224 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7225
7226 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7227
7228 * posix/wordexp.c (parse_tilde): Handle failing call to
7229 get.*_r functions correctly for non-existing entry.
7230 * sysdeps/posix/cuserid.c (cuserid): Likewise.
7231 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
7232
7233 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7234
7235 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
7236 getxxbyYY_r functions correctly for non-existing entry.
7237 * sunrpc/getrpcport.c: Likewise.
7238 * sunrpc/clnt_simp.c: Likewise.
7239 * inet/rexec.c: Likewise.
7240 * sunrpc/clnt_gen.c: Likewise.
7241 * inet/rcmd.c: Likewise.
7242 * sysdeps/generic/glob.c: Likewise.
7243
7244 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7245
7246 * pwd/Makefile (tests): Add rules for tst-getpw.
7247
7248 * pwd/tst-getpw.c: New program to test getpw.
7249
7250 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7251
7252 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
7253 correctly.
7254
7255 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7256
7257 * manual/arith.texi (System V Number Conversion): Fix the
7258 description which confused pointer and value to pointer.
7259 Reported by Andries.Brouwer@cwi.nl.
7260
7261 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7262
7263 * pwd/getpw.c (__getpw): Check for NULL result pointer.
7264
7265 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7266
7267 * manual/users.texi (Lookup User): Document POSIX return
7268 semantics for getpwuid_r and getgrgid_r.
7269
7270 * manual/socket.texi (Host Names): Document that the result
7271 pointer is null in case of error or host not found and fix a
7272 typo. Give a small example.
7273
7274 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7275
7276 * pwd/getpw.c: Add warning since no buffer size is given and
7277 therefore no overrun tests are possible.
7278
7279 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7280
7281 * pwd/pwd.h: Add getpw prototype declaration.
7282
7283 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7284
7285 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
7286 * wcsmbs/wcschr.c: Likewise.
7287
7288 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
7289
7290 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
7291 returns.
7292 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
7293 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
7294 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
7295
7296 * elf/dl-dst.h: Fix typo.
7297 * elf/dl-open.c: Likewise.
7298
7299 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
7300
7301 * elf/dl-libc.c: New file, provides three functions:
7302 __libc_dlopen, __libc_dlclose, __libc_dlsym.
7303 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
7304 * elf/Makefile (routines): Add dl-libc.c.
7305 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
7306 argument to void *.
7307 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
7308
7309 * iconv/gconv.c: Include dlfcn.h.
7310 * iconv/gconv_db.c: Likewise.
7311 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
7312
7313 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
7314 `handle' to a void *.
7315 (__gconv_find_func): Delete prototype.
7316
7317 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
7318 dlerror_run and related functions and structs. Use
7319 __libc_dlopen, __libc_dlsym, __libc_dlclose.
7320 * nss/nsswitch.c: Likewise.
7321
7322 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
7323
7324 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
7325 function correctly.
7326
7327 * sunrpc/getrpcport.c: Test for gethostbyname_r function
7328 correctly.
7329
7330 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
7331
7332 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
7333 functions correctly.
7334
7335 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
7336
7337 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
7338 file reading a bit.
7339
7340 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
7341
7342 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7343
7344 * manual/string.texi (Copying and Concatenation): Mention that
7345 strndup is a GNU extension.
7346
7347 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7348
7349 * pwd/getpw.c (__getpw): Fix check for error return.
7350
7351 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7352
7353 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
7354 occurence of the aux object start with the current list entry, not
7355 the new one. Adjust tail pointer in the unique list. Explain how
7356 the meaning of the variables changes [PR libc/1168].
7357
7358 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7359
7360 * sysdeps/m68k/fpu/Dist: New file.
7361
7362 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7363
7364 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
7365 definitions...
7366 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
7367 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
7368 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7369 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7370 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7371 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7372 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7373 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7374 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7375 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7376 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7377 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7378 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7379 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7380 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7381 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7382
7383 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
7384
7385 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
7386 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
7387 _EXTERN_INLINE, use a macro specific to each file,
7388 _HURD_FD_H_EXTERN_INLINE and the like.
7389 * hurd/Makefile (inline-headers): New variable.
7390 (routines): Remove hurdinline. Add $(inlines).
7391 (inlines): New variable.
7392 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
7393 (generated): Append those here.
7394 * hurd/hurdinline.c: File removed.
7395
7396 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
7397
7398 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
7399
7400 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7401
7402 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
7403
7404 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
7405
7406 * string/bits/string2.h (strnlen): Remove extra prototype.
7407
7408 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7409
7410 * manual/filesys.texi (Working on Directory Trees): Fix typos.
7411 Reported by Andries.Brouwer@cwi.nl.
7412
7413 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
7414
7415 * nscd/connections.c (handle_request): Use correct type for optlen
7416 variable.
7417
7418 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
7419 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
7420
7421 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
7422
7423 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
7424 * nscd/pwdcache.c: Likewise.
7425 * nscd/hstcache.c: Likewise.
7426
7427 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
7428
7429 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
7430
7431 * posix/getopt.h: Include stdio.h.
7432
7433 * manual/arith.texi: Document restriction of ndigit parameter of
7434 ecvt and friends.
7435 * misc/efgcvt.c: Define NDIGIT_MAX.
7436 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
7437 Do not dynamically allocate the static buffers. They are small enough.
7438 * misc/efgcvt_r.c: Define NDIGIT_MAX.
7439 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
7440 * misc/qefgcvt.c: Define NDIGIT_MAX.
7441 * misc/qefgcvt_r.c: Likewise.
7442 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
7443
7444 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
7445
7446 * libio/stdio.h: Define stdin, stdout, stderr as macros.
7447 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
7448 These are *pragmas* not macros.
7449 * wcsmbs/wchar.h: Fix comment.
7450
7451 * grp/grp.h: Use __foo_t_defined convention to typedef things
7452 only once.
7453 * io/sys/stat.h: Likewise.
7454 * libio/stdio.h: Likewise.
7455 * posix/unistd.h: Likewise.
7456 * posix/sys/types.h: Likewise.
7457 * posix/sys/wait.h: Likewise.
7458 * pwd/pwd.h: Likewise.
7459 * signal/signal.h: Likewise.
7460 * sysdeps/generic/stdint.h: Likewise.
7461 * sysdeps/gnu/utmpx.h: Likewise.
7462 * termios/termios.h: Likewise.
7463
7464 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
7465
7466 * stdio/fputc.c: Don't define alias if fputc is defined as a
7467 macro.
7468 * stdio/putc.c: Define weak alias here since it is not done
7469 anymore in fputc.c.
7470
7471 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7472
7473 * assert/assert.h: Don't produce `defined' as part of macro
7474 expansion.
7475
7476 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
7477
7478 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
7479 OFFSET argument of (off_t) -1.
7480 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
7481 OFFSET argument of (off_t) -1.
7482
7483 * sysdeps/mach/hurd/pwrite.c: New file.
7484 * sysdeps/mach/hurd/pread.c: New file.
7485
7486 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
7487 pass it in the RPC instead of always -1.
7488 * hurd/fd-write.c (_hurd_fd_write): Likewise.
7489 * hurd/hurd/fd.h: Update decls.
7490
7491 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7492
7493 * libio/wscanf.c: Include <wchar.h> for prototype.
7494
7495 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
7496
7497 * manual/io.texi. Fix typos.
7498 * manual/stdio.texi: Likewise.
7499 Patches by Brian Youmans <3diff@gnu.org>.
7500
7501 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
7502
7503 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
7504 bits of two words differ.
7505
7506 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7507
7508 * libio/Makefile (routines): Add putwchar and putwchar_u.
7509
7510 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
7511 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
7512 stdout. Fix parameter name.
7513
7514 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
7515 * libio/getchar_u.c: Likewise.
7516
7517 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
7518
7519 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7520
7521 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
7522 macro expansion---it's undefined. Properly parenthesize
7523 substituted parameters.
7524 (__GLIBC_PREREQ): Likewise.
7525
7526 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
7527
7528 * Makeconfig (CPPFLAGS): Revert last change. It has too many
7529 weird effects.
7530
7531 * stdlib/longlong.h: Provide __P definition if not already
7532 defined.
7533
7534 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
7535
7536 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
7537
7538 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
7539
7540 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7541
7542 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
7543
7544 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7545
7546 * stdio-common/vfprintf.c (group_member): Make parameters and
7547 return types pointers to CHAR_T instead of UCHAR_T.
7548 (vfprintf): Change type of work_buffer, workend and string to
7549 CHAR_T pointer/array.
7550 (process_arg, process_string_arg): Adjust/remove casts. Add
7551 missing use of L_ macro.
7552 (printf_unknown): Add missing uses of L_ macro.
7553
7554 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7555
7556 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
7557 warning.
7558
7559 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7560
7561 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
7562 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
7563 (__wunderflow): Likewise.
7564 (_IO_switch_to_wget_mode): Likewise.
7565 (_IO_init_wmarker): Likewise.
7566
7567 * libio/wfileops.c (_IO_wfile_seekoff): Call
7568 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
7569 (_IO_wfile_jumps): Fix pbackfail entry.
7570
7571 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
7572 function if the stream is currently unoriented.
7573
7574 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
7575
7576 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
7577 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
7578 __gnuc_va_list in v*w(printf|scanf) prototypes.
7579
7580 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7581
7582 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
7583 1999-03-29 to iopopen also here.
7584 Reported by Richard Braakman <dark@xs4all.nl>.
7585
7586 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7587
7588 * include/features.h: Use __GNUC_PREREQ.
7589 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7590
7591 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7592
7593 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
7594 Change EOF to WEOF and remove cast.
7595 (UNGETC): Remove macro.
7596 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
7597 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
7598 Change ISASCII to isascii and MBRLEN to mbrlen.
7599 (parse_one_spec): Compare info.spec always against wchar_t
7600 values.
7601 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
7602 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
7603 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
7604
7605 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7606
7607 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
7608 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
7609 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
7610 oldiofsetpos64 only if doing versioning.
7611
7612 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
7613
7614 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
7615
7616 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7617
7618 * libio/libio.h: Fix last patch.
7619
7620 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
7621
7622 * libio/libio.h (_IO_putwc): Correct type of first argument.
7623 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
7624 putwc_unlocked, putwchar_unlocked): Likewise.
7625 * libio/fputwc.c: Likewise.
7626 * libio/fputwc_unlocked.c: Likewise.
7627 * libio/putwc.c: Likewise.
7628 * libio/putwc_unlocked.c: Likewise.
7629 * libio/putwchar.c: Likewise.
7630 * libio/putwchar_unlocked.c: Likewise.
7631
7632 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
7633
7634 * sysdeps/gnu/siglist.h: File moved to ...
7635 * sysdeps/generic/siglist.h: ... here. This file should be usable for
7636 any platform, since it just associates the SIG* macros with text names
7637 and descriptions. For any signal macros do not exist on every
7638 platform, we can use #ifdef tests here and still use this single
7639 common file for all platforms.
7640 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
7641 should be usable for all platforms after the binary compatibility
7642 stuff in the current sysdeps/gnu version is no longer required.
7643 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
7644 * sysdeps/generic/make_siglist.c: File removed.
7645 * sysdeps/mach/hurd/siglist.h: Use #include_next.
7646 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
7647
7648 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
7649
7650 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
7651 * sysdeps/gnu/siglist.c: ... here.
7652 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
7653 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
7654 * sysdeps/gnu/siglist.h: New file, contents from linux version.
7655 Add entry for SIGLOST protected by #ifdef.
7656 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
7657 and define OLD_SIGLIST_SIZE_STR.
7658 * sysdeps/mach/hurd/siglist.h: New file, likewise.
7659
7660 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
7661
7662 * include/features.h: Define new macros __GNUC_PREREQ and
7663 __GLIBC_PREREQ which can be used to test the version of gcc
7664 and glibc respectively.
7665
7666 * assert/assert.h: Use __GNUC_PREREQ.
7667 * intl/libintl.h: Likewise.
7668 * math/complex.h: Likewise.
7669 * math/tgmath.h: Likewise.
7670 * misc/sys/cdefs.h: Likewise.
7671 * posix/sys/types.h: Likewise.
7672 * socket/sys/socket.h: Likewise.
7673 * string/bits/string2.h: Likewise.
7674 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
7675 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7676
7677 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
7678
7679 * include/libintl.h: Declare _libc_intl_domainname here.
7680 Define _ and N_ here.
7681 * include/libc-symbols.h: Don't include <libintl.h>. Don't
7682 define _ and N_. Don't declare _libc_intl_domainname.
7683 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
7684
7685 * db2/config.h: Don't include sys/stat.h or define
7686 HAVE_ST_BLKSIZE here...
7687 * db2/compat.h: ...do it here.
7688
7689 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
7690 other headers.
7691 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
7692 * iconv/iconv.c: Include stddef.h for NULL.
7693 * malloc/malloc.h: Include features.h.
7694 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
7695
7696 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
7697 into the generated file.
7698 * sysdeps/gnu/errlist.awk: Likewise.
7699 * sysdeps/gnu/errlist.c: Rebuilt.
7700
7701 * assert/assert-perr.c: Include libintl.h.
7702 * assert/assert.c: Likewise.
7703 * elf/dl-open.c: Likewise.
7704 * elf/dlsym.c: Likewise.
7705 * elf/dlvsym.c: Likewise.
7706 * iconv/iconv_prog.c: Likewise.
7707 * inet/rcmd.c: Likewise.
7708 * inet/ruserpass.c: Likewise.
7709 * locale/programs/charset.c: Likewise.
7710 * locale/programs/ld-collate.c: Likewise.
7711 * locale/programs/ld-ctype.c: Likewise.
7712 * locale/programs/ld-messages.c: Likewise.
7713 * locale/programs/ld-monetary.c: Likewise.
7714 * locale/programs/ld-numeric.c: Likewise.
7715 * locale/programs/ld-time.c: Likewise.
7716 * locale/programs/locfile.c: Likewise.
7717 * locale/programs/repertoire.c: Likewise.
7718 * login/programs/database.c: Likewise.
7719 * login/programs/request.c: Likewise.
7720 * malloc/mcheck.c: Likewise.
7721 * misc/error.c: Likewise.
7722 * nis/nis_call.c: Likewise.
7723 * nis/nis_callback.c: Likewise.
7724 * nis/nis_error.c: Likewise.
7725 * nis/nis_local_names.c: Likewise.
7726 * nis/nis_print.c: Likewise.
7727 * nis/nis_print_group_entry.c: Likewise.
7728 * nis/ypclnt.c: Likewise.
7729 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
7730 * nscd/cache.c: Likewise.
7731 * nscd/connections.c: Likewise.
7732 * nscd/grpcache.c: Likewise.
7733 * nscd/hstcache.c: Likewise.
7734 * nscd/nscd_conf.c: Likewise.
7735 * nscd/nscd_stat.c: Likewise.
7736 * nscd/pwdcache.c: Likewise.
7737 * posix/id.c: Likewise.
7738 * resolv/herror.c: Likewise.
7739 * stdio-common/psignal.c: Likewise.
7740 * string/strsignal.c: Likewise.
7741 * sunrpc/auth_unix.c: Likewise.
7742 * sunrpc/clnt_perr.c: Likewise.
7743 * sunrpc/clnt_raw.c: Likewise.
7744 * sunrpc/clnt_tcp.c: Likewise.
7745 * sunrpc/clnt_udp.c: Likewise.
7746 * sunrpc/clnt_unix.c: Likewise.
7747 * sunrpc/get_myaddr.c: Likewise.
7748 * sunrpc/pm_getmaps.c: Likewise.
7749 * sunrpc/pmap_clnt.c: Likewise.
7750 * sunrpc/pmap_rmt.c: Likewise.
7751 * sunrpc/rpc_main.c: Likewise.
7752 * sunrpc/rpc_scan.c: Likewise.
7753 * sunrpc/svc_run.c: Likewise.
7754 * sunrpc/svc_simple.c: Likewise.
7755 * sunrpc/svc_tcp.c: Likewise.
7756 * sunrpc/svc_udp.c: Likewise.
7757 * sunrpc/svc_unix.c: Likewise.
7758 * sunrpc/xdr_rec.c: Likewise.
7759 * sunrpc/xdr_ref.c: Likewise.
7760 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
7761 * sysdeps/posix/gai_strerror.c: Likewise.
7762 * sysdeps/unix/siglist.c: Likewise.
7763 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
7764 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7765 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
7766 * timezone/zic.c: Likewise.
7767
7768 1999-06-18 H.J. Lu <hjl@gnu.org>
7769
7770 * localedata/Makefile (charmaps): Exclude SCCS.
7771 (locales): Likewise.
7772 (repertoiremaps): Likewise.
7773
7774 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
7775
7776 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
7777 * sysdeps/generic/bsd-setjmp.c: Likewise.
7778
7779 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
7780
7781 * iconv/gconv_open.c: Include string.h for memset prototype.
7782
7783 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
7784 definitions.
7785
7786 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
7787 assignment to avoid warning on 64bit platforms.
7788
7789 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
7790
7791 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
7792
7793 * nss/getXXbyYY_r.c: Return error code not -1.
7794 * nss/getXXent_r.c: Likewise.
7795 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
7796 small.
7797 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
7798 value > 0 for error.
7799 * nscd/nscd_gethst_r.c: Likewise.
7800 * nscd/nscd_getpw_r.c: Likewise.
7801
7802 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7803
7804 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
7805 disciplines.
7806
7807 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7808
7809 * nscd/nscd_nischeck.c: Fix typos.
7810
7811 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
7812
7813 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
7814 always when oact is NULL.
7815 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
7816
7817 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7818
7819 * math/libm-test.c (jn_test): Adjust delta.
7820
7821 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7822
7823 * libio/vwprintf.c: Include <wchar.h> for prototypes.
7824 * libio/wprintf.c: Likewise.
7825
7826 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7827
7828 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
7829 to not write beyond allocated memory.
7830 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
7831
7832 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
7833
7834 * malloc/mtrace.c: Keep lock while printing output lines.
7835 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
7836
7837 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
7838
7839 * configure.in: Add warnings about broken code.
7840
7841 * Versions.def: Add GLIBC_2.2 for libc.
7842
7843 * iconv/gconv.h: Make header suitable for inclusion in public header
7844 by protecting all names with __.
7845 * iconv/gconv.c: Adapt for symbol name changes.
7846 * iconv/gconv.h: Likewise.
7847 * iconv/gconv_builtin.c: Likewise.
7848 * iconv/gconv_close.c: Likewise.
7849 * iconv/gconv_db.c: Likewise.
7850 * iconv/gconv_dl.c: Likewise.
7851 * iconv/gconv_int.h: Likewise.
7852 * iconv/gconv_open.c: Likewise.
7853 * iconv/gconv_simple.c: Likewise.
7854 * iconv/iconv.c: Likewise.
7855 * iconv/iconv_close.c: Likewise.
7856 * iconv/iconv_open.c: Likewise.
7857 * iconv/loop.c: Likewise.
7858 * iconv/skeleton.c: Likewise.
7859 * iconvdata/8bit-gap.c: Likewise.
7860 * iconvdata/8bit-generic.c: Likewise.
7861 * iconvdata/ansi_x3.110.c: Likewise.
7862 * iconvdata/big5.c: Likewise.
7863 * iconvdata/cns11643.h: Likewise.
7864 * iconvdata/cns11643l1.h: Likewise.
7865 * iconvdata/euc-cn.c: Likewise.
7866 * iconvdata/euc-jp.c: Likewise.
7867 * iconvdata/euc-kr.c: Likewise.
7868 * iconvdata/euc-tw.c: Likewise.
7869 * iconvdata/gb2312.h: Likewise.
7870 * iconvdata/iso-2022-jp.c: Likewise.
7871 * iconvdata/iso-2022-kr.c: Likewise.
7872 * iconvdata/iso646.c: Likewise.
7873 * iconvdata/iso8859-1.c: Likewise.
7874 * iconvdata/iso_6937-2.c: Likewise.
7875 * iconvdata/iso_6937.c: Likewise.
7876 * iconvdata/jis0201.h: Likewise.
7877 * iconvdata/jis0208.h: Likewise.
7878 * iconvdata/jis0212.h: Likewise.
7879 * iconvdata/johab.c: Likewise.
7880 * iconvdata/ksc5601.h: Likewise.
7881 * iconvdata/sjis.c: Likewise.
7882 * iconvdata/t.61.c: Likewise.
7883 * iconvdata/uhc.c: Likewise.
7884 * stdlib/mblen.c: Likewise.
7885 * stdlib/mbtowc.c: Likewise.
7886 * stdlib/wctomb.c: Likewise.
7887 * wcsmbs/btowc.c: Likewise.
7888 * wcsmbs/mbrtowc.c: Likewise.
7889 * wcsmbs/mbsnrtowcs.c: Likewise.
7890 * wcsmbs/mbsrtowcs.c: Likewise.
7891 * wcsmbs/wchar.h: Likewise.
7892 * wcsmbs/wcrtomb.c: Likewise.
7893 * wcsmbs/wcsmbsload.c: Likewise.
7894 * wcsmbs/wcsmbsload.h: Likewise.
7895 * wcsmbs/wcsnrtombs.c: Likewise.
7896 * wcsmbs/wcsrtombs.c: Likewise.
7897 * wcsmbs/wctob.c: Likewise.
7898
7899 * include/limits.h (MB_LEN_MAX): Increase to 16.
7900
7901 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
7902 _G_iconv_t.
7903 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7904 * include/wchar.h: Change mbstate_t to __mbstate_t.
7905
7906 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
7907 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
7908 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
7909 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
7910 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
7911 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
7912 and iofwide.
7913 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
7914 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
7915 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
7916 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
7917 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
7918 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
7919 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
7920 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
7921 GLIBC_2.2 for libc.
7922 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
7923 Extend _IO_file contain pointer to codecvt, widedata and mode.
7924 (_IO_getwc_unlocked): New macro.
7925 (_IO_putwc_unlocked): New macro.
7926 (_IO_fwide): New macro.
7927 * libio/libioP.h: Add new prototypes and adjust existing declarations.
7928 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
7929 buffers based on mode.
7930 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
7931 oriented.
7932 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
7933 flag to be enough to signal unallocated buffer. For wide oriented
7934 stream don't make it linebuffered. Don't use _IO_do_flush, use
7935 _IO_new_do_write directly.
7936 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
7937 (_IO_file_seek): Likewise.
7938 * libio/genops.c (_IO_least_marker): Make global.
7939 (__underflow): Orient stream if not already done.
7940 (__uflow): Likewise.
7941 (_IO_default_seekpos): Change to type _IO_off64_t.
7942 (_IO_default_seekoff): Likewise.
7943 (_IO_default_seek): Likewise.
7944 (_IO_no_init): New function. Similar to _IO_init but allows to orient
7945 in initialization.
7946 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
7947 to use _IO_off64_t.
7948 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
7949 char stream.
7950 * libio/ftello64.c: Likewise.
7951 * libio/ioftell.c: Likewise.
7952 * libio/iofopncook.c: Likewise.
7953 * libio/ioseekoff.c: Likewise.
7954 * libio/ioseekpos.c: Likewise.
7955 * libio/oldfileops.c: Likewise.
7956 * libio/iofgetpos.c: Store state of conversion if necessary.
7957 * libio/iofgetpos64.c: Likewise.
7958 * libio/iofsetpos.c: Restore conversion state if necessary.
7959 * libio/iofsetpos64.c: Likewise.
7960 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
7961 * libio/iofopen.c: Likewise.
7962 * libio/iofopen64.c: Likewise.
7963 * libio/iopopen.c: Likewise.
7964 * libio/iovdprintf.c: Likewise.
7965 * libio/iovsprintf.c: Likewise.
7966 * libio/iovsscanf.c: Likewise.
7967 * libio/memstream.c: Likewise.
7968 * libio/obprintf.c: Likewise.
7969 * libio/iofputs.c: Orient stream if not already happened.
7970 * libio/iofputs_u.c: Likewise.
7971 * libio/iofwrite.c: Likewise.
7972 * libio/iofwrite_u.c: Likewise.
7973 * libio/ioputs.c: Likewise.
7974 * libio/iosetbuffer.c: Handle not yet oriented stream.
7975 * libio/iosetvbuf.c: Likewise.
7976 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
7977 * libio/stdfiles.c: Likewise.
7978 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
7979 failed allocation.
7980 (_IO_str_seekoff): Use _IO_off64_t.
7981 * libio/vasprintf.c: Pre-orient stream.
7982 * libio/vsnprintf.c: Likewise.
7983 * libio/fputwc.c: New file.
7984 * libio/fputwc_u.c: New file.
7985 * libio/fwprintf.c: New file.
7986 * libio/fwscanf.c: New file.
7987 * libio/getwc.c: New file.
7988 * libio/getwc_u.c: New file.
7989 * libio/getwchar.c: New file.
7990 * libio/getwchar_u.c: New file.
7991 * libio/iofgetws.c: New file.
7992 * libio/iofgetws_u.c: New file.
7993 * libio/iofputws.c: New file.
7994 * libio/iofputws_u.c: New file.
7995 * libio/iofwide.c: New file.
7996 * libio/iogetwline.c: New file.
7997 * libio/ioungetwc.c: New file.
7998 * libio/iovswscanf.c: New file.
7999 * libio/iowpadn.c: New file.
8000 * libio/oldiofgetpos.c: New file.
8001 * libio/oldiofgetpos64.c: New file.
8002 * libio/oldiofsetpos.c: New file.
8003 * libio/oldiofsetpos64.c: New file.
8004 * libio/putwc.c: New file.
8005 * libio/putwc_u.c: New file.
8006 * libio/putwchar.c: New file.
8007 * libio/putwchar_u.c: New file.
8008 * libio/swprintf.c: New file.
8009 * libio/swscanf.c: New file.
8010 * libio/tst_swprintf.c: New file.
8011 * libio/tst_swscanf.c: New file.
8012 * libio/tst_wprintf.c: New file.
8013 * libio/tst_wscanf.c: New file.
8014 * libio/tst_wscanf.input: New file.
8015 * libio/vswprintf.c: New file.
8016 * libio/vwprintf.c: New file.
8017 * libio/vwscanf.c: New file.
8018 * libio/wfiledoalloc.c: New file.
8019 * libio/wfileops.c: New file.
8020 * libio/wgenops.c: New file.
8021 * libio/wprintf.c: New file.
8022 * libio/wscanf.c: New file.
8023 * libio/wstrops.c: New file.
8024 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
8025 vfwprintf, and vfwscanf.
8026 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
8027 make global.
8028 * stdio-common/_itowa.c: New file.
8029 * stdio-common/_itowa.h: New file.
8030 * stdio-common/itoa-digits.c: Minimal optimization.
8031 * stdio-common/itowa-digits.c: New file.
8032 * stdio-common/printf-parse.h: Allow use in wide character context.
8033 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
8034 * stdio-common/printf.h (printf_info): Add wide bit.
8035 * stdio-common/printf_fp.c: Determine from wide bit whether stream
8036 is wide oriented or not.
8037 * stdio-common/printf_size.c: Likewise.
8038 * sysdeps/generic/printf_fphex.c: Likewise.
8039 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
8040 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
8041 context.
8042 * stdio-common/vfscand.c: Likewise.
8043 * stdio-common/vfwprintf.c: New file.
8044 * stdio-common/vfwscanf.c: New file.
8045
8046 * time/Makefile (routines): Add wcsftime.
8047 (tests): Add tst_wcsftime.
8048 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
8049 * time/strftime.c: Make usable as wcsftime.
8050 * time/wcsftime.c: New file.
8051 * time/tst_wcsftime.c: New file.
8052
8053 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
8054 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
8055 * wcsmbs/wcschrnul.c: New file.
8056 * wcsmbs/wmemcpy.c: New file.
8057 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
8058 * wcsmbs/wmemmove.c: Likewise for wmemmove.
8059
8060 * manual/stdio.texi: Document is_char and wide element if printf_info.
8061
8062 * manual/time.texi: Document wcsftime.
8063
8064 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
8065 __wmemmove, __wcschrnul, and __vfwscanf.
8066
8067 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
8068 * locale/C-time.c: Adapt for above change.
8069 * locale/categories.def: Likewise.
8070 * locale/localeinfo.h: Likewise.
8071 * localedata/Makefile: Don't run tests for now.
8072
8073 * manual/errno.texi: Fix typos.
8074 * manual/memory.texi: Likewise.
8075 * manual/ctype.texi: Likewise.
8076 Patches by Brian Youmans <3diff@gnu.org>.
8077
8078 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8079
8080 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
8081
8082 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8083
8084 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
8085 word order.
8086 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
8087 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
8088
8089 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8090
8091 * db2/db/db.c: Restore __nss_db_open alias.
8092 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
8093 include.
8094 * db2/os/os_rw.c (__os_write): Maintain const correctness.
8095 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
8096
8097 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8098
8099 * stdio-common/printf-parse.h (parse_one_spec): Don't set
8100 is_longlong if not necessary.
8101
8102 1999-06-15 H.J. Lu <hjl@gnu.org>
8103
8104 * Make-dist (sysdep_dirs): Exclude SCCS.
8105 * MakeTAGS (sysdep_dirs): Likewise.
8106
8107 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8108
8109 * posix/regex.c (re_error_msgid): Remove extra commas.
8110
8111 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
8112
8113 * stdlib/tst-strtoll.c: New file.
8114 * stdlib/Makefile (tests): Add tst-strtoll.c
8115 * stdlib/strtol.c: It is not generally true that if
8116 (unsigned)a*(unsigned)b overflows, then the result is
8117 less than 'a'.
8118
8119 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
8120
8121 * nscd/connections.c (handle_request): Only root is allowed to
8122 send GETSTAT request in non secure mode.
8123 * nscd/nscd.c: Print error message if other then root try to
8124 use getstat.
8125
8126 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8127
8128 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
8129
8130 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8131
8132 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
8133 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
8134
8135 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8136
8137 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
8138 for character to search, to help the compiler.
8139 * sysdeps/generic/strchrnul.c: Likewise.
8140 * sysdeps/generic/memchr.c: Likewise.
8141 * sysdeps/generic/memccpy.c: Likewise.
8142 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
8143
8144 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8145
8146 * sysdeps/m68k/memchr.S: New file.
8147 * sysdeps/m68k/rawmemchr.S: New file.
8148 * sysdeps/m68k/strchr.S: New file.
8149 * sysdeps/m68k/strchrnul.S: New file.
8150
8151 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
8152
8153 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
8154 add `memory' clobber; optimise for constant `val'.
8155 (atomic_add): Likewise.
8156 (test_and_set): Remove `volatile'; add `memory' clobber; be more
8157 like the original `test_and_set'.
8158 (compare_and_swap): Remove `volatile'; add `memory' clobber;
8159 optimise for constant `oldval'.
8160 (always_swap): Remove `volatile'; add `memory' clobber.
8161
8162 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8163
8164 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
8165 functions for gcc <= 2.7.x.
8166
8167 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
8168
8169 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
8170 change.
8171
8172 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
8173
8174 * db2/Makefile (distribute): Remove files which do not exist
8175 anymore.
8176
8177 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
8178 definitions to calm down gcc.
8179
8180 * db2/db.h: Update from db 2.7.5.
8181 * db2/db_185.h: Likewise.
8182 * db2/db_int.h: Likewise.
8183 * db2/btree/bt_compare.c: Likewise.
8184 * db2/btree/bt_conv.c: Likewise.
8185 * db2/btree/bt_curadj.c: Likewise.
8186 * db2/btree/bt_cursor.c: Likewise.
8187 * db2/btree/bt_delete.c: Likewise.
8188 * db2/btree/bt_open.c: Likewise.
8189 * db2/btree/bt_page.c: Likewise.
8190 * db2/btree/bt_put.c: Likewise.
8191 * db2/btree/bt_rec.c: Likewise.
8192 * db2/btree/bt_recno.c: Likewise.
8193 * db2/btree/bt_rsearch.c: Likewise.
8194 * db2/btree/bt_search.c: Likewise.
8195 * db2/btree/bt_split.c: Likewise.
8196 * db2/btree/bt_stat.c: Likewise.
8197 * db2/btree/btree_auto.c: Likewise.
8198 * db2/common/db_appinit.c: Likewise.
8199 * db2/common/db_apprec.c: Likewise.
8200 * db2/common/db_err.c: Likewise.
8201 * db2/common/db_region.c: Likewise.
8202 * db2/common/db_salloc.c: Likewise.
8203 * db2/db/db.c: Likewise.
8204 * db2/db/db.src: Likewise.
8205 * db2/db/db_am.c: Likewise.
8206 * db2/db/db_auto.c: Likewise.
8207 * db2/db/db_dispatch.c: Likewise.
8208 * db2/db/db_dup.c: Likewise.
8209 * db2/db/db_iface.c: Likewise.
8210 * db2/db/db_join.c: Likewise.
8211 * db2/db/db_overflow.c: Likewise.
8212 * db2/db/db_pr.c: Likewise.
8213 * db2/db/db_rec.c: Likewise.
8214 * db2/db/db_ret.c: Likewise.
8215 * db2/db185/db185.c: Likewise.
8216 * db2/dbm/dbm.c: Likewise.
8217 * db2/hash/hash.c: Likewise.
8218 * db2/hash/hash_auto.c: Likewise.
8219 * db2/hash/hash_dup.c: Likewise.
8220 * db2/hash/hash_page.c: Likewise.
8221 * db2/hash/hash_rec.c: Likewise.
8222 * db2/hash/hash_stat.c: Likewise.
8223 * db2/include/btree.h: Likewise.
8224 * db2/include/btree_ext.h: Likewise.
8225 * db2/include/clib_ext.h: Likewise.
8226 * db2/include/common_ext.h: Likewise.
8227 * db2/include/db_am.h: Likewise.
8228 * db2/include/db_auto.h: Likewise.
8229 * db2/include/db_cxx.h: Likewise.
8230 * db2/include/db_ext.h: Likewise.
8231 * db2/include/db_join.h: Likewise.
8232 * db2/include/db_page.h: Likewise.
8233 * db2/include/hash.h: Likewise.
8234 * db2/include/hash_ext.h: Likewise.
8235 * db2/include/lock.h: Likewise.
8236 * db2/include/lock_ext.h: Likewise.
8237 * db2/include/log.h: Likewise.
8238 * db2/include/log_ext.h: Likewise.
8239 * db2/include/mp.h: Likewise.
8240 * db2/include/mp_ext.h: Likewise.
8241 * db2/include/os.h: Likewise.
8242 * db2/include/os_ext.h: Likewise.
8243 * db2/include/os_func.h: Likewise.
8244 * db2/include/txn.h: Likewise.
8245 * db2/include/txn_auto.h: Likewise.
8246 * db2/include/txn_ext.h: Likewise.
8247 * db2/include/xa.h: Likewise.
8248 * db2/include/xa_ext.h: Likewise.
8249 * db2/lock/lock.c: Likewise.
8250 * db2/lock/lock_conflict.c: Likewise.
8251 * db2/lock/lock_deadlock.c: Likewise.
8252 * db2/lock/lock_region.c: Likewise.
8253 * db2/lock/lock_util.c: Likewise.
8254 * db2/log/log.c: Likewise.
8255 * db2/log/log_archive.c: Likewise.
8256 * db2/log/log_auto.c: Likewise.
8257 * db2/log/log_findckp.c: Likewise.
8258 * db2/log/log_get.c: Likewise.
8259 * db2/log/log_put.c: Likewise.
8260 * db2/log/log_rec.c: Likewise.
8261 * db2/log/log_register.c: Likewise.
8262 * db2/mp/mp_bh.c: Likewise.
8263 * db2/mp/mp_fget.c: Likewise.
8264 * db2/mp/mp_fopen.c: Likewise.
8265 * db2/mp/mp_fput.c: Likewise.
8266 * db2/mp/mp_fset.c: Likewise.
8267 * db2/mp/mp_open.c: Likewise.
8268 * db2/mp/mp_pr.c: Likewise.
8269 * db2/mp/mp_region.c: Likewise.
8270 * db2/mp/mp_sync.c: Likewise.
8271 * db2/mutex/mutex.c: Likewise.
8272 * db2/mutex/uts4_cc.s: Likewise.
8273 * db2/os/os_abs.c: Likewise.
8274 * db2/os/os_alloc.c: Likewise.
8275 * db2/os/os_config.c: Likewise.
8276 * db2/os/os_dir.c: Likewise.
8277 * db2/os/os_fid.c: Likewise.
8278 * db2/os/os_fsync.c: Likewise.
8279 * db2/os/os_map.c: Likewise.
8280 * db2/os/os_oflags.c: Likewise.
8281 * db2/os/os_open.c: Likewise.
8282 * db2/os/os_rw.c: Likewise.
8283 * db2/os/os_seek.c: Likewise.
8284 * db2/os/os_sleep.c: Likewise.
8285 * db2/os/os_spin.c: Likewise.
8286 * db2/os/os_stat.c: Likewise.
8287 * db2/os/os_tmpdir.c: Likewise.
8288 * db2/os/os_unlink.c: Likewise.
8289 * db2/progs/db_archive/db_archive.c: Likewise.
8290 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8291 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8292 * db2/progs/db_dump/db_dump.c: Likewise.
8293 * db2/progs/db_load/db_load.c: Likewise.
8294 * db2/progs/db_printlog/README: Likewise.
8295 * db2/progs/db_printlog/commit.awk: Likewise.
8296 * db2/progs/db_printlog/count.awk: Likewise.
8297 * db2/progs/db_printlog/db_printlog.c: Likewise.
8298 * db2/progs/db_printlog/pgno.awk: Likewise.
8299 * db2/progs/db_printlog/range.awk: Likewise.
8300 * db2/progs/db_printlog/status.awk: Likewise.
8301 * db2/progs/db_printlog/txn.awk: Likewise.
8302 * db2/progs/db_recover/db_recover.c: Likewise.
8303 * db2/progs/db_stat/db_stat.c: Likewise.
8304 * db2/txn/txn.c: Likewise.
8305 * db2/txn/txn.src: Likewise.
8306 * db2/txn/txn_auto.c: Likewise.
8307 * db2/txn/txn_rec.c: Likewise.
8308 * db2/xa/xa.c: Likewise.
8309 * db2/xa/xa_db.c: Likewise.
8310 * db2/xa/xa_map.c: Likewise.
8311
8312 * db2/btree/bt_close.c: Removed.
8313 * db2/db/db_thread.c: Likewise.
8314 * db2/hash/hash_debug.c: Likewise.
8315 * db2/include/db.h.src: Likewise.
8316 * db2/include/db_int.h.src: Likewise.
8317 * db2/include/os_jump.h: Likewise.
8318 * db2/mutex/alpha.dec: Likewise.
8319 * db2/mutex/alpha.gcc: Likewise.
8320 * db2/mutex/parisc.hp: Likewise.
8321 * db2/mutex/uts4.cc.s: Likewise.
8322
8323 * db2/Makefile: Add new routines, remove old for 2.7.5.
8324 * db2/Versions: Add internal function names for the helper programs.
8325 * db2/makedb.c: Update for new cursor callback.
8326 * Versions.def: Define versions for libdb.
8327
8328 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
8329
8330 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
8331 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
8332 * nscd/nscd_nischeck.c: New file.
8333 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
8334
8335 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8336
8337 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
8338 MSG_* flags from Linux 2.2.9.
8339
8340 1999-06-12 Mark Kettenis <kettenis@gnu.org>
8341
8342 * Makeconfig (static-start-installed-name): Set to
8343 $(start-installed-name) if not defined.
8344 (+link-static): Use $(static-start-installed-name) instead of
8345 $(start-installed-name).
8346 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
8347 Set to crt0.o.
8348
8349 1999-06-12 Mark Kettenis <kettenis@gnu.org>
8350
8351 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
8352 inserting a send right into the child instead of unconditionally
8353 copying the send right.
8354
8355 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
8356
8357 * locale/lc-time.c: Add free_mem function to free if necessary
8358 statically allocated memory.
8359
8360 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
8361
8362 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
8363 bias from the raw exponent.
8364
8365 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
8366
8367 * inet/arpa/tftp.h: Move attribute declaration in right position.
8368
8369 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
8370
8371 * nscd/nscd.c: Add -S options for separate caching of data for
8372 every user. So one user couldn't see the data another user
8373 has gotten with his credentials.
8374 * nscd/nscd.h: Add new prototypes.
8375 * nscd/cache.c: Compare owner of cache entry if in secure mode.
8376 * nscd/connections.c: Check on shutdown if caller really was root.
8377 In secure mode get uid of caller.
8378 * nscd/grpcache.c: Add support for new secure group mode.
8379 * nscd/hstcache.c: Add support for new secure hosts mode.
8380 * nscd/pwdcache.c: Add support for new secure passwd mode.
8381
8382 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
8383
8384 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
8385 of user-provided buffer.
8386
8387 1999-06-11 Mark Kettenis <kettenis@gnu.org>
8388
8389 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
8390 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
8391
8392 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
8393
8394 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
8395 and A format.
8396
8397 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
8398 returning after last entry.
8399 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
8400
8401 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
8402
8403 * misc/sysexits.h: Remove advertising clause of copyright.
8404 * resolv/getnetnamadr.c: Likewise.
8405 * sysdeps/vax/bcopy.s: Likewise.
8406 * sysdeps/vax/bzero.s: Likewise.
8407 * sysdeps/vax/ffs.s: Likewise.
8408 * sysdeps/vax/memchr.s: Likewise.
8409 * sysdeps/vax/memcmp.s: Likewise.
8410 * sysdeps/vax/memmove.s: Likewise.
8411 * sysdeps/vax/memset.s: Likewise.
8412 * sysdeps/vax/strcat.s: Likewise.
8413 * sysdeps/vax/strchr.s: Likewise.
8414 * sysdeps/vax/strcmp.s: Likewise.
8415 * sysdeps/vax/strcpy.s: Likewise.
8416 * sysdeps/vax/strcspn.s: Likewise.
8417 * sysdeps/vax/strlen.s: Likewise.
8418 * sysdeps/vax/strncat.s: Likewise.
8419 * sysdeps/vax/strncmp.s: Likewise.
8420 * sysdeps/vax/strncpy.s: Likewise.
8421 * sysdeps/vax/strpbrk.s: Likewise.
8422 * sysdeps/vax/strrchr.s: Likewise.
8423 * sysdeps/vax/strsep.s: Likewise.
8424 * sysdeps/vax/strspn.s: Likewise.
8425 * sysdeps/vax/strstr.s: Likewise.
8426
8427 * libio/iofopncook.c: Adjust for renaming of structure elements.
8428 * libio/libio.h: Define cookie functions with all the names.
8429
8430 * pwd/fgetpwent_r.c: Set errno in the correct way.
8431 * shadow/fgetspent_r.c: Likewise.
8432 * pwd/fgetpwent.c: Handle long lines correctly. Little
8433 optimizations. Free static buffer when debugging memory handling.
8434 * shadow/fgetspent.c: Likewise.
8435
8436 * grp/fgetgrent.c: Little optimization in loop.
8437
8438 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8439
8440 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
8441 in a different way.
8442
8443 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
8444
8445 * stdlib/longlong.h: gas changed sethi handling when without
8446 %hi(). Fix assembly.
8447 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
8448 port specific cache id checks.
8449 * sysdeps/generic/dl-cache.h: New file.
8450 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
8451
8452 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8453
8454 * gmon/gmon.c: Remove advertising clause of copyright.
8455 * gmon/mcount.c: Likewise.
8456 * gmon/sys/gmon.h: Likewise.
8457 * inet/arpa/ftp.h: Likewise.
8458 * inet/arpa/telnet.h: Likewise.
8459 * inet/arpa/tftp.h: Likewise.
8460 * inet/inet_lnaof.c: Likewise.
8461 * inet/inet_mkadr.c: Likewise.
8462 * inet/inet_net.c: Likewise.
8463 * inet/inet_netof.c: Likewise.
8464 * inet/protocols/routed.h: Likewise.
8465 * inet/protocols/rwhod.h: Likewise.
8466 * inet/protocols/talkd.h: Likewise.
8467 * inet/protocols/timed.h: Likewise.
8468 * inet/rcmd.c: Likewise.
8469 * inet/rexec.c: Likewise.
8470 * inet/ruserpass.c: Likewise.
8471 * io/fts.c: Likewise.
8472 * io/fts.h: Likewise.
8473 * login/login_tty.c: Likewise.
8474 * misc/fstab.h: Likewise.
8475 * misc/getttyent.c: Likewise.
8476 * misc/getusershell.c: Likewise.
8477 * misc/sys/queue.h: Likewise.
8478 * misc/sys/syslog.h: Likewise.
8479 * misc/syslog.c: Likewise.
8480 * misc/ttyent.h: Likewise.
8481 * misc/ttyslot.c: Likewise.
8482 * resolv/arpa/nameser.h: Likewise.
8483 * resolv/gethnamaddr.c: Likewise.
8484 * resolv/herror.c: Likewise.
8485 * resolv/inet_addr.c: Likewise.
8486 * resolv/mapv4v6addr.h: Likewise.
8487 * resolv/mapv4v6hostent.h: Likewise.
8488 * resolv/nss_dns/dns-host.c: Likewise.
8489 * resolv/nss_dns/dns-network.c: Likewise.
8490 * resolv/res_comp.c: Likewise.
8491 * resolv/res_data.c: Likewise.
8492 * resolv/res_debug.c: Likewise.
8493 * resolv/res_init.c: Likewise.
8494 * resolv/res_mkquery.c: Likewise.
8495 * resolv/res_query.c: Likewise.
8496 * resolv/res_send.c: Likewise.
8497 * resolv/resolv.h: Likewise.
8498 * sysdeps/generic/div.c: Likewise.
8499 * sysdeps/generic/netinet/ip.h: Likewise.
8500 * sysdeps/generic/netinet/tcp.h: Likewise.
8501 * sysdeps/generic/paths.h: Likewise.
8502 * sysdeps/generic/prof-freq.c: Likewise.
8503 * sysdeps/generic/sys/ttydefaults.h: Likewise.
8504 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8505 * sysdeps/gnu/netinet/tcp.h: Likewise.
8506 * sysdeps/ieee754/support.c: Likewise.
8507 * sysdeps/mach/hurd/sys/param.h: Likewise.
8508 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
8509 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8510 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
8511 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8512 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
8513 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
8514 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
8515 * sysdeps/unix/sysv/linux/paths.h: Likewise.
8516 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
8517 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
8518 * sysdeps/vax/DEFS.h: Likewise.
8519 * termios/sys/ttychars.h: Likewise.
8520 * misc/daemon.c: Likewise. Call fork.
8521
8522 * grp/fgetgrent.c (buffer): Make file local variable.
8523 (free_mem): New function. Call for malloc debugging.
8524
8525 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
8526
8527 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8528
8529 * grp/Makefile: Add rules for tst_fgetgrent.
8530
8531 * grp/tst_fgetgrent.c: Rewritten to read only one file.
8532
8533 * grp/tst_fgetgrent.sh: New file.
8534
8535 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8536
8537 * grp/Makefile (tests): Add tst_fgetgrent.
8538 * grp/tst_fgetgrent.c: New file.
8539 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8540
8541 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
8542
8543 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
8544 be POSIX compliant. Prior definition was broken for Hurd.
8545 Reported by Mark Kettenis <kettenis@gnu.org>.
8546
8547 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8548
8549 * ctype/ctype.h: Protect __tobody code by __extension__.
8550
8551 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8552
8553 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
8554 reading and reset in case the buffer was too small.
8555
8556 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
8557 of EOF.
8558
8559 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8560
8561 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
8562 another SIOGIFNAME typo.
8563
8564 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8565
8566 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
8567
8568 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
8569 bit.
8570
8571 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8572
8573 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
8574 the precision if the mantissa is zero.
8575
8576 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8577
8578 * manual/lang.texi (Floating Point Parameters): GCC already
8579 supports long double for a long time.
8580
8581 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8582
8583 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
8584 yn_test): Increase some epsilons.
8585
8586 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8587
8588 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
8589 parameters.
8590
8591 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
8592
8593 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8594 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
8595 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
8596 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
8597
8598 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
8599 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
8600 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
8601 * sysdeps/libm-ieee754/w_j1.c: Likewise.
8602 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
8603 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
8604 * sysdeps/libm-ieee754/w_jn.c: Likewise.
8605 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
8606 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
8607
8608 * stdio-common/vfprintf.c: Correct typos.
8609
8610 * math/libm-test.c (jn_test): Adjust delta.
8611 (y1_test): Likewise.
8612 (yn_test): Likewise.
8613
8614 * elf/do-lookup.h: It should never happen that if we expect a versioned
8615 symbol from a file the file has no version table. This should have
8616 been checked in dl-version.c.
8617 * elf/dl-lookup.c: Include assert.h.
8618
8619 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
8620 function handling.
8621
8622 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
8623
8624 1999-06-06 Andi Kleen <ak@muc.de>
8625
8626 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
8627 SA_RESTORER flag.
8628
8629 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8630
8631 * math/libm-test.c (yn_test): Change one delta.
8632 (jn_test): Likewise.
8633 (j1_test): Likewise.
8634 (y0_test): Likewise.
8635
8636 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
8637
8638 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
8639 avoid multiple calls to getpagesize() which might be a syscall.
8640
8641 1999-06-06 Philip Blundell <philb@gnu.org>
8642
8643 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
8644
8645 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8646
8647 * manual/install.texi (Running make install): Correct typo in
8648 dynamic linker invocation.
8649
8650 1999-06-05 Philip Blundell <philb@gnu.org>
8651
8652 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
8653 problems with GOT addressing.
8654
8655 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8656
8657 * malloc/malloc.c (check_action): Change into bitmap so that both
8658 diagnostic and abort can be requested by setting it to 3.
8659 (mALLOC_SET_STATe): Disable malloc checking if necessary.
8660
8661 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
8662
8663 * configure.in: Few changes for HPUX.
8664
8665 * scripts/config.guess: Update from latest version.
8666 * scripts/config.sub: Likewise.
8667
8668 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8669
8670 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
8671 map files. Closes PR libc/1147.
8672
8673 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8674
8675 * math/libm-test.c (main): Add new test functions.
8676 (jn_test): New tests.
8677 (j1_test): Add some more tests.
8678 (j0_test): Add some more tests.
8679 (y0_test): Add some more tests.
8680 (y1_test): Add some more tests.
8681
8682 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8683
8684 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
8685 Patch by mhagger@dera.gov.uk [PR libc/1145].
8686
8687 * math/libm-test.c (y1_test): New tests.
8688 (y0_test): Likewise.
8689 (j1_test): Likewise.
8690 (j0_test): Likewise.
8691 (main): Added new tests.
8692
8693 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
8694
8695 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
8696 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
8697 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
8698 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
8699 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
8700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
8701
8702 1999-06-02 David S. Miller <davem@redhat.com>
8703
8704 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
8705 pointers properly.
8706
8707 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
8708
8709 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
8710 and elide compatibility code if possible.
8711
8712 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
8713
8714 * manual/llio.texi: Remove menu entry for removed section.
8715
8716 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8717
8718 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
8719 variables.
8720
8721 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8722
8723 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
8724 (from Linux 2.3.4).
8725
8726 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
8727
8728 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
8729
8730 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8731
8732 * manual/stdio.texi: Fix some typos.
8733
8734 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8735
8736 * malloc/malloc.h: Properly handle future GCC versions.
8737
8738 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8739
8740 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
8741 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
8742 text of error message.
8743
8744 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
8745
8746 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
8747
8748 * manual/filesys.texi: Extend (f)truncate documentation.
8749 * manual/llio.texi: Remove duplicate (f)truncate definition.
8750
8751 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8752
8753 * manual/stdio.texi (Formatted Output Functions): Mention
8754 semantics of snprintf in glibc 2.0.
8755 Reported by Ben Pfaff <pfaffben@msu.edu>.
8756
8757 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
8758
8759 * include/features.h (__GLIBC_MINOR__): Bump to 2.
8760
8761 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
8762
8763 * math/libm-test.c: Adjust a few more deltas for the poor ARM
8764 FPU emulator.
8765
8766 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8767
8768 * configure.in: Fix typo.
8769
8770 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8771
8772 * manual/socket.texi (Host Names): Remove statement that h_errno
8773 needs to be declared since this isn't true anymore.
8774 Closes PR libc/1138.
8775
8776 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
8777
8778 * config.h.in: Add __LINUX_KERNEL_VERSION.
8779 * configure.in: Recognize --enable-kernel.
8780 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
8781 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
8782 appropriately.
8783 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
8784 given perform runtime test.
8785
8786 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
8787 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
8788 minimal supported kernel is known to have the feature.
8789 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8790 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8791 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8792 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8793 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8794 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
8795 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8796 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8797 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8798 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8799 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8800 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
8801 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
8802 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8803 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8804
8805 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
8806
8807 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
8808
8809 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
8810
8811 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
8812
8813 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
8814 Optimized sparc64 routines.
8815
8816 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
8817
8818 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
8819 they are the same as ints.
8820 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
8821
8822 * version.h (VERSION): Bump to 2.1.90.
8823 (RELEASE): Mark as development.
8824
8825 * stdio-common/vfprintf.c (vfprintf): Don't implement special
8826 handling for long long if it is the same as long.
8827 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
8828
8829 * stdlib/strtol.c: Moved to ...
8830 * sysdeps/generic/strtol.c: ...here.
8831 * stdlib/strtoul.c: Moved to ...
8832 * sysdeps/generic/strtoul.c: ...here.
8833 * stdlib/strtoll.c: Moved to ...
8834 * sysdeps/generic/strtoll.c: ...here.
8835 * stdlib/strtoull.c: Moved to ...
8836 * sysdeps/generic/strtoull.c: ...here.
8837 * stdlib/strtol_l.c: Moved to ...
8838 * sysdeps/generic/strtol_l.c: ...here.
8839 * stdlib/strtoul_l.c: Moved to ...
8840 * sysdeps/generic/strtoul_l.c: ...here.
8841 * stdlib/strtoll_l.c: Moved to ...
8842 * sysdeps/generic/strtoll_l.c: ...here.
8843 * stdlib/strtoull_l.c: Moved to ...
8844 * sysdeps/generic/strtoull_l.c: ...here.
8845
8846 * sysdeps/wordsize-64/strtol.c: New file.
8847 * sysdeps/wordsize-64/strtoul.c: New file.
8848 * sysdeps/wordsize-64/strtoll.c: New file.
8849 * sysdeps/wordsize-64/strtoull.c: New file.
8850 * sysdeps/wordsize-64/strtol_l.c: New file.
8851 * sysdeps/wordsize-64/strtoul_l.c: New file.
8852 * sysdeps/wordsize-64/strtoll_l.c: New file.
8853 * sysdeps/wordsize-64/strtoull_l.c: New file.
8854
8855 * wcsmbs/wcstol.c: Moved to ...
8856 * sysdeps/generic/wcstol.c: ...here.
8857 * wcsmbs/wcstoul.c: Moved to ...
8858 * sysdeps/generic/wcstoul.c: ...here.
8859 * wcsmbs/wcstoll.c: Moved to ...
8860 * sysdeps/generic/wcstoll.c: ...here.
8861 * wcsmbs/wcstoull.c: Moved to ...
8862 * sysdeps/generic/wcstoull.c: ...here.
8863 * wcsmbs/wcstol_l.c: Moved to ...
8864 * sysdeps/generic/wcstol_l.c: ...here.
8865 * wcsmbs/wcstoul_l.c: Moved to ...
8866 * sysdeps/generic/wcstoul_l.c: ...here.
8867 * wcsmbs/wcstoll_l.c: Moved to ...
8868 * sysdeps/generic/wcstoll_l.c: ...here.
8869 * wcsmbs/wcstoull_l.c: Moved to ...
8870 * sysdeps/generic/wcstoull_l.c: ...here.
8871
8872 * sysdeps/wordsize-64/wcstol.c: New file.
8873 * sysdeps/wordsize-64/wcstoul.c: New file.
8874 * sysdeps/wordsize-64/wcstoll.c: New file.
8875 * sysdeps/wordsize-64/wcstoull.c: New file.
8876 * sysdeps/wordsize-64/wcstol_l.c: New file.
8877 * sysdeps/wordsize-64/wcstoul_l.c: New file.
8878 * sysdeps/wordsize-64/wcstoll_l.c: New file.
8879 * sysdeps/wordsize-64/wcstoull_l.c: New file.
8880
8881 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
8882
8883 * sysdeps/sparc/bits/wordsize.h: New file.
8884 * sysdeps/sparc/fpu/bits/fenv.h: New file.
8885 * sysdeps/sparc/fpu/fpu_control.h: New file.
8886 * sysdeps/sparc/gmp-mparam.h: New file.
8887
8888 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
8889 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
8890 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
8891 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
8892 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
8893 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
8894
8895 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
8896 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
8897 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
8898 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
8899
8900 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
8901 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
8902 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
8903 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
8904 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
8905
8906 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
8907
8908 * login/openpty.c (openpty): Make sure pty does not because
8909 controlling TTY.
8910
8911 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
8912
8913 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
8914
8915 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
8916 Do proper error return.
8917
8918 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8919
8920 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
8921 of __P in the rest of glibc; define __MALLOC_PMT and use it.
8922 Reported by Stephan Kulow <coolo@kde.org>.
8923
8924 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
8925
8926 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
8927
8928 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
8929
8930 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8931
8932 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
8933 names to protect from user's macro namespace.
8934 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
8935 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
8936 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
8937 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
8938 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
8939 Adapted.
8940 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
8941 sysdeps/arm/fpu/fesetenv.c: Likewise.
8942 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
8943 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
8944 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
8945 * sysdeps/mips/fesetenv.c: Likewise.
8946
8947 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
8948
8949 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
8950
8951 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
8952
8953 * configure.in: Recognize and allow gcc 2.95.
8954
8955 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
8956
8957 * sysdeps/generic/bits/elfclass.h: Version common to
8958 wordsize-32 and wordsize-64.
8959 * sysdeps/generic/bits/environments.h: Ditto.
8960 * sysdeps/generic/stdint.h: Ditto.
8961 * sysdeps/generic/inttypes.h: Ditto.
8962
8963 * sysdeps/generic/bits/wordsize.h: New file.
8964 * stdlib/Makefile: Add bits/wordsize.h to headers.
8965
8966 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
8967
8968 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
8969 headers to be used for 32bit and 64bit ABI compilations.
8970 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
8971 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
8972 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
8973 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
8974 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
8975
8976 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
8977 * sysdeps/wordsize-64/bits/environments.h: Remove.
8978 * sysdeps/wordsize-64/stdint.h: Remove.
8979 * sysdeps/wordsize-64/inttypes.h: Remove.
8980 * sysdeps/wordsize-64/bits/wordsize.h: New file.
8981
8982 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
8983 * sysdeps/wordsize-32/bits/environments.h: Remove.
8984 * sysdeps/wordsize-32/stdint.h: Remove.
8985 * sysdeps/wordsize-32/inttypes.h: Remove.
8986 * sysdeps/wordsize-32/bits/wordsize.h: New file.
8987
8988 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
8989
8990 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
8991 __align_cpy_16): New functions.
8992 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
8993
8994 * sysdeps/sparc/sparc32/Versions: New file.
8995 * sysdeps/sparc/sparc64/Versions: New file.
8996 * sysdeps/sparc/Versions: Remove.
8997
8998 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
8999
9000 * sysdeps/unix/sysv/linux/configure.in:
9001 On sparc64-*-linux*, set slibdir to /lib64 if prefix
9002 is /usr, plus set libdir to ${exec_prefix}/lib64.
9003 * sysdeps/unix/sysv/linux/configure: Regenerated.
9004 * config.make.in: Propagate libdir settings from configure
9005 to the Makefiles.
9006 * shlib-versions: sparc64-*-linux* dynamic linker is
9007 /lib64/ld-linux.so.2.
9008
9009 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
9010
9011 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
9012 RPC connection.
9013
9014 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
9015
9016 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
9017 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
9018
9019 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
9020 contains garbage in bits 8-63.
9021 * sysdeps/sparc/sparc64/memset.S: Ditto.
9022 * sysdeps/sparc/sparc64/strchr.S: Ditto.
9023
9024 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
9025
9026 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
9027
9028 1999-05-17 David S. Miller <davem@redhat.com>
9029
9030 * sysdeps/sparc/sparc32/atomicity.h: New file.
9031 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
9032 * sysdeps/sparc/sparc64/atomicity.h: New file.
9033 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
9034 sysdep-CFLAGS.
9035
9036 1999-05-18 Richard Henderson <rth@twiddle.net>
9037
9038 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
9039
9040 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
9041
9042 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
9043 posix/sys/types.h: Handle the case of __GNUC__=3,
9044 __GNUC_MINOR__=(anything).
9045
9046 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9047
9048 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
9049 if _FORCE_INLINES.
9050
9051 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9052
9053 * elf/Makefile (distribute): Remove dl-origin.h.
9054 Add dl-dst.h and gen-trusted-dirs.awk.
9055
9056 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9057
9058 * sysdeps/i386/i486/Versions: New file with inline functions from
9059 sysdeps/i386/i486/bits/string.h for now.
9060
9061 * sysdeps/i386/Versions: Add inline functions from
9062 sysdeps/i386/bits/string.h.
9063
9064 * string/Versions: Add inline functions from <bits/string2.h>.
9065
9066 * string/Makefile (routines): Add string-inlines.
9067 * string/string-inlines.c: New file, used for implementation of
9068 extern inline functions.
9069
9070 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
9071 non inlined versions of functions.
9072 * string/bits/string2.h: Likewise.
9073 * sysdeps/i386/bits/string.h: Likewise.
9074
9075 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9076
9077 * inet/arpa/tftp.h: Add second packed attribute.
9078
9079 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9080
9081 * malloc/malloc.c: Cleanup to bring in line with released
9082 stand-alone version `ptmalloc'. Update some comments.
9083 (internal_function): Move fallback definition so that the source
9084 compiles outside of libc, and use it in more places.
9085 (malloc_atfork): Fix when malloc_check is in use.
9086
9087 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9088
9089 * stdlib/tst-strtod.c: Fix typo.
9090
9091 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9092
9093 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
9094 const incorrectness.
9095
9096 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9097
9098 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
9099
9100 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
9101
9102 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
9103 * sunrpc/key_call.c: Fix memory leak, close file handle.
9104 * nis/nis_creategroup.c: Use malloc instead of calloc,
9105 set ctime and mtime.
9106 * nis/nis_subr.c: Check for realloc result.
9107 * nis/nis_file.c: Fix memory leak.
9108 * nis/nis_table.c: Pretty print.
9109 * nis/nis_getservlist.c: Likewise.
9110 * nis/nis_ismember.c: Likewise.
9111 * nis/nis_lookup.c: Likewise.
9112 * nis/nis_ping.c: Likewise.
9113 * nis/nis_removemember.c: Likewise.
9114 * nis/nis_util.c: Likewise, check calloc result.
9115
9116 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9117
9118 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
9119 * sysdeps/generic/sys/socketvar.h: ... here.
9120 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
9121 * sysdeps/generic/netinet/in_systm.h: ... here.
9122 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
9123 sys/socketvar.h.
9124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
9125 * inet/Makefile (headers): Add netinet/in_systm.h here.
9126 * socket/Makefile (headers): Add sys/socketvar.h here.
9127
9128 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
9129
9130 * stdlib/strtol.c: Optimize inner loop of long long versions.
9131
9132 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
9133 Unix98. Add forward declaration of struct utmp.
9134
9135 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9136
9137 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
9138 calloc.
9139
9140 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
9141 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
9142 memory allocation results.
9143
9144 1999-05-14 Mark Kettenis <kettenis@gnu.org>
9145
9146 * sysdeps/generic/getutmp.c: Include <string.h>
9147 (getutmp): Rewrite to only copy those members that are really
9148 present in `struct utmp'.
9149 * sysdeps/generic/getutmpx.c: Likewise.
9150
9151 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9152
9153 * nss/getXXbyYY.c: Add free_mem function which disposes all
9154 statically allocated memory when debugging.
9155 * nss/getXXent.c: Likewise.
9156 * nss/nsswitch.c: Likewise.
9157
9158 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
9159
9160 * sysdeps/gnu/getutmpx.c: New file.
9161 * sysdeps/gnu/getutmp.c: New file.
9162
9163 1999-05-13 H.J. Lu <hjl@gnu.org>
9164
9165 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
9166 (getutmp): Likewise.
9167
9168 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
9169 getutmpx for login.
9170
9171 * sysdeps/gnu/utmpx.h (getutmp): Added.
9172 (getutmpx): Likewise.
9173
9174 * sysdeps/generic/getutmp.c: New file.
9175
9176 * sysdeps/generic/getutmpx.c: New file.
9177
9178 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9179
9180 * glibcbug.in (BUGGLIBC): Change address to
9181 libc-alpha@sourceware.cygnus.com.
9182
9183 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9184
9185 * resolv/arpa/nameser.h: Add C++ protectors.
9186
9187 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9188
9189 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
9190 Elad Tsur <eladts@post.tau.ac.il>.
9191
9192 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
9193
9194 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
9195 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
9196 lazily if LD_BIND_NOW is not set.
9197 * elf/dl-support.c (_dl_lazy): New variable.
9198 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
9199 * elf/rtld.c (_dl_lazy): new global variable.
9200 ( dl_main): Remove lazy, replace it by _dl_lazy.
9201
9202 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9203
9204 * locale/setlocale.c (new_composite_name): Check also whether the
9205 first category name differs.
9206
9207 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9208
9209 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
9210 the generic one.
9211
9212 1999-05-11 Philip Blundell <pb@nexus.co.uk>
9213
9214 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
9215 structure; storage suitable for any socket address.
9216 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
9217 Likewise.
9218 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
9219 sockaddr_storage): Likewise.
9220
9221 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
9222 platform.
9223
9224 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
9225
9226 * hesiod/Versions: Change _nss_hesiod_getpwuid and
9227 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
9228 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
9229
9230 1999-05-09 Mark Kettenis <kettenis@gnu.org>
9231
9232 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
9233 if the file is empty.
9234
9235 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
9236
9237 * elf/do-lookup.h: Fix typo in comment.
9238
9239 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
9240 f_bsize to help some broken programs.
9241
9242 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
9243
9244 * stdio-common/vfprintf.c: Fix typo.
9245
9246 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
9247
9248 * elf/link.h (struct link_map): New field l_phdr_allocated.
9249 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
9250 the program header being part of any loaded segment. If it is not
9251 allocate memory and set l_phdr_allocated flag.
9252 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
9253
9254 * nss/digits_dots.c: Correct return value interpretation of
9255 inet_ntoa. Fix PR libc/1109.
9256
9257 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
9258
9259 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
9260
9261 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
9262
9263 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
9264 * stdlib/fpioconst.c: Move #endif before end of struct.
9265
9266 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
9267
9268 * Versions.def (ld.so): Add GLIBC_2.1.1.
9269 * elf/Makefile (routines): Add dl-origin.
9270 (tests): Add origtest. Add dependencies for the program.
9271 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
9272 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
9273 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
9274 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
9275 DT_AUXILIARY, and DT_FILTER filenames.
9276 * elf/dl-load.c (expand_dynamic_string_token): Explode into
9277 two functions and three macros.
9278 (_dl_dst_count, _dl_dst_substitute): New functions.
9279 * elf/dl-dst.h: New file.
9280 * elf/dl-open.c (_dl_open): Take extra parameter with address of
9281 caller. Pass address in args structure.
9282 (dl_open_worker): Recognize and expand DSTs in filename.
9283 * elf/ldsodefs.h (_dl_open): Adapt prototype.
9284 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
9285 (__dlopen_check): Pass caller address to dlopen_doit in args.
9286 * elf/dlopendoit.c: Likewise.
9287 * iconv/gconv_dl.c: Adapt call of _dl_open.
9288 * nss/nsswitch.c: Likewise.
9289 * elf/origtest.c: New file.
9290 * sysdeps/generic/dl-origin.h: Moved to...
9291 * sysdeps/generic/dl-origin.c: ...here.
9292 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
9293 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
9294
9295 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
9296 with specific bases and only few bits set in second word.
9297
9298 * timezone/Makefile (install-others): Create target directory
9299 before creating tzfiles.
9300
9301 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
9302
9303 * nis/nis_file.c (readColdStartFile): Allocate memory only after
9304 the file is opened successfully.
9305
9306 * nis/nis_table.c: Fix some memory leaks.
9307
9308 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
9309
9310 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
9311 variable.
9312
9313 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
9314 around DST. Correctly ignore ORIGIN IN SUID binaries.
9315
9316 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
9317
9318 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
9319 * sysdeps/generic/strtok.c: Likewise.
9320
9321 * string/tester.c: Add test of rawmemchr.
9322
9323 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
9324 specification. It's not necessary.
9325
9326 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
9327 * elf/gen-trusted-dirs.awk: New file.
9328 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
9329 from SYSTEM_DIRS macro.
9330 (system_dirs_len): New variable. Contains lengths of system_dirs
9331 strings.
9332 (fillin_rpath): Rewrite for systems_dirs being a simple string.
9333 Improve string comparisons. Change parameter trusted to be a flag.
9334 Change all callers.
9335 (_dt_init_paths): Improve using new format for system_dirs.
9336
9337 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
9338 $ORIGIN for SUID binaries.
9339
9340 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
9341
9342 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9343
9344 * sunrpc/Makefile: Generate dependencies for all flavors of
9345 librpcsvc objects.
9346 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
9347 invocations.
9348
9349 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9350
9351 * elf/dlopenold.c: Move #if down after includes to get
9352 dependencies right.
9353
9354 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9355
9356 * sysdeps/generic/bzero.c: Undefine __bzero.
9357
9358 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
9359
9360 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
9361 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
9362 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
9363 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
9364
9365 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
9366 parameter to struct gaih_servtuple *. Adapt appropriately.
9367 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
9368 This fixes a memory leak.
9369 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
9370
9371 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
9372 and fpregset_t definition. They are defined in ucontext.h.
9373
9374 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9375
9376 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
9377 and struct ether_header must be packed on the ARM. The default
9378 alignment constraints add padding to the end of the structures.
9379
9380 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9381
9382 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
9383 default alignment constraints add padding to the end of the
9384 structure and between members.
9385
9386 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
9387
9388 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
9389 _dl_cache_libcmp instead of strcmp.
9390
9391 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
9392 fails on a file.
9393 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
9394
9395 1998-03-30 Joel Klecker <espy@debian.org>
9396
9397 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
9398 (sysdep-others,install-bin): Add lddlibc4.
9399
9400 1999-05-02 H.J. Lu <hjl@gnu.org>
9401
9402 * timezone/zic.c (dolink): Remove the symlink destination first.
9403
9404 * catgets/open_catalog.c (__open_catalog): Set catalog->status
9405 to "nonexisting" if failed to open the file.
9406
9407 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
9408
9409 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
9410 gcc3.
9411
9412 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
9413 Prevent warnings from multiplication with 0x01010101 by another cast.
9414
9415 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9416
9417 * string/bits/string2.h (memset): Revert to previous version if
9418 unaligned writes are not available.
9419
9420 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9421
9422 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
9423 better code in presence of the asm.
9424
9425 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9426
9427 * stdlib/fmtmsg.c (keywords): Increase array size for faster
9428 indexing.
9429
9430 * locale/localeinfo.h (_nl_category_names): Increase array element
9431 size for faster indexing.
9432 * locale/setlocale.c (_nl_category_names): Adjusted.
9433
9434 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9435
9436 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
9437
9438 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9439
9440 * sysdeps/m68k/stackinfo.h: New file.
9441
9442 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9443
9444 * string/tester.c (test_strchrnul): New function.
9445 (test_memset): Test one more special case.
9446
9447 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
9448 25% of all cases.
9449
9450 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
9451 base types.
9452
9453 * string/bits/string2.h: Fix bugs I introduced in last change.
9454
9455 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
9456 register stall.
9457 Extend memset optimization.
9458 Correct i686 version of memchr.
9459
9460 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
9461
9462 * sysdeps/i386/bzero.c: Add #undef __bzero.
9463
9464 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
9465 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
9466 exec server simulated a SIGTRAP before we even started up, so gdb is
9467 already happy.
9468
9469 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9470
9471 * nss/digits_dots.c: Always initialize not_ok.
9472
9473 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
9474
9475 * string/bits/string2.h (memset): Avoid arithmetic overflow at
9476 compile time, which produces obnoxious warnings. If GCCv2 is
9477 in use, map __bzero to __builtin_memset to enable that
9478 optimization.
9479
9480 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
9481
9482 * string/bits/string2.h: Add more memset optimizations.
9483
9484 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
9485
9486 * resolv/inet_pton.c (inet_pton4): Little optimizations.
9487 (inet_pton6): Likewise.
9488
9489 * nss/getXXbyYY_r.c: Include assert.h.
9490 * nss/getXXbyYY.c: Likewise.
9491
9492 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9493
9494 * termios/tcgetsid.c (tcgetsid): Rename variable to
9495 tiocgsid_does_not_work.
9496
9497 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
9498
9499 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
9500
9501 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9502
9503 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
9504 This allows e.g. gethostbyname to accept "10.1234".
9505 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
9506
9507 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
9508 non quad IPv4 numbers.
9509
9510 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9511
9512 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
9513
9514 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9515
9516 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
9517 * argp/argp-parse.c (_argp_hang): Likewise.
9518 * argp/argp-pv.c (argp_program_version): Likewise.
9519 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
9520 * inet/ether_hton.c (ether_hton, startp): Likewise.
9521 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
9522 * inet/getnetgrent_r.c (setup, startp): Likewise.
9523 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
9524 * intl/localealias.c (string_space, string_space_act, string_space_max,
9525 nmap, maxmap): Likewise.
9526 * libio/iopopen.c (proc_file_chain): Likewise.
9527 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
9528 * locale/lc-collate.c (__collate_table, __collate_extra,
9529 __collate_element_hash, __collate_element_strings,
9530 __collate_element_values): Likewise.
9531 * malloc/mcheck.c (mcheck_used): Likewise.
9532 * malloc/mtrace.c (added_atexit_handler): Likewise.
9533 * malloc/set-freeres.c (already_called): Likewise.
9534 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
9535 * misc/syslog.c (LogStat, LogTag): Likewise.
9536 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
9537 * nss/getXXbyYY_r.c (startp): Likewise.
9538 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
9539 * posix/regex.c (init_syntax_once) [done]: Likewise.
9540 (debug): Likewise.
9541 * string/strfry.c (init): Likewise.
9542 * sunrpc/svc_run.c (svc_top): Likewise.
9543 * posix/euidaccess.c (have_ids): Likewise.
9544 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
9545 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
9546 * time/getdate.c (getdate_err): Likewise.
9547 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
9548 Likewise.
9549 * time/tzset.c (old_tz, is_initialized): Likewise.
9550
9551 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
9552 of static data with zero.
9553 * signal/allocrtsig.c (init): Likewise.
9554
9555 * string/Makefile (routines): Add strchrnul.
9556 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
9557 * string/string.c: Add strchrnul prototype.
9558 * include/string.h: Add __strchrnul prototype.
9559 * sysdeps/generic/strchrnul.c: New file.
9560 * sysdeps/i386/strchrnul.S: New file.
9561 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
9562 * sysdeps/i386/i486/bits/string.c: Likewise.
9563 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
9564 * inet/ether_line.c (ether_line): Likewise.
9565 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
9566 * nss/nsswitch.c (nss_parse_file): Likewise.
9567 * posix/execvp.c (execvp): Likewise.
9568 * posix/fnmatch.c (internal_fnmatch): Likewise.
9569 * resolv/res_hconf.c (_res_hconv_init): Likewise.
9570 * resolv/res_init.c (res_init): Likewise.
9571 * stdlib/fmtmsg.c (init): Likewise.
9572 * stdlib/getsubopt.c (getsubopt): Likewise.
9573
9574 * catgets/catgets.c (catopen): Only allocate one memory block.
9575 (catclose): Only one free call necessary.
9576
9577 * catgets/open_catalog.c (__open_catalog): Simplify handling of
9578 file descriptor.
9579
9580 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
9581 of real functions. Simplify _tolower and _toupper.
9582
9583 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
9584 variable.
9585
9586 * iconv/gconv.h (struct gconv_info): Change data element from pointer
9587 to array of size 0.
9588 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
9589 * iconv/gconv_close.c (__gconv_close): Don't free data.
9590
9591 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
9592 insert new alias.
9593
9594 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
9595 for error while inserting in tree.
9596
9597 * include/time.h: Pretty print.
9598
9599 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
9600 in table and lots of relocations.
9601 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
9602 string pointers in table and lots of relocations.
9603
9604 * intl/finddomain.c: Remove definition of strchr macro.
9605
9606 * io/ftw.c (nftw_arr, ftw_arr): Make const.
9607
9608 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
9609
9610 * locale/localeinfo.h (_nl_category_names): Change into an array with
9611 fixed width char string elements.
9612 * locale/setlocale.c (_nl_category_names): Likewise.
9613 (_nl_current): Make global.
9614 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
9615
9616 * malloc/Makefile (distribute): Add stackinfo.h.
9617 * sysdeps/generic/stackinfo.h: New file.
9618 * sysdeps/i386/stackinfo.h: New file.
9619 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
9620 * posix/execle.c: Likewise.
9621 * posix/execlp.c: Likewise.
9622
9623 * nis/nis_table.c (__create_ib_request): Always use realloc.
9624
9625 * posix/execvp.c (execute): Rename to script_execute and keep only
9626 code to execute using shell.
9627 (execvp): Call execv directly and only fall back on script_execute.
9628
9629 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
9630 and always use xdigits instead.
9631
9632 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
9633 where appropriate.
9634
9635 * stdlib/fpioconst.h (__tens): New declaration.
9636 (struct mp_power): Remove array, add arrayoff element.
9637 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
9638 __tens array and add in _fpioconst_pow10 offsets into __tens.
9639 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
9640 * stdlib/strtod.c: Likewise.
9641
9642 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
9643
9644 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
9645 of the list.
9646 * stdlib/atexit.c (__exit_funcs): Don't initialize.
9647
9648 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
9649
9650 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
9651 a single and an array with offsets.
9652
9653 * sunrpc/des_soft.c (partab): Make it const.
9654
9655 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
9656 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
9657 (__key_decryptsession_pk_LOCAL): Likewise.
9658 (__key_gendes_LOCAL): Likewise.
9659 (MESSENGER): Mark const.
9660 (key_call_private_main): Don't initialize with 0.
9661 (use_keyenvoy): Don't initialize with 0.
9662 (key_call): Rewrite to reverse logic of use_doors variable.
9663
9664 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
9665 (startp): Don't initialize with zero.
9666
9667 * sunrpc/openchild.c (_openchild): Make first argument const.
9668
9669 * sunrpc/pmap_rmt.c (timeout): Mark const.
9670 * sunrpc/xcrypt.c (hex): Likewise.
9671
9672 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
9673 initialization of global variables.
9674 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
9675 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9676 * termios/tcgetsid.c: Likewise.
9677
9678 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
9679 fxsr to osfxsr.
9680
9681 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
9682 block. Add function to free memory if wanted.
9683 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
9684
9685 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
9686
9687 * wcsmbs/wmemset.c: Little code optimization.
9688
9689 1999-04-23 Paul Eggert <eggert@twinsun.com>
9690
9691 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
9692 ifdef _LIBC.
9693
9694 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
9695
9696 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
9697 implementation and just always fail with ENOSYS. This entry point is
9698 obsolete. Add link warning to that effect.
9699
9700 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
9701
9702 * hurd/get-host.c: Include <hurd/lookup.h>.
9703
9704 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9705
9706 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
9707 is != NULL.
9708
9709 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9710
9711 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
9712 ISO C9x and Unix98.
9713
9714 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9715
9716 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
9717 Patch by Peter Miller <millerp@canb.auug.org.au>.
9718
9719 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
9720
9721 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
9722 prefers loopback device.
9723
9724 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9725
9726 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
9727 no_leading_period change.
9728
9729 * posix/testfnm.c: More test cases.
9730
9731 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
9732
9733 * include/dirent.h: Remove __getdirentries declaration, add __getdents
9734 and __getdents64.
9735 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
9736 * sysdeps/unix/readdir_r.c: Likewise.
9737 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9738 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
9739 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
9740 __getdirentries. Remove fourth argument.
9741 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
9742 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
9743 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
9744 Add getdirentries and getdirentries64.
9745 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
9746
9747 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
9748 pointer in case of an invalid [[: expression.
9749
9750 * posix/testfnm.c: Add more test cases.
9751
9752 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
9753
9754 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
9755 set, pass EXEC_SIGTRAP flag in exec RPC.
9756
9757 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
9758
9759 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
9760 extra parameter. Fix several more bugs involving wildcard and
9761 ranges.
9762 (fnmatch): New function. Call internal_fnmatch.
9763
9764 * posix/testfnm.c: More test cases.
9765
9766 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9767
9768 * manual/install.texi (Configuring and compiling): Explain that
9769 files are changed in the source directory.
9770 Closes PR libc/981.
9771 (Configuring and compiling): Explain situation with PARALLELMFLAGS
9772 in the source directory.
9773
9774 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9775
9776 * locale/programs/ld-ctype.c: Spelling fixes.
9777 (ctype_finish): Fix argument of error message format.
9778 * locale/programs/ld-messages.c: Spelling fixes.
9779 * locale/programs/ld-monetary.c: Spelling fixes.
9780 * locale/programs/ld-time.c (time_finish): Make sure that name and
9781 format of era_entries are adjacent.
9782 (time_output): Reduce the size of the io vector.
9783
9784 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9785
9786 * manual/filesys.texi (Attribute Meanings): Move a misplaced
9787 paragraph.
9788
9789 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9790
9791 * locale/programs/ld-collate.c (collate_output): Convert
9792 undefined_offset to an array index. Fix computation of other
9793 endian extra table.
9794
9795 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
9796
9797 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
9798 return success with empty value.
9799
9800 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
9801
9802 * posix/fnmatch.c: Include string.h also for glibc.
9803 (fnmatch, case '?'): Optimize if cascades a bit.
9804 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
9805
9806 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
9807
9808 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
9809
9810 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
9811 * iconv/gconv_int.h: Declare UTF16 functions.
9812 * iconv/gconv_simple.c: Add UTF16 conversion functions.
9813
9814 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9815
9816 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
9817 be used correctly as parameter for parse_dollars/parse_tilde.
9818
9819 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9820
9821 * manual/conf.texi (Utility Limits): Remove duplicate description
9822 of BC_DIM_MAX.
9823
9824 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
9825
9826 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
9827 outbufend for dst==NULL.
9828
9829 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
9830
9831 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
9832 for dst==NULL.
9833 Fixes PR libc/1084.
9834
9835 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
9836 Fixes PR libc/1083.
9837
9838 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
9839
9840 * sunrpc/Makefile: Remove special handling of bootparam.x,
9841 add rpcsvc/bootparam.h to headers.
9842 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
9843 * sunrpc/rpcsvc/bootparam.x: Renamed to...
9844 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
9845
9846 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
9847
9848 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
9849 detect and handle invalid descriptors.
9850
9851 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
9852
9853 * timezone/zic.c (dolink): Append complete path not only filename
9854 to ../ list.
9855
9856 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9857
9858 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
9859
9860 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
9861
9862 * iconvdata/gconv-modules: Rename CP874 to IBM874.
9863 * iconvdata/Makefile: Likewise.
9864 * iconvdata/cp874.h: Removed.
9865 * iconvdata/cp874.c: Renamed to...
9866 * iconvdata/ibm874.c: ...this.
9867
9868 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
9869
9870 * sysdeps/unix/sysv/linux/bits/types.h: Correct
9871 signed/unsigned-ness of blkcnt and fsblkcnt.
9872 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9873 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9874
9875 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
9876 SOL_AAL, and SOL_IRDA.
9877
9878 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9879
9880 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
9881 include "linux_fsinfo.h".
9882 Based on a patch by H.J. Lu <hjl@gnu.org>.
9883
9884 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
9885
9886 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
9887
9888 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
9889
9890 * nscd/cache.c (prune_cache): Only disable file checking for
9891 future if the file does not exist.
9892 Update file_mtime if cache was flushed.
9893
9894 1999-04-15 David S. Miller <davem@redhat.com>
9895
9896 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
9897 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
9898
9899 1999-04-15 Scott Bambrough <scottb@netwinder.org>
9900
9901 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
9902 compilation of file.
9903
9904 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
9905
9906 * Versions.def: Add GLIBC_2.1.1 to libpthread.
9907
9908 * iconvdata/Makefile (modules): Add KOI8-U.
9909 (distribute): Add koi8-u.c.
9910 (gen-8bit-gap-modules): Add koi8-u.
9911 * iconvdata/gconv-modules: Add KOI8-U entries.
9912 * iconvdata/koi8-u.c: New file.
9913
9914 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
9915
9916 * sunrpc/auth_des.c: 64bit fixes, security fixes.
9917 * sunrpc/auth_none.c: Pretty print.
9918 * sunrpc/auth_unix.c: Likewise.
9919 * sunrpc/authdes_prot.c: Likewise.
9920 * sunrpc/authuxprot.c: Likewise.
9921 * sunrpc/bindrsvprt.c: Likewise.
9922 * sunrpc/clnt_gen.c: Likewise.
9923 * sunrpc/rpc/xdr.h: Likewise.
9924 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
9925 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
9926 * sunrpc/rtime.c: Use new rpc_timeval.
9927 * sunrpc/svc_authux.c: Don't use *long pointers.
9928 * sunrpc/svcauth_des.c: Likewise + security fixes.
9929 * sunrpc/xdr_mem.c: Don't use *long pointers.
9930 * sunrpc/xdr_rec.c: Likewise.
9931 * sunrpc/xdr_sizeof.c: Likewise.
9932 * sunrpc/xdr_stdio.c: Likewise.
9933
9934 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
9935
9936 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
9937 so that it is redone for each sending.
9938
9939 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9940
9941 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
9942
9943 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
9944
9945 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
9946 known to not exist don't try to load shared objects.
9947 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
9948
9949 * nscd/cache.c (prune_cache): The table might not be unused. In
9950 this case do nothing.
9951
9952 * catgets/gencat.c (read_input_file): Don't drop white spaces
9953 between number/identifier and string.
9954 Patch by Dima Barsky <dima@pwd.hp.com>.
9955 If no white space at all follows number/identifier remove existing
9956 message with the number/identifier.
9957
9958 1999-04-14 H.J. Lu <hjl@gnu.org>
9959
9960 * sunrpc/clnt_udp.c (is_network_up): New function.
9961 (clntudp_call): Call is_network_up () to check if any network
9962 interface is up in case of timeout.
9963
9964 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9965
9966 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
9967 * wctype/Makefile (tests): Add test_wcfuncs.
9968
9969 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
9970
9971 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
9972 architectures.
9973 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
9974 instead of CFLAGS.
9975 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
9976 instead of CFLAGS. For gnulib and string directories use
9977 -Wa,-Av9a gcc ASFLAGS.
9978 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
9979 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
9980 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
9981 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
9982 the same way as sparc-*.
9983
9984 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
9985
9986 * locale/programs/locfile.c (locfile_read): Fix typo.
9987 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
9988
9989 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9990
9991 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
9992 restarted after being interrupted by a signal. The parameters on
9993 the stack were corrupted by the signal handler.
9994
9995 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
9996 restarted after being interrupted by a signal. The parameters on
9997 the stack were corrupted by the signal handler.
9998
9999 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10000
10001 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
10002 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
10003
10004 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
10005
10006 * posix/wordexp-test.c: In field-splitting test cases where
10007 subshells were involved, unset IFS first: some shells (ash) use
10008 IFS even when no expansion is performed.
10009
10010 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10011
10012 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
10013 the real end of the chunk, not some random point inbetween.
10014 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
10015 obstack when growing. Use fast version of obstack_blank when
10016 shrinking.
10017 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
10018 allocating the vtable pointer.
10019 (_IO_obstack_vprintf): Adjust for above change and avoid
10020 unnecessary casts. Use fast version of obstack_blank when
10021 shrinking.
10022 Fixes PR libc/1075.
10023
10024 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
10025
10026 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
10027 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
10028
10029 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
10030
10031 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
10032 is seen, as well as fixing semantics. Don't reset the word count
10033 to zero when an invalid character is seen, but leave it as it was
10034 (this makes a difference with WRDE_APPEND).
10035
10036 * posix/wordexp-test.c: More test cases.
10037
10038 * posix/wordexp.c (parse_param): In words like ${var#pattern},
10039 always expand pattern when it is needed. Also, handle quoting in
10040 pattern properly.
10041
10042 1999-04-12 Philip Blundell <philb@gnu.org>
10043
10044 * elf/elf.h: Update ARM definitions to match current gas2.
10045
10046 * sysdeps/arm/bits/endian.h: Support big endian operation.
10047
10048 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
10049 Don't bother range checking the port number.
10050
10051 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
10052
10053 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
10054 the syscall name in assembler output for ease of debugging.
10055
10056 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
10057 compiler behaviour.
10058 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
10059 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
10060 (sysdep_routines): Add sigrestorer.
10061
10062 * string/tester.c (test_strcpy): Add new tests for unaligned
10063 arguments.
10064 * sysdeps/arm/bits/string.h: Delete inline implementations of
10065 strcpy and stpcpy.
10066
10067 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
10068
10069 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
10070
10071 1999-04-10 Mark Kettenis <kettenis@gnu.org>
10072
10073 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
10074
10075 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10076
10077 * iconvdata/Makefile (modules): Add TIS-620.
10078 (distribute): Add tis-620.c.
10079 (gen-8bit-gap-modules): tis-620.
10080 * iconvdata/tis-620.c: New file.
10081 * iconvdata/gconv-modules: Add TIS-620 entries.
10082
10083 * iconvdata/asmo_449.c: Correct comment.
10084
10085 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10086
10087 * manual/install.texi (Configuring and compiling): Comment out
10088 description of --disable-static since this doesn't work currently
10089 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
10090
10091 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10092
10093 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
10094 use binary search.
10095 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
10096
10097 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10098
10099 * scripts/test-installation.pl (installation_problem): Skip
10100 libnss1_* libraries from glibc-compat add-on.
10101
10102 1999-04-07 H.J. Lu <hjl@gnu.org>
10103
10104 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
10105 libstdc++ 2.7.2.
10106 * posix/Versions (__waitpid): Likewise.
10107
10108 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10109
10110 * manual/install.texi (Reporting Bugs): Add section about reported
10111 bugs and correct email address of glibcbug script.
10112
10113 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
10114
10115 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
10116 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
10117 xdr_u_longlong_t. Based on patch from Dan Shechter
10118 <damageboy@isdn.net.il>.
10119 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
10120 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
10121
10122 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
10123
10124 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10125
10126 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
10127 directly if getdents returns with error set.
10128
10129 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10130
10131 * locale/langinfo.h (THOUSEP): Rename second occurence of
10132 THOUSANDS_SEP to THOUSEP.
10133 Reported by Roman Belenov <roman@nstl.nnov.ru>.
10134
10135 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
10136
10137 * hurd/STATUS: File removed. Moved items that are still relevant into
10138 TODO list in hurd source.
10139
10140 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10141
10142 * sysdeps/mach/hurd/bits/time.h: New file.
10143 * sysdeps/mach/hurd/getrusage.c: New file.
10144 * sysdeps/mach/hurd/clk_tck.c: New file.
10145 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
10146 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
10147 (sysdep_routines): Add clk_tck.
10148 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
10149 implemented.
10150
10151 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
10152
10153 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
10154 (closelog): But instead here.
10155 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
10156
10157 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10158
10159 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
10160 the source directory. Fixes PR libc/1059.
10161
10162 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10163
10164 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
10165 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10166
10167 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
10168
10169 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
10170 * iconvdata/testdata/ISO-8859-14: New file.
10171 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
10172 * iconvdata/testdata/ISO-8859-15: New file.
10173 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
10174
10175 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10176
10177 * iconvdata/testdata/CP1258: New file.
10178 * iconvdata/testdata/CP1258..UTF8: New file.
10179 * iconvdata/TESTS: Add CP1258 entry.
10180
10181 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
10182
10183 * timezone/africa: Update from tzdata1999d.
10184 * timezone/europe: Likewise.
10185 * timezone/northamerica: Likewise.
10186
10187 1999-03-31 Mark Kettenis <kettenis@gnu.org>
10188
10189 * login/programs/pt_chown.c (main): Save effective user ID before
10190 dropping priviliges and use this to check if the program is
10191 properly installed.
10192
10193 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10194
10195 * iconvdata/testdata/CP1254: Update for charmap changes.
10196 * iconvdata/testdata/CP1254..UTF8: Likewise.
10197 * iconvdata/testdata/CP1255: Likewise.
10198 * iconvdata/testdata/CP1255..UTF8: Likewise.
10199 * iconvdata/testdata/CP1256: Likewise.
10200 * iconvdata/testdata/CP1256..UTF8: Likewise.
10201 * iconvdata/testdata/CP1257: Likewise.
10202 * iconvdata/testdata/CP1257..UTF8: Likewise.
10203
10204 * iconvdata/Makefile (distribute): Remove cp1258.h.
10205 (gen-8bit-gap-modules): Add cp1258.
10206 * iconvdata/cp1258.h: Removed.
10207
10208 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10209
10210 * timezone/tst-timezone.c (tests): Add more cases.
10211 (check_tzvars): Mark errors clearer.
10212 (main): Likewise.
10213
10214 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
10215
10216 * login/programs/pt_chown.c: Drop privileges if invoked with
10217 arguments. Don't close the master pty.
10218
10219 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10220
10221 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
10222 Minor optimization.
10223
10224 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
10225
10226 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
10227 relocation for SUID binaries.
10228
10229 1999-03-29 Paul Eggert <eggert@twinsun.com>
10230
10231 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
10232 while in child process.
10233
10234 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
10235
10236 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
10237 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
10238 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
10239 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
10240 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
10241
10242 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
10243 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
10244 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
10245 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
10246 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
10247 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
10248 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
10249 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
10250 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
10251 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
10252 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
10253 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
10254 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
10255 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
10256 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
10257 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
10258 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
10259 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
10260 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
10261 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
10262 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
10263 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
10264 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
10265 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
10266 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
10267 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
10268
10269 * sysdeps/sparc/sparc32/bcopy.c: New file.
10270 * sysdeps/sparc/sparc32/bzero.c: New file.
10271 * sysdeps/sparc/sparc32/memchr.S: New file.
10272 * sysdeps/sparc/sparc32/memcpy.S: New file.
10273 * sysdeps/sparc/sparc32/memmove.c: New file.
10274 * sysdeps/sparc/sparc32/memset.S: New file.
10275 * sysdeps/sparc/sparc32/stpcpy.S: New file.
10276 * sysdeps/sparc/sparc32/strchr.S: New file.
10277 * sysdeps/sparc/sparc32/strrchr.c: New file.
10278 * sysdeps/sparc/sparc32/strcpy.S: New file.
10279 * sysdeps/sparc/sparc32/strlen.S: New file.
10280 * sysdeps/sparc/sparc32/strcat.S: New file.
10281 * sysdeps/sparc/sparc32/strcmp.S: New file.
10282
10283 * sysdeps/sparc/sparc64/bcopy.c: New file.
10284 * sysdeps/sparc/sparc64/bzero.c: New file.
10285 * sysdeps/sparc/sparc64/memchr.S: New file.
10286 * sysdeps/sparc/sparc64/memcmp.S: New file.
10287 * sysdeps/sparc/sparc64/memcpy.S: New file.
10288 * sysdeps/sparc/sparc64/memset.S: New file.
10289 * sysdeps/sparc/sparc64/stpcpy.S: New file.
10290 * sysdeps/sparc/sparc64/strcat.S: New file.
10291 * sysdeps/sparc/sparc64/strchr.S: New file.
10292 * sysdeps/sparc/sparc64/strcmp.S: New file.
10293 * sysdeps/sparc/sparc64/strcpy.S: New file.
10294 * sysdeps/sparc/sparc64/strcspn.S: New file.
10295 * sysdeps/sparc/sparc64/strlen.S: New file.
10296 * sysdeps/sparc/sparc64/strncpy.S: New file.
10297 * sysdeps/sparc/sparc64/strpbrk.S: New file.
10298 * sysdeps/sparc/sparc64/strrchr.c: New file.
10299 * sysdeps/sparc/sparc64/strspn.S: New file.
10300 * sysdeps/sparc/sparc64/stpncpy.S: New file.
10301 * sysdeps/sparc/sparc64/strncmp.S: New file.
10302
10303 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
10304 Append -fPIC, don't replace.
10305
10306 * configure.in: Recognize sparcv8plus / sparcv9.
10307
10308 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10309
10310 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
10311 char * to avoid C++ warning.
10312 Patch by yasushi@cs.washington.edu [PR libc/1035].
10313
10314 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10315
10316 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
10317 declared in stdlib.h, correct return value of mkstemp.
10318 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
10319
10320 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
10321 from Linux 2.2.5.
10322
10323 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10324
10325 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
10326 C++ warning.
10327
10328 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
10329 inline functions. Closes PR libc/1049.
10330
10331 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10332
10333 * timezone/README: Update from tzdata1999c and tzcode1999c.
10334
10335 * timezone/africa: Update from tzdata1999c.
10336 * timezone/antarctica: Likewise.
10337 * timezone/asia: Likewise.
10338 * timezone/australasia: Likewise.
10339 * timezone/europe: Likewise.
10340 * timezone/northamerica: Likewise.
10341 * timezone/southamerica: Likewise.
10342 * timezone/zone.tab: Likewise.
10343
10344 * timezone/zic.c: Update from tzcode1999c.
10345
10346 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10347
10348 * Makerules: Add $(common-objpfx)Versions.all to common-generated
10349 outside of ifndef avoid-generated.
10350
10351 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
10352 in iofdopen.c.
10353 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
10354 iofopen.c.
10355 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
10356 in iofclose.c.
10357 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
10358 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
10359
10360 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10361
10362 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
10363 if we build the profiled library.
10364
10365 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10366
10367 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
10368 Jaeger <aj@arthur.rhein-neckar.de>
10369
10370 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
10371
10372 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
10373 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
10374 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
10375
10376 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
10377
10378 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
10379 works properly in subdirs.
10380
10381 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
10382
10383 * sysdeps/mach/hurd/Makefile: Undo last change.
10384 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
10385 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
10386
10387 * mach/Machrules (+preinit, +postinit, +interp,
10388 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
10389 linked just like other shared libraries.
10390 (interface.so): Fix typo in defn, so it works.
10391 ($(objpfx)$(interface.so)): Make it depend on libc.so.
10392
10393 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
10394
10395 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
10396 $(link-rpcuserlibs).
10397
10398 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10399
10400 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
10401 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
10402 targets if not building shared libraries.
10403
10404 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10405
10406 * configure.in: Also look in $PATH when searching for
10407 install-info. Remove autoconf bug workaround and require autoconf
10408 2.13.
10409
10410 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10411
10412 * db/Makefile: Don't try to install shared library link if not
10413 building with shared libs.
10414
10415 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10416
10417 * rt/Makefile: Link against static library if no shared lib is
10418 available.
10419
10420 * localedata/Makefile: The shells scripts implementing the test
10421 require the dynamic linker which is not available with
10422 --disable-shared. Skip the test if --disable-shared is given.
10423
10424 * linuxthreads/Makefile: Link test against static libpthread if no
10425 shared lib is available.
10426
10427 * iconvdata/Makefile (tests): Run iconv-test only if we're
10428 building shared libraries.
10429 * elf/Makefile (tests): Likewise for elf tests.
10430
10431 * posix/Makefile: The test frameworks globtest and wordexp-test
10432 require the dynamic linker which is not available with
10433 --disable-shared. Skip the test if --disable-shared is given.
10434
10435 * grp/Makefile (otherlibs): For static nss build link against
10436 necessary libs.
10437
10438 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10439
10440 * debug/Makefile (install-bin): Install and build catchsegv only
10441 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
10442 libc/965].
10443
10444 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10445
10446 * time/tzfile.c (__tzfile_read): Handle the case where there are
10447 transitions but no DST.
10448
10449 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
10450
10451 * mach/Machrules (extra-libs-others): Add $(interface-library) here
10452 too, so it gets built in the others pass rather than the lib pass.
10453 This is necessary since the RPC libraries need to be linked against
10454 libc.
10455
10456 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
10457
10458 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
10459 _itoa_word decl.
10460
10461 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
10462 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
10463 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
10464 versions of lib{mach,hurd}user.so without reference to libc.so,
10465 then link libc.so against that to get deps and symbol versions, then
10466 finally link real lib*user.so against libc.so.
10467
10468 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
10469 Support whole-file locking (only) by using the file_lock RPC. This
10470 has very wrong semantics, but is better than nothing for the time
10471 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
10472 protocols that will be somewhat hairy to specify.)
10473
10474 1999-03-17 Mark Kettenis <kettenis@gnu.org>
10475
10476 * sysdeps/mach/hurd/ptsname.c: New file.
10477
10478 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10479
10480 * timezone/asia: Fix rule in Asia/Nicosia entry.
10481
10482 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10483
10484 * manual/getopt.texi (Using Getopt): Explain "::" in option
10485 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
10486
10487 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
10488
10489 * sunrpc/clnt_unix.c: Fix creation of parameters for
10490 sendmsg/recvmsg on non intel platforms.
10491 * sunrpc/svc_unix.c: Likewise.
10492
10493 1999-03-18 Philip Blundell <philb@gnu.org>
10494
10495 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
10496 implementation.
10497
10498 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10499
10500 * timezone/africa: Update from tzdata1999b.
10501 * timezone/asia: Likewise.
10502 * timezone/australasia: Likewise.
10503 * timezone/europe: Likewise.
10504 * timezone/northamerica: Likewise.
10505 * timezone/southamerica: Likewise.
10506 * timezone/zone.tab: Likewise.
10507
10508 * timezone/README: Mention tzdata1999b.
10509
10510 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
10511
10512 * sysdeps/generic/segfault.c (write_strsignal): New function.
10513 (catch_segfault): Use it instead of calling strsignal.
10514
10515 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10516
10517 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
10518 char to avoid warning.
10519
10520 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10521
10522 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
10523
10524 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
10525 outbuf to unsigned char to avoid warning.
10526
10527 1999-03-11 David S. Miller <davem@redhat.com>
10528
10529 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
10530 masks.
10531 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
10532
10533 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10534
10535 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
10536 `unsigned char'.
10537 (gconv_step_data): Likewise.
10538 * iconv/gconv_int.h (__gconv): Likewise.
10539 (__BUILINT_TRANS): Likewise.
10540 * iconv/gconv.c (__gconv): Likewise.
10541 * iconv/iconv.c (iconv): Add casts for call of __gconv.
10542 * iconv/skeleton.c: Change local parameters and variable from `char' to
10543 `unsigned char'. Remove casts from calls into modules.
10544 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
10545 `char' to `unsigned char'.
10546 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
10547 * wcsmbs/mbrtowc.c: Likewise.
10548 * wcsmbs/mbsnrtowcs.c: Likewise.
10549 * wcsmbs/mbsrtowcs.c: Likewise.
10550 * wcsmbs/wcrtomb.c: Likewise.
10551 * wcsmbs/wcsnrtombs.c: Likewise.
10552 * wcsmbs/wcsrtombs.c: Likewise.
10553 * wcsmbs/wctob.c: Likewise.
10554
10555 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10556
10557 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
10558 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
10559 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
10560 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
10561 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
10562 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
10563
10564 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10565
10566 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
10567 _hurd_select if TIMEMOUT is -1.
10568
10569 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10570
10571 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
10572
10573 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10574
10575 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
10576 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
10577
10578 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10579
10580 * manual/libc.texinfo: Undo last change for now.
10581
10582 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10583
10584 * intl/locale.alias: Add entries for Croatian.
10585 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
10586
10587 1999-03-13 Mark Kettenis <kettenis@gnu.org>
10588
10589 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
10590 if the opened master pty really is a pty. `isatty' checks for
10591 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
10592 if we are out of pty's.
10593
10594 1999-03-13 Mark Kettenis <kettenis@gnu.org>
10595
10596 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
10597 opened file is closed on exec.
10598 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
10599 opened socket.
10600
10601 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10602
10603 * manual/llio.texi (File Position Primitive): Reformat @end
10604 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
10605
10606 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
10607
10608 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
10609 entry is found.
10610 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10611 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
10612
10613 * locale/programs/localedef.c (main): Initialize `cat' to please
10614 the compiler.
10615
10616 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
10617
10618 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
10619 check for root-owned symlinks and reject them too.
10620
10621 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10622
10623 * stdio-common/printf_fphex.c: Move to ...
10624 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
10625 extended precision number.
10626 * sysdeps/m68k/printf_fphex.c: New file.
10627
10628 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10629
10630 * manual/stdio.texi: Fix typos.
10631
10632 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
10633
10634 * version.h (VERSION): Bump to 2.1.1.
10635
10636 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
10637
10638 * nis/ypclnt.c: Try only twice to connect to NIS server.
10639
10640 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
10641
10642 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
10643
10644 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10645
10646 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
10647 (DENORM_EXP): New define. Use it as the exponent for a denormal.
10648 * stdlib/strtold.c: Moved to ...
10649 * sysdeps/generic/strtold.c: ... here.
10650 * sysdeps/m68k/strtold.c: New file.
10651
10652 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10653
10654 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
10655 point if the precision is zero, even if the mantissa is non-zero.
10656
10657 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
10658
10659 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
10660 arguments into the request message buffer inside `send_rpc'
10661 subfunction. We must repeat the marshalling when retrying the RPC
10662 after a SIGTTOU delivery.
10663
10664 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
10665 path when there is no ctty port.
10666 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
10667 Move sigstate check inside loop so we recheck after handling a signal.
10668
10669 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10670
10671 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
10672 O_EXLOCK are BSD extensions.
10673 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
10674
10675 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
10676
10677 * manual/signal.texi (Termination in Handler): Correct example.
10678 Install default handler before reraising the signal.
10679 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
10680
10681 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
10682
10683 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
10684 null, in which case send an empty string.
10685
10686 1999-03-02 Mark Kettenis <kettenis@gnu.org>
10687
10688 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
10689 backward compatibility EH functions to be linked when using
10690 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
10691
10692 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10693
10694 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
10695 /dev/pts status may change during runtime.
10696
10697 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10698
10699 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
10700 change. /dev/pts status can change during runtime.
10701
10702 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
10703
10704 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
10705 poll reports error.
10706 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
10707 add some more sanity checks.
10708 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
10709 parser prototype.
10710
10711 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
10712
10713 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
10714 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
10715 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
10716 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
10717 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
10718 for x_getint32.
10719 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
10720 * nis/nis_print.c: Fix ctime argument for platforms where
10721 sizeof (time_t) != sizeof (int).
10722
10723 1999-03-07 Mark Kettenis <kettenis@gnu.org>
10724
10725 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
10726 CLOCKS_PER_SEC instead of CLK_TCK.
10727
10728 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
10729
10730 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
10731 whether /dev/pts is available.
10732 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
10733 dev_pts_available.
10734
10735 * posix/globtest.sh: Make common_objpfx path absolute and and db2
10736 and hesiod directory to library path [PR libc/1007].
10737
10738 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10739
10740 * resolv/inet_addr.c (inet_aton): Don't allow componets >
10741 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
10742
10743 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
10744
10745 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10746 DT_PLTGOT has already been relocated.
10747 (__elf_machine_fixup_plt): Likewise.
10748 Minor cleanups.
10749
10750 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
10751
10752 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
10753
10754 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
10755
10756 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
10757 and fold string to uppercase [PR libc/1005].
10758
10759 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10760
10761 * elf/dl-load.c (lose): Fix return type.
10762
10763 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
10764
10765 * sysdeps/mach/hurd/bits/fcntl.h
10766 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
10767 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
10768 set O_NOTRANS as well.
10769 (__hurd_file_name_lookup_retry): At successful end of lookup,
10770 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
10771 it is a translated node not owned by root.
10772 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
10773 on the file name passed to LOOKUP.
10774
10775 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
10776
10777 * manual/time.texi (High Resolution Timer): Correct computation in
10778 example. Reported by jjf@devel.cemsys.com.
10779
10780 1999-03-02 Philip Blundell <pb@nexus.co.uk>
10781
10782 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
10783 entry is already relocated.
10784
10785 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10786
10787 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
10788 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
10789
10790 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10791
10792 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
10793 uc_link which is the right name according to Unix98.
10794 Reported by Craig Metz [PR libc/1001].
10795 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
10796 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
10797 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
10798 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
10799 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
10801
10802 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10803
10804 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
10805 @ifinfo.
10806
10807 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10808
10809 * iconvdata/Makefile: Always include iconv-rules, but disable rule
10810 to regenerate it if avoid-generated.
10811
10812 * Makeconfig: Always include sys-dirs, but disable rule to
10813 regenerate it when avoid-generated.
10814
10815 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
10816 rule to generate sysd-syscalls.
10817
10818 * elf/Makefile (generated): Remove $(objpfx) from names.
10819
10820 1999-02-28 Mark Kettenis <kettenis@gnu.org>
10821
10822 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
10823 actual length if the adress length is smaller than the input
10824 value. Change type of *LEN paramater to socklen_t.
10825 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
10826 * sysdeps/mach/hurd/accept.c (accept): Likewise.
10827 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
10828 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
10829 paramater to socklen_t.
10830
10831 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
10832
10833 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
10834 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
10835 with the RPC.
10836
10837 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
10838
10839 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
10840 __get_phys_pages): Cast &HBI to silence warning.
10841
10842 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
10843 * hurd/hurdchdir.c: New file.
10844 * hurd/hurdfchdir.c: New file.
10845 * sysdeps/mach/hurd/chroot.c: Call
10846 _hurd_change_directory_port_from_name to do the work.
10847 * sysdeps/mach/hurd/chdir.c: Likewise.
10848 * sysdeps/mach/hurd/fchdir.c: Call
10849 _hurd_change_directory_port_from_fd to do the work.
10850 * hurd/fchroot.c: Likewise.
10851 * hurd/hurd.h: Declare them.
10852
10853 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
10854
10855 * elf/dl-load.c (lose): Add more comments to explain the `why'.
10856 (_dl_map_object): Remove redundant test.
10857
10858 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
10859
10860 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
10861 try to _hurd_port_free a lower-numbered descriptor that was not in any
10862 fd_set.
10863
10864 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10865
10866 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
10867 declaration for ____wcstod_l_internal.
10868
10869 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
10870 __strtod_internal prototype.
10871 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
10872 (____strtold_l_internal): Add prototype declaration.
10873 (__strtold_l): Call correct function.
10874
10875 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
10876
10877 * elf/elf.h: Add 32bit HPPA definitions.
10878
10879 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10880
10881 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
10882 non-checked heap is restored when malloc checking was requested by
10883 the user.
10884 (struct malloc_state): Add using_malloc_checking.
10885 (MALLOC_STATE_VERSION): Increment minor.
10886 (using_malloc_checking, disallow_malloc_check): New variables.
10887 (__malloc_check_init): Use them.
10888 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
10889 that it can the chunk is properly instrumented when malloc
10890 checking is enabled. Set the new using_malloc_checking field.
10891 (malloc_hook_ini): Correct signature when _LIBC is not defined.
10892
10893 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10894
10895 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10896 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
10897 time.
10898
10899 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
10900 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
10901 if ld.so is the main program.
10902
10903 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
10904
10905 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
10906 large for work_buffer, allocate new buffer.
10907 (printf_unknown): Likewise. [PR libc/988]
10908
10909 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
10910
10911 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
10912 instead of stat and fstat.
10913 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10914
10915 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10916
10917 * elf/dl-error.c (_dl_signal_cerror): New function.
10918 (_dl_signal_error): Don't call receiver function.
10919 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
10920 instead of _dl_signal_error when reporting references to undefined
10921 symbols or versions.
10922 (_dl_lookup_versioned_symbol): Likewise.
10923 (_dl_lookup_versioned_symbol_skip): Likewise.
10924 * elf/dl-version.c (match_symbol): Likewise.
10925
10926 * elf/ldsodefs.h: Declare _dl_signal_cerror.
10927
10928 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
10929
10930 * misc/getttyent.c (getttyent): Release lock on stream later to
10931 also protect global variable zapchar.
10932
10933 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
10934 __times [PR libc/990].
10935
10936 1999-02-21 David S. Miller <davem@redhat.com>
10937
10938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
10939 parentheses in Feb 2 changes.
10940 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
10941
10942 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10943
10944 * sysdeps/generic/glob.c (glob): Save previous errno.
10945
10946 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
10947
10948 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
10949 lookup functions if it is too small.
10950
10951 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
10952
10953 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
10954 for tracing to the scope lists.
10955 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
10956 DT_SYMTAB is always available according to ELF spec.
10957
10958 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
10959 call test whether there is any scope left.
10960 (_dl_lookup_versioned_symbol_skip): Likewise.
10961
10962 * elf/Makefile (distribute): Add do-lookup.h.
10963 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
10964 * elf/dl-lookup.c: Move do_lookup function in separate file and
10965 include the file twice, for handling versioning and without it.
10966
10967 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
10968 entry is already relocated.
10969 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10970 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10971 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
10972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10973 Likewise.
10974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10975 Likewise.
10976 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
10977 Likewise.
10978
10979 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
10980 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
10981 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
10982 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
10983 rel and rela relocations can both happen and skip one test if this
10984 is not possible.
10985 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
10986 appropriately.
10987 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
10988 already relocated.
10989 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
10990 relocated.
10991 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
10992 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
10993 (_dl_map_object): DT_STRTAB entry is already relocated.
10994 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
10995 already relocated.
10996 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
10997 relocated.
10998 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
10999 DT_VERSYM entries are already relocated.
11000 (profile_fixup): Likewise.
11001 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
11002 all users.
11003 (match_symbol): DT_STRTAB entry is already relocated.
11004 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
11005 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
11006 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
11007 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
11008 (find_needed): DT_STRTAB entry is already relocated.
11009 (dl_main): Pass extra argument to elf_get_dynamic_info.
11010 DT_STRTAB entry is already relocated.
11011 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
11012 DT_PLTGOT entries are already relocated.
11013 (elf_machine_rela): Likewise for DT_SYMTAB.
11014 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
11015 relocated.
11016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11017 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11018 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11020 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
11021 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
11022 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
11023 * sysdeps/mips/mips64/dl-machine.h: Likewise.
11024
11025 * grp/initgroups.c (initgroups): If function in current module was
11026 successful don't stop but continue to process to get all the groups.
11027
11028 * elf/dl-load.c (_dl_map_object_from_fd): Use global
11029 _dl_pf_to_proot array to convert p_flags value.
11030 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11031
11032 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
11033 loop to clear `info'.
11034
11035 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
11036 do the work and don't use inline assembler.
11037
11038 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
11039
11040 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
11041 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
11042 noreturn, and prevent it from being inlined.
11043 Define LOSE appropriately.
11044 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
11045 Optimize decoding of p_flags for certain platforms.
11046
11047 1999-02-19 Philip Blundell <pb@nexus.co.uk>
11048
11049 * Makeconfig (link-libc): When doing a static link, make sure that
11050 libgcc.a is included both before and after libc.a.
11051
11052 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
11053
11054 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
11055 sp_warn, sp_inact, sp_expire and sp_flag.
11056
11057 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
11058
11059 * elf/link.h (link_map): Add l_dev and l_ino.
11060 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
11061 loaded shared object with all loaded objects. Initialize l_ino
11062 and l_dev in case it's new.
11063 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
11064 object.
11065 * elf/Makefile: Compile and run new test.
11066 * elf/multiload.c: New file.
11067
11068 * nss/nsswitch.h (service_user): Change name field from const char *
11069 to char[0].
11070 (name_database_entry): Likewise.
11071 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
11072 for change of `service_user'.
11073 (nss_getline): Adjust memory allocation for change of
11074 `name_database_entry'.
11075
11076 * catgets/catgets.c: Correctly handle NLSPATH from environment
11077 [PR libc/980].
11078
11079 * io/Makefile (routines): Add lock64.
11080 * io/Versions: Add lockf64 for GLIBC_2.1.1.
11081 * sysdeps/generic/lockf64.c: New file.
11082
11083 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11084
11085 * string/bits/string2.h: Only use strncmp optimization if count
11086 argument is constant.
11087
11088 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
11089
11090 * sysdeps/mach/hurd/revoke.c: New file.
11091
11092 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11093
11094 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
11095 int to avoid warning about `ISO C restricts enumerator values to
11096 range of `int''.
11097
11098 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11099
11100 * elf/dlfcn.h: Fix typo.
11101 * sysdeps/generic/bits/dlfcn.h: Likewise.
11102 * sysdeps/mips/bits/dlfcn.h: Likewise.
11103
11104 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11105
11106 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
11107 for the case N == 0.
11108
11109 * db2/Makefile (distribute): Add LICENSE.
11110
11111 1999-02-03 Jeff Bailey <jbailey@nisa.net>
11112
11113 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
11114 generated files.
11115
11116 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
11117
11118 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11119
11120 * time/mktime.c: Use ISO C form for function definitions and
11121 remove unnecessary prototypes.
11122
11123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
11124
11125 * time/time.h: Avoid unneccesary #ifdef.
11126
11127 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
11128
11129 * stdio-common/_itoa.c (_itoa): Correct parameters to
11130 udiv_qrnnd_preinv.
11131
11132 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11133
11134 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
11135 before (e.g. in glob.h).
11136 Closes PR libc/959.
11137
11138 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11139
11140 * sysdeps/mips/fpu_control.h: Fix typo.
11141 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
11142 Remove __setfpucw.
11143
11144 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
11145
11146 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
11147 the "unused" ends of the sockets. Let pipes be bidirectional.
11148
11149 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11150
11151 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
11152 invalid ai_flags.
11153
11154 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11155
11156 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
11157 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
11158
11159 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
11160 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
11161
11162 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11163
11164 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
11165
11166 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11167
11168 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
11169 check for priority mask.
11170
11171 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
11172
11173 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
11174 Reported by Craig Metz <cmetz@inner.net> .
11175
11176 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11177
11178 * stdio-common/Makefile (tests): tllformat added.
11179
11180 * stdio-common/tllformat.c: New program, based on tiformat.c with
11181 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
11182
11183 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11184
11185 * posix/test-vfork.c: Fix exit status test.
11186
11187 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11188
11189 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
11190 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
11191
11192 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11193
11194 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
11195 of separare explicit comparisons.
11196
11197 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11198
11199 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
11200 defined.
11201
11202 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
11203 defined.
11204
11205 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11206
11207 * po/el.po: Update from translation team.
11208
11209 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11210
11211 * intl/locale.alias: Fix slovenian entry [PR libc/948].
11212
11213 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11214
11215 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
11216 * inet/ruserpass.c: Likewise.
11217 * locale/programs/stringtrans.c: Likewise.
11218 * locale/programs/localedef.c: Likewise.
11219 * nscd/grpcache.c: Likewise.
11220 * nss/nss_files/files-XXX.c: Likewise.
11221 * stdlib/canonicalize.c: Likewise.
11222 * sysdeps/posix/sigwait.c: Likewise.
11223
11224 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11225
11226 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
11227 even on 64 bit platforms.
11228
11229 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11230 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
11231
11232 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11233
11234 * intl/dcgettext.c: Include locale.h is available.
11235
11236 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
11237
11238 * po/nl.po: Update from translation team.
11239
11240 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
11241
11242 * Makefile: Allow calling goals for po subdir.
11243
11244 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
11245 signal definitions.
11246
11247 * po/el.po: New file.
11248
11249 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11250
11251 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
11252 when processing DT_SYMBOLIC objects.
11253
11254 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11255
11256 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
11257 program headers without PT_PHDR only require that they are
11258 contained within one of the loaded segments. Don't use assert,
11259 since that would be a bug in the object, not the dynamic linker.
11260
11261 1999-02-08 Richard Henderson <rth@cygnus.com>
11262
11263 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
11264 restore all call-clobbered fp regs.
11265
11266 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
11267
11268 * po/cs.po: New file.
11269
11270 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
11271 SUID binaries.
11272
11273 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
11274
11275 * signal/signal.h: Don't declare __libc_allocate_rtsig.
11276 * include/signal.h: Declare __libc_allocate_rtsig here.
11277
11278 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
11279 point functions, not do_lookup since the later can be called more
11280 than once.
11281
11282 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
11283
11284 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
11285 macro, so that architectures which need to add some special
11286 offset to stack pointer can share this file.
11287
11288 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
11289 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
11290 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
11291 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
11292
11293 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
11294 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
11295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
11296 between sparc32 and sparc64.
11297
11298 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
11299 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
11300 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
11301 between sparc32 and sparc64.
11302
11303 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
11304 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
11305 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
11306 between sparc32 and sparc64.
11307
11308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
11309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
11310 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
11311 between sparc32 and sparc64.
11312
11313 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
11314
11315 * Versions.def: New version GLIBC_2.1.1 for libc.
11316 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
11317 * stdlib/labs.c: Moved to...
11318 * sysdeps/generic/labs.c: ...here.
11319 * stdlib/llabs.c: Moved to...
11320 * sysdeps/generic/llabs.c: ...here.
11321 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
11322 header. Declare _Exit.
11323 * sysdeps/generic/_exit.c: Add alias _Exit.
11324 * sysdeps/mach/hurd/_exit.c: Likewise.
11325 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
11326 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
11327 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
11328 * sysdeps/unix/_exit.c: Likewise.
11329 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
11330 imaxdiv and imaxabs. Declare lldiv_t if necessary.
11331 * sysdeps/wordsize-64/inttypes.h: Likewise.
11332 * sysdeps/wordsize-32/llabs.c: New file.
11333 * sysdeps/wordsize-32/lldiv.c: New file.
11334 * sysdeps/wordsize-64/labs.c: New file.
11335 * sysdeps/wordsize-64/ldiv.c: New file.
11336 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
11337 * manual/startup.texi: Document _Exit.
11338
11339 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11340
11341 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
11342
11343 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
11344
11345 * Versions.def: Add versions for ld.so.
11346 * csu/Versions: Remove __libc_stack_end here.
11347 * elf/Versions: Split libc definitions in libc and ld.so definitions.
11348 * elf/Makefile (ld-map): Change to ld.so.map.
11349 * scripts/versions.awk: Recognize dot in library names.
11350
11351 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
11352 Don't use __tolower and __toupper in inline functions.
11353 Add optimizing macros for tolower and toupper.
11354 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
11355 (_toupper): Don't use __toupper.
11356 * ctype/ctype.c (tolower): Don't use __tolower.
11357 (toupper): Don't use toupper.
11358
11359 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
11360
11361 * resolv/Versions (libresolv): Export __ns_name_unpack and
11362 __ns_name_ntop.
11363 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
11364 make it global. Change all users. Similar for ns_name_ntop.
11365 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
11366 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
11367 directly to detect too small buffer.
11368 * resolv/nss_dns/dns-network.c: Likewise.
11369
11370 * stdio-common/Makefile (tests): Add scanf12.
11371 * stdio-common/scanf12.c: New file.
11372 * stdio-common/scanf12.input: New file.
11373 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
11374 floating-point correctly if the number is invalid.
11375
11376 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
11377 functions.
11378 * stdio-common/printf_fp.c: Likewise.
11379 * stdio-common/printf_fphex.c: Likewise.
11380 * stdio-common/vfprintf.c: Likewise.
11381
11382
11383 See ChangeLog.9 for earlier changes.