Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-02-22  Ulrich Drepper  <drepper@redhat.com>
2
3         * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL.
4
5         * iconv/iconv.h (iconv): Fix prototype.
6
7         * misc/libgen.h: When using gcc using renaming feature to get XPG
8         definition of basename.
9
10         * misc/search.h (struct entry): Fix type of element data.
11
12         * posix/unistd.h (getpagesize): Declare as const function.
13
14         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT.
15         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18
19         * signal/signal.h [__USE_XOPEN]: Define uid_t.
20         (sigstack): Correct type of first parameter.
21         * sysdeps/generic/sigstack.c (sigstack): Likewise.
22         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
23
24         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file.  Copy of
25         old sysdeps/unix/sysv/linux/bits/siginfo.h.
26         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
27         * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band):
28         Change type to `long int'.
29
30         * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to
31         __xpg_sigpause.
32         * sysdeps/generic/sigpause.c: Define __xpg_sigpause.
33         * sysdeps/posix/sigpause.c: Likewise.
34
35         * conform/conformtest.pl: Correct bugs.  Add more functionality.
36         * conform/data/dlfcn.h-data: Correct typos.
37         * conform/data/ftw.h-data: Likewise.
38         * conform/data/iconv.h-data: Likewise.
39         * conform/data/nl_types.h-data: Likewise.
40         * conform/data/search.h-data: Likewise.
41         * conform/data/semaphore.h-data: New file.
42         * conform/data/setjmp.h-data: New file.
43         * conform/data/signal.h-data: New file.
44         * conform/data/stdarg.h-data: New file.
45         * conform/data/stddef.h-data: New file.
46         * conform/data/stdio.h-data: New file.
47
48         * po/de.po: Update from translation team.
49
50 1999-12-31  Martin Buchholz  <martin@xemacs.org>
51
52         * argp/argp-help.c: Fix typos.
53         * argp/argp.h: Likewise.
54         * elf/dl-object.c: Likewise.
55         * elf/dl-open.c: Likewise.
56         * elf/elf.h: Likewise.
57         * elf/rtld.c: Likewise.
58         * iconv/gconv_open.c: Likewise.
59         * localedata/tst-fmon.data: Likewise.
60         * localedata/tst-rpmatch.sh: Likewise.
61         * login/programs/xtmp.h: Likewise.
62         * manual/arith.texi: Likewise.
63         * manual/charset.texi: Likewise.
64         * manual/creature.texi: Likewise.
65         * manual/llio.texi: Likewise.
66         * manual/search.texi: Likewise.
67         * manual/signal.texi: Likewise.
68         * manual/stdio.texi: Likewise.
69         * manual/string.texi: Likewise.
70         * manual/sysinfo.texi: Likewise.
71         * manual/users.texi: Likewise.
72         * manual/examples/argp-ex2.c: Likewise.
73         * manual/examples/argp-ex3.c: Likewise.
74         * manual/examples/argp-ex4.c: Likewise.
75         * manual/examples/mkfsock.c: Likewise.
76         * math/test-fenv.c: Likewise.
77         * nscd/nscd_gethst_r.c: Likewise.
78         * nss/test-netdb.c: Likewise.
79         * posix/regex.c: Likewise.
80         * scripts/test-installation.pl: Likewise.
81         * stdlib/canonicalize.c: Likewise.
82         * stdlib/fmtmsg.c: Likewise.
83         * string/argz-replace.c: Likewise.
84         * string/argz.h: Likewise.
85         * string/bits/string2.h: Likewise.
86         * sysdeps/generic/glob.c: Likewise.
87         * sysdeps/generic/setenv.c: Likewise.
88         * sysdeps/i386/memcmp.S: Likewise.
89         * sysdeps/posix/waitid.c: Likewise.
90         * time/tzset.c: Likewise.
91
92 2000-02-21  Ulrich Drepper  <drepper@redhat.com>
93
94         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add
95         getrlimit@GLIBC_2.0.
96         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
97
98         * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed.
99         Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
100
101         * elf/elf.h (ELF32_ST_OTHER): Removed.
102         (ELF64_ST_OTHER): Likewise.
103
104         * sysdeps/alpha/fpu/fpu_control.h: Update comment.
105
106         * malloc/Makefile (tests): Add tst-valloc.
107         * malloc/tst-valloc.c: New file.
108
109 2000-02-21  Andreas Jaeger  <aj@suse.de>
110
111         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to
112         IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and
113         IPV6_RTHDR_TYPE_0 to synch with RFC 2292.
114         * sysdeps/generic/bits/in.h: Likewise.
115
116 2000-02-21  Ulrich Drepper  <drepper@redhat.com>
117
118         * po/gl.po: Update from translation team.
119
120         * timezone/antarctica: Update from tzdata2000b.
121         * timezone/asia: Likewise.
122         * timezone/australasia: Likewise.
123         * timezone/europe: Likewise.
124
125         * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn
126         call to initialize malloc_getpagesize.
127         (pvALLOc): Likewise.
128
129 2000-02-20  Ulrich Drepper  <drepper@redhat.com>
130
131         * po/it.po: Update from translation team.
132
133 2000-02-20  Philip Blundell  <philb@gnu.org>
134
135         * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
136
137 2000-02-20  Ulrich Drepper  <drepper@redhat.com>
138
139         * sunrpc/rpc_main.c (checkfiles): Add comment to help translators.
140
141         * po/de.po: Update from translation team.
142
143 2000-02-19  Ulrich Drepper  <drepper@redhat.com>
144
145         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of
146         _libc_fpreg and _libc_fpstate and use it to define fpregset_t.
147         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define
148         using elf_gregset_t.
149         (prfpregset_t): Define using elf_fpregset_t.
150
151         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
152         definition compatible with definition in 2.1.2 and before.
153         (struct ucontext): Use fpregset_t.
154         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
155         as pointer to fpregset_t.
156
157 2000-02-18  Ulrich Drepper  <drepper@redhat.com>
158
159         * string/bits/string2.h (strnlen): Add cast to prevent warning.
160
161         * nscd/connections.c (handle_request): Don't abort() if unknown
162         command is sent.
163
164 2000-02-17  Ulrich Drepper  <drepper@redhat.com>
165
166         * nscd/hstcache.c (cache_addhst): Don't cache name->record entries
167         if more than one IP address is available.
168
169 2000-02-17  Jakub Jelinek  <jakub@redhat.com>
170
171         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
172
173 2000-02-16  Ulrich Drepper  <drepper@redhat.com>
174
175         * locale/programs/charmap.c (charmap_read): Find charmap also in
176         the standard directory.
177
178         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
179         __syscall_mmap2.
180
181         * sysdeps/unix/sysv/linux/execve.c: Pretty print.
182
183         * po/it.po: New file.
184         * po/pl.po: Update from translation team.
185
186 2000-02-16  Andreas Jaeger  <aj@suse.de>
187
188         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
189         value.
190
191 2000-02-16  Andreas Jaeger  <aj@suse.de>
192
193         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
194         typo.
195
196 2000-02-15  Andreas Jaeger  <aj@suse.de>
197
198         * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
199
200 2000-02-15  Andreas Jaeger  <aj@suse.de>
201
202         * math/libm-test.inc (nearbyint_test): Add some tests.
203         (rint_test): Likewise.
204
205 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
206
207         * locale/programs/repertoire.c (repertoire_new_char): NUL
208         terminated names of character in range.
209
210         * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
211         Define and initialize use_outdigits in the inner loops.
212
213         * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
214         not exist.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
215
216         * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
217         enable it.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
218         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
219         * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
220
221 2000-02-14  Andreas Jaeger  <aj@suse.de>
222
223         * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
224
225 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
226
227         * manual/job.texi: Fix typos.
228         * manual/process.texi: Likewise.
229         * manual/signal.texi: Likewise.
230
231         * sysdeps/powerpc/atomicity.h: Remove white space to avoid
232         compiler warning.
233
234 2000-02-14  Scott Bambrough  <scottb@netwinder.org>
235
236         * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm):  Add
237         Rebel-NetWinder to platform table so _ioperm platform lookup via
238         /proc/cpuinfo works on later version NetWinders.
239
240 2000-02-13  Ulrich Drepper  <drepper@redhat.com>
241
242         * locale/programs/charmap.c (charmap_read): Remove erronous free
243         call.
244
245         * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
246         so test for overflow and handle it.
247         * sysdeps/i386/fpu/s_sinf.S: Likewise.
248         * sysdeps/i386/fpu/s_tanf.S: Likewise.
249         Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
250
251         * iconvdata/Makefile (modules): Add UTF-16.
252         (distribute): Add utf-16.c.
253         * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
254         UTF-16LE.
255         * iconvdata/utf-16.c: New file.
256         * iconv/gconv_builtin.h: Remove UTF-16 entries here.
257         * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
258         PR libc/1580 and libc/1581.
259
260         * iconv/skeleton.c: Increment __invocation_counter after every call
261         to the loops.
262
263 2000-02-12  Andreas Jaeger  <aj@suse.de>
264
265         * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
266         declaration to place where it's needed to avoid compiler warning.
267         * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
268
269 2000-02-12  Ulrich Drepper  <drepper@redhat.com>
270
271         * locale/weightwc.h (findidx): Correct find index value.
272
273         * locale/nl_langinfo.h: Add casts to prevent warnings.
274
275         * wctype/iswctype_l.c: Use correct types for mapped data.
276         * wctype/wcfuncs.c: Add one more comment for clarification.
277         * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
278         * wctype/wctrans.c: Likewise.
279
280 2000-02-12  Andreas Jaeger  <aj@suse.de>
281
282         * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
283         conventions.
284         (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
285         (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
286         file and make dependend on RESOLVE.
287         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
288         (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
289
290 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
291
292         * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
293
294         * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
295         alias for CURRENCY_SYMBOL.
296         * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
297         information.  [PR libc/1583].
298
299 2000-02-08  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
300
301         * locale/weightwc.h: Fix problem with collating-element.
302
303         * locale/programs/ld-collate.c (collate_finish): Output wide
304         character collating-symbol, which has no wide strings.
305
306         * locale/programs/ld-collate.c (collate_output): Fix problem with
307         wide character collating-element.
308
309 2000-02-09  Andreas Jaeger  <aj@suse.de>
310
311         * time/strptime.c (strptime_internal): Fix pointer dereference.
312         Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
313         libc/1591.
314
315 2000-02-08  Jakub Jelinek  <jakub@redhat.com>
316
317         * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
318         * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
319         * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
320         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
321         shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
322         * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
323         and oldshmctl to sysdep-routines.
324
325 2000-02-08  Andreas Jaeger  <aj@suse.de>
326
327         * locale/programs/locale.c (write_locales): Fix handling of
328         whitespace lines.
329         Fixes PR libc/1588, reported by Miroslav Holcak
330         <miroslav.holcak@vitkovice.cz>.
331
332 2000-02-07  Thorsten Kukuk  <kukuk@suse.de>
333
334         * config.make.in: Add infodir.
335         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
336         header files.
337
338 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
339
340         * posix/getopt.c: Suppress messages if first character of
341         optstring is a colon (PR libc/1584).
342
343         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
344         and elf_* types to interpret values passed up from the kernel.
345         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
346
347         * locale/nl_langinfo.c: Correct return value in error case.  Don't
348         set errno (PR libc/1582).
349         * manual/locale.texi: Update to reflect change.
350
351 2000-02-02  Andreas Schwab  <schwab@suse.de>
352
353         * malloc/Makefile (distribute): Add memprof.h.
354         * malloc/memprof.c: Move definition of GETSP and GETTIME to new
355         header memprof.h.
356         * sysdeps/generic/memprof.h: New file.
357         * sysdeps/alpha/memprof.h: New file.
358         * sysdeps/i386/memprof.h: New file.
359         * sysdeps/m68k/memprof.h: New file.
360         * sysdeps/mips/memprof.h: New file.
361         * sysdeps/powerpc/memprof.h: New file.
362         * sysdeps/sparc/memprof.h: New file.
363
364 2000-02-01  Jakub Jelinek  <jakub@redhat.com>
365
366         * sysdeps/unix/sysv/linux/getresgid.c: Move...
367         * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
368         (getresgid): Use getresgid32 if __libc_missing_32bit_uids
369         is -1 or 0.
370         * sysdeps/unix/sysv/linux/getresuid.c: Move...
371         * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
372         (getresuid): Use getresuid32 if __libc_missing_32bit_uids
373         is -1 or 0.
374         * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
375         __libc_missing_32bit_uids.
376         (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
377         -1 or 0.
378         * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
379         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
380         * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
381         * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
382         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
383         * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
384         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
385         * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
386         * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
387         * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
388         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
389         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
390         * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
391         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
392         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
393         * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
394         * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
395         * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
396         * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
397         * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
398         * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
399         * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
400         * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
401         * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
402         * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
403         * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
404         * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
405         * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
406         * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
407         * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
408         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
409         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
410         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
411         * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
412         Make syscall directly, no stubs needed.
413         (getresgid): Likewise.
414         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
415         Likewise.
416         (getresgid): Likewise.
417
418 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
419
420         * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
421         Reported by Bruno Haible <haible@ilog.fr>.
422
423         * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
424
425         * stdio-common/printf_fp.c: Truely support wide characater output.
426         Finally handle decimal points and thousands separator characters
427         correctly for multibyte output.
428         * stdio-common/printf_size.c: Likewise.
429         * sysdeps/generic/printf_fphex.c: Likewise.
430         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
431
432         * stdio-common/vfscanf.c: Implement I modifier for numbers to read
433         locale dependent digits.
434
435         * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
436         decimal point and thousands separator values to wide characters from
437         wide character strings.
438         * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
439
440         * locale/indigitswc.h: Dereference wcdigits array elements.
441
442 2000-02-03  Jakub Jelinek  <jakub@redhat.com>
443
444         * stdlib/canonicalize.c (canonicalize): Zero terminate
445         path to copy on error.
446
447 2000-02-01  Cristian Gafton  <gafton@redhat.com>
448
449         * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
450
451 2000-01-31  Philip Blundell  <philb@gnu.org>
452
453         * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
454
455 2000-01-31  Andreas Jaeger  <aj@suse.de>
456
457         * intl/Makefile (generated): msgs.h is generated.
458
459         * localedata/Makefile (generated-dirs): Add de_DE.437.
460
461 2000-01-31  Jakub Jelinek  <jakub@redhat.com>
462
463         * config.make.in: Allow default localedir to come from configure.
464         * configure.in: Export libc_cv_localedir.
465         * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
466         stuff into $exec_prefix/lib/locale because it can be shared between
467         32bit and 64bit libraries.
468         * configure: Rebuilt.
469         * sysdeps/unix/sysv/linux/configure: Rebuilt.
470
471 2000-01-31  Andreas Jaeger  <aj@suse.de>
472
473         * inet/tst-network.c: New file.
474         * inet/Makefile (tests): Add tst-network.
475
476         * inet/inet_net.c (inet_network): Don't overwrite memory or allow
477         to great last digits.
478
479 2000-02-10  Andreas Jaeger  <aj@suse.de>
480
481         * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
482         Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
483
484 2000-02-09  Andreas Jaeger  <aj@suse.de>
485
486         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
487
488         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
489
490 2000-02-08  Andreas Jaeger  <aj@suse.de>
491
492         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
493
494         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
495         Make it compile.
496
497         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
498         c_ispeed and c_ospeed which are not implemented.
499
500         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
501         for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
502         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
503         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
504         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
505
506 2000-02-05  Andreas Jaeger  <aj@suse.de>
507
508         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
509         work - set to 4 in accordance with changes made in the Linux/MIPS
510         kernel.  Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
511         actually work.
512
513 2000-02-04  Andreas Jaeger  <aj@suse.de>
514
515         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
516         the defines.
517
518 2000-02-03  Andreas Jaeger  <aj@suse.de>
519
520         * sysdeps/mips/abort-instr.h: New file.
521
522         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
523
524         * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
525
526         * sysdeps/mips/stackinfo.h: New file.
527
528 2000-02-01  Andreas Jaeger  <aj@suse.de>
529
530         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
531
532         * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
533         generic function.
534         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
535
536         * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
537         Baechle <ralf@gnu.org>.
538
539         * sysdeps/unix/sysv/linux/mips/brk.c: New file.
540
541         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
542
543         * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
544
545 2000-01-31  Andreas Jaeger  <aj@suse.de>
546
547         * inet/inet_net.c (inet_network): Synch with bind 8.2.2.  Fixes PR
548         libc/1567.
549
550 2000-01-30  Ulrich Drepper  <drepper@redhat.com>
551
552         * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
553         the standard.
554         * sysdeps/alpha/fpu/fesetround.c: Likewise.
555         * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
556         * sysdeps/arm/fpu/fesetround.c: Likewise.
557         * sysdeps/generic/feholdexcpt.c: Likewise.
558         * sysdeps/generic/fesetround.c: Likewise.
559         * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
560         * sysdeps/i386/fpu/fesetround.c: Likewise.
561         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
562         * sysdeps/m68k/fpu/fesetround.c: Likewise.
563         * sysdeps/mips/fpu/fesetround.c: Likewise.
564         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
565         * sysdeps/powerpc/fpu/fesetround.c: Likewise.
566         * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
567         * sysdeps/sparc/fpu/fesetround.c: Likewise.
568         Patch by Miloslav Trmac <mitr@volny.cz>.
569
570         * locale/programs/ld-collate.c (struct locale_collate_t): Change
571         type of plane_size and plane_cnt to uint32_t.
572         Reported by Jakub Jelinek.
573
574 2000-01-29  Jakub Jelinek  <jakub@redhat.com>
575
576         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
577         (SYSCALL_ERROR_HANDLER): Optimize.
578         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
579         Include linux/sparc/sysdep.h.
580         Use a different guard define than linux/sparc/sysdep.h.
581         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
582         stubs for inlined syscalls.
583         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
584         (SYSCALL_ERROR_HANDLER): Optimize.
585         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
586         Include linux/sparc/sysdep.h.
587         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
588         stubs for inlined syscalls.
589         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
590         Use INLINE_SYSCALL.
591         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
592         * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
593
594 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
595
596         * locale/loadlocale.c (_nl_load_locale): Optimize a bit.  Pretty
597         print.  Add checks for _POSIX_MMAPPED_FILES where necessary.
598         (_nl_unload_locale): If locale data was mmapped use munmap.
599
600 2000-01-29  Andreas Jaeger  <aj@suse.de>
601
602         * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
603         _EXTERN_INLINE, compile inline assembler functions only with gcc.
604
605 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
606
607         * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
608         * catgets/gencat.c (read_input_file): Remove messages correctly.
609         * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
610         adjacent colons correctly.  Correct loops to read territory and
611         and codeset part.
612         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
613
614         * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
615         pool entry.
616         Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
617
618 2000-01-28  Jakub Jelinek  <jakub@redhat.com>
619
620         * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
621         interface with symbol version GLIBC_2.2.
622         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
623         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
624         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
625         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
626
627 2000-01-27  Scott Bambrough  <scottb@netwinder.org>
628
629         * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
630         resource directory.
631         * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
632         versioning setrlimit and getrlimit.
633
634 2000-01-27  Andreas Jaeger  <aj@suse.de>
635
636         * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
637         * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
638
639 2000-01-27  Ruediger Oertel  <ro@suse.de>
640
641         * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
642
643 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
644
645         * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
646         correct place to avoid uninitialized memory passed to writev.
647
648         * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
649         long string in definition.Only enable returning wide character
650         strings if really needed.
651         * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
652
653         * configure.in: Add check for recent enough sed version.
654
655 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
656
657         * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
658         _i18n_itoa): Fix parameter lists.
659
660         * locale/C-monetary.c: Add initializers for new fields.
661         * locale/C-numeric.c: Likewise.
662         * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
663         outdigits.h, and outdigitswc.h.
664         * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
665         _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
666         and _NL_NUMERIC_THOUSANDS_SEP_WC.
667         * locale/indigits.h: New file.
668         * locale/indigitswc.h: New file.
669         * locale/outdigits.h: New file.
670         * locale/outdigitswc.h: New file.
671         * locale/programs/ld-monetary.c: Write out decimal point and
672         thousands separator info in wide character form.
673         * locale/programs/ld-numeric.c: Likewise.
674         * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
675         (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
676         * stdio-common/_i18n_itoa.c: New file.
677         * stdio-common/_i18n_itoa.h: New file.
678         * stdio-common/_i18n_itowa.c: New file.
679         * stdio-common/_i18n_itowa.h: New file.
680         * stdio-common/printf-parse.h: Parse 'I' flag.
681         * stdio-common/printf.h (struct printf_info): Add i18n field.
682         * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
683         outdigits.
684
685 2000-01-27  Geoff Keating  <geoffk@cygnus.com>
686
687         * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
688         unnecessarily.
689
690         * sysdeps/unix/sysv/linux/kernel-features.h
691         (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
692         __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
693         2.3.35.
694
695         * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
696         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
697         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
698         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
699         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
700         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
701         * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
702         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
703         s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
704         s_truncate64.
705         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
706         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
707
708         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
709         __curbrk off the small data area register.  Reported by
710         Andrew Haley <aph@pasanda.cygnus.co.uk>.
711
712 2000-01-26  Andreas Jaeger  <aj@suse.de>
713
714         * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
715
716 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
717
718         * locale/Makefile (distribute): Remove nonexisting files.
719         * sysdeps/powerpc/Dist: Move FPU specific files to...
720         * sysdeps/powerpc/fpu/Dist: ...here.  New file.
721         * nss/Makefile: Distribute files for new libdb interface.
722         * math/Makefile (distribute): Add README.libm-test.
723         Patch by Andreas Jaeger.
724
725 2000-01-26  David McCann  <david.mccann@alcatel.at>
726
727         * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
728
729 2000-01-25  Andreas Jaeger  <aj@suse.de>
730
731         * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
732         version check since we're using cpp.
733
734 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
735
736         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
737         Fix a typo.
738
739 2000-01-26  Andreas Jaeger  <aj@suse.de>
740
741         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
742         about unitialised variable kbuf.
743         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
744         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
745
746 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
747
748         * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
749         messages.
750         (collate_read): Remove unnecessary `if'.
751
752 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
753
754         * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
755         and load appropriate conversions.
756         * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
757         made global.
758         * libio/libioP.h: Declare __libio_codecvt.
759         * manual/stdio.texi: Document ,ccs= option for fopen.
760         * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
761         * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
762
763         * libio/iofclose.c: Free conversion data if stream was wide-oriented.
764
765         * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
766
767         * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
768
769         * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
770         * posix/testfnm.c: Add a few more tests.  Rearrange test output.
771
772 2000-01-25  Andreas Schwab  <schwab@suse.de>
773
774         * posix/testfnm.c: Add new test case.  Use FNM_PATHNAME instead of
775         FNM_FILE_NAME consistently.
776
777 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
778
779         * posix/fnmatch.c: Define STRCOLL appropriately for the loop
780         definition.
781         * posix/fnmatch_loop.c: Undefine STRCOLL.
782
783         * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
784         kernels with stat64 support.
785         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
786         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
787         Patch by SL Baur <steve@xemacs.org>.
788
789         * string/strxfrm.c: Don't count in the terminating NUL byte/word.
790
791 2000-01-24  Paul Eggert  <eggert@twinsun.com>
792
793         * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
794         deciding whether a character falls within a character range.
795
796 2000-01-24  Paul Eggert  <eggert@twinsun.com>
797
798         * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
799         lower-case A too.
800
801 2000-01-24  Thorsten Kukuk  <kukuk@suse.de>
802
803         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
804
805 2000-01-23  Paul Eggert  <eggert@twinsun.com>
806
807         * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
808
809 2000-01-23  Paul Eggert  <eggert@twinsun.com>
810
811         * posix/regex.c (compile_range): When matching a character
812         range, use the current collating sequence, as POSIX requires.
813
814 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
815
816         * string/argz-stringify.c: Handle case of missing \0 at the end of
817         the given argz.
818
819 2000-01-24  Ulrich Drepper  <drepper@cygnus.com>
820
821         * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
822         size anymore.
823
824         * locale/programs/ld-collate.c (collate_output): Also handle
825         IGNOREd characters in the simple way when generating the multibyte
826         table.
827
828         * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
829         handling to ...
830         (ctype_finish): ...here.  Check for missing codeset name.
831
832         * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
833         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
834
835 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
836
837         * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
838         * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
839         * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
840         * sysdeps/unix/sysv/linux/msgctl.c: ...here.  Include ipc_priv.h.
841         * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
842         * sysdeps/unix/sysv/linux/semctl.c: ...here.  Include ipc_priv.h.
843         * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
844         * sysdeps/unix/sysv/linux/shmctl.c: ...here.  Include ipc_priv.h.
845         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
846         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
847         * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
848         * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
849         * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
850         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
851         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
852         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
853         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
854         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
855         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
856         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
857         * sysdeps/unix/sysv/linux/msgget.c: Likewise.
858         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
859         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
860         * sysdeps/unix/sysv/linux/semget.c: Likewise.
861         * sysdeps/unix/sysv/linux/semop.c: Likewise.
862         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
863         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
864         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
865
866 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
867
868         * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
869         * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
870         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
871         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
872         * sysdeps/unix/sysv/linux/arm/Versions: Remove
873         setrlimit64@GLIBC_2.1.3.
874         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
875         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
876         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
877         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
878         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
879         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
880         so that setrlimit64@GLIBC_2.1 can report limits above 2G.
881         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
882         setrlimit): Remove syscall stubs, add normal syscalls.
883         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
884         Remove syscall stub.
885
886 2000-01-22  Andreas Jaeger  <aj@suse.de>
887
888         * localedata/tst-locale.sh: Enable test for de_DE.437.
889
890 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
891
892         * string/Versions: Export __strndup.
893
894 2000-01-23  Philip Blundell  <philb@gnu.org>
895
896         Add basic support for RPC over IPv6:
897         * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
898         for remote address.
899         (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
900         prototypes.
901         * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
902         clntudp6_bufcreate): New prototypes.
903         * inet/netinet/in.h (bindresport6): Likewise.
904         * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
905         * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
906         svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
907         bindresvport6 for GLIBC_2.2.
908         * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
909         * sunrpc/rpc_svcout.c: Likewise.
910         * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
911         simple assignment when copying addresses.
912         * sunrpc/svc_udp.c (cache_get): Likewise.
913         * sunrpc/svc_unix.c (rendezvous_request): Likewise.
914         * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
915         sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
916
917 2000-01-05  Philip Blundell  <philb@gnu.org>
918
919         * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
920
921 2000-01-23  Andreas Jaeger  <aj@suse.de>
922
923         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
924         parameter to fstat calls.
925
926 2000-01-18  Roland McGrath  <roland@baalperazim.frob.com>
927
928         * sysdeps/generic/bits/socket.h
929         (__ss_aligntype, struct sockaddr_storage): Make these like Linux
930         version, replacing old type name `__ss_align'.
931
932 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
933
934         * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
935         (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
936         * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
937         (__lseek, lseek): Make these weak aliases for __libc_lseek.
938         * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
939         (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
940         * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
941         (__open, open): Make these weak aliases for __libc_open.
942
943         * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
944         trailing comma.
945         (anonymous enum for MSG_*): Likewise.
946         (anonymous enum for SO_*): Likewise.
947
948 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
949
950         * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
951         (PR libc/1553).
952
953 2000-01-08  Mark Kettenis  <kettenis@gnu.org>
954
955         * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
956         (setitimer_locked): Use it to quantize the timer values.  Use
957         quantized timer values to check if the timeout changed.
958
959 2000-01-22  Andreas Jaeger  <aj@suse.de>
960
961         * sunrpc/rpc/svc.h: Fix description for svc_register.
962
963 2000-01-23  Mark Kettenis  <kettenis@gnu.org>
964
965         * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
966
967 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
968
969         * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
970         fixes part 2 of bug 1549.
971         * sunrpc/rpc_des.h: Remove unused defines.
972
973 2000-01-22  Mark Kettenis  <kettenis@gnu.org>
974
975         * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
976
977 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
978
979         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
980         * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
981         * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
982         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
983         * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
984         * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
985         and other inline functions for port access.
986         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
987         access functions.
988
989 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
990
991         * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
992         Patch by Bruno Haible <haible@ilog.fr>.
993
994 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
995
996         * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
997         them all at the end, eliding the final comma.
998         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
999
1000 2000-01-21  Ulrich Drepper  <drepper@cygnus.com>
1001
1002         * intl/libintl.h: Add format_arg attributes to declarations of new
1003         functions.
1004
1005         * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
1006         ngettext, and plural.
1007         (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
1008         (test-srcs): Add tst-gettext.
1009         (before-compile): Add $(objpfx)msgs.h.
1010         Add rules for plural.c and msgs.h generation and running tst-gettext.\
1011         * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
1012         and ngettext.
1013         * intl/dcgettext.c: Move most code into dcigettext.c.  Add call
1014         dcigettext with appropriate parameters.
1015         * intl/dcigettext.c: New file.
1016         * intl/dcngettext.c: New file.
1017         * intl/dngettext.c: New file.
1018         * intl/ngettext.c: New file.
1019         * intl/gettextP.h (struct expression): Define.
1020         (struct loaded_domain): Add plural and nplurals members.
1021         Add prototypes for new internal functions.
1022         * intl/libintl.h: Declare new functions.  Add optimizations for them.
1023         * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
1024         * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
1025         header entry and parse and store the expression.
1026         * intl/plural.y: New file.
1027         * intl/po2test.sed: New file.
1028         * intl/tst-gettext.c: New file.
1029         * intl/tst-gettext.sh: New file.
1030         * manual/message.texi: Document new interfaces.
1031
1032         * intl/gettext.c: Call __dcgettext directly.
1033
1034 2000-01-20  Ulrich Drepper  <drepper@cygnus.com>
1035
1036         * manual/getopt.texi (Using the getopt function): Fix description of
1037         return value for format string starting with '-' (PR libc/1551).
1038         Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
1039
1040         * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
1041         Patch by jens.moeller@westgeo.com (PR libc/1550).
1042
1043         * locale/programs/ld-collate.c (struct element_t): Add wclast
1044         and compute it where necessary.
1045         (collate_output): Insert indirect references in the right order.
1046
1047         * math/Makefile (tests): Add test-misc.
1048         * math/test-misc.c: New file.
1049
1050 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
1051
1052         * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
1053         with exponent >31 and < 63 (PR libc/1548).
1054
1055         * locale/programs/ld-collate.c (output_weightwc): Return index
1056         measured in words, not bytes.  Don't write out words for ignored
1057         characters.
1058         (collate_output): Correct various problems with alignment in the
1059         output file.
1060         * locale/weight.h: Adjust for last change in ld-collate.c of adding
1061         alignment padding.
1062
1063         * stdlib/strfmon.c: Don't report an error if final NUL is at the
1064         end of the buffer.  Set errno correctly if floating-point number
1065         would overflow buffer.
1066
1067         * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
1068
1069         * locale/weight.h (findidx): Little optimization.  Correctly return
1070         offset in indirect table.
1071         * locale/programs/ld-collate.c (struct element_t): Add mblast
1072         and compute it where necessary.
1073         (insert_weights): Correctly handle missing weights in ellipsis
1074         expression.
1075         (handle_ellipsis): Correctly enqueue new element.
1076         (collate_output): Insert indirect references in the right order.
1077
1078 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1079
1080         * wcsmbs/mbrtowc.c: Create temporary state object if no output is
1081         written.
1082         * wcsmbs/mbsrtowcs.c: Likewise.
1083         * wcsmbs/wcrtomb.c: Likewise.
1084         * wcsmbs/wcsrtombs.c: Likewise.
1085
1086         * wcsmbs/wcrtomb.c: Compute result correctly for successful call
1087         with s == NULL.
1088
1089         * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
1090         in gconv function.
1091
1092         * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
1093         incomplete but correct.
1094
1095         * locale/programs/charmap.c: NUL-terminate names of generated
1096         entries for ellipsis.
1097
1098 2000-01-18  Andreas Jaeger  <aj@suse.de>
1099
1100         * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
1101         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1102         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
1103         _STAT_VER_KERNEL handling up; don't save errno.
1104         * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
1105         * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
1106         * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
1107         * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
1108         * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
1109         * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
1110         * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
1111         * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
1112         * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
1113
1114 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1115
1116         * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
1117         Remove done variable and all uses.
1118         * iconv/skeleton.c: Update comment for *written modification.
1119         * iconv/gconv_int.h (__gconv): Update comment.
1120         Reported by Bruno Haible.
1121
1122 2000-01-18  Bruno Haible  <haible@ilog.fr>
1123
1124         * posix/fnmatch.c (ISWCTYPE): New macro.
1125         (__wcschrnul): New function.
1126         (BTOWC): New macro. Define it instead of __btowc.
1127         (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
1128         wcsrtombs. Call wctype, not __wctype.
1129         * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
1130         BTOWC instead of __btowc.
1131
1132 2000-01-18  Andreas Jaeger  <aj@suse.de>
1133
1134         * inet/Versions: Add new functions added on 2000-01-17.
1135
1136 2000-01-18  Jakub Jelinek  <jakub@redhat.com>
1137
1138         * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
1139
1140 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1141
1142         * timezone/antarctica: Update from tzdata2000a.
1143         * timezone/asia: Likewise.
1144         * timezone/australasia: Likewise.
1145         * timezone/backward: Likewise.
1146         * timezone/northamerica: Likewise.
1147         * timezone/southamerica: Likewise.
1148         * timezone/zone.tab: Likewise.
1149
1150         * nscd/connections.c (dbs): Use
1151         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
1152         Pretty printing.
1153
1154         * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
1155         address.  Suggested by Philip Blundell.
1156
1157         * posix/TESTS: Fix expected result for test cases with * with no
1158         leading expression.
1159
1160         * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
1161         * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here.  New file.
1162         * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
1163         open call would require read permission.
1164         Patch by James Antill <james@and.org>.
1165
1166         * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
1167
1168         * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
1169         * sysdeps/posix/getaddrinfo.c: Correct modifications done for
1170         PR1515.  Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1171
1172         * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
1173         * posix/regex.c (regex_compile): Return appropriate errors for
1174         unterminated brace expressions.  Detect invalid characters
1175         in brace expressions.
1176         * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
1177         * sysdeps/posix/sysconf.c: Include regex.h.
1178         Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
1179
1180 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1181
1182         * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
1183         AI_NUMERICHOST flag is set, return an error.
1184         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1185
1186         * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
1187         iruserok_af.
1188         * inet/rexec.c: Implement rexec_af.
1189         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1190
1191         * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
1192         and rresvport_af.
1193
1194 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1195
1196         * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
1197         * sysdeps/unix/sysv/linux/bits/sem.h: New file.
1198         * sysdeps/unix/sysv/linux/bits/shm.h: New file.
1199         * sysdeps/unix/sysv/linux/bits/msg.h: New file.
1200         * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
1201         * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
1202         * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
1203         * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
1204         * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
1205         * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
1206         * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
1207         * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
1208
1209         * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1210         Renamed from msgctl.
1211         (__new_msgctl): New function.
1212         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1213         Renamed from semctl.
1214         (__new_semctl): New function.
1215         * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1216         Renamed from shmctl.
1217         (__new_shmctl): New function.
1218
1219         * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1220         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1221         * sysdeps/unix/sysv/linux/semget.c: Likewise.
1222         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1223         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1224         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1225         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1226         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1227
1228         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1229         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1230         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1231
1232         * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1233
1234 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1235
1236         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1237         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1238         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1239         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1240         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1241         syscalls.
1242
1243         * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1244         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1245
1246         * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1247         available on sparc since 2.3.39.
1248
1249         * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1250
1251 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1252
1253         * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1254         prototype.
1255         (__real_chown): Return EINVAL if owner or group are out of the range
1256         -1U .. 65534.
1257         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1258         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1259         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1260         EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1261         * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1262         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1263         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1264         * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1265         prototype.
1266         Don't include non-existant header.
1267         (__chown): Return EINVAL if owner or group are out of the range
1268         -1U .. 65534.
1269         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1270         setresgid): Inherit standard linux/syscalls.list definitions.
1271         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1272         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1273         * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1274         __setresgid symbol.
1275
1276 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1277
1278         * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1279         from 1989 change in ISO 639.
1280
1281 2000-01-12  Andreas Jaeger  <aj@suse.de>
1282
1283         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1284         function; needed for 32bit uid support.
1285
1286         * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1287         uids correctly.
1288
1289 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1290
1291         * intl/locale.alias: Add entries for galician.
1292
1293         * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1294         try to get sequence from charmap with Uxxxxxxxx name.
1295         (charclass_ucs4_ellipsis): Likewise.
1296         (charclass_charcode_ellipsis): Allow byte sequence missing.
1297         (read_writestring): Free allocated memory in case of an error.
1298         (set_class_defaults): Don't search repertoire map for wide character
1299         default values; we know it's UCS4.
1300
1301         * locale/programs/repertoire.c (repertoire_find_value): Just return an
1302         error if no repertoire map was loaded.
1303         (repertoire_find_symbol): Likewise.
1304         (repertoire_find_seq): Likewise.
1305
1306         * posix/fnmatch.c: Put internal_fnmatch in separate file.  Include
1307         twice, to define singlebyte and multibyte version.
1308         (fnmatch): Differentiate between singlebyte and multibyte locale and
1309         call appropriate internal function.
1310         * posix/fnmatch_loop.c: New file.
1311         * posix/Makefile (distribute): Add fnmatch_loop.c.
1312
1313         * locale/programs/repertoire.c (repertoire_read): Don't print
1314         error message when repertoire map is missing.
1315         (repertoire_complain): Print error message for missing map, but only
1316         once.
1317         * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1318
1319         * locale/programs/linereader.c (get_string): Prefer getting names
1320         from charseq entries.  Try finding Uxxxxxxxx names in charmap
1321         before trying to map from repertoire.
1322
1323 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1324
1325         * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1326         error in last change.
1327         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1328
1329         * stdlib/longlong.h: Fix typo in last patch.
1330
1331 2000-01-12  Andreas Jaeger  <aj@suse.de>
1332
1333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1334         Added for Linux 2.3.39+.
1335
1336         * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1337         32bit GIDs.
1338         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1339         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1340         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1341         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1342         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1343         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1344         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1345         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1346         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1347         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1348         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1349         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1350         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1351         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1352         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1353
1354         * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1355         * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1356         * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1357         * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1358         * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1359         * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1360         * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1361         * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1362         * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1363         * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1364         * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1365         * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1366         * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1367         * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1368         * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1369         * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1370         * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1371         * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1372         * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1373         * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1374         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1375         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1376         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1377         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1378         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1379         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1380         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1381         Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1382
1383 2000-01-14  Jakub Jelinek  <jakub@redhat.com>
1384
1385         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1386
1387 2000-01-13  Jakub Jelinek  <jakub@redhat.com>
1388
1389         * sysdeps/generic/backtrace.c: Include signal.h which
1390         sigcontextinfo.h headers are used to expect.
1391         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1392         (register_dump): Fix a typo in the printout.
1393         Avoid using reg_window, so that asm/ptrace.h is not necessary.
1394         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1395         (ADVANCE_STACK_FRAME): Likewise.
1396
1397         * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1398         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1399         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1400
1401         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1402         to make it clear this file depends on __WORDSIZE.
1403         * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1404         Renamed from have_no_truncate64.
1405         * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1406         Likewise.
1407
1408 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1409
1410         * Makeconfig (rpath-dirs): Remove db2.
1411         (dbojdir): Remove variable.
1412
1413         * locale/programs/locfile.h (handle_copy): Take repertoire map
1414         name as parameter, not pointer to repertoire structure.
1415         * locale/programs/ld-address.c: Change caller.
1416         * locale/programs/ld-ctype.c: Likewise.
1417         * locale/programs/ld-identification.c: Likewise.
1418         * locale/programs/ld-measurement.c: Likewise.
1419         * locale/programs/ld-messages.c: Likewise.
1420         * locale/programs/ld-monetary.c: Likewise.
1421         * locale/programs/ld-name.c: Likewise.
1422         * locale/programs/ld-numeric.c: Likewise.
1423         * locale/programs/ld-paper.c: Likewise.
1424         * locale/programs/ld-telephone.c: Likewise.
1425         * locale/programs/ld-time.c: Likewise.
1426
1427 2000-01-13  Ulrich Drepper  <drepper@cygnus.com>
1428
1429         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1430         mmap2 is available when compiling but no at runtime.
1431
1432 2000-01-12  Ulrich Drepper  <drepper@cygnus.com>
1433
1434         * iconvdata/iso-ir-165.c: New file.
1435         * iconvdata/iso-ir-165.h: New file.
1436         * iconvdata/Makefile: Add rules to build libISOIR165.
1437
1438         * Makefile (install): Correct passing -r parameter to ldconfig.
1439
1440         * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1441         Reported by Bruno Haible <haible@ilog.fr>.
1442
1443 2000-01-11  Andreas Schwab  <schwab@suse.de>
1444
1445         * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1446
1447 2000-01-10  Thorsten Kukuk  <kukuk@suse.de>
1448
1449         * nss/getent.c: Add ipv6 support for hosts.
1450
1451 2000-01-05  Philip Blundell  <pb@futuretv.com>
1452
1453         * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1454         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1455         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1456         oldsetrlimit.
1457         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1458         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1459         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1460         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1461         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1462         * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1463
1464         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1465         (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1466         [subdir=misc] (sysdep_headers): Add sys/elf.h.
1467
1468 2000-01-09  Andreas Jaeger  <aj@suse.de>
1469
1470         * manual/install.texi (Tools for Compilation): Update required
1471         compiler version.
1472         (Configuring and compiling): Restore old comments about
1473         configparms; modify to reflect current usage.
1474
1475 2000-01-09  Philip Blundell  <philb@gnu.org>
1476
1477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1478         resolution if the hints included AI_NUMERICHOST.
1479
1480 2000-01-11  Andreas Schwab  <schwab@suse.de>
1481
1482         * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1483         infinite loop to avoid pulling in stdio in the dynamic linker.
1484         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1485
1486 2000-01-10  Andreas Jaeger  <aj@suse.de>
1487
1488         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1489         change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1490         EM_MIPS_RS3_LE.
1491         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1492
1493         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1494         gregset_t, fpregset_t, and NGREG definitions.
1495
1496         * sysdeps/mips/Implies: Add wordsize-32.
1497
1498         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1499         int's.
1500
1501         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1502         missing int's.
1503
1504         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1505         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1506         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1507         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1508         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1509         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1510         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1511
1512 2000-01-09  Philip Blundell  <philb@gnu.org>
1513
1514         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1515         (dl_platform_init): Allow _dl_platform to be NULL.
1516
1517         * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1518         last change.
1519
1520 2000-01-08  Ulrich Drepper  <drepper@cygnus.com>
1521
1522         * nscd/connections.c (handle_request): Handle systems without
1523         SO_PEERCRED.
1524         (nscd_run): Likewise.
1525
1526 2000-01-07  Andreas Jaeger  <aj@suse.de>
1527
1528         Add support for Berkeley db 3.0.x and merge db support:
1529         * nss/nss_db/dummy-db.h (struct db30): New.
1530         (struct dbc30): New.
1531         Added DB30* flags.
1532
1533         * nss/makedb.c: Move all database routines to db-open.c.
1534         (main): Adjust to interface changes.
1535         Load database early to initialize version dependend variables.
1536
1537         * nss/db-open.c: Merge database routines from makedb.c.
1538         Define version dependend constansts as variables.
1539         (load_db): Check also for db 3.
1540         (internal_setent): Call dbopen.
1541         (db_cursor): New function from makedb; handles db 3 now.
1542         (dbopen): New function from makedb; handles db 3.
1543
1544         * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1545         different in different DB versions.
1546
1547         * nss/nss_db/nss_db.h: Add version dependend constants as
1548         variables, add exportet interfaces from db-open.c.
1549
1550         * nss/Makefile ($(objpfx)makedb): Link against db-open.
1551
1552 2000-01-07  Ulrich Drepper  <drepper@cygnus.com>
1553
1554         * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1555         Reported by Jim Meyering.
1556
1557         * time/strftime.c: Pretty printing.
1558
1559 2000-01-07  Andreas Jaeger  <aj@suse.de>
1560
1561         * manual/socket.texi (Host Names): Fix example.
1562         Reported by Marco Budde <budde@telos.de>.
1563
1564 2000-01-06  Ulrich Drepper  <drepper@cygnus.com>
1565
1566         * localedata/Makefile (install-locales): Create locale directory
1567         if it does not exist.
1568
1569         * locale/programs/charmap.c (charmap_read): Call lr_open here and
1570         not in parse_charmap.  Try also the directories on the I18NPATH.
1571         (parse_charmap): Change accordingly.
1572
1573 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1574
1575         * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1576         and oldsetrlimit64.c.
1577
1578         * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1579         sys/procfs.h.
1580
1581         * manual/texinfo.tex: Updated from latest official version.
1582
1583         * debug/Makefile (distribute): Add frame.h.
1584
1585 2000-01-05  Philip Blundell  <philb@gnu.org>
1586
1587         * sysdeps/arm/frame.h: New file.
1588         * sysdeps/generic/frame.h: Likewise.
1589         * sysdeps/generic/segfault.c (struct layout): Delete definition;
1590         include the above file instead.
1591         * sysdeps/generic/backtrace.c (struct layout): Likewise.
1592         (__backtrace): Use ADVANCE_STACK_FRAME.
1593         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1594         (ADVANCE_STACK_FRAME): New macro.
1595         (GET_FRAME): Apply above to returned value.
1596
1597         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1598
1599 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1600
1601         * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1602         Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1603
1604         * io/ftw.c (process_entry): Cache object dev/inode only for
1605         directories (PR libc/1514).
1606
1607 2000-01-05  Andreas Schwab  <schwab@suse.de>
1608
1609         * locale/programs/charmap.c (charmap_read): Fix typo.
1610
1611 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1612
1613         * locale/programs/charset.c: Removed.
1614
1615         * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1616         * iconvdata/gconv-modules: Likewise.
1617         * iconvdata/iso8859-16.c: New file.
1618
1619 2000-01-05  Andreas Schwab  <schwab@suse.de>
1620
1621         * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1622
1623 2000-01-05  Andreas Jaeger  <aj@suse.de>
1624
1625         * intl/locale.alias: Add lithunian entry.
1626         Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1627
1628 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1629
1630         * locale/programs/stringtrans.c: Removed.
1631         * locale/programs/stringtrans.h: Removed.
1632         * locale/programs/linereader.c: Remove #include of stringtrans.h.
1633
1634         * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1635         _POSIX_MAPPED_FILES is not defined.
1636
1637         * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1638         for loc_name copy.
1639
1640         * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1641         _nl_POSIX_name instead of "C" and "POSIX" strings.
1642
1643         * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1644         (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1645         * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed.  We can
1646         reuse the _nl_C_LC_CTYPE_tolower table.
1647         (_nl_C_LC_CTYPE_toupper32): Likewise.
1648         (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1649         toupper32 entries.
1650
1651         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1652         characters >= 0x80.
1653         (_nl_C_LC_CTYPE_class32): Likewise.
1654
1655         * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1656         aio_idle_time.
1657         * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1658         after the operation is done.  Let them linger for a user-definable
1659         time.
1660         * rt/aio_cancel.c: Likewise.
1661         Patch by Willian M Shubert <william.m.shubert@intel.com>.
1662
1663         * sysdeps/i386/i686/add_n.S: New file.
1664
1665 2000-01-02  Philip Blundell  <philb@gnu.org>
1666
1667         * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1668         to obtain port mapping information.  Avoid use of mprotect.
1669
1670 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1671
1672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1673         definition from 2.3.36.
1674
1675 2000-01-04  Andreas Jaeger  <aj@suse.de>
1676
1677         * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1678         (struct db27): Add missing fields byteswapped, join and flags;
1679         remove wrong member handleq.
1680         (struct dbc27): Correct lock field.
1681
1682         * nss/makedb.c: Remove __P.
1683
1684 2000-01-04  Andreas Jaeger  <aj@suse.de>
1685
1686         * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1687         success, fix a memory leak and clean up function.
1688
1689 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1690
1691         * Makefile (install): Pass $(install_root) to ldconfig.
1692         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1693
1694 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1695
1696         * soft-fp/op-1.h: Fix division for machines using not normalizing
1697         version of udiv_qrnnd in longlong.h.
1698         * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1699         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1700         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1701         Patch by Eddie C. Dost <ecd@skynet.be>.
1702
1703         * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1704
1705 2000-01-03  Andreas Schwab  <schwab@suse.de>
1706
1707         * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1708         needed for change in common symbol handing in newer binutils.
1709
1710 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1711
1712         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1713         kernel without mmap2 syscall.
1714
1715 2000-01-03  Philip Blundell  <philb@gnu.org>
1716
1717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1718         __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1719         ARM for kernels >= 2.3.35.
1720
1721 2000-01-03  Philip Blundell  <philb@gnu.org>
1722
1723         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1724         Optimise error handling a little.
1725         * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1726
1727 2000-01-03  Andreas Jaeger  <aj@suse.de>
1728
1729         * include/resolv.h: Remove declarations for __ns_name_ntop and
1730         __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1731
1732 2000-01-03  Andreas Jaeger  <aj@suse.de>
1733
1734         * time/tst-strptime.c (test_tm): Add tests for all fields of
1735         struct tm.
1736
1737 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1738
1739         * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1740
1741 2000-01-03  Andreas Jaeger  <aj@suse.de>
1742
1743         * string/tester.c (test_strsep): Add one more test.
1744
1745 2000-01-03  Philip Blundell  <philb@gnu.org>
1746
1747         * string/tester.c (test_mempcpy): New function.
1748         (main): Call it.
1749         (test_memcpy): Test unaligned cases too.
1750
1751         * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1752
1753         * sysdeps/arm/fpu/bits/mathdef.h: New file.
1754
1755 2000-01-02  Ulrich Drepper  <drepper@cygnus.com>
1756
1757         * posix/Makefile (tests): Add tst-mmap.
1758         * posix/tst-mmap.c: New file.
1759
1760         * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1761         call before handling error.
1762
1763         * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1764         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1765
1766         * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1767         0xa2e6 and 0xa2e7.
1768         (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1769         * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1770         mappings.
1771         * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1772         * iconvdata/testdata/ISO-2022-KR: Likewise.
1773
1774         * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1775
1776         * iconvdata/gconv-modules: Remove BALTIC.  It's the same as
1777         ISO-8859-13.
1778         * iconvdata/Makefile (distribute): Remove baltic.c.
1779         (modules): Remove BALTIC.
1780         (gen-8bit-gap-modules): Remove baltic.
1781         * iconvdata/baltic.c: Removed.
1782
1783         * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1784
1785         * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1786
1787         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1788         typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1789         Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1790
1791         * nss/Makefile: Add rules to build makedb.
1792         * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1793         * nss/nss_db/dummy-db.h: Likewise.
1794         * nss/makedb.c: New file.  Copied from file in db2, modified to not
1795         depend on being linked against libdb.
1796
1797 2000-01-01  Ulrich Drepper  <drepper@cygnus.com>
1798
1799         * Makeconfig (all-subdirs): Remove db and db2.
1800         * db/*: Removed.
1801         * db2/*: Removed.
1802
1803         * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1804         functions from here...
1805         * nss/db-alias.c: ...and here...
1806         * nss/db-netgrp.c: ...and here...
1807         * nss/nss_db/db-open.c: ...to here.  New file.
1808         * nss/nss_db/dummy-db.h: New file.
1809         * nss/nss_db/nss_db.h: New file.
1810         * nss/Depend: Depend in dlfcn, not db2.
1811         * nss/Makefile (libnss_db-routines): Add db-open.
1812         (distribute): Add nss_db.h dummy-db.h.
1813         (libnss_db.so): Replace libdb dependency by $(libdl).
1814         Based on a patch by Zack Weinberg.
1815
1816         * locale/programs/ld-ctype.c: Implement rest of transliteration
1817         definition parsing.
1818         * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1819         * locale/programs/locfile-token.h: Add tok_translit_ignore.
1820
1821 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1822
1823         * locale/programs/ld-collate.c (collate_output): Emit correct
1824         information for collation elements.
1825         Don't write over end of array idx.
1826         * posix/regex.c: Handle also collation elements at end of range.
1827
1828         * posix/PTESTS: Fix a few typos.
1829
1830         * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
1831         no idea where this came from.
1832         * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1833
1834 1999-12-31  Andreas Jaeger  <aj@suse.de>
1835
1836         * libio/strfile.h: Remove K&R compatibility.
1837         * locale/langinfo.h: Likewise.
1838         * locale/localeconv.c (localeconv): Likewise.
1839         * locale/programs/simple-hash.h: Likewise.
1840         * nis/nis_xdr.h: Likewise.
1841         * nis/rpcsvc/nislib.h: Likewise.
1842         * nis/rpcsvc/nis_callback.h: Likewise.
1843         * nis/rpcsvc/nis.h: Likewise.
1844         * nis/ypclnt.c: Likewise.
1845         * nscd/nscd_proto.h: Likewise.
1846         * nscd/nscd.c: Likewise.
1847         * sysdeps/generic/inttypes.h: Likewise.
1848         * sysdeps/gnu/utmpx.h: Likewise.
1849
1850         * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1851         * sunrpc/rpcsvc/rusers.x: Likewise.
1852
1853         * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1854
1855         * elf/dl-misc.c: Remove __libc_write prototype since it's already
1856         in include/unistd.h.
1857         * elf/dl-profile.c: Likewise.
1858         * elf/dl-load.c: Likewise for __libc_read.
1859
1860         * elf/dl-profile.c: Remove __P.
1861         * elf/sprof.c: Likewise.
1862         * elf/sln.c: Likewise.
1863
1864 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1865
1866         * locale/langinfo.h: Add constants for wide character collation
1867         symbol table.
1868         * locale/categories.def: Add appropriate entries for collate symbol
1869         table entries.
1870         * locale/C-collate.c: Add initializers for new entries.
1871         Remove commented out code.
1872         * locale/elem-hash.h: New file.
1873         * locale/Makefile (distribute): Add elem-hash.h.
1874         * locale/programs/ld-collate.c: Implement output of collate symbol
1875         table.
1876
1877         * posix/regex.c: Implement collation class handling.
1878
1879 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1880
1881         * posix/regex.c (regex_compile): Implement equivalence class handling.
1882
1883 1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>
1884
1885         * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1886         (OPCODE_LWZU): New macro.
1887         (OPCODE_ADDIS_HI): New macro.
1888         (OPCODE_LIS_HI): New macro.
1889         (__elf_machine_runtime_setup): Change PLT code-generation scheme
1890         for thread safety even with very large PLTs, better efficiency,
1891         and to fix a cache-flushing bug.  Also support the Motorola
1892         8xx processors which have a different cache line size than all
1893         the others.
1894         (__elf_machine_fixup_plt): Likewise.
1895         (__process_machine_rela): Don't use elf_machine_fixup_plt.
1896
1897 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1898
1899         * wcsmbs/wcscoll.c: Use multibyte character version.
1900         * wcsmbs/wcsxfrm.c: Likewise.
1901         * string/strcoll.c: Prepare to be used for the wide character version.
1902         * string/strxfrm.c: Likewise.
1903         * locale/weightwc.h: New file.
1904
1905 1999-12-30  Geoff Keating  <geoffk@cygnus.com>
1906
1907         * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1908         the (void) casts as now feraiseexcept returns a value.
1909         (feclearexcept): Likewise.
1910
1911         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1912         it interferes with the macros for AIX.
1913
1914 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1915
1916         * locale/programs/ld-collate.c (collate_finish): Always define
1917         weight for UNDEFINED if not defined by the user but don't complain
1918         unless it is needed in the multibyte character table.
1919         (collate_output): Add extra dummy elements in wide char tables in the
1920         same way done for multibyte.  Always output undefined entry in
1921         wide character table.
1922
1923         * locale/Makefile (categories): Remove commented-out old definition.
1924
1925         * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1926         to new_element if the wide char is not valid.
1927         (handle_ellipsis): Likewise.
1928         (collate_read): It's no problem if the string in the collating element
1929         definition cannot be represented as multibyte or wide char string.
1930
1931 1999-12-13  Andreas Jaeger  <aj@suse.de>
1932
1933         * resolv/resolv.h: Remove K&R compatibility.
1934
1935         * resolv/res_libc.c: Move definition of _res after res_init,
1936         res_init should use the threaded specific context.
1937
1938         * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1939         needed anymore.
1940
1941 1999-12-29  Ulrich Drepper  <drepper@cygnus.com>
1942
1943         * locale/langinfo.h: Add constants for wide character collation data.
1944         * locale/categories.def: Add appropriate entries for collate entries.
1945         * locale/C-collate.c: Add initializers for new entries.
1946         * locale/programs/ld-collate.c: Implement output of wide character
1947         tables.
1948
1949         * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1950         compute wide character table size a bit: it now gives up a bit of
1951         total table size for fewer levels.
1952
1953         * soft-fp/*: Tons of new files to implement floating-point arithmetic
1954         in software.
1955         Contributed by Richard Henderson, Jakub Jelinek and others.
1956
1957 1999-12-29  Andreas Jaeger  <aj@suse.de>
1958
1959         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1960         <asm/io.h>; remove K&R compatibility; add missing ints.
1961
1962         * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1963         add missing ints.
1964
1965         * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1966
1967 1999-12-29  Andreas Jaeger  <aj@suse.de>
1968
1969         * manual/getopt.texi (Using Getopt): Document ordering of options.
1970
1971 1999-12-29  Andreas Jaeger  <aj@suse.de>
1972
1973         * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1974         Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1975
1976 1999-12-14  Andreas Jaeger  <aj@suse.de>
1977
1978         * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1979         2.3.32.
1980
1981 1999-12-28  Jakub Jelinek  <jakub@redhat.com>
1982
1983         * elf/sprof.c (load_shobj): Fix error message.
1984         (generate_call_graph): Cast %*s length argument to int.
1985         * locale/programs/localedef.c (construct_output_path): Likewise.
1986         * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1987         specifier.
1988         (ctype_class_new): Likewise.
1989         * locale/programs/ld-time.c (time_finish): Likewise.
1990         * sunrpc/svc_simple.c (register_rpc): Likewise.
1991         * nscd/connections.c (nscd_run, start_threads): Use long instead of
1992         int to avoid cast warnings.
1993         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1994         warning.
1995         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1996         variable se.
1997
1998         * time/strftime.c (my_strftime): Provide wide era string when
1999         requested.
2000
2001         * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
2002         Separate into 32bit and 64bit versions.
2003
2004 1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
2005
2006         * iconvdata/Makefile (modules): Add ISO-2022-CN.
2007         Add link rules for this module.
2008         (distribute): Add iso-2022-cn.c and cns11643l2.h.
2009         * iconvdata/cns11643l2.h: New file.
2010         * iconvdata/iso-2022-cn.c: New file.
2011         * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
2012
2013         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
2014         unsigned.
2015         (ucs4_to_cns11643l1): Likewise.
2016         * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
2017
2018         * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
2019         loop to UCS4.
2020         Optimize recognition of escape sequences a bit.
2021
2022         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
2023         and oldsetrlimit definitions.
2024
2025 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
2026
2027         * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
2028         identifying errors more easily.
2029
2030         * iconvdata/testdata/EUC-CN..UTF8: New file.
2031         * iconvdata/testdata/GBK..UTF8: New file.
2032
2033         * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
2034         mappings.  Fix last patch.
2035         * iconvdata/TESTS: Add GBK.
2036         * iconvdata/testdata/GBK: New file.
2037
2038         * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
2039         0x2312, and 0x2500..0x254b.
2040         * iconvdata/TESTS: Add EUC-CN.
2041         * iconvdata/testdata/EUC-CN: New file.
2042
2043         * iconvdata/gbgbk.c: New file.
2044         * iconvdata/Makefile (modules): Add GBGBK.
2045         (distribute): Add gbgbk.c.
2046         * iconvdata/gconv-modules: Add entries for GBGBK modules.
2047
2048         * iconvdata/euc-cn.c: Fix comment.
2049
2050         * iconvdata/gbk.c: Optimize the switch statement in the conversion
2051         to GBK a bit.
2052
2053         * locale/programs/charmap.c (charmap_new_char): Recognize special
2054         character names Uxxxx and Pxxxx and initialize the UCS4 value from
2055         the value of xxxx.
2056
2057 1999-12-17  Andreas Jaeger  <aj@suse.de>
2058
2059         * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
2060
2061 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
2062
2063         * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
2064         * stdlib/exit.h (flavor): Add ef_cxa.
2065         (exit_function): Add cxa variant.
2066         * stdlib/exit.c (exit): Handle ef_cxa exit functions.
2067         * stdlib/cxa_atexit.c: New file.
2068         * stdlib/cxa_finalize.c: New file.
2069
2070 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
2071
2072         * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
2073         Unicode tables.
2074
2075 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
2076
2077         * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
2078         __have_no_stat64.
2079         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2080         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2081
2082         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
2083         of <asm/resource.h>.
2084
2085 1999-12-26  Philip Blundell  <philb@gnu.org>
2086
2087         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
2088         argument count for `syscall' to 7.
2089         * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
2090         with more than five arguments.
2091         (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
2092
2093 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
2094
2095         * locale/programs/ld-collate.c (collate_output): Don't start with empty
2096         extrapool and indirectpool obstacks since we need the offsets to be
2097         nonzero.
2098         (collate_read): Call load_locale, not find_locale.
2099         * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
2100         wasn't defined in the file also initialize repertoire if possible.
2101         * locale/programs/ld-time.c (time_finish): Fix message string.
2102         * locale/programs/linereader.c: Cast parameters of lr_error to
2103         correct type to prevnet warning.
2104         * locale/programs/localedef.c (load_locale): New file.
2105         * locale/programs/localedef.h: Add its prototype.
2106         * locale/programs/repertoire.c (repertoire_new_char): Add missing
2107         parameters to lr_error call.
2108
2109         * localedata/Makefile: Enable running tests again.
2110         * localedata/tests/test2.def: Adjust syntax to new specification.
2111         * localedata/tests/test3.def: Likewise.
2112         * localedata/tst-trans.sh: Redirect output of program into file.
2113
2114         * string/strcoll.c: Fix many error in new implementation to make it
2115         pass (at least) the test suite.
2116
2117         * locale/Makefile: Don't link localedef statically anymore.
2118
2119         * locale/ld-collate.c (struct element_t): Add field is_character and
2120         use it to distinguish real character from collating elements and
2121         symbols.
2122         (new_element): Take new parameter to initialize is_character.  Change
2123         all callers.
2124         (handle_ellipsis): Use is_character field to make sure ellipsis is
2125         only used with characters.
2126         (collate_read): Fix reading of collating elements.
2127
2128         * string/strxfrm.c: Correct loop end detection and memory access
2129         in the little optimization at the end.
2130
2131         * locale/programs/ld-monetary.c (monetary_finish): Correct code to
2132         emit warnings.  Provide default value for mon_decimal_point.
2133
2134         * locale/programs/ld-collate.c (collate_finish): Don't crash if this
2135         category wasn't defined.
2136         (collate_output): Likewise.
2137
2138         * locale/programs/ld-address.c: Don't emit message about not defined
2139         category if be_quiet.
2140         * locale/programs/ld-ctype.c: Likewise.
2141         * locale/programs/ld-identification.c: Likewise.
2142         * locale/programs/ld-measurement.c: Likewise.
2143         * locale/programs/ld-messages.c: Likewise.
2144         * locale/programs/ld-monetary.c: Likewise.
2145         * locale/programs/ld-name.c: Likewise.
2146         * locale/programs/ld-numeric.c: Likewise.
2147         * locale/programs/ld-paper.c: Likewise.
2148         * locale/programs/ld-telephone.c: Likewise.
2149         * locale/programs/ld-time.c: Likewise.
2150
2151         * locale/programs/locfile.c (write_locale_data): Correct memory
2152         allocation for fname.
2153
2154 1999-12-25  Ulrich Drepper  <drepper@cygnus.com>
2155
2156         * locale/programs/ld-collate.c (read_directions): Fix a few messages.
2157         (collate_finish): Test that position is used in all sections for
2158         a level or in none.
2159
2160         * string/strxfrm.c: Optimize a bit.  We don't need the highest bit
2161         of the index returned by findidx.
2162
2163         * string/strcoll.c: Complete rewrite for new collate implementation.
2164         * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
2165         locally.
2166
2167         * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
2168         indirect table.
2169         * locale/langinfo.h: Likewise.
2170         * locale/categories.def: Likewise.  Remove reference to postload
2171         functions.
2172         * locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
2173         __collate_tablemb, __collate_weightmb, and __collate_extramb.
2174         * locale/localeinfo.h: Remove declaration for removed variables above.
2175         Remove prototype for _nl_get_era_entry.
2176         * locale/weight.h: Complete rewrite for new collate implementation.
2177         * locale/programs/ld-collate.c: Many changes to make output file
2178         usable in strxfrm/strcoll.
2179         * string/strxfrm.c: Complete rewrite for new collate implementation.
2180         * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
2181         locally.
2182
2183 1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2184
2185         * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
2186         transformation values for chars >255.
2187         * wctype/wctrans.c: Return pointer unmodified.
2188
2189 1999-12-24  Ulrich Drepper  <drepper@cygnus.com>
2190
2191         * sysdeps/posix/system.c (__libc_system): Check whether command
2192         processor is available if LINE is NULL.  Don't return immediately
2193         if wait call returned with EINTR.
2194         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
2195
2196 1999-12-23  Ulrich Drepper  <drepper@cygnus.com>
2197
2198         * locale/programs/ld-monetary.c (monetary_finish): Add cast to
2199         prevent warning.
2200
2201         * locale/programs/ld-collate.c: Implement writing out multibyte
2202         collation data.
2203
2204         * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
2205         * locale/localeinfo.h: Declare variables only for currently implemented
2206         collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
2207         * locale/lc-collate.c: Define variables only for currently implemented
2208         functionality.
2209         * locale/langinfo.h: Define symbols only for currently implemented
2210         functionality.
2211         * locale/categories.def: Define elements for currently implemented
2212         functionality.
2213         * locale/C-collate.c: Comment out definitions of arrays with symbol
2214         name definitions etc.
2215         (_nl_C_LC_COLLATE): Update for currently defined information.
2216
2217         * intl/libintl.h: Remove dcgettext macro definition.
2218         * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2219
2220         * locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.
2221
2222         * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2223         also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.
2224
2225 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
2226
2227         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2228         for __fenv_stfsr argument.
2229         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2230         truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2231         Remove ugetrlimit.
2232         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2233         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2234         (XSTAT_IS_XSTAT64): Define.
2235         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2236         __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2237         and __libc_pwrite64.
2238         Remove oldgetrlimit and oldsetrlimit.
2239         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2240         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2241         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2242
2243         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2244         pointer to the syscall, not address of that pointer.
2245         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2246         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2247         (__syscall_stat64): Provide proper prototype.
2248
2249         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2250         has_no_truncate64 between truncate64 and ftruncate64.
2251         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2252
2253         * sysdeps/unix/sysv/linux/kernel-features.h
2254         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2255         __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2256
2257 1999-12-22  Andreas Jaeger  <aj@suse.de>
2258
2259         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2260         __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2261
2262 1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2263
2264         * locale/lc-time.c: Extend structure era_entry.
2265         * locale/localeinfo.h: Likewise.
2266         * locale/lc-time.c: Handle '-' direction used in locale's era part
2267         properly.
2268         * time/strptime.c: Likewise.
2269         * time/strftime.c: Likewise.
2270         * locale/programs/ld-time.c: Consider negative values in era part
2271         of locale as B.C..
2272         * time/strptime.c (strptime_internal): Merged Yoshiyama's
2273         %E[CyY] implementation.
2274
2275 1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>
2276
2277         * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2278         of recursive() call.
2279         * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2280         parsing.
2281
2282 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2283
2284         * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2285         Patch by Scott Bambrough <scottb@netwinder.org>.
2286
2287 1999-12-21  Andreas Schwab  <schwab@suse.de>
2288
2289         * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2290
2291         * include/unistd.h: Declare __libc_lseek.
2292
2293 1999-12-21  Andreas Jaeger  <aj@suse.de>
2294
2295         * stdlib/longlong.h: Remove __P.
2296
2297 1999-12-21  Andreas Jaeger  <aj@suse.de>
2298
2299         * sysdeps/powerpc/fpu/libm-ulps: New file.
2300
2301 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2302
2303         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2304         and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2305
2306 1999-12-21  Andreas Jaeger  <aj@suse.de>
2307
2308         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2309         * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2310         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2311         * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2312         * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2313         * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2314         * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2315         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2316         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2317         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2318         * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2319         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2320
2321 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2322
2323         * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2324         * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2325         * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2326         * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2327         * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2328         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2329         * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2330         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2331         * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2332         * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2333         * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2334         * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2335         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2336         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2337         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2338         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2339         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2340         putpmsg.
2341
2342 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2343
2344         * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2345         before testing for __ASSUME_STAT64_SYSCALL.
2346         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2347         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2348
2349 1999-12-20  Andreas Schwab  <schwab@suse.de>
2350
2351         * manual/install.texi (Running make install): Clearify that
2352         install_root should be an absolute file name.
2353
2354 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2355
2356         * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2357
2358         * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2359         buffer is given to place conversion descriptor in initial state.
2360         * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2361         CSPC862LATINHEBREW.
2362         * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2363         (according to IANA registry).
2364         Reported by Bruno Haible <haible@ilog.fr>.
2365
2366         * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2367
2368         * locale/categories.def: Remove most of the collate definitions.
2369         * locale/langinfo.h: Comment out corresponding definitions.
2370         * locale/programs/locale-spec.c (locale_special): Don't recognize the
2371         collate names yet.
2372         * locale/programs/ld-collate.c: Correct and optimize computation of
2373         weights.  Set up list of all definitions correctly.  Start writing
2374         function to generate output file.
2375
2376         * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2377         loop to compute default mapping.
2378
2379 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2380
2381         * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2382         cancelation wrapper.
2383         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2384         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2385         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2386
2387 1999-12-19  Andreas Jaeger  <aj@suse.de>
2388
2389         * sysdeps/generic/libc-start.c: Remove declaration of
2390         __libc_open.  Move declaration of __libc_fcntl to ...
2391         * include/fcntl.h: ...here.
2392
2393         * include/unistd.h: Move __libc_open and __libc_open64 to ...
2394         * include/fcntl.h: ...here.
2395
2396         * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2397         happened yet.
2398
2399         * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2400         rename label.
2401
2402 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2403
2404         * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2405         inclusion.
2406
2407 1999-12-19  Andreas Jaeger  <aj@suse.de>
2408
2409         * include/string.h: Mark __strndup with __attribute_malloc__.
2410
2411 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2412
2413         * locale/langinfo.h: Always define CODESET.
2414         (CODESET): Define also as macro.
2415
2416         * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2417         generate mantissa output in using malloc if it is larger than
2418         20000 characters.
2419         Reported by Jim Meyering <meyering@ascend.com>.
2420
2421 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2422
2423         * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2424         available gcc version.
2425         * string/string.h: Mark strdup, __strdup, and strndup with
2426         __attribute_malloc__.
2427         * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2428         __attribute_malloc__.
2429         * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2430         and __default_morecore with __attribute_malloc__.
2431         Provide default definition for __attribute_malloc__.
2432         * libio/stdio.h: Make tempnam with __attribute_malloc__.
2433
2434         * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2435         __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2436         * io/Versions: Export __libc_open64 and __libc_lseek64.
2437         * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2438         and __libc_pwrite64.
2439         * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2440         wrapper.
2441         * sysdeps/generic/pread.c: Likewise.
2442         * sysdeps/generic/pread64.c: Likewise.
2443         * sysdeps/generic/pwrite.c: Likewise.
2444         * sysdeps/generic/pwrite64.c: Likewise.
2445         * sysdeps/posix/open64.c: Likewise.
2446         * sysdeps/posix/pread.c: Likewise.
2447         * sysdeps/posix/pread64.c: Likewise.
2448         * sysdeps/posix/pwrite.c: Likewise.
2449         * sysdeps/posix/pwrite64.c: Likewise.
2450         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2451         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2452         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2453         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2454         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2455         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2456         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2457         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2458         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2459
2460         * sysdeps/posix/open64.c: Help gcc generating better code.
2461
2462         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2463         instead of __open.
2464
2465 1999-12-11  H.J. Lu  <hjl@gnu.org>
2466
2467         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2468         instead of __fcntl.
2469
2470 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2471
2472         * iconvdata/isiri-3342.c: New file.
2473         * iconvdata/Makefile (modules): Add ISIRI-3342.
2474         (distribute): Add isiri-3342.c.
2475         (gen-8bit-gap-modules): Add isiri-3342.
2476         * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2477
2478         * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2479
2480         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2481         result if necessary.
2482
2483         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2484         unreliable kernel headers.
2485         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2486         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2487         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2488         * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2489
2490 1999-12-18  Andreas Jaeger  <aj@suse.de>
2491
2492         * config.make.in (datadir): Added.
2493         Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2494
2495 1999-12-18  Andreas Jaeger  <aj@suse.de>
2496
2497         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2498         set errno.
2499         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2500
2501 1999-12-18  Andreas Jaeger  <aj@suse.de>
2502
2503         * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2504         syscall if available.
2505         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2506         * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2507
2508         * sysdeps/unix/sysv/linux/kernel-features.h
2509         (__ASSUME_STAT64_SYSCALL): New.
2510
2511 1999-12-17  Scott Bambrough  <scottb@netwinder.org>
2512
2513         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2514         cache flush.
2515         * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2516         after .text segment fixups.
2517
2518 1999-12-16  Andreas Jaeger  <aj@suse.de>
2519
2520         * rt/aio.h: Remove erroneous __restrict declarations.
2521
2522 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2523
2524         * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2525         do the job if it is there neither.
2526         Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2527
2528 1999-12-16  Andreas Jaeger  <aj@suse.de>
2529
2530         * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2531         duplicate definition with function __nan.
2532         Closes PR libc/1487 reported by <diana@kai.com>.
2533
2534 1999-12-17  Ulrich Drepper  <drepper@cygnus.com>
2535
2536         * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2537
2538         * locale/programs/ld-collate.c: Implement handling of absolute
2539         ellipsis.  Parsing of file and constructing the internal data
2540         structures should now be complete.
2541         (collate_finish): Start adding support to generate the data
2542         structures which are written out to the file.
2543
2544         * intl/dcgettext.c: Rewrite to handle caching of previous results here
2545         instead of in the dcgettext macro.
2546         * intl/libintl.h (dcgettext): Don't define for systems using this
2547         glibc or systems with tsearch.
2548
2549         * sysdeps/generic/mathdef.h: Protect definitions for math.h
2550         against double inclusion.
2551         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2552         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2553         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2554         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2555
2556         * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2557         that different?).
2558
2559 1999-12-17  Andreas Jaeger  <aj@suse.de>
2560
2561         * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2562         struct with aiocb.
2563
2564         * rt/Makefile (tests): Added tst-aio64.
2565         Added dependency rules for tst-aio64.
2566
2567         * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2568         64bit tests.
2569
2570 1999-12-15  Thorsten Kukuk  <kukuk@suse.de>
2571
2572         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2573         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2574         * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2575         old value (signed long).
2576         * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2577         long RLIM_INFINITY.
2578         * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2579         * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2580         * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2581         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2582         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2583         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2584         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2585         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2586         * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2587         * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2588         * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2589         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2590         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2592         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2593
2594 1999-12-17  Andreas Jaeger  <aj@suse.de>
2595
2596         * elf/ldconfig.c: Add new option -l to manualy link shared
2597         libraries.
2598         (options): Added option.
2599         (parse_opt): Set option.
2600         (main): Handle option.
2601         (manual_link): New function.
2602
2603 1999-12-17  Thorsten Kukuk  <kukuk@suse.de>
2604
2605         * string/bits/string2.h: Fix patch from 1999-12-07.
2606
2607 1999-12-16  Ulrich Drepper  <drepper@cygnus.com>
2608
2609         * sysdeps/generic/strsep.c: If delim string has only one character
2610         don't run over end of string.
2611
2612         * locale/programs/ld-collate.c (insert_weights): Also update next
2613         pointer of last cursor element.
2614         (insert_value): Return nonzero value if nothing got inserted.
2615         (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2616
2617 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2618
2619         * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2620         where appropriate.
2621
2622 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2623
2624         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2625         Copy sa_flags into kernel sigaction structure.
2626
2627 1999-12-14  Andreas Jaeger  <aj@suse.de>
2628
2629         * string/tester.c (test_strsep): More tests for access beyond
2630         the final NUL.  The first two tests come from PR libc/1486 by
2631         martinea@iro.umontreal.ca.
2632
2633 1999-12-14  Thorsten Kukuk  <kukuk@suse.de>
2634
2635         * nis/ypclnt.c: Correct handling of cached client handles.
2636         (__xdr_ypresp_all): Call callback function for errors, too,
2637         like Solaris does.
2638         * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2639         * nis/nss_compat/compat-initgroups.c: Likewise.
2640         * nis/nss_compat/compat-spwd.c: Likewise.
2641         * nis/nss_nis/nis-alias.c: Likewise.
2642         * nis/nss_nis/nis-ethers.c: Likewise.
2643         * nis/nss_nis/nis-grp.c: Likewise.
2644         * nis/nss_nis/nis-hosts.c: Likewise.
2645         * nis/nss_nis/nis-netgrp.c: Likewise.
2646         * nis/nss_nis/nis-publickey.c: Likewise.
2647         * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2648         Map if available, optimize query if name/port and protocol is known.
2649
2650 1999-12-12  Ulrich Drepper  <drepper@cygnus.com>
2651
2652         * locale/programs/ld-collate.c (collate_read): Make symbolic
2653         ellipsis work.  Remove old and unused code.
2654
2655 1999-12-11  Ulrich Drepper  <drepper@cygnus.com>
2656
2657         * locale/programs/ld-collate.c (collate_read): Implement
2658         reorder-section handling.
2659
2660 1999-12-10  Ulrich Drepper  <drepper@cygnus.com>
2661
2662         * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2663
2664         * locale/programs/ld-collate.c (collate_read): Add handling of
2665         reorder-after.
2666
2667         * locale/programs/ld-collate.c: Many changes to implement parsing
2668         of collation definition (still not complete).
2669
2670 1999-12-09  Andreas Jaeger  <aj@suse.de>
2671
2672         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2673         errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2674         Reported by Christian Starkjohann <cs@obdev.at>.
2675
2676 1999-12-09  Andreas Jaeger  <aj@suse.de>
2677
2678         * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2679
2680 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
2681
2682         * stdlib/longlong.h: Update from latest egcs version.
2683
2684         * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2685
2686         * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2687         has to preceede __attribute__, otherwise g++ barfs.
2688
2689         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2690         on sparc64-*-linux.
2691
2692         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2693         use sigcontext.
2694         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2695
2696 1999-12-05  Wolfram Gloger  <wg@malloc.de>
2697
2698         * malloc/malloc.c (arena_get2): If generating a new arena fails,
2699         try to generate a minimal one and hope for mmap_chunk() to succeed
2700         later.
2701
2702 1999-11-07  Wolfram Gloger  <wg@malloc.de>
2703
2704         * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2705         mutex_t work as an `in-use' flag even without threads.
2706         * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2707         for multiple arenas separately from NO_THREADS.
2708         (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2709         fall back to an mmap()ed arena when sbrk() has failed.
2710
2711 1999-12-09  Ulrich Drepper  <drepper@cygnus.com>
2712
2713         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2714         getrlimit64, setrlimit64 for GLIBC_2.1.3.
2715         * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2716         getrlimit64, setrlimit64 for GLIBC_2.1.3.
2717         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2718         oldgetrlimit and oldsetrlimit.
2719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2720         oldsetrlimit.
2721         * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2722         oldsetrlimit rules into 32-bit arch subdirs.
2723         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2724
2725         * locale/programs/ld-collate.c (insert_value): If this is the
2726         first symbol the cursor can be the same as the next pointer.
2727
2728 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
2729
2730         * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2731         arrays.
2732         (allocate_arrays): Allocate memory for map32.  Correctly install
2733         default values in it and install defined mappings.
2734
2735         * locale/programs/ld-monetary.c (monetary_finish): Provide default
2736         value for mon_grouping.
2737
2738         * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2739         headers are not clean enough.
2740
2741         * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2742
2743         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2744         __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2745         on x86.
2746         * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2747         * sysdeps/unix/sysv/linux/truncate64.c: New file.
2748         * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2749         * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2750
2751         * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2752         * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2753         * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2754         _nl_C_LC_CTYPE_tolower32 tables.
2755         Don't compile it names of 14652 classes and maps.
2756         * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2757         _NL_CTYPE_TOLOWER32.
2758         * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2759         and __ctype32_tolower.
2760         * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2761         (ctype_output): Write out map32 values.
2762         (allocate_arrays): Compute mapping tables correctly.
2763         * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2764         (towupper): Use __ctype32_toupper.
2765         * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2766
2767         * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2768         determine tolower mapping for 8bit table if the tolower keyword is
2769         not given.
2770
2771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2772         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
2773
2774 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
2775
2776         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2777         __stpcpy_small): Cast switch expressions to int to shut up compiler
2778         warnings.
2779
2780 1999-12-07  Scott Bambrough <scottb@netwinder.org>
2781
2782         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2783         relocs if possible.
2784
2785 1999-12-06  Andreas Schwab  <schwab@suse.de>
2786
2787         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2788         ugetrlimit syscall exists.
2789
2790         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2791         exported symbols.
2792         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2793
2794 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
2795
2796         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2797         pointers if character is illegal.
2798         Reported by Bruno Haible <haible@ilog.fr>.
2799
2800         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2801         (increment_counter): New function.  Broken out of find_derivation.
2802         (find_derivation): No need for a lock.  Increment counter only when
2803         the derivation was already available.
2804         * iconv/gconv_dl.c: Add debugging functions.
2805         (known_compare): We have to use strcmp.
2806         Reported by Bruno Haible <haible@ilog.fr>.
2807
2808 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
2809
2810         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2811         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2812         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2813         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
2814         SHIFT_JIS alias.
2815         Reported by Bruno Haible <haible@ilog.fr>.
2816
2817         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2818
2819 1999-12-03  Andreas Jaeger  <aj@suse.de>
2820
2821         * nss/getXXbyYY.c: Include <resolv.h>
2822         (FUNCTION_NAME): Use res_ninit instead of res_init.
2823
2824         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2825         declaration and prototypes.
2826         Remove extra _res declaration.
2827         (INTERNAL): Use thread aware res_ninit function.
2828
2829         * inet/gethstbyad_r.c: Include <resolv.h>.
2830
2831         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
2832         res_libc.c.  Disabled unneeded functions.
2833
2834         * resolv/res_libc.c: New file.
2835
2836         * Versions.def: Add version GLIBC_2.2 for libpthread.
2837         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2838
2839         * include/resolv.h: Add internal interfaces.
2840
2841         * resolv/Makefile (routines): Add new files.
2842         (libresolv-routines): Likewise.
2843         (distribute): Likewise.
2844
2845         * resolv/gethnamaddr.c: Use thread safe resolver functions.
2846         * resolv/nss_dns/dns-host.c: Likewise.
2847         * resolv/nss_dns/dns-network.c: Likewise.
2848
2849         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2850         * resolv/nsap_addr.c: Likewise.
2851         * resolv/res_comp.c: Likewise.
2852         * resolv/res_debug.c: Likewise.
2853         * resolv/res_init.c: Likewise.
2854         * resolv/res_mkquery.c: Likewise.
2855         * resolv/res_query.c: Likewise.
2856         * resolv/res_send.c: Likewise.
2857         * resolv/resolv.h: Likewise.
2858
2859         * resolv/Versions: Add __res_state and __res_ninit with version
2860         GLIBC_2.2 to libc.
2861         Add new interfaces with version GLIBC_2.2 to libresolv.
2862
2863         * resolv/Banner: Update.
2864
2865         * include/arpa/nameser_compat.h: New file.
2866
2867         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2868         * resolv/ns_netint.c: Likewise.
2869         * resolv/ns_parse.c: Likewise.
2870         * resolv/ns_print.c: Likewise.
2871         * resolv/ns_samedomain.c: Likewise.
2872         * resolv/ns_ttl.c: Likewise.
2873         * resolv/arpa/nameser_compat.h: Likewise.
2874         * resolv/res_debug.h: Likewise.
2875
2876         Some patches are based on work done by Adam D. Bradley
2877         <artdodge@cs.bu.edu>.
2878
2879 1999-11-30  Andreas Jaeger  <aj@suse.de>
2880
2881         Add ldconfig:
2882         * elf/Makefile (extra-objs): Added ldconfig-modules.
2883         (ldconfig-modules): New.
2884         Added vpath for xstrdup and xmalloc.
2885         Check for use-ldconfig instead of has-ldconfig.
2886         ($(objpfx)ldconfig): New rule with dependencies.
2887         (distribute): Add new files.
2888
2889         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2890         developed together with Jakub Jelinek <jakub@redhat.com>.
2891         * sysdeps/generic/readelflib.c: Likewise.
2892
2893         * elf/cache.c: New file.
2894         * elf/ldconfig.c: New file.
2895         * elf/ldconfig.h: New file.
2896         * elf/readlib.c: New file.
2897
2898         * Makefile (install): Remove flag -d in ldconfig call.
2899
2900         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2901         by default.
2902
2903         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2904         comment.
2905
2906         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2907         set always use_ldconfig instead.
2908
2909 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
2910
2911         * sysdeps/generic/bits/stropts.h: Update with LiS types and
2912         values.  Patch by David Grothe <dave@gcom.com>.
2913
2914         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2915         Make long types.
2916         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2917         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2918         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2919
2920 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
2921
2922         * locale/lc-time.c (_nl_get_era_entry): Separate eras
2923         initialization as _nl_init_era_entry().
2924         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2925         * locale/lc-time.c (_nl_get_era_year_offset): New function.
2926         * locale/lc-time.c (_nl_get_era_year_start): New function.
2927         * locale/localeinfo.h: Declare new functions.
2928         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2929         and ERA_W_FORMAT.
2930
2931 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
2932
2933         * posix/regex.c (SYNTAX): Make more portable.
2934         Patch by Aharon Robbins <arnold@skeeve.com>.
2935
2936 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
2937
2938         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2939         nonzero, use cthread_fork to create the signal thread.
2940         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2941         _hurd_msgport_thread here (to self).
2942         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2943         is zero, instead compute child signal thread's starting SP from parent
2944         signal thread's current SP and the threadvar_stack variables.
2945         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2946         These are now referenced weakly by _hurdsig_init.
2947
2948         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2949         &_hurd_itimer_thread not &_hurd_msgport_thread.
2950
2951 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
2952
2953         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2954         without HURD_DPORT_USE to clean up warnings.
2955         * hurd/dtable.c (get_dtable_port): Likewise.
2956
2957         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2958         (install_ctty): Do the changing of the cttyid port cell here, inside
2959         the critical section while we holding the dtable lock.
2960         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2961         the port cell and calling rectty_dtable.
2962         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2963         (install_ctty): Use it inside a critical section, with the lock held.
2964         * sysdeps/mach/hurd/setsid.c (__setsid): Use
2965         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2966         after proc_setsid, having held the dtable lock throughout.
2967         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2968         cttyid port for null and bail out early if so.  The dtable lock
2969         serializes us after any cttyid change and its associated dtable update.
2970
2971 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
2972
2973         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2974         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
2975         We don't install this file for users.
2976         * sysdeps/mach/hurd/Dist: Add it.
2977         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2978         Append nfs/nfs.h here.
2979
2980 1999-12-01  Andreas Jaeger  <aj@suse.de>
2981
2982         * sysdeps/generic/if_index.c (__protocol_available): Add missing
2983         int for parameter.
2984
2985         * stdio/stdio.h: Fix typo.
2986         Patches by Marcus G. Daniels <mgd@santafe.edu>.
2987
2988 1999-12-01  Andreas Jaeger  <aj@suse.de>
2989
2990         * scripts/test-installation.pl (installation_problem): Filter out
2991         libpthread_db.
2992
2993 1999-12-01  Andreas Schwab  <schwab@suse.de>
2994
2995         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2996         __rlim_t and __rlim64_t.
2997         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2998         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2999
3000 1999-12-01  Andreas Schwab  <schwab@suse.de>
3001
3002         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3003         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
3004         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
3005         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
3006         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
3007         new kernel version.  Add symbol versions.
3008         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
3009         oldgetrlimit.
3010         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3011         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3012         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
3013         and s_ugetrlimit.
3014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3015         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3016         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3017         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
3018         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
3019         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3020         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
3021         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
3022         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
3023         file.
3024         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
3025         file.
3026
3027 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
3028
3029         * sysdeps/generic/usleep.c: Fix typo.
3030
3031         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
3032
3033         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
3034         itself.
3035
3036         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
3037         _UTSNAME_H.
3038
3039         * malloc/set-freeres.c: Really use already_called variable.
3040
3041         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
3042         function call directly.
3043         * libio/iosetvbuf.c: Likewise.
3044
3045 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
3046
3047         * configure.in: Add AIX 4.3 support.
3048
3049         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
3050         standard was issued in 1992.
3051         Reported by Bruno Haible <haible@ilog.fr>.
3052
3053 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
3054
3055         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
3056         SIGCLD als SIGCHLD.
3057
3058 1999-11-29  Andreas Jaeger  <aj@suse.de>
3059
3060         * manual/time.texi (Basic CPU Time): Better describe wrap around.
3061         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3062
3063 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
3064
3065         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
3066         Patch by Bruno Haible <haible@ilog.fr>.
3067
3068 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
3069
3070         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
3071
3072 1999-11-29  Andreas Schwab  <schwab@suse.de>
3073
3074         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
3075         __v to __bswap_32_v.
3076         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
3077         and __bswap_64_r to avoid clash with __bswap_32 macro.
3078
3079 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
3080
3081         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
3082         gconv-modules.
3083
3084 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
3085
3086         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
3087         patch.  Use wch instead of idx to compute index.
3088         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3089
3090         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
3091
3092         * locale/iso-3166.def: Update from latest official list.
3093
3094 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
3095
3096         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
3097         asm/ptrace.h, since this will not be done with 2.3.xx automatically
3098         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3099
3100 1999-11-26  Andreas Jaeger  <aj@suse.de>
3101
3102         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
3103
3104 1999-11-26  Andreas Jaeger  <aj@suse.de>
3105
3106         * inet/rcmd.c: Include stdlib for declaration of free.
3107         Declare iruserok.
3108
3109 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3110
3111         * iconv/gconv.c (__gconv): Always initialize
3112         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
3113
3114         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
3115         written bytes.
3116         * iconvdata/iso-2022-jp.c: Likewise.
3117
3118 1999-11-25  H.J. Lu  <hjl@gnu.org>
3119
3120         * stdlib/exit.c (exit): Run funtions only if
3121         __exit_funcs->idx > 0.
3122
3123 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3124
3125         * manual/charset.texi (iconv Examples): Add iconv call to flush
3126         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
3127
3128 1999-11-25  Andreas Jaeger  <aj@suse.de>
3129
3130         * manual/install.texi (Running make install): Better describe
3131         update from libc5.
3132         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3133
3134 1999-11-25  Andreas Jaeger  <aj@suse.de>
3135
3136         * include/sys/mman.h: Remove K&R compatibility.
3137
3138 1999-11-15  Andreas Jaeger  <aj@suse.de>
3139
3140         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
3141         use __off64_t.
3142
3143 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3144
3145         * iconv/iconv_prog.c (process_block): For stateful charsets write
3146         out byte sequence to get to initial state at the end of the file.
3147
3148 1999-11-25  Andreas Schwab  <schwab@suse.de>
3149
3150         * Makeconfig: Include sys-dirs and sys-sorted earlier.
3151         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
3152         ($(common-objpfx)sysd-sorted): Emit marker when this file is
3153         complete.
3154
3155 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
3156
3157         * manual/setjmp.texi: Many changes to correct bad English introduced
3158         mainly by me.
3159         * manual/time.texi: Likewise.
3160         Patches by Neil Booth <neil@rosenet.ne.jp>.
3161
3162         * include/string.h: Remove K&R compatibility.
3163
3164 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3165
3166         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
3167
3168         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
3169
3170         * string/stratcliff.c: Add one more strchr test for something
3171         which was reported to not work (which proofed to be wrong).
3172
3173         * iconv/skeleton.c: It's __is_last, not is_last.
3174
3175         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
3176         the UCS value.
3177         (allocate_arrays): Likewise.
3178         (find_idx): Correctly increase array size.
3179         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3180
3181 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
3182
3183         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
3184         is true.
3185
3186 1999-11-23  Andreas Jaeger  <aj@suse.de>
3187
3188         * include/sys/select.h: Remove K&R compatibility.
3189         * include/sys/statfs.h: Likewise.
3190         * include/gnu/libc-version.h: Likewise.
3191         * include/db_185.h: Likewise.
3192         * include/dlfcn.h: Likewise.
3193         * include/search.h: Likewise.
3194         * include/setjmp.h: Likewise.
3195         * include/signal.h: Likewise.
3196         * include/stdio.h: Likewise.
3197         * include/unistd.h: Likewise.
3198
3199 1999-11-23  Andreas Jaeger  <aj@suse.de>
3200
3201         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
3202         is only need in external header files that might be compiled by a
3203         C++ compiler.
3204         * include/alloca.h: Likewise.
3205         * include/db.h: Likewise.
3206         * include/dirent.h: Likewise.
3207         * include/execinfo.h: Likewise.
3208         * include/fpu_control.h: Likewise.
3209         * include/glob.h: Likewise.
3210         * include/grp.h: Likewise.
3211         * include/libintl.h: Likewise.
3212         * include/math.h: Likewise.
3213         * include/math.h: Likewise.
3214         * include/mntent.h: Likewise.
3215         * include/mntent.h: Likewise.
3216         * include/netdb.h: Likewise.
3217         * include/pwd.h: Likewise.
3218         * include/sched.h: Likewise.
3219         * include/shadow.h: Likewise.
3220         * include/stdlib.h: Likewise.
3221         * include/sys/file.h: Likewise.
3222         * include/sys/gmon.h: Likewise.
3223         * include/sys/ioctl.h: Likewise.
3224         * include/sys/socket.h: Likewise.
3225         * include/sys/stat.h: Likewise.
3226         * include/sys/sysinfo.h: Likewise.
3227         * include/sys/time.h: Likewise.
3228         * include/sys/times.h: Likewise.
3229         * include/sys/uio.h: Likewise.
3230         * include/sys/wait.h: Likewise.
3231         * include/termios.h: Likewise.
3232         * include/time.h: Likewise.
3233         * include/ulimit.h: Likewise.
3234         * include/utmp.h: Likewise.
3235         * include/wchar.h: Likewise.
3236
3237 1999-11-22  Andreas Jaeger  <aj@suse.de>
3238
3239         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3240         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
3241         libc/1456+1457.
3242
3243 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
3244
3245         * sysdeps/generic/siglist.h: Avoid declaring the same field
3246         twice if SIGPWR is defined to SIGLOST.
3247         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3248         not signed, so we should not special case it for negative args.
3249         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3250         memmove, use the one provided in memcpy.S.
3251         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3252         copies like memmove, while the previous version worked like memcpy.
3253         Implement optimized assembly memmove.
3254         * sysdeps/sparc/sparc64/memmove.c: New file.
3255
3256 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3257
3258         * po/cs.po: Update from translators.
3259
3260 1999-11-23  Andreas Jaeger  <aj@suse.de>
3261
3262         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3263         (elf_machine_got): Removed, not needed anymore.
3264         (ELF_MACHINE_RELOC_NOPLT): Removed.
3265         (ELF_MACHINE_JMP_SLOT): Added.
3266         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3267         (_RTLD_EPILOGUE): Likewise.
3268         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3269         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3270         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3271         Ralf Baechle <baechle@uni-koblenz.de>.
3272
3273         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3274
3275 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
3276
3277         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3278         name from the locale name.  Only use the value in the LC_CTYPE
3279         locale data file.
3280
3281         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3282         file be equal to file size.
3283
3284         * stdlib/longlong.h: Add count_trailing_zeros back.
3285
3286         * stdlib/longlong.h: Update from latest egcs version.
3287
3288 1999-11-22  Andreas Jaeger  <aj@suse.de>
3289
3290         * locale/programs/ld-collate.c (insert_value): Correct order of
3291         arguments for lr_error call.
3292
3293         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3294         __syscall_setrlimit.
3295
3296         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3297         for key_t.
3298         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3299
3300 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
3301
3302         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3303         gcc version.
3304
3305         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3306         14652-style definition of new maps and classes.
3307
3308 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
3309
3310         * locale/programs/ld-monetary.c (monetary_finish): Don't print
3311         individual error message if nothing is defined.
3312
3313         * locale/programs/ld-time.c (time_startup): Test for lr being
3314         nonzero, not time.
3315
3316         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3317         decimal_point is not defined.
3318
3319         * wctype/wctrans.c (wctrans): Use correct base index to access
3320         extra mapping tables.
3321
3322         * locale/loadlocale.c (_nl_load_locale): Use actual number of
3323         entries from file and not the fixed (minimal number from the
3324         langinfo.h list.
3325
3326         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3327         values in charmaps.
3328
3329 1999-11-18  Paul Eggert  <eggert@twinsun.com>
3330
3331         * time/strftime.c (my_strftime): Some old compilers object to
3332         '\a', so don't bother optimizing for it.
3333
3334 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3335
3336         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3337         the rlimits structure passed in.
3338
3339 1999-11-19  Andreas Jaeger  <aj@suse.de>
3340
3341         * include/sys/resource.h (__setrlimit): Add prototype.
3342
3343 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3344
3345         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3346         entries for rtld_search_dirs[0].
3347         Patch by David Mosberger <davidm@hpl.hp.com>.
3348
3349 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3350
3351         * locale/programs/ld-ctype.c: Don't predefine the character
3352         classes and mappings of ISO 14652.
3353
3354         * locale/programs/ld-ctype.c: Punt if character class definitions
3355         to not consists of tok_bsymbol (for now).
3356
3357         * time/strptime.c (day_of_the_week): Make sure result is never
3358         negative.
3359         (strptime_internal): Allow %C without %y.
3360
3361 1999-11-18  Andreas Jaeger  <aj@suse.de>
3362
3363         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3364         comments.
3365
3366         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3367         of defining *_SUPER_MAGIC.
3368         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3369
3370 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3371
3372         * locale/programs/locale.c: Don't handle LC_ALL together with the
3373         other categories when printing the value.
3374         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3375
3376         * locale/locale.h: Correct comment about LC_ALL.
3377
3378 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3379
3380         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3381         nelems.  Correctly compute index for additional character classes.
3382         (ctype_read): Handle charclass and charconv definitions.  Also
3383         recognize arbitrary strings as mapping names.
3384         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3385         character era strings.
3386         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3387         and format for wide characters.
3388         * time/strftime.c: Correctly determine era information for wide
3389         wcsftime.
3390         * wctype/wctrans.c: Fix after removal of second endianess table.
3391         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3392         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3393
3394         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3395         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3396
3397         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3398         gregset_t, fpregset_t, and NGREG definitions.
3399
3400         * locale/programs/ld-ctype.c: Implement character width information
3401         handling.
3402
3403 1999-11-09  Andreas Jaeger  <aj@suse.de>
3404
3405         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3406
3407         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3408         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3409
3410         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3411
3412 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3413
3414         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3415
3416 1999-11-07  Andreas Jaeger  <aj@suse.de>
3417
3418         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3419         defines from Linux scsi_ioctl.h header.
3420
3421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3422         scsi_ioctl.h.
3423         * sysdeps/unix/sysv/linux/Dist: Likewise.
3424
3425         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3426         pretty printed.
3427
3428         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3429         sync with Linux 2.3.26.
3430
3431 1999-11-17  Andreas Jaeger  <aj@suse.de>
3432
3433         * shlib-versions: Allow mipsel for libm.
3434         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3435
3436 1999-11-16  Andreas Jaeger  <aj@suse.de>
3437
3438         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
3439
3440 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
3441
3442         * locale/programs/ld-ctype.c (set_class_defaults): Set default
3443         value for alpha and alnum correctly.
3444
3445         * locale/programs/ld-address.c (address_output): Fix output of
3446         country_num.
3447
3448 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
3449
3450         * timezone/asia: Update from tzdata1999j.
3451         * timezone/australasia: Likewise.
3452         * timezone/europe: Likewise.
3453         * timezone/northamerica: Likewise.
3454         * timezone/southamerica: Likewise.
3455         * timezone/zone.tab: Likewise.
3456
3457 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3458
3459         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3460         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3461         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3462         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3463         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3464
3465 1999-11-15  Andreas Jaeger  <aj@suse.de>
3466
3467         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3468         __syscall_setrlimit.
3469         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3470
3471 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3472
3473         * scripts/versions.awk: Don't expect to read predecessor versions,
3474         compute them.
3475         * Versions.def: Remove predecessors.  They now get computed.
3476
3477 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3478
3479         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3480         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3481         prototype.
3482         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3483         * sysdeps/powerpc/stackinfo.h: New file.
3484         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3485
3486 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3487
3488         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3489         GLIBC_2.1.3.
3490
3491 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3492
3493         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3494         hurd_directory_name_split.
3495         * Versions.def (libc): Add GLIBC_2.1.3.
3496
3497 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
3498
3499         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3500         to return the location of the null byte written into the string.
3501         (describe_number): Likewise.
3502         (describe_number): Remove assert, not always used with #.
3503         If FLAVOR is null, don't use it.
3504         (describe_number): Take signed argument and print a - if negative.
3505         (_S_msg_report_wait): Report system call number for system calls that
3506         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
3507         matches SS->intr_port, bracket port description with [...] to indicate
3508         a Hurd interruptible RPC; if destination port is null, examine the
3509         receive port and report that state; if receive port is also null,
3510         check for timeout and report its value.
3511         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3512         zero iff we managed to examine the stack; take new args RCV_NAME,
3513         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3514
3515         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3516         MACH_PORT_DEAD specially.
3517
3518 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3519
3520         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3521         (__directory_name_split): New function.
3522         * hurd/hurd.h: Declare them.
3523         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3524         __file_name_split, so we ignore trailing slashes properly.
3525         * sysdeps/mach/hurd/rename.c: Likewise.
3526
3527 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
3528
3529         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3530         from current kernel headers.
3531
3532         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3533         SO_PASSCRED defined.
3534
3535 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3536
3537         * locale/C-ctype.c: Fix typo in char class name.
3538
3539         * configure.in: Allow user so specify --enable-kernel=current.
3540
3541 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
3542
3543         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3544
3545         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3546         i386 version.
3547         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3548         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3549         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3550         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3551
3552 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3553
3554         * intl/locale.alias: Add Estonian entries.
3555         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3556
3557 1999-11-02  Andreas Jaeger  <aj@suse.de>
3558
3559         * Versions.def: Add version GLIBC_2.2 for libm.
3560         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3561         fedisableexcept.
3562         * sysdeps/generic/feenablxcpt.c: Stub file.
3563         * sysdeps/generic/fedisblxcpt.c: Stub file.
3564         * sysdeps/generic/fegetexcept.c: Stub file.
3565         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3566         * sysdeps/i386/fpu/feenablxcpt.c: New file.
3567         * sysdeps/i386/fpu/fegetexcept.c: New file.
3568         * math/Makefile (libm-support): Add new files.
3569         * math/Versions: Add new functions with version GLIBC_2.2.
3570         * manual/arith.texi (Control Functions): Document fegetexcept,
3571         feenableexcept and fedisableexcept.
3572
3573 1999-11-01  Wolfram Gloger  <wg@malloc.de>
3574
3575         * malloc/malloc.h: Describe __malloc_initialize_hook.
3576         * manual/memory.texi: Document __malloc_initialize_hook.
3577
3578 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
3579
3580         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3581
3582 1999-11-09  Andreas Jaeger  <aj@suse.de>
3583
3584         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3585         implementation for ttyname_r call; fix inverted condition; return
3586         ut_user.
3587         Closes PR libc/1438.
3588
3589 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3590
3591         * math/fenv.h: Include bits/fenvinline.h if optimizing.
3592         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
3593         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
3594         * sysdeps/generic/bits/fenv.h: New file.
3595
3596 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3597
3598         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3599         printf call.
3600
3601 1999-11-10  Andreas Jaeger  <aj@suse.de>
3602
3603         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3604
3605 1999-11-10  Andreas Jaeger  <aj@suse.de>
3606
3607         * string/strsignal.c (strsignal): Correct check for snprintf
3608         return value.
3609         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3610
3611         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3612         according to changed snprintf return value.
3613         Reported by Lawrence K. Chen <lchen@opentext.com>.
3614
3615         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3616         for ecvt_r and fcvt_r.
3617
3618 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3619
3620         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3621         directory with the reference since this is as secure as using the
3622         object with the dependency.
3623         (_dl_dst_substitute): Likewise.
3624
3625         * elf/dl-load.c (_dl_dst_count): Change strings in first two
3626         strncmp calls to allow reuse.
3627         (_dl_dst_substitute): Likewise.
3628
3629 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
3630
3631         * posix/regex.c (init_syntax_once): move below definition of
3632         ISALNUM etc., then use ISALNUM to init the table, so that
3633         the word ops will work if i18n'ed.
3634         (SYNTAX): And subscript with 0xFF for 8bit character sets.
3635
3636 1999-11-09  Andreas Jaeger  <aj@suse.de>
3637
3638         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3639         implementation for ttyname_r call; fix inverted condition; return
3640         ut_user.  Closes PR libc/1438.
3641
3642 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3643
3644         * timezone/checktab.awk: Update from tzcode1999h.
3645         * timezone/africa: Update from tzdata1999i.
3646         * timezone/asia: Likewise.
3647         * timezone/australasia: Likewise.
3648         * timezone/backward: Likewise.
3649         * timezone/europe: Likewise.
3650         * timezone/northamerica: Likewise.
3651         * timezone/southamerica: Likewise.
3652         * timezone/iso3166.tab: Likewise.
3653         * timezone/zone.tab: Likewise.
3654
3655         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3656         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
3657
3658 1999-11-09  Andreas Jaeger  <aj@suse.de>
3659
3660         * posix/Makefile (tests): Added tst-getlogin.
3661
3662         * posix/tst-getlogin.c: New file, contains simple tests for
3663         getlogin and getlogin_r.
3664
3665 1999-11-09  Andreas Schwab  <schwab@suse.de>
3666
3667         * misc/syslog.c: For LOG_PERROR only append a newline if
3668         necessary.
3669
3670 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
3671
3672         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3673         definitions.
3674
3675 1999-11-08  Andreas Jaeger  <aj@suse.de>
3676
3677         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3678         this fixes a memory leak (closes PR libc/1435).
3679
3680         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3681         reflect memory allocation.
3682
3683         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3684         allocation in _nl_explode_name.
3685
3686 1999-11-06  Andreas Jaeger  <aj@suse.de>
3687
3688         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3689         to initialize it.
3690         Reported by wes@surety.com, closes PR libc/1432.
3691
3692 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
3693
3694         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3695         enumerator lists (-pedantic complains).
3696         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
3697         test for 'one bit set'.
3698         (feclearexcept): Likewise.
3699
3700 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
3701
3702         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3703
3704         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3705         for kernel changes.
3706         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3707         unsigned.
3708
3709 1999-10-04  Tim Waugh  <twaugh@redhat.com>
3710
3711         * posix/wordexp-test.c: More tests.
3712
3713         * posix/wordexp.c (wordexp): Explicit null words should be kept.
3714
3715 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
3716
3717         * locale/programs/linereader.c (get_string): Correct type of buf2
3718         variable.
3719         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3720         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3721         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3722         _NL_CTYPE_OUTDIGIT*_WC.
3723         (allocate_arrays): Completely initialize mapping tables.
3724         * locale/programs/ld-time.c (time_startup): We need the wide car
3725         string.
3726         (time_finish): Correct handling of era.
3727         (time_output): Fix a few array indeces.
3728         (time_read): Pass the repertoire map to lr_token.
3729
3730 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
3731
3732         * Versions.def: Add version for libthread_db.
3733
3734 1999-11-02  Andreas Jaeger  <aj@suse.de>
3735
3736         * manual/header.texi (Library Summary): The command @indexfonts
3737         doesn't exist anymore, use @smallfonts instead.
3738
3739 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
3740
3741         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3742         instead of duplicating definitions.
3743
3744 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
3745
3746         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3747         by the debugger.
3748         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3749         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3750         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3751         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3752         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3753
3754 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
3755
3756         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3757
3758         * sysdeps/unix/sysv/linux/kernel-features.h
3759         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3760         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3761
3762         * manual/texinfo.tex: Updated.
3763
3764 1999-11-01  Andreas Jaeger  <aj@suse.de>
3765
3766         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3767
3768         * inet/gethstbynm2_r.c: Reorder addresses.
3769
3770 1999-09-11  Paul Eggert  <eggert@twinsun.com>
3771
3772         * posix/glob.h (glob): If #defining to glob64, do this before
3773         declaring it, so that all declarations and uses match, and do not
3774         declare glob64, to avoid a declaration clash.
3775         (globfree): Likewise with globfree64.
3776
3777 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
3778
3779         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3780         Keep the trailing slash unless DIRNAME is just "x:/".
3781
3782 1999-10-11  Andreas Jaeger  <aj@suse.de>
3783
3784         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3785         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3786         Closes PR libc/1384.
3787
3788 1999-10-20  Andreas Schwab  <schwab@suse.de>
3789
3790         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3791         (generated): Add it here.
3792         (before-compile): Add libm-test.c.
3793         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3794         libm-test.stmp.
3795         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3796         $(objdir)/math/.
3797
3798 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3799
3800         * Makefile (pdf): New goal.
3801         * manual/Makefile: Add definitions and rules for PDF generation.
3802
3803         * Versions.def (libm): Add GLIBC_2.1.3.
3804
3805         ISO C99 TR1 changes various fe* functions to return an error value.
3806         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3807         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3808         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3809         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3810         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3811         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3812         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3813         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3814         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3815         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3816         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3817         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3818         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3819         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3820         * sysdeps/generic/fclrexcpt.c: Likewise.
3821         * sysdeps/generic/fegetenv.c: Likewise.
3822         * sysdeps/generic/fesetenv.c: Likewise.
3823         * sysdeps/generic/feupdateenv.c: Likewise.
3824         * sysdeps/generic/fgetexcptflg.c: Likewise.
3825         * sysdeps/generic/fraiseexcpt.c: Likewise.
3826         * sysdeps/generic/fsetexcptflg.c: Likewise.
3827         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3828         * sysdeps/i386/fpu/fegetenv.c: Likewise.
3829         * sysdeps/i386/fpu/fesetenv.c: Likewise.
3830         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3831         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3832         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3833         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3834         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3835         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3836         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3837         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3838         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3839         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3840         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3841         * sysdeps/mips/fclrexcpt.c: Likewise.
3842         * sysdeps/mips/fegetenv.c: Likewise.
3843         * sysdeps/mips/fesetenv.c: Likewise.
3844         * sysdeps/mips/feupdateenv.c: Likewise.
3845         * sysdeps/mips/fgetexcptflg.c: Likewise.
3846         * sysdeps/powerpc/fclrexcpt.c: Likewise.
3847         * sysdeps/powerpc/fegetenv.c: Likewise.
3848         * sysdeps/powerpc/fesetenv.c: Likewise.
3849         * sysdeps/powerpc/feupdateenv.c: Likewise.
3850         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3851         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3852         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3853         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3854         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3855         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3856         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3857         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3858         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3859         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3860         * math/fenv.h: Adjust prototypes.: Likewise.
3861         * manual/arith.texi: Adjust documentation for these changes.
3862
3863         * manual/arith.texi: Document feraiseexcept.
3864
3865         * sysdeps/powerpc/fegetenv.c: Moved to...
3866         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3867         * sysdeps/powerpc/fegetround.c: Moved to...
3868         * sysdeps/powerpc/fpu/fegetround.c: ...here.
3869         * sysdeps/powerpc/feholdexcpt.c: Moved to...
3870         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3871         * sysdeps/powerpc/fesetenv.c: Moved to...
3872         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3873         * sysdeps/powerpc/fenv_libc.h: Moved to...
3874         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3875         * sysdeps/powerpc/feupdateenv.c: Moved to...
3876         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3877         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3878         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3879         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3880         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3881         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3882         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3883         * sysdeps/powerpc/ftestexcept.c: Moved to...
3884         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3885         * sysdeps/powerpc/fesetround.c: Moved to...
3886         * sysdeps/powerpc/fpu/fesetround.c: ...here
3887         * sysdeps/powerpc/fenv_const.c: Moved to...
3888         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3889
3890         * sysdeps/mips/fclrexcpt.c: Moved to...
3891         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3892         * sysdeps/mips/fegetenv.c: Moved to...
3893         * sysdeps/mips/fpu/fegetenv.c: ...here.
3894         * sysdeps/mips/fegetround.c: Moved to...
3895         * sysdeps/mips/fpu/fegetround.c: ...here.
3896         * sysdeps/mips/fesetenv.c: Moved to...
3897         * sysdeps/mips/fpu/fesetenv.c: ...here.
3898         * sysdeps/mips/fesetround.c: Moved to...
3899         * sysdeps/mips/fpu/fesetround.c: ...here.
3900         * sysdeps/mips/feupdateenv.c: Moved to...
3901         * sysdeps/mips/fpu/feupdateenv.c: ...here.
3902         * sysdeps/mips/fgetexcptflg.c: Moved to...
3903         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3904         * sysdeps/mips/ftestexcept.c: Moved to...
3905         * sysdeps/mips/fpu/ftestexcept.c: ...here.
3906
3907 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
3908
3909         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3910         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3911         libraries from statically linked programs.
3912         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3913         fix for sigaction on SPARC.
3914         Patches by David S. Miller <davem@redhat.com>.
3915
3916         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3917         gregset_t and other required structures and defines for SPARC 64bit
3918         ABI as well, not only 32bit ABI.
3919
3920 1999-10-31  Andreas Jaeger  <aj@suse.de>
3921
3922         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3923         by __USE_ISOC99 and update comments.
3924
3925         * math/complex.h: Update comments for ISO C99.
3926         * math/fenv.h: Likewise.
3927         * math/test-fenv.c: Likewise.
3928         * math/tgmath.h: Likewise.
3929         * libio/stdio.h: Likewise.
3930         * posix/sys/types.h: Likewise.
3931         * sysdeps/generic/inttypes.h: Likewise.
3932         * sysdeps/generic/stdint.h: Likewise.
3933
3934 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3935
3936         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3937
3938         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3939         recognize _ISOC99_SOURCE.
3940         * libio/stdio.h: Likewise.
3941         * math/math.h: Likewise.
3942         * math/bits/mathcalls.h: Likewise.
3943         * math/stdio.h: Likewise.
3944         * stdlib/stdlib.h: Likewise.
3945         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3946         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3947         * sysdeps/arm/bits/huge_val.h: Likewise.
3948         * sysdeps/generic/bits/mathdef.h: Likewise.
3949         * sysdeps/i386/bits/huge_val.h: Likewise.
3950         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3951         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3952         * sysdeps/ieee754/bits/huge_val.h: Likewise.
3953         * sysdeps/m68k/bits/huge_val.h: Likewise.
3954         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3955         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3956         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3957         * sysdeps/powerpc/bits/mathinline.h: Likewise.
3958         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3959         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3960         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3961         * wcsmbs/wchar.h: Likewise.
3962
3963         * sysdeps/powerpc/bits/mathdef.h: Moved to...
3964         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3965         * sysdeps/powerpc/bits/mathinline.h: Moved to...
3966         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3967         * sysdeps/powerpc/bits/fenv.h: Moved to...
3968         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3969
3970 1999-10-31  Andreas Jaeger  <aj@suse.de>
3971
3972         * manual/math.texi (Errors in Math Functions): Correct TeX code.
3973
3974 1999-10-31  Andreas Jaeger  <aj@suse.de>
3975
3976         * math/libm-test.inc:  Change comments to use ISO C99 instead of
3977         ISO C9x.
3978         * math/w_lgamma.c: Likewise.
3979         * math/w_lgammaf.c: Likewise.
3980         * math/w_lgammal.c: Likewise.
3981         * math/test-fenv.c: Likewise.
3982         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3983         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3984         * sysdeps/generic/printf_fphex.c: Likewise.
3985
3986 1999-10-31  Andreas Jaeger  <aj@suse.de>
3987
3988         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3989
3990         * manual/math.texi: Change ISO C9x to ISO C99.
3991         * manual/startup.texi: Likewise.
3992         * manual/stdio.texi: Likewise.
3993
3994 1999-10-31  Andreas Jaeger  <aj@suse.de>
3995
3996         * manual/arith.texi: Change ISO C9x to ISO C99.
3997         * manual/time.texi (Low-Level Time String Parsing): Likewise.
3998
3999 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
4000
4001         * socket/Makefile (distribute): Add ifreq.h.
4002
4003         * manual/time.texi (Formatting Date and Time): Revise comments about
4004         origins of the formats with ISO C99 references.
4005
4006 1999-10-30  Andreas Jaeger  <aj@suse.de>
4007
4008         * sysdeps/unix/sysv/linux/ifreq.h: New file.
4009
4010 1999-10-29  Andreas Jaeger  <aj@suse.de>
4011
4012         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
4013         input format; mention that strtof and strtold are part of ISO C99.
4014
4015 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
4016
4017         * manual/math.texi (Errors in Math Functions): New section.
4018         * math/libm-err-tab.pl: Moved to...
4019         * manual/libm-err-tab.pl: ...here.
4020         * manual/Makefile: Add rules for math function error table generation.
4021
4022         * stdlib/tst-strtod.c: Add more hexadecimal tests.
4023
4024         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
4025         != 1 correctly and more than one digit before decimal point..
4026
4027 1999-10-27  Andreas Jaeger  <aj@suse.de>
4028
4029         * sysdeps/generic/ifreq.h: New file.
4030
4031         * resolv/res_hconf.c: Add missing includes to get all prototypes.
4032         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
4033         Reported by John DiMarco <jdd@cs.toronto.edu>.
4034
4035         (_res_hconf_reorder_addrs): Made thread safe.
4036         (free_mem): New function, needed for malloc debugging.
4037
4038 1999-10-29  Andreas Jaeger  <aj@suse.de>
4039
4040         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
4041         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
4042         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
4043         opensock to use __opensock.
4044
4045         * socket/Makefile (routines): Add opensock.
4046
4047         * include/sys/socket.h (__opensock): Add prototype declaration.
4048
4049 1999-10-29  Andreas Jaeger  <aj@suse.de>
4050
4051         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
4052         N_* constants.
4053         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4054
4055         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
4056         new constant from Linux 2.3.25pre1.
4057
4058         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
4059
4060 1999-10-29  Andreas Jaeger  <aj@suse.de>
4061
4062         * math/libm-err-tab.pl: New file to generate a table of
4063         libm-test-ulps values.
4064
4065 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
4066
4067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
4068         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
4069         struct sigcontext* object as second parameter for profil_counter.
4070         Patches by Jakub Jelinek <jakub@redhat.com>.
4071
4072 1999-10-29  Andreas Jaeger  <aj@suse.de>
4073
4074         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
4075         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
4076
4077         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
4078         efs, qnx4 and reiser file systems.
4079
4080 1999-10-29  Andreas Jaeger  <aj@suse.de>
4081
4082         * locale/Makefile (others): Set to localedef and locale for make
4083         clean.
4084
4085         * debug/Makefile (generated): Add xtrace for make clean to work.
4086
4087 1999-10-29  Andreas Jaeger  <aj@suse.de>
4088
4089         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
4090
4091 1999-10-25  Andreas Jaeger  <aj@suse.de>
4092
4093         * math/libm-test.inc: Added code to ignore the given max ulps.
4094         (print_max_error): Check for ignore_max_ulp.
4095         (check_float_internal): Likewise.
4096         (parse_opt): Parse --ignore-max-ulp.
4097         (main): Initialize ignore_max_ulp.
4098
4099 1999-10-26  Andreas Jaeger  <aj@suse.de>
4100
4101         * stdlib/msort.c: Include <alloca.h> for prototype.
4102         Remove K&R compatibility and _quicksort prototype.
4103
4104         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
4105         some comments.
4106         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
4107         Remove K&R compatibility.
4108         Move prototype declaration to include/stdlib.h.
4109         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
4110
4111         * include/stdlib.h: Prototype declaration for _quicksort.
4112
4113 1999-10-27  Andreas Jaeger  <aj@suse.de>
4114
4115         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
4116         shifted a bit too much.
4117         Reported by Eugen Dedu <dedu@ese-metz.fr>.
4118
4119 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
4120
4121         * resolv/gethnamaddr.c: Account bytes needed for alignment in
4122         buflen.  Patch by Olaf Kirch <okir@lst.de>.
4123
4124         * md5-crypt/md5test.c: Correct names of MD5 functions after
4125         removing of public names.
4126
4127         * configure.in: Don't allow --enable-kernel without parameter.
4128
4129 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
4130
4131         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
4132         problems.
4133
4134 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
4135
4136         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
4137         only used internally.
4138         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
4139         remove weak alias for public names.
4140         * md5-crypt/md5.c: Remove weak aliase.
4141
4142 1999-10-25  Andreas Jaeger  <aj@suse.de>
4143
4144         * math/README.libm-test: New file, documents libm-test.inc.
4145
4146 1999-10-25  Andreas Jaeger  <aj@suse.de>
4147
4148         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
4149         given.
4150         (print_ulps_file): Fix loops to not read @tests and @functions
4151         since those are not initialized with -n now.
4152         (parse_ulps): Set $results{..}{"kind"}.
4153
4154 1999-10-25  Andreas Jaeger  <aj@suse.de>
4155
4156         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
4157
4158         * math/libm-test.inc (check_float_internal): Don't print ulps for
4159         wrong sign of zero.
4160
4161 1999-10-20  Andreas Jaeger  <aj@suse.de>
4162
4163         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
4164         versus AF_LOCAL.
4165         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
4166
4167 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
4168
4169         * math/libm-test.inc: Disable some boundary case tests for inline
4170         function testing.
4171
4172         * math/math.h: Pretty printing.
4173
4174         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
4175         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4176         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4177         * sysdeps/i386/fpu/e_log10.S: Likewise.
4178         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4179         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4180         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4181         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4182         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4183         * sysdeps/i386/fpu/s_log2.S: Likewise.
4184         * sysdeps/i386/fpu/s_log2f.S: Likewise.
4185         * sysdeps/i386/fpu/s_log2l.S: Likewise.
4186
4187         * sysdeps/i386/fpu/libm-test-ulps: New file.
4188
4189         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
4190         value for x == 0.
4191         (pow): Correct case x == 0.
4192         (__sgn1l): Correct handling of -0.0.
4193
4194 1999-10-22  Andreas Jaeger  <aj@suse.de>
4195
4196         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
4197         (atan_test): Likewise.
4198         (atanh_test): Likewise.
4199         (atan2_test): Likewise.
4200         (carg_test): Likewise.
4201         (ceil_test): Likewise.
4202         (cos_test): Likewise.
4203         (cosh_test): Likewise.
4204         (cpow_test): Likewise.
4205         (erf_test): Likewise.
4206         (erfc_test): Likewise.
4207         (exp_test): Likewise.
4208         (exp10_test): Likewise.
4209         (exp2_test): Likewise.
4210         (expm1_test): Likewise.
4211         (fabs_test): Likewise.
4212         (floor_test): Likewise.
4213         (fmod_test): Likewise.
4214         (gamma_test): Likewise.
4215         (lgamma_test): Likewise.
4216         (log10_test): Likewise.
4217         (log1p_test): Likewise.
4218         (log2_test): Likewise.
4219         (logb_test): Likewise.
4220         (nearbyint_test): Likewise.
4221         (remainder_test): Likewise.
4222         (remquo_test): Likewise.
4223         (sin_test): Likewise.
4224         (sincos_test): Likewise.
4225         (sinh_test): Likewise.
4226         (sqrt_test): Likewise.
4227         (tan_test): Likewise.
4228         (tanh_test): Likewise.
4229         (tgamma_test): Likewise.
4230
4231 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
4232
4233         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4234
4235         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4236
4237         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4238         for -Inf and return NaN.
4239
4240         * configure.in: Correct test for Cygnus gcc versions.
4241
4242 1999-10-21  Andreas Jaeger  <aj@suse.de>
4243
4244         * math/libm-test.inc (cimag_test): New function, tests cimag.
4245         (creal_test): New function, tests creal.
4246         (conj_test): New function, tests conj.
4247         (main): Add new functions.
4248
4249 1999-10-20  Andreas Jaeger  <aj@suse.de>
4250
4251         * math/libm-test.inc: Rewrite to allow different deltas for real
4252         and imaginary part of complex functions.
4253         * math/gen-libm-test.pl: Likewise.
4254
4255 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
4256
4257         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4258         aliases.
4259
4260         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4261
4262         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4263         for -Inf and return NaN.
4264
4265         * math/gen-libm-test.pl: Fix program name in help message.
4266
4267         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4268
4269         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4270
4271         * sysdeps/i386/Implies: Correct order of libm directories.
4272
4273 1999-10-19  Andreas Jaeger  <aj@suse.de>
4274
4275         * include/bits/ipc.h: Remove K&R compatibility.
4276         * include/libintl.h: Likewise.
4277         * include/math.h: Likewise.
4278         * include/mntent.h: Likewise
4279         * include/netdb.h: Likewise.
4280         * include/pwd.h: Likewise.
4281         * include/sched.h: Likewise.
4282         * include/shadow.h: Likewise
4283         * include/stdlib.h: Likewise.
4284         * include/sys/file.h: Likewise.
4285         * include/sys/gmon.h: Likewise.
4286         * include/sys/ioctl.h: Likewise.
4287         * include/sys/mman.h: Likewise.
4288         * include/sys/resource.h: Likewise.
4289         * include/sys/socket.h: Likewise.
4290         * include/sys/stat.h: Likewise.
4291         * include/sys/sysinfo.h: Likewise.
4292         * include/sys/time.h: Likewise.
4293         * include/sys/times.h: Likewise.
4294         * include/sys/uio.h: Likewise.
4295         * include/sys/wait.h: Likewise.
4296         * include/termios.h: Likewise.
4297         * include/time.h: Likewise.
4298         * include/ulimit.h: Likewise.
4299         * include/utmp.h: Likewise.
4300         * include/wchar.h: Likewise.
4301         * include/wctype.h: Likewise.
4302
4303 1999-10-19  Andreas Jaeger  <aj@suse.de>
4304
4305         * math/libm-test.inc: Remove one K&R compatibility.
4306         (main): Enable nexttoward_test.
4307
4308         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4309         libm-test-ulps.h; pretty print output a bit.
4310
4311 1999-10-19  Andreas Jaeger  <aj@suse.de>
4312
4313         * iconv/iconv_prog.c (main): Set exit value in case that reading
4314         from stdin failed [PR libc/1404].
4315
4316 1999-10-18  Andreas Jaeger  <aj@suse.de>
4317
4318         Added improved math testsuite:
4319         * math/libm-test.inc: New file, contains all tests from
4320         libm-test.c but in a different form.
4321         * math/libm-test.c: Removed.
4322         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4323         * math/gen-libm-test.pl: New file: Preprocessor.
4324         * math/test-double.c: Adopted to new testsuite.
4325         * math/test-idouble.c: Likewise.
4326         * math/test-float.c: Likewise.
4327         * math/test-ifloat.c: Likewise.
4328         * math/test-ldouble.c: Likewise.
4329         * math/test-ildoubl.c: Likewise.
4330         * math/Makefile: Added rules to generate new suite.
4331
4332 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4333
4334         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4335         Patch by J. Richard Sladkey <jrs@world.std.com>.
4336
4337         * scripts/config.sub: Update from latest autoconf version.
4338         * scripts/config.guess: Likewise.
4339
4340 1999-10-18  Andreas Jaeger  <aj@suse.de>
4341
4342         * inet/arpa/inet.h: Remove K&R compatibility.
4343         * math/fenv.h: Likewise.
4344
4345 1999-10-18  Andreas Jaeger  <aj@suse.de>
4346
4347         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4348         kernel_sigaction): Remove K&R compatibility.
4349         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4350         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4351         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4352         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4353         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4354         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4355         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4356         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4357         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4358         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4359         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4360         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4361         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4362         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4363         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4364         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4365         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4366
4367 1999-10-18  Andreas Jaeger  <aj@suse.de>
4368
4369         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4370         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4371
4372 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4373
4374         * po/gl.po: New file.
4375
4376 1999-10-18  Andreas Schwab  <schwab@suse.de>
4377
4378         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4379         namespace selection.
4380
4381 1999-10-18  Andreas Schwab  <schwab@suse.de>
4382
4383         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4384         clash with the TERM environment variable.
4385
4386 1999-10-18  Andreas Jaeger  <aj@suse.de>
4387
4388         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4389         returns now NaN + i NaN.
4390         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4391         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4392
4393 1999-10-18  Andreas Jaeger  <aj@suse.de>
4394
4395         * include/aio.h: Remove K&R compatiblity.
4396         * include/alloca.h: Likewise.
4397         * include/db.h: Likewise.
4398         * include/dirent.h: Likewise.
4399         * include/fcntl.h: Likewise.
4400         * include/fpu_control.h: Likewise.
4401         * include/glob.h: Likewise.
4402         * include/grp.h: Likewise.
4403         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4404         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4405         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4406         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4407
4408         * include/execinfo.h: Add __THROW.
4409
4410 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4411
4412         * sysdeps/mips/Implies: Remove wordsize-32 reference.
4413         * sysdeps/mips/mips3/Implies: Add it here.
4414
4415 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
4416
4417         * elf/elf.h: Add various platform and architecture extensions.
4418
4419         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4420         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4421         LC_ALL.
4422
4423         * socket/sys/socket.h: Remove K&R compatibility.
4424
4425 1999-10-16  Andreas Jaeger  <aj@suse.de>
4426
4427         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4428
4429 1999-10-15  Andreas Jaeger  <aj@suse.de>
4430
4431         * stdlib/Makefile (tests): Added tst-xpg-basename.
4432
4433         * stdlib/tst-xpg-basename.c: New test file.
4434
4435 1999-10-14  Cristian Gafton  <gafton@redhat.com>
4436
4437         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4438
4439 1999-10-14  Andreas Jaeger  <aj@suse.de>
4440
4441         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
4442         endian version works for both endiannesses.
4443
4444         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4445         seconds.
4446
4447 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4448
4449         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4450         register names unconditionally, only if __USE_GNU.
4451
4452         * debug/Makefile: Fix rules to generate pcprofiledump.
4453
4454         * include/ucontext.h: New file.
4455
4456         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4457
4458 1999-10-12  Andreas Jaeger  <aj@suse.de>
4459
4460         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4461
4462         * math/basic-test.c: Fix typo.
4463
4464         * locale/programs/xstrdup.c: Include string.h for glibc
4465         compilation to get string prototypes.
4466
4467         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4468         gregset_t and fpregset_t.
4469
4470         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4471         warnings.  Correct value for x == 0.
4472
4473         * argp/argp-help.c: Remove broken definition of flockfile and
4474         funlockfile.
4475
4476 1999-10-12  Andreas Schwab  <schwab@suse.de>
4477
4478         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4479         generic Linux version.
4480
4481 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4482
4483         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4484
4485 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4486
4487         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4488         and fpregset_t definitions.
4489
4490         * malloc/memprof.c (GETSP): Define for PowerPC.
4491         (GETTIME): Fix generic version.
4492
4493 1999-10-10  Philip Blundell  <philb@gnu.org>
4494
4495         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4496         __BYTE_ORDER.
4497
4498 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4499
4500         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4501         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4502         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4503         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4504
4505         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4506
4507         * sysdeps/powerpc/e_sqrt.c: Moved to...
4508         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4509         * sysdeps/powerpc/e_sqrtf.c: Moved to...
4510         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4511
4512         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4513         * sysdeps/powerpc/sub_n.S: Likewise.
4514         * sysdeps/powerpc/strlen.S: Likewise.
4515         * sysdeps/powerpc/strcpy.S: Likewise.
4516         * sysdeps/powerpc/strcmp.S: Likewise.
4517         * sysdeps/powerpc/strchr.S: Likewise.
4518         * sysdeps/powerpc/stpcpy.S: Likewise.
4519         * sysdeps/powerpc/setjmp.S: Likewise.
4520         * sysdeps/powerpc/rshift.S: Likewise.
4521         * sysdeps/powerpc/ppc-mcount.S: Likewise.
4522         * sysdeps/powerpc/mul_1.S: Likewise.
4523         * sysdeps/powerpc/memset.S: Likewise.
4524         * sysdeps/powerpc/lshift.S: Likewise.
4525         * sysdeps/powerpc/dl-start.S: Likewise.
4526         * sysdeps/powerpc/bzero.S: Likewise.
4527         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4528         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4529         * sysdeps/powerpc/addmul_1.S: Likewise.
4530         * sysdeps/powerpc/add_n.S: Likewise.
4531         * sysdeps/powerpc/__longjmp.S: Likewise.
4532         * sysdeps/powerpc/elf/start.S: Likewise.
4533
4534 1999-10-11  Cristian Gafton  <gafton@redhat.com>
4535
4536         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4537         SA_SIGINFO.
4538
4539 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
4540
4541         * stdlib/atexit.c (initial): New variable.  Use to initialize
4542         __exit_funcs.
4543         * stdlib/exit.c (exit): Beware to not free statically allocated
4544         list element [PR libc/1305].
4545
4546         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4547         slash before the basename [PR libc/1383].
4548
4549         * argp/argp.h: Fix typo in last patch.
4550
4551         * sysdeps/powerpc/sysdep.h: New file.
4552         * sysdeps/unix/powerpc/sysdep.h: New file.
4553         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4554         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4555         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4556         instead of bare numbers.
4557         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4558         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4559         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4560
4561         * sysdeps/hppa/sysdep.h: New file.
4562
4563 1999-10-10  Andreas Jaeger  <aj@suse.de>
4564
4565         * misc/sgtty.h: Fix typo in last patch.
4566
4567 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
4568
4569         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4570         * sysdeps/powerpc/s_copysign.S: Move to...
4571         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
4572         * sysdeps/powerpc/s_copysignf.S: Move to...
4573         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4574         * sysdeps/powerpc/s_fabs.S: Move to...
4575         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
4576         * sysdeps/powerpc/s_fabsf.S: Move to...
4577         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4578         * sysdeps/powerpc/s_fdim.c: Move to...
4579         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4580         * sysdeps/powerpc/s_fdimf.c: Move to...
4581         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4582         * sysdeps/powerpc/s_fmax.S: Move to...
4583         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
4584         * sysdeps/powerpc/s_fmaxf.S: Move to...
4585         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4586         * sysdeps/powerpc/s_fmin.S: Move to...
4587         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
4588         * sysdeps/powerpc/s_fminf.S: Move to...
4589         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4590         * sysdeps/powerpc/s_isnan.S: Move to...
4591         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4592         * sysdeps/powerpc/s_isnanf.S: Move to...
4593         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4594         * sysdeps/powerpc/s_llrint.c: Move to...
4595         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4596         * sysdeps/powerpc/s_llrintf.c: Move to...
4597         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4598         * sysdeps/powerpc/s_llround.c: Move to...
4599         * sysdeps/powerpc/fpu/s_llround.c: ...here.
4600         * sysdeps/powerpc/s_llroundf.c: Move to...
4601         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4602         * sysdeps/powerpc/s_lrint.c: Move to...
4603         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4604         * sysdeps/powerpc/s_lrintf.S: Move to...
4605         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4606         * sysdeps/powerpc/s_lround.c: Move to...
4607         * sysdeps/powerpc/fpu/s_lround.c: ...here.
4608         * sysdeps/powerpc/s_lroundf.c: Move to...
4609         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4610         * sysdeps/powerpc/s_rint.c: Move to...
4611         * sysdeps/powerpc/fpu/s_rint.c: ...here.
4612         * sysdeps/powerpc/s_rintf.c: Move to...
4613         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4614         * sysdeps/powerpc/t_sqrt.c: Move to...
4615         * sysdeps/powerpc/fpu/t_sqrt: ...here.
4616         * sysdeps/powerpc/w_sqrt.c: Move to...
4617         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4618         * sysdeps/powerpc/w_sqrtf.c: Move to...
4619         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4620         * configure.in: Support platforms which have no .text pseudo-op.
4621         Patches partly by Jimi X <jimix@pobox.com>.
4622
4623         * Makeconfig: Look also in all subdirs for shlib-versions files.
4624
4625         * malloc/memprof.sh: Fix --help string a bit.
4626
4627         * argp/argp.h: Remove K&R compatiblity.
4628         * assert/assert.h: Likewise.
4629         * catgets/nl_types.h: Likewise.
4630         * ctype/ctype.h: Likewise.
4631         * db/db.h: Likewise.
4632         * db/ndbm.h: Likewise.
4633         * db2/db.h: Likewise.
4634         * db2/db_185.h: Likewise.
4635         * debug/execinfo.h: Likewise.
4636         * dirent/dirent.h: Likewise.
4637         * dlfcn/dlfcn.h: Likewise.
4638         * gmon/sys/gmon.h: Likewise.
4639         * grp/grp.h: Likewise.
4640         * iconv/gconv.h: Likewise.
4641         * iconv/iconv.h: Likewise.
4642         * include/execinfo.h: Likewise.
4643         * inet/aliases.h: Likewise.
4644         * inet/netinet/ether.h: Likewise.
4645         * inet/netinet/in.h: Likewise.
4646         * intl/libintl.h: Likewise.
4647         * io/fcntl.h: Likewise.
4648         * io/fts.h: Likewise.
4649         * io/ftw.h: Likewise.
4650         * io/utime.h: Likewise.
4651         * io/sys/poll.h: Likewise.
4652         * io/sys/stat.h: Likewise.
4653         * io/sys/statfs.h: Likewise.
4654         * io/sys/statvfs.h: Likewise.
4655         * libio/libio.h: Likewise.
4656         * libio/stdio.h: Likewise.
4657         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4658         * locale/locale.h: Likewise.
4659         * login/pty.h: Likewise.
4660         * login/utmp.h: Likewise.
4661         * malloc/mcheck.h: Likewise.
4662         * math/complex.h: Likewise.
4663         * math/math.h: Likewise.
4664         * math/math_private.h: Likewise.
4665         * misc/err.h: Likewise.
4666         * misc/fstab.h: Likewise.
4667         * misc/libgen.h: Likewise.
4668         * misc/mntent.h: Likewise.
4669         * misc/regexp.h: Likewise.
4670         * misc/search.h: Likewise.
4671         * misc/sgtty.h: Likewise.
4672         * misc/ttyent.h: Likewise.
4673         * misc/sys/cdefs.h: Likewise.
4674         * misc/sys/file.h: Likewise.
4675         * misc/sys/ioctl.h: Likewise.
4676         * misc/sys/mman.h: Likewise.
4677         * misc/sys/select.h: Likewise.
4678         * misc/sys/syslog.h: Likewise.
4679         * misc/sys/uio.h: Likewise.
4680         * misc/sys/ustat.h: Likewise.
4681         * nss/nss.h: Likewise.
4682         * posix/sched.h: Likewise.
4683         * posix/unistd.h: Likewise.
4684         * posix/wordexp.h: Likewise.
4685         * posix/sys/times.h: Likewise.
4686         * posix/sys/utsname.h: Likewise.
4687         * posix/sys/wait.h: Likewise.
4688         * pwd/pwd.h: Likewise.
4689         * resolv/netdb.h: Likewise.
4690         * resolv/resolv.h: Likewise.
4691         * resource/ulimit.h: Likewise.
4692         * resource/sys/resource.h: Likewise.
4693         * resource/sys/vlimit.h: Likewise.
4694         * resource/sys/vtimes.h: Likewise.
4695         * rt/aio.h: Likewise.
4696         * setjmp/setjmp.h: Likewise.
4697         * shadow/shadow.h: Likewise.
4698         * signal/signal.h: Likewise.
4699         * socket/socket.h: Likewise.
4700         * stdio/stdio.h: Likewise.
4701         * stdio-common/_itoa.h: Likewise.
4702         * stdio-common/_itowa.h: Likewise.
4703         * stdio-common/printf.h: Likewise.
4704         * stdlib/alloca.h: Likewise.
4705         * stdlib/fmtmsg.h: Likewise.
4706         * stdlib/monetary.h: Likewise.
4707         * stdlib/stdlib.h: Likewise.
4708         * stdlib/ucontext.h: Likewise.
4709         * streams/stropts.h: Likewise.
4710         * string/argz.h: Likewise.
4711         * string/envz.h: Likewise.
4712         * string/string.h: Likewise.
4713         * string/strings.h: Likewise.
4714         * string/bits/string2.h: Likewise.
4715         * sunrpc/rpc/auth.h: Likewise.
4716         * sunrpc/rpc/auth_des.h: Likewise.
4717         * sunrpc/rpc/auth_unix.h: Likewise.
4718         * sunrpc/rpc/clnt.h: Likewise.
4719         * sunrpc/rpc/des_crypt.h: Likewise.
4720         * sunrpc/rpc/netdb.h: Likewise.
4721         * sunrpc/rpc/pmap_clnt.h: Likewise.
4722         * sunrpc/rpc/pmap_prot.h: Likewise.
4723         * sunrpc/rpc/pmap_rmt.h: Likewise.
4724         * sunrpc/rpc/rpc_msg.h: Likewise.
4725         * sunrpc/rpc/svc.h: Likewise.
4726         * sunrpc/rpc/svc_auth.h: Likewise.
4727         * sunrpc/rpc/xdr.h: Likewise.
4728         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4729         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4730         * sysvipc/sys/ipc.h: Likewise.
4731         * sysvipc/sys/msg.h: Likewise.
4732         * sysvipc/sys/sem.h: Likewise.
4733         * sysvipc/sys/shm.h: Likewise.
4734         * termios/termios.h: Likewise.
4735         * time/time.h: Likewise.
4736         * time/sys/time.h: Likewise.
4737         * time/sys/timeb.h: Likewise.
4738         * wcsmbs/wchar.h: Likewise.
4739         * wctype/wctype.h: Likewise.
4740
4741 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
4742
4743         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4744         _GNU_SOURCE be defined.
4745
4746 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
4747
4748         * ctype/ctype.h: Pretty print.
4749
4750         * po/cs.po: Fix typos.
4751
4752         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4753         handling of empty entries.  [PR libc/1345]
4754         Patch by Thorsten Kukuk <kukuk@suse.de>.
4755
4756 1999-10-08  Andreas Schwab  <schwab@suse.de>
4757
4758         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
4759
4760 1999-10-08  Andreas Schwab  <schwab@suse.de>
4761
4762         * debug/pcprofiledump.c: Fix typos.
4763
4764 1999-10-07  Andreas Jaeger  <aj@suse.de>
4765
4766         * math/Makefile (tests): Added basic-tests.
4767
4768         * math/basic-test.c: New file.  Contains function basic_tests from
4769         libm-test.
4770
4771 1999-10-07  Andreas Schwab  <schwab@suse.de>
4772
4773         * malloc/memprof.sh: Fix quoting bugs.
4774
4775 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
4776
4777         * timezone/europe: Update from tzdata1999h.
4778
4779 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
4780
4781         * elf/elf.h: Update from last gABI draft.
4782
4783         * elf/elf.h: Remove EM_486 entry.
4784         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4785         test for EM_486.
4786
4787 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
4788
4789         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4790         Add rules for both programs.
4791         * debug/pcprofiledump.c: New file.
4792         * debug/xtrace.sh: New file.
4793         * debug/pcprofile.c: Allow creating output file.  Add magic signature
4794         to let reader recognize file format.
4795
4796 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
4797
4798         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4799
4800 1999-10-05  Andreas Jaeger  <aj@suse.de>
4801
4802         * locale/programs/ld-identification.c: Fix typo in comment.
4803         * locale/programs/ld-messages.c: Likewise.
4804         * locale/programs/ld-monetary.c: Likewise.
4805         * locale/programs/ld-name.c: Likewise.
4806
4807         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4808         (collate_read): Remove unnecessary comparisons with ignore_content.
4809
4810         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4811         assigned elements.
4812         (ctype_read): Remove unnecessary comparisons with ignore_content.
4813         Fix typos in comments.
4814
4815         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4816         comparisons with ignore_content.
4817
4818 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
4819
4820         * po/cs.po: Update.
4821
4822         * time/time.h: Move __gmtime_r declaration to ...
4823         * include/time.h: ...here.
4824
4825 1999-10-05  Andreas Jaeger  <aj@suse.de>
4826
4827         * manual/message.texi (The message catalog files): Fix description
4828         to match gencat implementation and Unix98: Message fields are
4829         separated by a single blank space.
4830
4831 1999-10-05  Andreas Jaeger  <aj@suse.de>
4832
4833         * manual/string.texi (Search Functions): Add missing end for
4834         memrchr description.
4835
4836 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4837
4838         * malloc/memprof.sh: Various small cleanups.  Add short options.
4839         Write error messages to stderr.
4840
4841         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4842
4843         * malloc/memprof.sh: Take options to control memprofstat.
4844
4845         * malloc/Makefile: Add rule to generate memprof script.
4846         * malloc/memprof.sh: New file.
4847
4848         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4849         GNU standard.
4850
4851 1999-10-04  Andreas Jaeger  <aj@suse.de>
4852
4853         * configure.in: Allow makeinfo 4.*.
4854
4855 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4856
4857         * stdio-common/vfprintf.c: Correct last patch and use outchar
4858         instead of PUTC to output single characters.
4859         * stdio-common/Makefile (tests): Add bug13.
4860         * stdio-common/bug13.c: New file.
4861
4862         * configure.in: Add additional options --with-gd-include and
4863         --with-gd-lib to help people with strange installations.
4864
4865         * malloc/Makefile: Add libdl dependency to libmemprof.so.
4866         * malloc/Depend: New file.
4867
4868 1999-10-04  Andreas Jaeger  <aj@suse.de>
4869
4870         * timezone/README: Change wording to not mention the current
4871         version.  This way we can't forget to update the file.
4872
4873 1999-10-04  Andreas Jaeger  <aj@suse.de>
4874
4875         * manual/time.texi (Basic CPU Time): Fix typo.
4876         Reported by Ben Pfaff <pfaffben@msu.edu>.
4877
4878 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4879
4880         * string/string.h: Move __memrchr declaration to ...
4881         * include/string.h: ...here.
4882
4883 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4884
4885         * string/Makefile (routines): Add memrchr.
4886
4887         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4888         Correct order of tests for matching bytes.
4889
4890         * string/tester.c: Add tests for memrchr.
4891
4892         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4893         Start from the last character and take decrement not increment
4894         into account for correction in return line.  Add memrchr alias.
4895         * sysdeps/i386/bits/string.h: Likewise.
4896
4897 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4898
4899         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4900
4901 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4902
4903         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4904
4905         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4906         conventions.
4907
4908         * string/Versions: Export memrchr.
4909
4910 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4911
4912         * misc/Versions (GLIBC_2.2): Add getloadavg.
4913         * misc/Makefile (routines): Add getloadavg.
4914         * sysdeps/generic/getloadavg.c: New file.
4915         * sysdeps/mach/getloadavg.c: New file.
4916         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4917
4918         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4919         * sysdeps/i386/bits/string.h (__memrchr): New function.
4920         * string/string.h: Declare memrchr, __memrchr.
4921         * manual/string.texi (Search Functions): Document memrchr.
4922
4923 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4924
4925         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4926         CFLAGS-memprofstat.c, and LIBGD variables.
4927         * config.make.in: Add LIBGD.
4928         * malloc/Makefile: Add rules to generate libmemprof.so and
4929         memprofstat.
4930         * malloc/memprof.c: New file.
4931         * malloc/memprofstat.c: New file.
4932
4933 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
4934
4935         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4936
4937         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4938         (inet_ntop6): Likewise.
4939
4940         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4941         overruns.
4942
4943         * resolv/tst-aton.c (main): Add more tests.
4944
4945         * resolv/inet_addr.c (inet_aton): Correct some problems with to
4946         large numbers.  Optimize a bit.
4947
4948 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4949
4950         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4951         account for added '0'.
4952
4953         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4954         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
4955         len argument to be greater than needed address size.
4956
4957 1999-10-01  Andreas Jaeger  <aj@suse.de>
4958
4959         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4960         warning.
4961         * intl/finddomain.c (_nl_find_domain): Likewise.
4962
4963 1999-09-30  Andreas Schwab  <schwab@suse.de>
4964
4965         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4966
4967 1999-09-30  Andreas Jaeger  <aj@suse.de>
4968
4969         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4970         * sysdeps/i386/rshift.S: Likewise.
4971         * sysdeps/i386/strchrnul.S: Likewise.
4972         * sysdeps/i386/strchr.S: Likewise.
4973         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4974         PR libc/1339.
4975
4976 1999-09-30  Andreas Jaeger  <aj@suse.de>
4977
4978         * manual/examples/pipe.c: Close other end of pipe to make example work.
4979
4980 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4981
4982         * timezone/checktab.awk: Update from tzcode1999g.
4983         * timezone/tzselect.ksh: Likewise.
4984         * timezone/africa: Update from tzdata1999g.
4985         * timezone/asia: Likewise.
4986         * timezone/australasia: Likewise.
4987         * timezone/europe: Likewise.
4988         * timezone/northamerica: Likewise.
4989         * timezone/southamerica: Likewise.
4990         * timezone/iso3166.tab: Likewise.
4991         * timezone/zone.tab: Likewise.
4992
4993 1999-09-27  Andreas Jaeger  <aj@suse.de>
4994
4995         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
4996         been renamed to getipnodebyname.  Move flags around.
4997
4998 1999-09-27  Andreas Schwab  <schwab@suse.de>
4999
5000         * manual/message.texi (Locating gettext catalog): Fix typos.
5001
5002 1999-09-27  Andreas Jaeger  <aj@suse.de>
5003
5004         * manual/socket.texi (Out-of-Band Data): Correct example program,
5005         rename some variables for clarity.
5006         Reported by James Antill <james@and.org>, close PR libc/1329.
5007
5008 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
5009
5010         * locale/programs/ld-collate.c (insert_value): Add hack to not
5011         crash in incomplete collate implementation.
5012
5013         * locale/programs/ld-collate.c (read_directions): Read new token
5014         after accepting sorting rule.
5015
5016 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
5017
5018         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5019         error message printing.  Correctly test whether all characters of
5020         current token are used.
5021         (ctype_read): NUL terminate last_str.
5022
5023 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
5024
5025         * nscd/connections.c: Invalidate caches on request.
5026         * nscd/nscd-client.h: Add INVALIDATE to request_type.
5027         * nscd/nscd.c: Add invalidate cache option.
5028         * nscd/nscd.conf: Change log directory to /var/log (FHS).
5029
5030 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
5031
5032         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
5033         not ovverwrite last group member with NULL pointer.
5034         Reported by Thomas Winder <thomas.winder@newlogic.at>.
5035
5036 1999-09-24  Andreas Jaeger  <aj@suse.de>
5037
5038         * stdio-common/tst-printf.c (main): Add a testcase for large
5039         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
5040
5041 1999-09-24  Andreas Schwab  <schwab@suse.de>
5042
5043         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
5044
5045 1999-09-24  Andreas Jaeger  <aj@suse.de>
5046
5047         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
5048         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
5049
5050 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
5051
5052         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
5053         variable.  Define MORECORE_CLEARS to 2.
5054
5055         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
5056         doesn't clear the contents of memory that is reallocated after
5057         decrementing the break value first.  Update comment about
5058         MORECORE_CLEARS, explaining the meaning of the values it can be
5059         set to.
5060
5061 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
5062
5063         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
5064         one more case.
5065
5066         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
5067         (log): Likewise.
5068         (log10): Likewise.
5069         (log1p): Likewise.
5070         (log2): Likewise.
5071
5072 1999-09-22  Andreas Jaeger  <aj@suse.de>
5073
5074         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
5075         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
5076
5077 1999-09-22  Andreas Schwab  <schwab@suse.de>
5078
5079         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
5080
5081 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5082
5083         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5084         the source directory.  Fixes PR libc/1059.
5085
5086 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
5087
5088         * locale/programs/repertoire.c (repertoire_find_value): Abort if
5089         rep parameter is NULL.
5090         (repertoire_find_symbol): Likewise.
5091         (repertoire_find_seq): Likewise.
5092
5093 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
5094
5095         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
5096         returned errno value in some cases.
5097
5098 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
5099
5100         * iconvdata/Makefile (modules): Add GBK.
5101         (distribute): Add gbk.c.
5102         * iconvdata/gbk.c: New file.
5103         * iconvdata/gconv-modules: Add GBK entry.
5104         Contributed by Sean Chen <sean.chen@turbolinux.com>.
5105
5106         * locale/programs/ld-monetary.c (monetary_output): Remove
5107         byte-order code.
5108
5109         * locale/programs/ld-time.c (time_output): Correct expected number
5110         of iov entries.
5111
5112         * manual/filesys.texi (Testing File Access): Correct description of
5113         SUID.
5114
5115 1999-080-25  H.J. Lu  <hjl@gnu.org>
5116
5117         * csu/defs.awk (.end): Only match with leading white spaces.
5118         (.align): Likewise.
5119
5120 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
5121
5122         * stdlib/isomac.c: Add va_copy to allowed macros.
5123
5124         * po/pl.po: Updated.
5125
5126 1999-09-17  Andreas Schwab  <schwab@suse.de>
5127
5128         * Makefile (clean): Also remove $(postclean) files.
5129
5130 1999-09-15  Andreas Jaeger  <aj@suse.de>
5131
5132         * pwd/Makefile (otherlibs): Add for building with static-nss.
5133         * inet/Makefile (otherlibs): Likewise.
5134
5135 1999-09-15  Andreas Jaeger  <aj@suse.de>
5136
5137         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
5138         function definition to avoid a compilation failure.
5139
5140 1999-09-15  Andreas Jaeger  <aj@suse.de>
5141
5142         * stdlib/tst-environ.c (main): Add getenv regression test for
5143         environment variable that's one character long.
5144
5145 1999-09-15  Andreas Jaeger  <aj@suse.de>
5146
5147         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
5148         signal definitions to let glibc compile with older Linux versions
5149         (2.0.10 to 2.1.100 or so).
5150
5151 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
5152
5153         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
5154         return zero to indicate no children died yet (assuming WNOHANG).
5155
5156         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
5157
5158 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
5159
5160         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
5161
5162         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
5163         Return _hurd_pgrp instead of 0.
5164
5165 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
5166
5167         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
5168         pages rather than just reprotecting them.  This way we don't hold on
5169         to the backing space.
5170
5171         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
5172         Use __munmap instead of __vm_deallocate.
5173
5174 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
5175
5176         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
5177         returned errno value in some cases.
5178
5179 1999-09-17  Andreas Jaeger  <aj@suse.de>
5180
5181         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
5182         to override user settings.
5183
5184 1999-09-17  Andreas Schwab  <schwab@suse.de>
5185
5186         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
5187         using a pointer to it.
5188
5189 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
5190
5191         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
5192         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
5193
5194 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
5195
5196         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
5197
5198         * elf/elf.h (PF_MASKOS): New definition.
5199         (EM_VAX): New definition.
5200
5201 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
5202
5203         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
5204         'unsigned char ftype[8]', and 'unsigned int init_flag' to
5205         struct user_fp.  These were added in version 2.2.12 of the
5206         ARM Linux kernel.
5207         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
5208         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
5209         The generic procfs.h included <asm/elf.h>.  This causes
5210         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5211         are included in the same source file.  Found when building GDB.
5212
5213 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
5214
5215         * locale/langinfo.h: Remove byte-order dependent names.
5216         * locale/categories.def: Update after removal of byte-order dependent
5217         names.
5218         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5219         with magic number in other byte order.
5220         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5221         * locale/C-collate.c: Remove initializers for other byte-order.
5222         * locale/C-ctype.c: Likewise.
5223         * locale/C-monetary.c: Likewise.
5224         * locale/C-paper.c: Likewise.
5225         * locale/C-time.c: Likewise.
5226         * locale/lc-collate.c: Remove byte-order oriented initialization.
5227         * locale/lc-ctype.c: Likewise.
5228         * locale/lc-monetary.c: Likewise.
5229         * locale/lc-time.c: Likewise.
5230         * locale/programs/ld-address.c: Don't generate output in both
5231         byte-orders.
5232         * locale/programs/ld-ctype.c: Likewise.
5233         * locale/programs/ld-paper.c: Likewise.
5234         * locale/programs/ld-time.c: Likewise.
5235         * time/strftime.c (NLW): Don't use different byte-orders.
5236         * wctype/cname-lookup.h (cname_lookup): Likewise.
5237
5238         * Makeconfig (localedir): Define using libdir, not datadir.
5239         (msgcatdir): New variable.
5240         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5241         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5242         msgcatdir.
5243         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5244         (CPPFLAGS): Define paths using msgcatdir.
5245         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5246         * po/Makefile (mo-installed): Define using msgcatdir.
5247
5248         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5249
5250 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
5251
5252         * stdio-common/vfprintf.c: Remove limitation on size of precision
5253         for integers.
5254
5255         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5256         glibc by defining internal_function if it isn't already.
5257
5258         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5259         fails don't rely on errno value.
5260         (getanswer_r): Set *ERRNOP in error cases.
5261
5262         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5263         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5264         associated data.  Test for matching numeric address and family.
5265         (getaddrinfo): Remember EAI_NODATA result and return this in case
5266         everything fails.
5267         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5268
5269         * locale/programs/ld-address.c: Fix handling of non-existing
5270         definitions for this category.  Correctly ignore content of this
5271         category is this is necessary.
5272         * locale/programs/ld-collate.c: Likewise.
5273         * locale/programs/ld-ctype.c: Likewise.
5274         * locale/programs/ld-identification.c: Likewise.
5275         * locale/programs/ld-measurement.c: Likewise.
5276         * locale/programs/ld-messages.c: Likewise.
5277         * locale/programs/ld-monetary.c: Likewise.
5278         * locale/programs/ld-name.c: Likewise.
5279         * locale/programs/ld-numeric.c: Likewise.
5280         * locale/programs/ld-paper.c: Likewise.
5281         * locale/programs/ld-telephone.c: Likewise.
5282         * locale/programs/ld-time.c: Likewise.
5283         * locale/programs/locfile.h (handle_copy): Take extra parameter
5284         with result pointer.  Fill in name of locale from which to copy.
5285         Correctly read token after `END'.
5286
5287         * locale/programs/localedef.c (main): Correct handling copy.
5288         (add_to_readlist): Take extra parameter which says whether we
5289         are supposed to read the file or not.
5290         (find_locale): Call add_to_readlist with extra parameter set to 0.
5291
5292         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5293         instead of wrong number in array definitions.
5294         (add_to_readlist): Update prototype.
5295
5296         * locale/programs/locfile.c (locfile_read): Mark categories not
5297         available in source file as read.
5298         (write_all_categories): Fix typo.
5299
5300         * locale/programs/locales.h: Removed.
5301
5302 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5303
5304         * elf/elf.h (SHF_MASKOS): Added.
5305
5306         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5307
5308 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5309
5310         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5311
5312 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5313
5314         * configure.in: Fix make version test for make 3.77.95 and later
5315         versions.
5316         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5317
5318 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5319
5320         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5321
5322         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5323         WINT_MAX values.
5324
5325         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5326
5327 1999-09-09  Andreas Schwab  <schwab@suse.de>
5328
5329         * elf/link.h: Fix comment.
5330
5331 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5332
5333         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5334
5335         * math/math.h: Pretty print.
5336
5337 1999-09-10  Andreas Schwab  <schwab@suse.de>
5338
5339         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5340         character variable on bigendian platforms without unaligned memory
5341         access.
5342
5343 1999-09-07  Cristian Gafton  <gafton@redhat.com>
5344
5345         * sysdeps/unix/sysv/linux/sys/raw.h: New file
5346         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5347         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5348
5349 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5350
5351         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5352
5353         * time/ap.c: Removed.  It was not used.
5354         * time/date.c: Likewise.
5355         * sysdeps/unix/nlist.c: Likewise.
5356         * sysdeps/generic/nlist.c: Likewise.
5357         * sysdeps/generic/varargs.h: Likewise.
5358         * stdio-common/scanf11.c: Likewise.
5359         * stdio-common/scanf6.c: Likewise.
5360         * scripts/=__ify: Likewise.
5361         * scripts/printsources: Likewise.
5362         * resolv/getnetnamadr.c: Likewise.
5363         * posix/id.c: Likewise.
5364         * misc/ioctltst.c: Likewise.
5365         * misc/nlist.h: Likewise.
5366         * math/test-math.h: Likewise.
5367         * include/nlist.h: Likewise.
5368
5369 1999-09-06  Andreas Schwab  <schwab@suse.de>
5370
5371         * time/tzset.c (compute_change): Replace slow loop to compute T by
5372         simple algorithm.
5373
5374 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5375
5376         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5377         escape sequences out even if the character itself does not fit
5378         into the buffer.
5379
5380         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5381
5382 1999-08-31  H.J. Lu  <hjl@gnu.org>
5383
5384         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5385
5386 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
5387
5388         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5389         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5390         (_hurd_priority_which_map):
5391
5392 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
5393
5394         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5395
5396 1999-09-03  Andreas Schwab  <schwab@suse.de>
5397
5398         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5399         fork from __syscall_fork to __libc_fork.
5400         * posix/Versions: Add __libc_fork and __vfork to version
5401         GLIBC_2.1.2.
5402
5403 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5404
5405         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5406         dependencies in sort.
5407
5408 1999-09-01  H.J. Lu  <hjl@gnu.org>
5409
5410         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5411
5412         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5413         <sys/user.h> instead of <asm/user.h>.
5414
5415 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
5416
5417         * elf/elf.h: Update PARISC-specific flags and symbolic names.
5418
5419 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
5420
5421         * elf/elf.h: Update PARISC relocations.
5422
5423 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
5424
5425         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5426         #ifdef statement to prevent it from being included twice.
5427         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5428         #include <bits/armsigctx.h>.
5429
5430 1999-08-31  Andreas Schwab  <schwab@suse.de>
5431
5432         * locale/C-collate.c: Add missing initialisations.
5433         * locale/C-ctype.c: Likewise.
5434
5435 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
5436
5437         * time/strftime.c (my_strftime): Remove unneeded variable len.
5438
5439         * time/strptime.c: Undo last change.
5440
5441 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
5442
5443         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5444         Change charset.h to charmap.h.
5445         (categories): Add new categories.  Leave out collate for now.
5446         Update build rules.
5447         * locale/categories.def: Add definitions for new categories.
5448         * locale/langinfo.h: Likewise.
5449         * locale/locale.h: Likewise.
5450         * locale/C-address.c: New file.
5451         * locale/C-identification.c: New file.
5452         * locale/C-measurement.c: New file.
5453         * locale/C-name.c: New file.
5454         * locale/C-paper.c: New file.
5455         * locale/C-telephone.c: New file.
5456         * locale/lc-address.c: Likewise.
5457         * locale/lc-identification.c: Likewise.
5458         * locale/lc-measurement.c: Likewise.
5459         * locale/lc-name.c: Likewise.
5460         * locale/lc-paper.c: Likewise.
5461         * locale/lc-telephone.c: Likewise.
5462         * locale/C-ctype.c: Update for locale rewrite.
5463         * locale/C-messages.c: Likewise.
5464         * locale/C-monetary.c: Likewise.
5465         * locale/C-time.c: Likewise.
5466         * locale/lc-collate.c: Likewise.
5467         * locale/lc-ctype.c: Likewise.
5468         * locale/lc-monetary.c: Likewise.
5469         * locale/lc-time.c: Likewise.
5470         * locale/localeinfo.h: Likewise.
5471         * locale/newlocale.c: Likewise.
5472         * locale/setlocale.c: Likewise.
5473         * locale/weight.h: Likewise.
5474         * locale/findlocale.c: Unconditionally use mmap.
5475         Handle new categories.
5476         * locale/loadlocale.c: Likewise.
5477         * locale/iso-3166.def: New file.
5478         * locale/iso-639.def: New file.
5479         * locale/programs/charmap-kw.gperf: Add new keywords.
5480         * locale/programs/locfile-kw.gperf: Likewise.
5481         * locale/programs/locfile-token.h: Define new tokens.
5482         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5483         * locale/programs/charmap.h: New file.
5484         * locale/programs/charset.h: Removed.
5485         * locale/programs/config.h: Add __LC_LAST.
5486         * locale/programs/lc-address.c: New file.
5487         * locale/programs/lc-identification.c: New file.
5488         * locale/programs/lc-measurement.c: New file.
5489         * locale/programs/lc-name.c: New file.
5490         * locale/programs/lc-paper.c: New file.
5491         * locale/programs/lc-telephone.c: New file.
5492         * locale/programs/lc-collate.c: Update for locale rewrite.
5493         * locale/programs/lc-ctype.c: Likewise.
5494         * locale/programs/lc-messages.c: Likewise.
5495         * locale/programs/lc-monetary.c: Likewise.
5496         * locale/programs/lc-numeric.c: Likewise.
5497         * locale/programs/lc-time.c: Likewise.
5498         * locale/programs/locale.c: Likewise.
5499         * locale/programs/localedef.c: Likewise.
5500         * locale/programs/locfile.c: Likewise.
5501         * locale/programs/repertoire.c: Likewise.
5502         * locale/programs/repertoire.h: Likewise.
5503         * locale/programs/locfile.c: Update prototypes.
5504         Update handle_copy definition.
5505         * locale/programs/linereader.c: Add handling of wide char strings and
5506         new definition file syntax.
5507         * locale/programs/linereader.h (struct token): Add elements for wide
5508         character strings.
5509         * locale/programs/locale-spec.c: Disable handling of collation
5510         elements for now.
5511         * locale/programs/simple-hash.h: Cleanup.
5512         * locale/programs/stringtrans.h: Handle quite of end of line.
5513         * string/strcoll.c: Fall back on strcmp for now.
5514         * string/strxfrm.c: Fall back on strncpy/strlen for now.
5515         * time/strftime.c: Use new wide character data for wcsftime.
5516         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5517         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5518
5519         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5520         compiling for i386 to avoid i686-like GOT pointer computation.
5521
5522         * db2/db_int.h: Change tsl_t type to u_int32_t.
5523         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5524         * db2/mutex/alpha.h: New file.
5525         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
5526         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5527         known.
5528         Patches by Richard Henderson.
5529
5530         * stdlib/tst-environ.c: Add cast to avoid warning.
5531         * timezone/test-tz.c: Use setenv instead of putenv.
5532
5533 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5534
5535         * manual/libc.texinfo: Update version and date.
5536
5537         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5538
5539         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5540         (File System Interface): Correct entry.
5541         (Permission Bits): Add missing commata after @xref.
5542
5543 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5544
5545         * timezone/tst-timezone.c (main): Don't pass const strings to
5546         putenv to avoid warnings.
5547
5548         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5549
5550 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
5551
5552         * nis/Versions: Add _nss_*_getipnodebyname_r.
5553         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5554         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5555         * nss/Versions: Add _nss_files_getipnodebyname_r.
5556
5557 1999-08-28  H.J. Lu  <hjl@gnu.org>
5558
5559         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5560         memory for buffer.
5561
5562 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5563
5564         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5565         kernel.
5566         * inet/netinet/in.h: Likewise.
5567         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5568         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5569
5570 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
5571
5572         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5573         thresholds for SUID binaries.  [PR libc/1277]
5574
5575         * posix/regexbug1.c: Add one more similar case.
5576
5577 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5578
5579         * manual/install.texi (Running make install): Give examples for
5580         timezone and locale installation.
5581
5582 1999-08-28  Zack Weinberg  <zack@bitmover.com>
5583
5584         * glibcbug.in: Get CCVERSION from autoconf substitution.
5585         * configure.in: Calculate and substitute CCVERSION.
5586
5587 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5588
5589         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5590         partially reverting a patch from 1998-12-29.  We just can't change
5591         the flags, kernels with different flags lead to
5592         incompatibilities.
5593
5594 1999-08-26  Andreas Schwab  <schwab@suse.de>
5595
5596         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5597
5598 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5599
5600         * inet/rexec.c (rexec): Free memory if strings were allocated in
5601         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
5602
5603 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5604
5605         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5606
5607         * manual/argp.texi: Fixing language and typos.
5608         * manual/conf.texi: Likewise.
5609         * manual/contrib.texi: Likewise.
5610         * manual/ctype.texi: Likewise.
5611         * manual/filesys.texi: Likewise.
5612         * manual/install.texi: Likewise.
5613         * manual/job.texi: Likewise.
5614         * manual/lang.texi: Likewise.
5615         * manual/llio.texi: Likewise.
5616         * manual/locale.texi: Likewise.
5617         * manual/math.texi: Likewise.
5618         * manual/nss.texi: Likewise.
5619         * manual/pipe.texi: Likewise.
5620         * manual/signal.texi: Likewise.
5621         * manual/socket.texi: Likewise.
5622         * manual/stdio.texi: Likewise.
5623         * manual/sysinfo.texi: Likewise.
5624         * manual/users.texi: Likewise.
5625         Patches by Neil Booth <NeilB@earthling.net>.
5626
5627 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
5628
5629         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5630         unsigned to avoid warning.  [PR libc/1271].
5631
5632         * conform/conformtest.pl: Allow testing regex.h which requires
5633         sys/types.h being included.
5634
5635         * conform/data/regex.h-data: Allow *_t types.
5636         * conform/data/pwd.h-data: Likewise.
5637         * conform/data/sched.h-data: Likewise.
5638         * conform/data/pthread.h-data: Likewise.
5639         * conform/data/search.h-data: Likewise.
5640
5641         * misc/search.h: Avoid namespace pollution.
5642
5643         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5644         pwd.h, and pthread.h.
5645         * conform/data/pthread.h-data: New file.
5646         * conform/data/pwd.h-data: New file.
5647         * conform/data/regex.h-data: New file.
5648         * conform/data/sched.h-data: New file.
5649         * conform/data/search.h-data: New file.
5650
5651         * NAMESPACE: Add REG_ for regex.h.
5652
5653         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5654         they are removed.
5655
5656         * configure.in (libc_cv_asm_global_directive): Indent .text in
5657         test code so that the lame HPUX compiler recognizes it.
5658         * sysdeps/hppa/bits/endian.h: New file.
5659         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5660         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5661         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5662         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5663
5664         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5665         Patch by John Tobey <jtobey@banta-im.com>.
5666
5667         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5668
5669         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5670         old_siocfifconf definition to toplevel.
5671         (__protocol_available): Remove old_siocfifconf definition.
5672
5673 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
5674
5675         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5676         really dealing with a master pseudo terminal, and really returning
5677         the name of the associated slave pseudo terminal by checking the
5678         device number.
5679         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5680         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5681
5682 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5683
5684         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5685         underscore in _llseek entry.
5686
5687         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5688         entry.
5689
5690         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5691         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5692
5693         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5694         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5695
5696 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
5697
5698         * inet/Makefile (routines): Add getipnodebynm.
5699         * inet/getipnodebynm.c: New file.
5700         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5701         interface type.
5702         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5703         EXTRA_ARGS_VALUE is not already done.
5704         (internal_getent): Allow extra parameters and pass them to parse_line.
5705         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5706         (_nss_files_get##name##_r): Likewise.
5707         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5708         and EXTRA_ARGS_VALUE to pass flags and type to parser.
5709         Add getipnodebyname function.
5710         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5711         EXTRA_ARGS_VALUE is not already done.
5712         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5713         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5714         to parse_line.
5715         (_nss_db_get##name##_r): Pass extra parameters to lookup.
5716         (_nss_db_get,ENTNAME_r): Likewise.
5717         * sysdeps/generic/if_index.c (__protocol_available): New function.
5718         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5719
5720 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
5721
5722         * login/pty-private.h: Move to...
5723         * sysdeps/generic/pty-private.h: ...here.
5724         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
5725         version.
5726         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5727         available.
5728
5729         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5730         of __overflow.
5731
5732         * conform/conformtest.pl (@headers): Add monetary.h-data,
5733         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5734         * conform/data/monetary.h-data: New file.
5735         * conform/data/mqueue.h-data: New file.
5736         * conform/data/ndbm.h-data: New file.
5737         * conform/data/nl_types.h.h-data: New file.
5738         * conform/data/poll.h-data: New file.
5739
5740         * stdio-common/Makefile (test): Add tst-cookie.
5741         * stdio-common/tst-cookie.c: New file.
5742
5743         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5744         changed in last patch.  Reported by Ralf Baechle.
5745
5746 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5747
5748         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5749
5750         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5751         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5752
5753 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5754
5755         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5756         Linux 2.3.15.
5757
5758 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
5759
5760         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5761         syscall.
5762         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5763
5764         * misc/libgen.h: Don't take basename macro as taking arguments.
5765
5766         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5767         for gcc >= 2.95.
5768         * sysdeps/i386/bits/huge_val.h: Likewise.
5769         * sysdeps/i386/bits/huge_val.h: Likewise.
5770         * sysdeps/ieee754/bits/huge_val.h: Likewise.
5771         * sysdeps/m68k/bits/huge_val.h: Likewise.
5772         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5773         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5774
5775         * conform/Makefile: New file.
5776         * conform/conformtest.pl: New file.
5777         * conform/data/aio.h-data: New file.
5778         * conform/data/assert.h-data: New file.
5779         * conform/data/cpio.h-data: New file.
5780         * conform/data/ctype.h-data: New file.
5781         * conform/data/dirent.h-data: New file.
5782         * conform/data/dlfcn.h-data: New file.
5783         * conform/data/errno.h-data: New file.
5784         * conform/data/fcntl.h-data: New file.
5785         * conform/data/float.h-data: New file.
5786         * conform/data/fmtmsg.h-data: New file.
5787         * conform/data/fnmatch.h-data: New file.
5788         * conform/data/ftw.h-data: New file.
5789         * conform/data/glob.h-data: New file.
5790         * conform/data/grp.h-data: New file.
5791         * conform/data/iconv.h-data: New file.
5792         * conform/data/inttypes.h-data: New file.
5793         * conform/data/iso646.h-data: New file.
5794         * conform/data/langinfo.h-data: New file.
5795         * conform/data/libgen.h-data: New file.
5796         * conform/data/locale.h-data: New file.
5797         * conform/data/math.h-data: New file.
5798
5799 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5800
5801         * posix/execvp.c (execvp): Correct copying of file name.
5802
5803 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
5804
5805         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5806
5807 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5808
5809         * stdio-common/Makefile: Move addition to routines to the right place.
5810
5811 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5812
5813         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
5814         since mips*-linux has ECANCELED.
5815
5816 1999-08-23  Andreas Schwab  <schwab@suse.de>
5817
5818         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5819         SIGCONTEXT_EXTRA_ARGS.
5820         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5821         * sysdeps/generic/sigcontextinfo.h: Likewise.
5822         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5823         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5824         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5825         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5826         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5827         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5828
5829 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5830
5831         * posix/regexbug1.c: Make it an error if the test fails.
5832
5833 1999-08-23  Andreas Schwab  <schwab@suse.de>
5834
5835         * posix/regex.c (re_match_2_internal): Correct check for charset
5836         after exactn in loop.
5837
5838 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
5839
5840         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5841         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5842         Patch by Joel Klecker.
5843
5844         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5845         (__gconv_find_transform): Update prototype.
5846         (__gconv_open): Likewise.
5847         * iconv/gconv_open.c: Take extra parameter and pass it to
5848         __gconv_find_transform.
5849         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5850         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
5851         transformation.
5852         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5853         * wcsmbs/wcsmbsload.c: Likewise.
5854         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5855         iconv for glibc.
5856         * intl/gettextP.h: Likewise.
5857         * intl/loadmsgcat.c: Likewise.
5858
5859         * posix/regexbug1.c: New file.
5860         * posix/Makefile (tests): Add regexbug1.
5861
5862 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
5863
5864         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5865         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5866         installing PORT in the descriptor cell.
5867
5868 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
5869
5870         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5871         TIMEOUT as outputs of the asm to indicate that the signal thread
5872         might mutate them.
5873         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5874         mach_msg if only sending or only receiving (i.e., not an RPC).  When
5875         making an RPC that might get interrupted, save OPTION and the portion
5876         of the message buffer that gets clobbered by an EINTR reply message,
5877         and properly restore them before attempting to retry the request
5878         message send.
5879
5880 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5881
5882         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5883         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5884         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5885         stdio is used instead of libio.
5886         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5887         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5888         to make the code compile again when stdio is used instead of
5889         libio.
5890         (vfprintf): Only check for correct orientation if ORIENT is
5891         defined.
5892         * stdio-common/Makefile (routines): Only add vfwprintf and
5893         vfwscanf if we're using libio.
5894
5895 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5896
5897         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5898         any additional prototype just as we do for libio.
5899
5900 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5901
5902         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5903         TZNAME_MAX.  These limits are not X/Open specific.
5904         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5905         is defined.
5906
5907 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5908
5909         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5910         UIO_MAXIOV is left undefined in sys/uio.h.
5911         * stdio-common/stdio_lim.h.in: Adapt for change above.
5912
5913 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5914
5915         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5916         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5917         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5918
5919 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
5920
5921         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5922
5923 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
5924
5925         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5926
5927         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5928         call.  It should not be necessary andis harmful for Alpha.
5929
5930         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5931         type.  [PR libc/1269]
5932
5933         * posix/execvp.c (execvp): Allocate array name of correct size.
5934         Optimize inner loop.  Use execve directly, not execv.
5935
5936         * elf/elf.h: Corrected SHT_ values from new draft.
5937
5938         * intl/gettextP.h (struct loaded_domain): Add conv element.
5939         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5940         Instead of returning found message directly convert it using iconv
5941         if a conversion was found when opening the file.
5942         * intl/loadinfo.h: Protect against multiple inclusion.
5943         Declare _nl_find_msg.
5944         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5945         in the message file and if necessary find approrpiate
5946         conversion to match currently selected charset.
5947         * include/libintl.h: Declare __dgettext and __dcgettext.
5948         * include/iconv.h: New file.
5949
5950 1999-08-20  Andreas Schwab  <schwab@suse.de>
5951
5952         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5953
5954 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
5955
5956         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
5957         all threads [PR libc/1223].
5958
5959         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5960         [PR libc/1165].
5961
5962         * configure.in: Search for programs with prefix gnu* and g* first.
5963         [PR libc/1104].
5964
5965         * dirent/Makefile (routines): Add getdents64.
5966         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5967         Remove getdents64.
5968         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5969         compiled with _FILE_OFFSET_BITS=64.
5970         * sysdeps/generic/getdents64.c: New file.
5971         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5972         __lseek for getdirentries64 definition.
5973
5974         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5975
5976         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5977         _FILE_OFFSET_BITS=64.
5978
5979         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5980         parameter.
5981
5982         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5983         after we have the lock.
5984
5985         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5986         Patch by Richard Henderson.
5987
5988 1999-08-19  Andreas Schwab  <schwab@suse.de>
5989
5990         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5991         and call _IO_fwide, to get the wide stream state initialized
5992         correctly.  Don't set _IO_JUMPS.
5993         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5994         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
5995         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5996         directly.
5997
5998 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5999
6000         * math/libm-test.c (jn_test): Fix typo in description.
6001         (erfc_test): Add some more tests.
6002         (erf_test): Add some more tests.
6003
6004 1999-08-19  Andreas Schwab  <schwab@suse.de>
6005
6006         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
6007         expression using $(exceptions).
6008
6009 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
6010
6011         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
6012
6013         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
6014         allocated so far.  [PR libc/1261].
6015
6016         * math/libm-test.c (j0_test): Adjust deltas for m68k.
6017         (jn_test): Likewise.
6018
6019         * dirent/dirent.h: Only define ino64_t if not already done.
6020         * posix/sys/types.h: Likewise.
6021
6022         * ctype/ctype.h: Avoid useless #endif #if pairs.
6023
6024         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
6025         (seekdir): Fix type of second parameter.
6026         * sysdeps/generic/seekdir.c: Likewise.
6027         * sysdeps/mach/hurd/seekdir.c: Likewise.
6028         * sysdeps/unix/seekdir.c: Likewise.
6029
6030         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
6031
6032 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6033
6034         * manual/install.texi (Configuring and compiling): Clarify ix86
6035         situation.
6036
6037 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
6038
6039         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
6040         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
6041         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
6042         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
6043
6044         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
6045
6046         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
6047
6048         * misc/search.h: Don't define NULL.
6049
6050         * posix/sys/types.h: Define blksize_t if it hasn't happened.
6051         Only define key_t and blkcnt_t if it hasn't happened before.
6052         Define blksize_t if not happened before.
6053         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
6054         * sysdeps/generic/bits/types.h: Define __blksize_t.
6055         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6056         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6057         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6058         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6059         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6060         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
6061         st_blksize member.
6062         (struct stat64): Likewise.
6063         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6064         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6065         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6066         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6067         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6068         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
6069         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6070
6071         * stdlib/getsubopt.c: Correct type of second argument.
6072         * stdlib/stdlib.h: Likewise.
6073
6074         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
6075         and ssize_t.
6076
6077         * sysdeps/generic/putenv.c: Correct type of parameter.
6078         * stdlib/stdlib.h: Likewise.
6079
6080         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
6081         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
6082         * sysvips/sys/msg.h: Likewise.
6083
6084         * sysdeps/generic/semop.c: Correct type of third parameter.
6085         * sysdeps/unix/sysv/linux/semop.c: Likewise.
6086         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
6087         size_t.
6088
6089         * sysdeps/generic/shmget.c: Correct type of second parameter.
6090         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
6091         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
6092         Declare __getpagesize here.
6093
6094         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
6095         sys/types.h.
6096         * sysdeps/gnu/bits/ipc.h: Likewise.
6097         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
6098         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
6099         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6100         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
6101         already done.
6102
6103         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
6104
6105         * debug/versions: Export __cyg_profile_func_enter and
6106         __cyg_profile_func_exit.
6107
6108         * math/bits/mathcalls.h: Pretty print.
6109
6110 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
6111
6112         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
6113         case for new tzdata.
6114
6115         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
6116         unsigned.
6117         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6118         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6119         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6120         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6121
6122         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
6123
6124         * sysdeps/generic/ualarm.c (ualarm): Change return value and
6125         parameter type to useconds_t.
6126         * sysdeps/unix/bsd/ualarm.c: Likewise.
6127
6128         * sysdeps/generic/usleep.c (usleep): Change parameter type to
6129         useconds_t.
6130         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
6131         * sysdeps/mach/usleep.c: Likewise.
6132
6133         * locale/weight.h: Include <errno.h>.
6134
6135         * posix/sys/types.h: Define type useconds_t if not done already.
6136         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
6137         declarations.
6138         * sysdeps/generic/bits/types.h: Define type __useconds_t.
6139         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6140         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6141         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6142         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6143         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6144
6145         * dirent/dirent.h (telldir): Change return type to long int.
6146         * sysdeps/generic/telldir.c: Likewise.
6147         * sysdeps/mach/hurd/telldir.c: Likewise.
6148         * sysdeps/unix/telldir.c: Likewise.
6149         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
6150
6151         * locale/weight.h: Set errno if an invalid character is found.
6152
6153 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6154
6155         * math/libm-test.c (erfc_test): Add test for example from PR
6156         libc/1259.
6157         (erf_test): Likewise.
6158
6159 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
6160
6161         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
6162         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
6163
6164         * timezone/private.h: Update from tzcode1999e.
6165         * timezone/zic.c: Likewise.
6166
6167         * timezone/africa: Update from tzdata1999e.
6168         * timezone/antarctica: Likewise.
6169         * timezone/asia: Likewise.
6170         * timezone/australasia: Likewise.
6171         * timezone/europe: Likewise.
6172         * timezone/leapseconds: Likewise.
6173         * timezone/northamerica: Likewise.
6174         * timezone/southamerica: Likewise.
6175
6176         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
6177         and write correct number of bytes in case of %ls with precision.
6178         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6179
6180 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
6181
6182         * nscd/nscd.init: Test for kernel version and make LSB compliant.
6183         Patch by Christian Gafton.
6184
6185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
6186         O_RSYNC.  Patch by Christian Gafton.
6187
6188         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
6189         possibly unterminated strings for %ls when a precision is
6190         specified.
6191         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6192
6193         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
6194         update_conversion_ptrs.
6195         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6196
6197 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6198
6199         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
6200         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6201
6202         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
6203         * wcsmbs/tst-wcsnlen.c: New file.
6204
6205 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6206
6207         * libio/ioputs.c (_IO_puts): Add missing brace.
6208
6209 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
6210
6211         * math/libm-test.c: Tweak deltas for a clean run on ppc.
6212
6213 1999-08-10  H.J. Lu  <hjl@gnu.org>
6214
6215         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6216         (vfprintf): Likewise.
6217         * stdio-common/vfscanf.c (ORIENT): Likewise.
6218         * libio/genops.c (__underflow): Likewise.
6219         (__uflow): Likewise.
6220         * libio/iofputs.c (_IO_fputs): Likewise.
6221         * libio/ioftell.c (_IO_ftell): Likewise.
6222         * libio/iofwrite.c (_IO_fwrite): Likewise.
6223         * libio/ioputs.c (_IO_puts): Likewise.
6224         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6225         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6226
6227 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6228
6229         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6230
6231 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6232
6233         * manual/job.texi (Process Group Functions): Document getpgid,
6234         getsid.
6235
6236 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6237
6238         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6239         initialize si_pid from it.
6240         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6241         parameter.
6242         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6243         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6244         (struct requestlist): Likewise.
6245         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6246         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
6247         to __aio_sigqueue.
6248         (__aio_notify): Pass caller PID to __aio_notify_only.
6249         * rt/aio_suspend.c: Initialize caller_pid.
6250         * rt/lio_listio.c: Likewise.
6251         * rt/lio_listio64.c: Likewise.
6252
6253         * rt/lio_listio.c: If nothing has to be done free mutex before
6254         signalling.
6255         * rt/lio_listio64.c: Likewise.
6256
6257 1999-08-10  H.J. Lu  <hjl@gnu.org>
6258
6259         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6260         handling.
6261
6262 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6263
6264         * elf/elf.h: Define ElfXX_Versym.
6265         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6266         definition.
6267
6268         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6269         for string output correctly in the wide character case.
6270         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6271
6272         * intl/locale.alias: Add catalan.
6273
6274 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6275
6276         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6277
6278 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6279
6280         * po/pt_BR.po: New file.
6281
6282 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6283
6284         * math/libm-test.c (yn_test): Adjust deltas for i386.
6285         (ccosh_test): Likewise.
6286         (jn_test): Likewise.
6287
6288 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6289
6290         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6291
6292 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6293
6294         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6295         problem.
6296
6297 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6298
6299         * configure.in: install-sh lives now in scripts subdir.
6300         PR libc/1255 (bug 4).
6301
6302 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6303
6304         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6305         version.
6306
6307         * po/fr.po: Update.
6308
6309 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
6310
6311         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6312
6313 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6314
6315         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6316         exponent.
6317
6318 1999-08-10  Andreas Schwab  <schwab@suse.de>
6319
6320         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6321         header.
6322
6323 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
6324
6325         * elf/elf.h: Added definition of ELFOSABI_ARM.
6326         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6327         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6328         object's header and ABI values are acceptable.
6329         (VALID_ELF_HEADER): New macro; provide default definition.
6330         (VALID_ELF_OSABI): New macro; provide default definition.
6331         (VALID_ELF_ABIVERSION): New macro; provide default definition.
6332         * sysdeps/arm/dl-machine.h Define ARM specific versions of
6333         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6334
6335 1999-08-09  Andreas Schwab  <schwab@suse.de>
6336
6337         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6338
6339 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
6340
6341         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6342
6343 1999-08-09  Andreas Schwab  <schwab@suse.de>
6344
6345         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6346
6347 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
6348
6349         * sysdeps/ieee754/ieee754.h: Handle platforms with special
6350         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
6351
6352         * string/bits/string2.h: Mark void* operations as extensions.
6353         * sysdeps/i386/i486/bits/string.h: Likewise.
6354
6355         * debug/Makefile (routines): Add noophooks.
6356         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
6357         * debug/noophooks.c: New file.
6358         * debug/pcprofile.c: New file.
6359
6360 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6361
6362         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6363         systems which allow using the functions also on non-seekable
6364         devices.
6365
6366         * resolv/res_send.c (res_send): Recompute timeout for poll for
6367         each jump to `wait'.
6368
6369         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6370         braces to avoid warnings.
6371         (IN6ADDR_LOOPBACK_INIT): Likewise.
6372
6373         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6374         MSG_DONTWAIT).
6375
6376 1999-08-06  H.J. Lu  <hjl@gnu.org>
6377
6378         * malloc/malloc.c: Initialize __libc_pagesize early.
6379
6380 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6381
6382         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6383         defining it.
6384
6385         * inet/Makefile (tests): Add tst-ipnode.
6386         * inet/tst-ipnode.c: New file.
6387
6388 1999-08-06  Andreas Schwab  <schwab@suse.de>
6389
6390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6391         New definitions.
6392         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6393         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6394         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6395         New definitions.
6396         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6397         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6398
6399 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
6400
6401         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6402         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6403         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6404
6405 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6406
6407         * resolv/res_send.c (res_send): Don't test file descriptor for
6408         range, we use poll now.  [PR libc/1240]
6409
6410 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
6411
6412         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6413         2.0 defined if they are not available.
6414
6415 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
6416
6417         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6418         Define.
6419
6420 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
6421
6422         * rt/aio_read.c: Fix return value.
6423         * rt/aio_read64.c: Likewise.
6424         Reported by Christian Gafton.
6425
6426         * rt/aio_write.c: Fix return value.
6427         * rt/aio_write64.c: Likewise.
6428         * rt/aio_fsync.c: Likewise.
6429
6430         * rt/aio_misc.c: Set errno at correct place.
6431
6432         * rt/aio_fsync.c: Test OP parameter for correct values.
6433
6434         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6435
6436 1999-08-04  Andreas Schwab  <schwab@suse.de>
6437
6438         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6439         Initialize result to one.
6440         (GET_NPROCS_CONF_PARSER): Likewise.
6441
6442 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
6443
6444         * inet/ether_hton.c: Pass errno pointer to NSS function.
6445         * inet/getnetgrent_r.c: Likewise.
6446         Reported by Marty Leisner <leisner@rochester.rr.com>.
6447
6448 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6449
6450         * nis/nis_callback.c: Fix port problem on big-endian machines
6451         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6452         fields are always 32 bit.
6453         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6454
6455         * nis/nss_nis/nis-service.c: Remove htons, port is always in
6456         network-byte-order.
6457         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6458
6459 1999-08-03  Andreas Schwab  <schwab@suse.de>
6460
6461         * sysdeps/posix/sigset.c: Unblock the signal after setting its
6462         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6463         avoid two calls to sigprocmask.
6464
6465 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6466
6467         * sysdeps/generic/s_nexttowardf.c: Fix typo.
6468
6469 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
6470
6471         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6472         Only allow rt signal frames. No SA_SIGINFO signals will have the
6473         siginfo_t just not filled out with SI_NOINFO code.
6474         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6475         (register_dump): Take the above change into account.
6476         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6477         (rt_signal_frame): Likewise.
6478
6479         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6480
6481 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6482
6483         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6484         instead of select().
6485
6486 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6487
6488         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6489         nexttoward so something else so that aliasing works.
6490
6491 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6492
6493         * sysdeps/generic/math_ldbl.h: Fix typo.
6494         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6495         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6496
6497 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6498
6499         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
6500
6501 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
6502
6503         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
6504         program.
6505         * elf/resolvfail.c: New file.
6506
6507         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6508         pass it to _dl_lookup_symbol.
6509
6510         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6511         bit.  Reword message.
6512
6513         * dlfcn/dlerror.c: Make code thread-safe.
6514
6515 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
6516
6517         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6518         initializer in CHECK: a bit size, not the type code repeated!
6519
6520 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6521
6522         * string/tester.c: Add tests with constant arguments for strcpy
6523         and stpcpy.
6524
6525 1999-07-31  H.J. Lu  <hjl@gnu.org>
6526
6527         * string/bits/string2.h (__strcpy_small): Fix a typo.
6528
6529 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6530
6531         * Makeconfig (link-libc): Always define it, not only for shared
6532         builds.
6533
6534         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6535         * sysdeps/i386/fpu/e_powf.S: Likewise.
6536         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
6537
6538         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6539         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
6540
6541 1999-07-30  Andreas Schwab  <schwab@suse.de>
6542
6543         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6544         definition.
6545         (__get_nprocs): Use it.
6546         (__get_nprocs_conf): Define as separate function if
6547         GET_NPROCS_CONF_PARSER is defined.
6548         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6549
6550         * include/sys/sysinfo.h: New file.
6551         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6552         interface.
6553         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6554
6555 1999-07-30  H.J. Lu  <hjl@gnu.org>
6556
6557         * libio/iofflush.c (fflush_unlocked): Weak aliase if
6558         _IO_MTSAFE_IO is not defined.
6559         * libio/clearerr.c (clearerr_unlocked): Likewise.
6560         * libio/feof.c (feof_unlocked): Likewise.
6561         * libio/ferror.c (ferror_unlocked): Likewise.
6562         * libio/fputc.c (fputc_unlocked): Likewise.
6563         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6564         * libio/getchar.c (getchar_unlocked): Likewise.
6565         * libio/putc.c (putc_unlocked): Likewise.
6566         * libio/putchar.c (putchar_unlocked): Likewise.
6567
6568 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
6569
6570         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6571           svc_max_pollfd and svc_pollfd to GLIBC_2.2
6572         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6573           for svc_run/poll interface.
6574         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6575         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6576           global variable.
6577         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6578           rewrite other svc_getreq* functions to use svc_getreq_common.
6579         * sunrpc/svc_run.c: Use poll().
6580
6581 1999-07-30  Andreas Schwab  <schwab@suse.de>
6582
6583         * Makerules: Put sysd-versions and Versions.all on
6584         postclean-generated instead of common-generated.
6585
6586 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6587
6588         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6589         around and CLOCKS_PER_SEC is 1e6.
6590
6591 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
6592
6593         * configure.in: Add test for local label subtraction.
6594         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6595         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6596         labels to reduce number of runtime relocations and move jump
6597         tables in read-only seciton.
6598
6599         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
6600         assignment cannot be moved.
6601
6602 1999-07-29  H.J. Lu  <hjl@gnu.org>
6603
6604         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6605         if no threads are used.
6606
6607         * libio/iofwrite.c: Add weak alias for _unlocked function if not
6608         _IO_MTSAFE_IO.
6609         * libio/iofread.c: Likewise.
6610         * libio/iofgets.c: Likewise.
6611         * libio/iofputs.c: Likewise.
6612
6613         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6614         definition.
6615
6616         * stdlib/mbtowc.c: Include <string.h>.
6617         * stdlib/wctomb.c: Likewise.
6618         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6619         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6620
6621         * misc/mntent_r.c: Include <alloca.h>.
6622         * elf/dl-runtime.c: Likewise.
6623
6624 1999-07-29  Andreas Schwab  <schwab@suse.de>
6625
6626         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6627         all floating point formats supported by gcc.  Error out for
6628         unhandled precisions.
6629         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6630         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6631         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6632
6633 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
6634
6635         * sysdeps/generic/setenv.c: Move setenv code in new function
6636         __add_to_environ.  Add new parameter specifying already
6637         constructed string for the environment.
6638         (setenv): Call __add_to_environ with new parameter set to NULL.
6639         (unsetenv): Really test all elements for duplicated name.  Missed those
6640         cases where the two are following each other.
6641         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6642         * include/stdlib.h: Add prototype of __add_to_environ.
6643         * stdlib/tst-environ.c: New file.
6644         * stdlib/Makefile (tests): Add tst-environ.
6645
6646         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6647
6648         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6649         argument in realloc call.
6650         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6651         Likewise.
6652         Reported by Danny Braniss <danny@cs.huji.ac.il>.
6653
6654 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
6655
6656         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6657         to print.
6658         * misc/efgcvt_r.c: Likewise.
6659         * misc/qefgcvt.c: Likewise.
6660         * misc/qefgcvt_r.c: Likewise.
6661         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6662         anymore.
6663
6664 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6665
6666         * manual/math.texi (FP Function Optimization): Mention drawbacks.
6667
6668 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
6669
6670         * stdlib/mblen.c: Use static state.
6671         Reported by Bruno Haible <haible@ilog.fr>.
6672
6673         * stdlib/mbtowc.c: Reset state for s == NULL.
6674         * stdlib/wctomb.c: Likewise.
6675         Reported by Bruno Haible <haible@ilog.fr>.
6676
6677         * stdlib/mbstowcs.c: Do not use global state.
6678         Reported by Bruno Haible <haible@ilog.fr>.
6679
6680 1999-07-28  Andeas Schwab  <schwab@suse.de>
6681
6682         * iconvdata/Makefile: Don't try to run iconv tests when cross
6683         compiling.
6684
6685 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
6686
6687         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6688         assembler code to switch stacks and call init1 outside this
6689         function.  Inside `init' the code was optimized away by gcc
6690         2.95 since it was "clearly" unreachable.
6691         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6692         Do something similar for the trampoline code.
6693
6694 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
6695
6696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6697         for the hinted protocol.
6698
6699 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6700
6701         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6702
6703 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6704
6705         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6706         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6707         * elf/dl-load.c (_dl_map_object): Likewise.
6708         * elf/do-lookup.h (do_lookup*): Likewise.
6709         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6710         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6711         as uint64_t.
6712         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6713
6714 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6715
6716         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6717         * sysdeps/generic/getpgrp.c: Likewise.
6718         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6719         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6720         Patch by John Tobey <jtobey@banta-im.com>.
6721
6722         * sysdeps/posix/wait3.c: Help compiling in presence of
6723         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
6724
6725 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6726
6727         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6728         as much as possible. Declare them using .register pseudo-op if they
6729         are still used.
6730         * sysdeps/sparc/sparc64/lshift.S: Likewise.
6731         * sysdeps/sparc/sparc64/memchr.S: Likewise.
6732         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6733         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6734         * sysdeps/sparc/sparc64/memset.S: Likewise.
6735         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6736         * sysdeps/sparc/sparc64/rshift.S: Likewise.
6737         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6738         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6739         * sysdeps/sparc/sparc64/strcat.S: Likewise.
6740         * sysdeps/sparc/sparc64/strchr.S: Likewise.
6741         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6742         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6743         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6744         * sysdeps/sparc/sparc64/strlen.S: Likewise.
6745         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6746         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6747         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6748         * sysdeps/sparc/sparc64/strspn.S: Likewise.
6749         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6750         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6751         Optimize trampoline code for .plt4-.plt32767.
6752         Fix trampolines for .plt32768+.
6753
6754 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6755
6756         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6757         -mcpu=v8.
6758         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6759         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6760         libc's private use (as assembly routine clobber it anyway).
6761
6762 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6763
6764         * README.template (configurations): The crypt add-on has a new
6765         ftp site.
6766         * manual/install.texi (Installation): Likewise.
6767
6768 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6769
6770         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
6771         requires to have a full definition but we wait for a bug report
6772         based on the test suite.
6773
6774         * sysdeps/generic/clock_getres.c: New file.
6775         * sysdeps/generic/clock_gettime.c: New file.
6776         * sysdeps/generic/clock_settime.c: New file.
6777         * sysdeps/generic/timer_create.c: New file.
6778         * sysdeps/generic/timer_delete.c: New file.
6779         * sysdeps/generic/timer_getoverr.c: New file.
6780         * sysdeps/generic/timer_gettime.c: New file.
6781         * sysdeps/generic/timer_settime.c: New file.
6782
6783         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6784         CLOCK_REALTIME, and TIMER_ABSTIME.
6785         * sysdeps/mach/hurd/bits/time.h: Likewise.
6786         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6787         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6788
6789         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6790
6791         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6792         si_timer2.
6793
6794         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6795
6796         * time/Makefile (routines): Add clock_getres, clock_gettime,
6797         clock_setres, timer_create, timer_delete, timer_getoverr,
6798         timer_gettime, and timer_settime.
6799
6800         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6801         POSIX.1b.  Add prototypes for clock and timer functions.
6802
6803 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
6804
6805         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6806         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6807
6808 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6809
6810         * stdlib/wcstombs.c: Do not use global state.
6811         Reported by Bruno Haible <haible@ilog.fr>.
6812
6813         * wcsmbs/wctob.c: Avoid sign extension when returning character.
6814         Reported by Bruno Haible <haible@ilog.fr>.
6815
6816         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6817         of wide characters to convert do it right and don't overestimate
6818         by multiplying with MB_CUR_MAX.
6819         Reported by Bruno Haible <haible@ilog.fr>.
6820
6821 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
6822
6823         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6824         (__stpcpy_small): Likewise.
6825         Union has no __uc member but __c.
6826
6827 1999-07-26  Andreas Schwab  <schwab@suse.de>
6828
6829         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6830
6831 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6832
6833         * libio/iofclose.c (_IO_new_fclose): Only fall back on
6834         _IO_old_fclose if doing versioning.
6835
6836         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6837         them appropriately.
6838         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6839
6840         * misc/mntent_r.c: Allow spaces and tabs in entry names by
6841         encoding these characters.
6842         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6843
6844         * string/bits/string2.h: Fix aliasing problems.
6845         * sysdeps/i386/i486/bits/string.h: Likewise.
6846         * sysdeps/i386/bits/string.h: Likewise.
6847
6848 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
6849
6850         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6851         * elf/rtld.c (dl_main): Don't call malloc() between
6852         re-relocating the dynamic linker and running the application's crt0.
6853
6854 1999-07-21  Paul D. Smith  <psmith@gnu.org>
6855
6856         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6857         glob.h to get __P() macro.
6858
6859         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6860         not ANSI.
6861         (__strchrnul): This won't exist outside GLIBC, so create one.
6862
6863 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
6864
6865         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6866         __ino64_t should be 32bit unsigned type on sparc32.
6867         Define __off64_t to __quad_t instead of __int64_t.
6868         Make __pic_pid_t unsigned on sparc32.
6869
6870 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6871
6872         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6873         in bash 2.03.
6874
6875 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6876
6877         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6878         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
6879
6880 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
6881
6882         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6883         accesses.
6884
6885         * resolv/res_send.c: Add locks for res_send and res_close use.
6886
6887         * elf/Makefile (dl-routines): Add preinit.
6888         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6889         * elf/link.h (struct link_map): Add new field l_preinitcount.
6890         * elf/dl-preinit.c: New file.
6891         * elf/dynamic-link.h: Initialize l_preinitcount.
6892         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6893
6894         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6895         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
6896         and l_initcount.
6897         * elf/dl-init.c: Handle DT_INIT_ARRAY.
6898         * elf/dynamic-link.h: Change parameters.  Now only get link_map
6899         pointer.  Calculate l_initcount.
6900
6901         * elf/link.h (struct link_map): Add l_runpath_dirs.
6902         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6903         * elf/dl-load.c: Pretty print.
6904         (decompose_rpath): Take new parameter with info from where the path
6905         comes.  Pass it the fillin_rpath.
6906         (_dl_init_paths): Initialize l_runpath_dirs.
6907         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6908         Search using RUNPATH after LD_LIBRARY_PATH.
6909         * elf/dl-support.c: Adjust comment.
6910         * elf/rtld.c: Adjust help message.
6911
6912 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6913
6914         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6915         interface.
6916
6917 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
6918
6919         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6920         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
6921         ever used this, so I'm not going to worry about compatibility.
6922         [__USE_GNU] (IUCLC, OLCUC): New macros.
6923
6924 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
6925
6926         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6927
6928         * elf/elf.h: Add ET_LOOS and ET_HIOS.
6929         Add various EM_* constants.
6930         Add SHN_LOOS and SHN_HIOS.
6931         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6932         Add SHF_MERGE and SHF_STRINGS.
6933         (ElfXX_Sym): Update description of st_other field.
6934         Add STT_COMMON.
6935         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6936         Add STV_* macros.
6937         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6938         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6939         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6940
6941         * posix/unistd.h: Move declaration of __libc_enable_secure to...
6942         * include/unistd.h: ...here.
6943
6944         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6945         * elf/dl-deps.c (expand_dst): Likewise.
6946
6947         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6948         based on DT_FLAGS value.
6949
6950         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6951         Add test for symbols marked STV_HIDDEN.
6952         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6953         add undef_map.  Compute reference_name locally.  Update call to
6954         do_lookup.
6955         (_dl_lookup_symbol_skip): Likewise.
6956         (_dl_lookup_versioned_symbol): Likewise.
6957         (_dl_lookup_versioned_symbol_skip): Likewise.
6958         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6959         * elf/dl-runtime.c: Likewise.
6960         * elf/dl-sym.c: Likewise.
6961         * elf/dl-symbol.c: Likewise.
6962         * elf/ldsodefs.h: Adjust prototypes.
6963
6964         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6965         handle appropriately.  Add comment about DT_TEXTREL.
6966         * elf/dl-runtime.c: Likewise.
6967
6968 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
6969
6970         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6971         * elf/ldsodefs.h: Declare it.
6972         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6973         instead of assert.
6974         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
6975         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6976         (elf_machine_lazy_rel): Likewise.
6977         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6978         (elf_machine_lazy_rel): Likewise.
6979         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6980         (elf_machine_lazy_rel): Likewise.
6981         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6982         (elf_machine_lazy_rel): Likewise.
6983         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6984         (elf_machine_lazy_rel): Likewise.
6985         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6986         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6987         (elf_machine_lazy_rel): Likewise.
6988         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6989         (elf_machine_lazy_rel): Likewise.
6990         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6991         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6992         _dl_reloc_bad_type instead of _dl_signal_error.
6993         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6994
6995 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
6996
6997         * sysdeps/mach/_strerror.c: Include <libintl.h>.
6998
6999 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
7000
7001         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
7002         hurd_signal_preemptor matches but its `preemptor' field is null, use
7003         its `handler' field directly.  This is to comply with behavior
7004         documented in <hurd/sigpreempt.h>.
7005
7006 1999-07-21  Andreas Schwab  <schwab@suse.de>
7007
7008         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
7009         when reading from write-only stream.
7010         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
7011         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7012
7013 1999-07-21  Andreas Schwab  <schwab@suse.de>
7014
7015         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
7016         NULL.
7017
7018 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
7019
7020         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
7021         <hurd/fd.h>.
7022         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
7023         <hurd/fd.h>.
7024         (__libc_write): Call __pwrite instead of __pread.
7025
7026 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
7027
7028         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
7029         __vm_allocate calls.
7030
7031         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
7032         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
7033
7034         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
7035         _hurd_fd_read with new OFFSET argument set to -1.
7036         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
7037         to -1.
7038
7039 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
7040
7041         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
7042         descriptor table sent in the RPC.
7043
7044 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7045
7046         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
7047         bill@taniwha.org [PR libc/1211].
7048
7049 1999-07-19  Andreas Schwab  <schwab@suse.de>
7050
7051         * libio/Makefile (routines): Add fwprintf.
7052
7053         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
7054         * math/w_sqrt.c: Moved to ...
7055         * sysdeps/generic/w_sqrt.c: ... here.
7056         * math/w_sqrtf.c: Moved to ...
7057         * sysdeps/generic/w_sqrtf.c: ... here.
7058
7059         * Make-dist (generic-dirs): New variable.
7060         (try-sysdeps, +sysdep-names): Use it.
7061         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
7062         instead of $(lib)-routines.
7063         * elf/Makefile (distribute): Add dl-cache.h.
7064         * db2/Makefile (distribute): Add all new files.
7065         * iconvdata/Makefile (distribute): Don't distribute CVS
7066         directory.
7067         * math/Makefile (distribute): Remove machine/endian.h, add
7068         math_ldbl.h.
7069         * stdio-common/Makefile (distribute): Add _itowa.h.
7070         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
7071         * sysdeps/gnu/Dist: Add eval.c
7072         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
7073         dlfcn]: Add to this instead of libdl-routines.
7074         * sysdeps/ieee754/ldbl-128/Dist: New file.
7075         * sysdeps/mach/hurd/Dist: Add siglist.h
7076         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
7077
7078 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
7079
7080         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
7081
7082         * inet/Makefile (routines): Add getipnodebyad and freehostent.
7083         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
7084         * inet/freehostent.c: New file.
7085         * inet/getipnodebyad.c: New file.
7086         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
7087         and getipnodebyname.  The latter comes soon.
7088         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
7089         Add support for getipnode* functions.
7090
7091         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
7092         Set h_aliases to NULL and not to a pointer to an array with a NULL
7093         pointer following XNS 5.2.
7094
7095         * posix/sched.h: Remove internal interfaces.
7096         * include/sched.h: Add internal interfaces.
7097
7098         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
7099
7100         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
7101
7102         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
7103         and return an error in this case.
7104         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
7105         available.
7106
7107 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7108
7109         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
7110         1999-07-17 and adjust len parameter.
7111         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7112         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
7113         * manual/socket.texi (Host Names): Likewise.
7114         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7115         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7116         Likewise.
7117         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7118         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7119         (ht_gethostbyaddr): Likewise.
7120         (_gethtbyaddr): Likewise.
7121
7122 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
7123
7124         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
7125         gethostbyaddr_r.
7126         * include/netdb.h: Likewise.
7127         * inet/gethstbyad.c: Correct type of len parameter.
7128         * inet/gethstbyad_r.c: Likewise.
7129
7130         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
7131
7132 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
7133
7134         * include/libc-symbol.h: Clean up definitions of weak_alias,
7135         strong_alias, symbol_version, etc. etc.
7136         * posix/getopt.h: Use ctype.h to get features.h included, and don't
7137         include it at all if __GNU_LIBRARY__ is already defined.
7138
7139 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
7140
7141         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
7142
7143         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
7144
7145         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
7146         type for tv_usec element.
7147         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7148         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
7149         * sysdeps/generic/bits/time.h: Likewise.
7150         * sysdeps/mach/hurd/bits/time.h: Likewise.
7151         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7152         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7153         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7154         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7155         * sysdeps/generic/bits/types.h: Likewise.
7156         * posix/sys/types.h: Define suseconds_t for X/Open.
7157
7158 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7159
7160         * stdio-common/bug1.c: Avoid memory leak.
7161
7162         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
7163         program deterministic.
7164         * sysdeps/i386/fpu/e_powf.S: Likewise.
7165         * sysdeps/i386/fpu/e_powl.S: Likewise.
7166
7167 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
7168
7169         * math/Makefile: Add t_sincosl and k_sincosl support routines.
7170         * math/math_private.h (__kernel_sincosl): New declaration.
7171         * sysdeps/generic/t_sincosl.c: New file.
7172         * sysdeps/generic/k_sincosl.c: New file.
7173         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
7174         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
7175         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
7176         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
7177         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
7178         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
7179         __kernel_sincosl.
7180         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
7181         definition.
7182
7183 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7184
7185         * posix/unistd.h: Use __PMT for exit.
7186
7187 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
7188
7189         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
7190         _outw, _outl): Added to GLIBC_2.1.2.
7191
7192 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7193
7194         * posix/fnmatch.h: Use __name instead of __string in prototype to
7195         allow use outside glibc.
7196
7197 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
7198
7199         * time/tst-strptime.c (main): Add one more test case.  Produce
7200         output even when result is ok.
7201
7202         * time/strptime.c (get_number): Handle number parsing more
7203         consistent with strftime.  Only parse a given number of digits.
7204         (get_alt_number):  Fix implementation.  Was broken.
7205         (strptime_internal): Add third parameter to get_number and
7206         get_alt_number calls.
7207
7208 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7209
7210         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7211         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7212         try both 32bit and 64bit dynamic linker.
7213         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7214         script on all sparc targets.
7215
7216 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7217
7218         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7219         to int.
7220
7221 1999-07-13  Andreas Schwab  <schwab@suse.de>
7222
7223         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7224         inlining.  Fixes PR libc/1198.
7225
7226 1999-07-14  Andreas Schwab  <schwab@suse.de>
7227
7228         * Makerules (common-generated): Don't prepend $(common-objpfx).
7229
7230 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
7231
7232         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7233         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7234         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7235         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7236         macro.
7237         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7238         instead of ieee754.
7239         * sysdeps/arm/Implies: Likewise.
7240         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7241         ieee754/ldbl-96 instead of ieee754.
7242         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7243         * sysdeps/generic/e_atanhl.c: New file.
7244         * sysdeps/generic/e_coshl.c: New file.
7245         * sysdeps/generic/e_sinhl.c: New file.
7246         * sysdeps/generic/e_gammal_r.c: New file.
7247         * sysdeps/generic/e_hypotl.c: New file.
7248         * sysdeps/generic/s_cbrtl.c: New file.
7249         * sysdeps/generic/s_asinhl.c: New file.
7250         * sysdeps/generic/s_tanhl.c: New file.
7251         * sysdeps/generic/w_expl.c: New file.
7252         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7253         instead of ieee754.
7254         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7255         ieee754/ldbl-96 instead of ieee754.
7256         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7257         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7258         printf_fphex.
7259         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7260         instead of ieee754.
7261         * sysdeps/mips/mips64/Implies: Likewise.
7262         * sysdeps/powerpc/Implies: Likewise.
7263         * sysdeps/sparc/Implies: Remove.
7264         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7265         ieee754/dbl-64.
7266         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7267         and ieee754/ldbl-128.
7268
7269         * sysdeps/sparc/bits/wordsize.h: Remove.
7270         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7271         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7272         only for sparc32.
7273         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7274         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7275         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7276         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7277         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7278         support.
7279
7280         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7281         of carries. Optimize.
7282
7283         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7284         * sysdeps/generic/e_exp10.c: ...here.
7285         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7286         * sysdeps/generic/e_exp10f.c: ...here.
7287         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7288         * sysdeps/generic/e_exp10l.c: ...here.
7289         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7290         * sysdeps/generic/e_scalb.c: ...here.
7291         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7292         * sysdeps/generic/e_scalbf.c: ...here.
7293         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7294         * sysdeps/generic/e_scalbl.c: ...here.
7295         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7296         * sysdeps/generic/s_cacos.c: ...here.
7297         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7298         * sysdeps/generic/s_cacosf.c: ...here.
7299         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7300         * sysdeps/generic/s_cacosh.c: ...here.
7301         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7302         * sysdeps/generic/s_cacoshf.c: ...here.
7303         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7304         * sysdeps/generic/s_cacoshl.c: ...here.
7305         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7306         * sysdeps/generic/s_cacosl.c: ...here.
7307         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7308         * sysdeps/generic/s_casin.c: ...here.
7309         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7310         * sysdeps/generic/s_casinf.c: ...here.
7311         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7312         * sysdeps/generic/s_casinh.c: ...here.
7313         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7314         * sysdeps/generic/s_casinhf.c: ...here.
7315         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7316         * sysdeps/generic/s_casinhl.c: ...here.
7317         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7318         * sysdeps/generic/s_casinl.c: ...here.
7319         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7320         * sysdeps/generic/s_catan.c: ...here.
7321         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7322         * sysdeps/generic/s_catanf.c: ...here.
7323         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7324         * sysdeps/generic/s_catanh.c: ...here.
7325         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7326         * sysdeps/generic/s_catanhf.c: ...here.
7327         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7328         * sysdeps/generic/s_catanhl.c: ...here.
7329         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7330         * sysdeps/generic/s_catanl.c: ...here.
7331         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7332         * sysdeps/generic/s_ccos.c: ...here.
7333         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7334         * sysdeps/generic/s_ccosf.c: ...here.
7335         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7336         * sysdeps/generic/s_ccosh.c: ...here.
7337         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7338         * sysdeps/generic/s_ccoshf.c: ...here.
7339         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7340         * sysdeps/generic/s_ccoshl.c: ...here.
7341         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7342         * sysdeps/generic/s_ccosl.c: ...here.
7343         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7344         * sysdeps/generic/s_cexp.c: ...here.
7345         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7346         * sysdeps/generic/s_cexpf.c: ...here.
7347         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7348         * sysdeps/generic/s_cexpl.c: ...here.
7349         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7350         * sysdeps/generic/s_clog.c: ...here.
7351         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7352         * sysdeps/generic/s_clog10.c: ...here.
7353         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7354         * sysdeps/generic/s_clog10f.c: ...here.
7355         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7356         * sysdeps/generic/s_clog10l.c: ...here.
7357         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7358         * sysdeps/generic/s_clogf.c: ...here.
7359         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7360         * sysdeps/generic/s_clogl.c: ...here.
7361         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7362         * sysdeps/generic/s_cpow.c: ...here.
7363         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7364         * sysdeps/generic/s_cpowf.c: ...here.
7365         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7366         * sysdeps/generic/s_cpowl.c: ...here.
7367         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7368         * sysdeps/generic/s_cproj.c: ...here.
7369         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7370         * sysdeps/generic/s_cprojf.c: ...here.
7371         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7372         * sysdeps/generic/s_cprojl.c: ...here.
7373         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7374         * sysdeps/generic/s_csin.c: ...here.
7375         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7376         * sysdeps/generic/s_csinf.c: ...here.
7377         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7378         * sysdeps/generic/s_csinh.c: ...here.
7379         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7380         * sysdeps/generic/s_csinhf.c: ...here.
7381         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7382         * sysdeps/generic/s_csinhl.c: ...here.
7383         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7384         * sysdeps/generic/s_csinl.c: ...here.
7385         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7386         * sysdeps/generic/s_csqrt.c: ...here.
7387         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7388         * sysdeps/generic/s_csqrtf.c: ...here.
7389         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7390         * sysdeps/generic/s_csqrtl.c: ...here.
7391         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7392         * sysdeps/generic/s_ctan.c: ...here.
7393         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7394         * sysdeps/generic/s_ctanf.c: ...here.
7395         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7396         * sysdeps/generic/s_ctanh.c: ...here.
7397         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7398         * sysdeps/generic/s_ctanhf.c: ...here.
7399         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7400         * sysdeps/generic/s_ctanhl.c: ...here.
7401         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7402         * sysdeps/generic/s_ctanl.c: ...here.
7403         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7404         * sysdeps/generic/s_fdim.c: ...here.
7405         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7406         * sysdeps/generic/s_fdimf.c: ...here.
7407         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7408         * sysdeps/generic/s_fdiml.c: ...here.
7409         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7410         * sysdeps/generic/s_fma.c: ...here.
7411         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7412         * sysdeps/generic/s_fmaf.c: ...here.
7413         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7414         * sysdeps/generic/s_fmal.c: ...here.
7415         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7416         * sysdeps/generic/s_fmax.c: ...here.
7417         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7418         * sysdeps/generic/s_fmaxf.c: ...here.
7419         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7420         * sysdeps/generic/s_fmaxl.c: ...here.
7421         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7422         * sysdeps/generic/s_fmin.c: ...here.
7423         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7424         * sysdeps/generic/s_fminf.c: ...here.
7425         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7426         * sysdeps/generic/s_fminl.c: ...here.
7427         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7428         * sysdeps/generic/s_ldexp.c: ...here.
7429         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7430         * sysdeps/generic/s_ldexpf.c: ...here.
7431         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7432         * sysdeps/generic/s_ldexpl.c: ...here.
7433         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7434         * sysdeps/generic/s_nan.c: ...here.
7435         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7436         * sysdeps/generic/s_nanf.c: ...here.
7437         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7438         * sysdeps/generic/s_nanl.c: ...here.
7439         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7440         * sysdeps/generic/s_significand.c: ...here.
7441         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7442         * sysdeps/generic/s_significandf.c: ...here.
7443         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7444         * sysdeps/generic/s_significandl.c: ...here.
7445         Avoid conversion from int to double and then to long double.
7446         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7447         * math/w_acos.c: ...here.
7448         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7449         * math/w_acosf.c: ...here.
7450         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7451         * math/w_acosh.c: ...here.
7452         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7453         * math/w_acoshf.c: ...here.
7454         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7455         * math/w_acoshl.c: ...here.
7456         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7457         * math/w_acosl.c: ...here.
7458         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7459         * math/w_asin.c: ...here.
7460         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7461         * math/w_asinf.c: ...here.
7462         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7463         * math/w_asinl.c: ...here.
7464         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7465         * math/w_atan2.c: ...here.
7466         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7467         * math/w_atan2f.c: ...here.
7468         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7469         * math/w_atan2l.c: ...here.
7470         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7471         * math/w_atanh.c: ...here.
7472         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7473         * math/w_atanhf.c: ...here.
7474         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7475         * math/w_atanhl.c: ...here.
7476         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7477         * math/w_cosh.c: ...here.
7478         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7479         * math/w_coshf.c: ...here.
7480         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7481         * math/w_coshl.c: ...here.
7482         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7483         * math/w_drem.c: ...here.
7484         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7485         * math/w_dremf.c: ...here.
7486         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7487         * math/w_dreml.c: ...here.
7488         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7489         * math/w_exp10.c: ...here.
7490         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7491         * math/w_exp10f.c: ...here.
7492         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7493         * math/w_exp10l.c: ...here.
7494         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7495         * math/w_exp2.c: ...here.
7496         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7497         * math/w_exp2f.c: ...here.
7498         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7499         * math/w_exp2l.c: ...here.
7500         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7501         * math/w_fmod.c: ...here.
7502         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7503         * math/w_fmodf.c: ...here.
7504         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7505         * math/w_fmodl.c: ...here.
7506         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7507         * math/w_hypot.c: ...here.
7508         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7509         * math/w_hypotf.c: ...here.
7510         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7511         * math/w_hypotl.c: ...here.
7512         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7513         * math/w_j0.c: ...here.
7514         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7515         * math/w_j0f.c: ...here.
7516         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7517         * math/w_j0l.c: ...here.
7518         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7519         * math/w_j1.c: ...here.
7520         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7521         * math/w_j1f.c: ...here.
7522         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7523         * math/w_j1l.c: ...here.
7524         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7525         * math/w_jn.c: ...here.
7526         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7527         * math/w_jnf.c: ...here.
7528         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7529         * math/w_jnl.c: ...here.
7530         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7531         * math/w_lgamma.c: ...here.
7532         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7533         * math/w_lgamma_r.c: ...here.
7534         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7535         * math/w_lgammaf.c: ...here.
7536         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7537         * math/w_lgammaf_r.c: ...here.
7538         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7539         * math/w_lgammal.c: ...here.
7540         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7541         * math/w_lgammal_r.c: ...here.
7542         * sysdeps/libm-ieee754/w_log.c: Moved to ...
7543         * math/w_log.c: ...here.
7544         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7545         * math/w_log10.c: ...here.
7546         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7547         * math/w_log10f.c: ...here.
7548         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7549         * math/w_log10l.c: ...here.
7550         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7551         * math/w_logf.c: ...here.
7552         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7553         * math/w_logl.c: ...here.
7554         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7555         * math/w_pow.c: ...here.
7556         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7557         * math/w_powf.c: ...here.
7558         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7559         * math/w_powl.c: ...here.
7560         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7561         * math/w_remainder.c: ...here.
7562         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7563         * math/w_remainderf.c: ...here.
7564         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7565         * math/w_remainderl.c: ...here.
7566         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7567         * math/w_scalb.c: ...here.
7568         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7569         * math/w_scalbf.c: ...here.
7570         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7571         * math/w_scalbl.c: ...here.
7572         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7573         * math/w_sinh.c: ...here.
7574         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7575         * math/w_sinhf.c: ...here.
7576         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7577         * math/w_sinhl.c: ...here.
7578         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7579         * math/w_sqrt.c: ...here.
7580         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7581         * math/w_sqrtf.c: ...here.
7582         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7583         * math/w_sqrtl.c: ...here.
7584         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7585         * math/w_tgamma.c: ...here.
7586         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7587         * math/w_tgammaf.c: ...here.
7588         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7589         * math/w_tgammal.c: ...here.
7590         * sysdeps/libm-i387/e_acos.S: Moved to ...
7591         * sysdeps/i386/fpu/e_acos.S: ...here.
7592         * sysdeps/libm-i387/e_acosf.S: Moved to ...
7593         * sysdeps/i386/fpu/e_acosf.S: ...here.
7594         * sysdeps/libm-i387/e_acosh.S: Moved to ...
7595         * sysdeps/i386/fpu/e_acosh.S: ...here.
7596         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7597         * sysdeps/i386/fpu/e_acoshf.S: ...here.
7598         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7599         * sysdeps/i386/fpu/e_acoshl.S: ...here.
7600         * sysdeps/libm-i387/e_acosl.S: Moved to ...
7601         * sysdeps/i386/fpu/e_acosl.S: ...here.
7602         * sysdeps/libm-i387/e_asin.S: Moved to ...
7603         * sysdeps/i386/fpu/e_asin.S: ...here.
7604         * sysdeps/libm-i387/e_asinf.S: Moved to ...
7605         * sysdeps/i386/fpu/e_asinf.S: ...here.
7606         * sysdeps/libm-i387/e_asinl.S: Moved to ...
7607         * sysdeps/i386/fpu/e_asinl.S: ...here.
7608         * sysdeps/libm-i387/e_atan2.S: Moved to ...
7609         * sysdeps/i386/fpu/e_atan2.S: ...here.
7610         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7611         * sysdeps/i386/fpu/e_atan2f.S: ...here.
7612         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7613         * sysdeps/i386/fpu/e_atan2l.S: ...here.
7614         * sysdeps/libm-i387/e_atanh.S: Moved to ...
7615         * sysdeps/i386/fpu/e_atanh.S: ...here.
7616         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7617         * sysdeps/i386/fpu/e_atanhf.S: ...here.
7618         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7619         * sysdeps/i386/fpu/e_atanhl.S: ...here.
7620         * sysdeps/libm-i387/e_exp.S: Moved to ...
7621         * sysdeps/i386/fpu/e_exp.S: ...here.
7622         * sysdeps/libm-i387/e_exp10.S: Moved to ...
7623         * sysdeps/i386/fpu/e_exp10.S: ...here.
7624         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7625         * sysdeps/i386/fpu/e_exp10f.S: ...here.
7626         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7627         * sysdeps/i386/fpu/e_exp10l.S: ...here.
7628         * sysdeps/libm-i387/e_expf.S: Moved to ...
7629         * sysdeps/i386/fpu/e_expf.S: ...here.
7630         * sysdeps/libm-i387/e_expl.S: Moved to ...
7631         * sysdeps/i386/fpu/e_expl.S: ...here.
7632         * sysdeps/libm-i387/e_fmod.S: Moved to ...
7633         * sysdeps/i386/fpu/e_fmod.S: ...here.
7634         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7635         * sysdeps/i386/fpu/e_fmodf.S: ...here.
7636         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7637         * sysdeps/i386/fpu/e_fmodl.S: ...here.
7638         * sysdeps/libm-i387/e_hypot.S: Moved to ...
7639         * sysdeps/i386/fpu/e_hypot.S: ...here.
7640         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7641         * sysdeps/i386/fpu/e_hypotf.S: ...here.
7642         * sysdeps/libm-i387/e_log.S: Moved to ...
7643         * sysdeps/i386/fpu/e_log.S: ...here.
7644         * sysdeps/libm-i387/e_log10.S: Moved to ...
7645         * sysdeps/i386/fpu/e_log10.S: ...here.
7646         * sysdeps/libm-i387/e_log10f.S: Moved to ...
7647         * sysdeps/i386/fpu/e_log10f.S: ...here.
7648         * sysdeps/libm-i387/e_log10l.S: Moved to ...
7649         * sysdeps/i386/fpu/e_log10l.S: ...here.
7650         * sysdeps/libm-i387/e_logf.S: Moved to ...
7651         * sysdeps/i386/fpu/e_logf.S: ...here.
7652         * sysdeps/libm-i387/e_logl.S: Moved to ...
7653         * sysdeps/i386/fpu/e_logl.S: ...here.
7654         * sysdeps/libm-i387/e_pow.S: Moved to ...
7655         * sysdeps/i386/fpu/e_pow.S: ...here.
7656         * sysdeps/libm-i387/e_powf.S: Moved to ...
7657         * sysdeps/i386/fpu/e_powf.S: ...here.
7658         * sysdeps/libm-i387/e_powl.S: Moved to ...
7659         * sysdeps/i386/fpu/e_powl.S: ...here.
7660         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7661         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7662         * sysdeps/libm-i387/e_remainder.S: Moved to ...
7663         * sysdeps/i386/fpu/e_remainder.S: ...here.
7664         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7665         * sysdeps/i386/fpu/e_remainderf.S: ...here.
7666         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7667         * sysdeps/i386/fpu/e_remainderl.S: ...here.
7668         * sysdeps/libm-i387/e_scalb.S: Moved to ...
7669         * sysdeps/i386/fpu/e_scalb.S: ...here.
7670         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7671         * sysdeps/i386/fpu/e_scalbf.S: ...here.
7672         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7673         * sysdeps/i386/fpu/e_scalbl.S: ...here.
7674         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7675         * sysdeps/i386/fpu/e_sqrt.S: ...here.
7676         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7677         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7678         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7679         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7680         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7681         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7682         * sysdeps/libm-i387/s_asinh.S: Moved to ...
7683         * sysdeps/i386/fpu/s_asinh.S: ...here.
7684         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7685         * sysdeps/i386/fpu/s_asinhf.S: ...here.
7686         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7687         * sysdeps/i386/fpu/s_asinhl.S: ...here.
7688         * sysdeps/libm-i387/s_atan.S: Moved to ...
7689         * sysdeps/i386/fpu/s_atan.S: ...here.
7690         * sysdeps/libm-i387/s_atanf.S: Moved to ...
7691         * sysdeps/i386/fpu/s_atanf.S: ...here.
7692         * sysdeps/libm-i387/s_atanl.S: Moved to ...
7693         * sysdeps/i386/fpu/s_atanl.S: ...here.
7694         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7695         * sysdeps/i386/fpu/s_cbrt.S: ...here.
7696         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7697         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7698         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7699         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7700         * sysdeps/libm-i387/s_ceil.S: Moved to ...
7701         * sysdeps/i386/fpu/s_ceil.S: ...here.
7702         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7703         * sysdeps/i386/fpu/s_ceilf.S: ...here.
7704         * sysdeps/libm-i387/s_ceill.S: Moved to ...
7705         * sysdeps/i386/fpu/s_ceill.S: ...here.
7706         * sysdeps/libm-i387/s_cexp.S: Moved to ...
7707         * sysdeps/i386/fpu/s_cexp.S: ...here.
7708         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7709         * sysdeps/i386/fpu/s_cexpf.S: ...here.
7710         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7711         * sysdeps/i386/fpu/s_cexpl.S: ...here.
7712         * sysdeps/libm-i387/s_copysign.S: Moved to ...
7713         * sysdeps/i386/fpu/s_copysign.S: ...here.
7714         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7715         * sysdeps/i386/fpu/s_copysignf.S: ...here.
7716         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7717         * sysdeps/i386/fpu/s_copysignl.S: ...here.
7718         * sysdeps/libm-i387/s_cos.S: Moved to ...
7719         * sysdeps/i386/fpu/s_cos.S: ...here.
7720         * sysdeps/libm-i387/s_cosf.S: Moved to ...
7721         * sysdeps/i386/fpu/s_cosf.S: ...here.
7722         * sysdeps/libm-i387/s_cosl.S: Moved to ...
7723         * sysdeps/i386/fpu/s_cosl.S: ...here.
7724         * sysdeps/libm-i387/s_exp2.S: Moved to ...
7725         * sysdeps/i386/fpu/s_exp2.S: ...here.
7726         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7727         * sysdeps/i386/fpu/s_exp2f.S: ...here.
7728         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7729         * sysdeps/i386/fpu/s_exp2l.S: ...here.
7730         * sysdeps/libm-i387/s_expm1.S: Moved to ...
7731         * sysdeps/i386/fpu/s_expm1.S: ...here.
7732         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7733         * sysdeps/i386/fpu/s_expm1f.S: ...here.
7734         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7735         * sysdeps/i386/fpu/s_expm1l.S: ...here.
7736         * sysdeps/libm-i387/s_fdim.S: Moved to ...
7737         * sysdeps/i386/fpu/s_fdim.S: ...here.
7738         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7739         * sysdeps/i386/fpu/s_fdimf.S: ...here.
7740         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7741         * sysdeps/i386/fpu/s_fdiml.S: ...here.
7742         * sysdeps/libm-i387/s_finite.S: Moved to ...
7743         * sysdeps/i386/fpu/s_finite.S: ...here.
7744         * sysdeps/libm-i387/s_finitef.S: Moved to ...
7745         * sysdeps/i386/fpu/s_finitef.S: ...here.
7746         * sysdeps/libm-i387/s_finitel.S: Moved to ...
7747         * sysdeps/i386/fpu/s_finitel.S: ...here.
7748         * sysdeps/libm-i387/s_floor.S: Moved to ...
7749         * sysdeps/i386/fpu/s_floor.S: ...here.
7750         * sysdeps/libm-i387/s_floorf.S: Moved to ...
7751         * sysdeps/i386/fpu/s_floorf.S: ...here.
7752         * sysdeps/libm-i387/s_floorl.S: Moved to ...
7753         * sysdeps/i386/fpu/s_floorl.S: ...here.
7754         * sysdeps/libm-i387/s_fma.S: Moved to ...
7755         * sysdeps/i386/fpu/s_fma.S: ...here.
7756         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7757         * sysdeps/i386/fpu/s_fmaf.S: ...here.
7758         * sysdeps/libm-i387/s_fmal.S: Moved to ...
7759         * sysdeps/i386/fpu/s_fmal.S: ...here.
7760         * sysdeps/libm-i387/s_fmax.S: Moved to ...
7761         * sysdeps/i386/fpu/s_fmax.S: ...here.
7762         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7763         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7764         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7765         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7766         * sysdeps/libm-i387/s_fmin.S: Moved to ...
7767         * sysdeps/i386/fpu/s_fmin.S: ...here.
7768         * sysdeps/libm-i387/s_fminf.S: Moved to ...
7769         * sysdeps/i386/fpu/s_fminf.S: ...here.
7770         * sysdeps/libm-i387/s_fminl.S: Moved to ...
7771         * sysdeps/i386/fpu/s_fminl.S: ...here.
7772         * sysdeps/libm-i387/s_frexp.S: Moved to ...
7773         * sysdeps/i386/fpu/s_frexp.S: ...here.
7774         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7775         * sysdeps/i386/fpu/s_frexpf.S: ...here.
7776         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7777         * sysdeps/i386/fpu/s_frexpl.S: ...here.
7778         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7779         * sysdeps/i386/fpu/s_ilogb.S: ...here.
7780         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7781         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7782         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7783         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7784         * sysdeps/libm-i387/s_llrint.S: Moved to ...
7785         * sysdeps/i386/fpu/s_llrint.S: ...here.
7786         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7787         * sysdeps/i386/fpu/s_llrintf.S: ...here.
7788         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7789         * sysdeps/i386/fpu/s_llrintl.S: ...here.
7790         * sysdeps/libm-i387/s_log1p.S: Moved to ...
7791         * sysdeps/i386/fpu/s_log1p.S: ...here.
7792         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7793         * sysdeps/i386/fpu/s_log1pf.S: ...here.
7794         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7795         * sysdeps/i386/fpu/s_log1pl.S: ...here.
7796         * sysdeps/libm-i387/s_log2.S: Moved to ...
7797         * sysdeps/i386/fpu/s_log2.S: ...here.
7798         * sysdeps/libm-i387/s_log2f.S: Moved to ...
7799         * sysdeps/i386/fpu/s_log2f.S: ...here.
7800         * sysdeps/libm-i387/s_log2l.S: Moved to ...
7801         * sysdeps/i386/fpu/s_log2l.S: ...here.
7802         * sysdeps/libm-i387/s_logb.S: Moved to ...
7803         * sysdeps/i386/fpu/s_logb.S: ...here.
7804         * sysdeps/libm-i387/s_logbf.S: Moved to ...
7805         * sysdeps/i386/fpu/s_logbf.S: ...here.
7806         * sysdeps/libm-i387/s_logbl.S: Moved to ...
7807         * sysdeps/i386/fpu/s_logbl.S: ...here.
7808         * sysdeps/libm-i387/s_lrint.S: Moved to ...
7809         * sysdeps/i386/fpu/s_lrint.S: ...here.
7810         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7811         * sysdeps/i386/fpu/s_lrintf.S: ...here.
7812         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7813         * sysdeps/i386/fpu/s_lrintl.S: ...here.
7814         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7815         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7816         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7817         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7818         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7819         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7820         * sysdeps/libm-i387/s_remquo.S: Moved to ...
7821         * sysdeps/i386/fpu/s_remquo.S: ...here.
7822         * sysdeps/libm-i387/s_remquof.S: Moved to ...
7823         * sysdeps/i386/fpu/s_remquof.S: ...here.
7824         * sysdeps/libm-i387/s_remquol.S: Moved to ...
7825         * sysdeps/i386/fpu/s_remquol.S: ...here.
7826         * sysdeps/libm-i387/s_rint.S: Moved to ...
7827         * sysdeps/i386/fpu/s_rint.S: ...here.
7828         * sysdeps/libm-i387/s_rintf.S: Moved to ...
7829         * sysdeps/i386/fpu/s_rintf.S: ...here.
7830         * sysdeps/libm-i387/s_rintl.S: Moved to ...
7831         * sysdeps/i386/fpu/s_rintl.S: ...here.
7832         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7833         * sysdeps/i386/fpu/s_scalbn.S: ...here.
7834         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7835         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7836         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7837         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7838         * sysdeps/libm-i387/s_significand.S: Moved to ...
7839         * sysdeps/i386/fpu/s_significand.S: ...here.
7840         * sysdeps/libm-i387/s_significandf.S: Moved to ...
7841         * sysdeps/i386/fpu/s_significandf.S: ...here.
7842         * sysdeps/libm-i387/s_significandl.S: Moved to ...
7843         * sysdeps/i386/fpu/s_significandl.S: ...here.
7844         * sysdeps/libm-i387/s_sin.S: Moved to ...
7845         * sysdeps/i386/fpu/s_sin.S: ...here.
7846         * sysdeps/libm-i387/s_sincos.S: Moved to ...
7847         * sysdeps/i386/fpu/s_sincos.S: ...here.
7848         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7849         * sysdeps/i386/fpu/s_sincosf.S: ...here.
7850         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7851         * sysdeps/i386/fpu/s_sincosl.S: ...here.
7852         * sysdeps/libm-i387/s_sinf.S: Moved to ...
7853         * sysdeps/i386/fpu/s_sinf.S: ...here.
7854         * sysdeps/libm-i387/s_sinl.S: Moved to ...
7855         * sysdeps/i386/fpu/s_sinl.S: ...here.
7856         * sysdeps/libm-i387/s_tan.S: Moved to ...
7857         * sysdeps/i386/fpu/s_tan.S: ...here.
7858         * sysdeps/libm-i387/s_tanf.S: Moved to ...
7859         * sysdeps/i386/fpu/s_tanf.S: ...here.
7860         * sysdeps/libm-i387/s_tanl.S: Moved to ...
7861         * sysdeps/i386/fpu/s_tanl.S: ...here.
7862         * sysdeps/libm-i387/s_trunc.S: Moved to ...
7863         * sysdeps/i386/fpu/s_trunc.S: ...here.
7864         * sysdeps/libm-i387/s_truncf.S: Moved to ...
7865         * sysdeps/i386/fpu/s_truncf.S: ...here.
7866         * sysdeps/libm-i387/s_truncl.S: Moved to ...
7867         * sysdeps/i386/fpu/s_truncl.S: ...here.
7868         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7869         * sysdeps/ieee754/k_standard.c: ...here.
7870         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7871         * sysdeps/ieee754/s_lib_version.c: ...here.
7872         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7873         * sysdeps/ieee754/s_matherr.c: ...here.
7874         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7875         * sysdeps/ieee754/s_signgam.c: ...here.
7876         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7877         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7878         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7879         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7880         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7881         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7882         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7883         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7884         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7885         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7886         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7887         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7888         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7889         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7890         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7891         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7892         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7893         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7894         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7895         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7896         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7897         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7898         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7899         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7900         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7901         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7902         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7903         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7904         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7905         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7906         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7907         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7908         * sysdeps/libm-ieee754/e_log.c: Moved to ...
7909         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7910         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7911         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7912         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7913         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7914         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7915         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7916         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7917         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7918         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7919         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7920         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7921         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7922         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7923         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7924         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7925         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7926         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7927         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7928         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7929         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7930         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7931         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7932         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7933         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7934         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7935         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7936         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7937         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7938         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7939         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7940         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7941         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7942         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7943         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7944         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7945         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7946         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7947         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7948         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7949         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7950         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7951         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7952         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7953         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7954         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7955         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7956         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7957         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7958         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7959         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7960         (__isnan): Comment above function says it returns 0 or 1, but it
7961         used to return 0 or -1.
7962         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7963         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7964         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7965         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7966         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7967         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7968         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7969         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7970         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7971         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7972         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7973         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7974         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7975         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7976         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7977         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7978         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7979         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7980         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7981         * sysdeps/generic/s_nextafter.c: ...here.
7982         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7983         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7984         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7985         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7986         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7987         * sysdeps/libm-ieee754/s_round.c: Moved to ...
7988         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7989         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7990         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7991         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7992         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7993         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7994         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7995         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7996         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7997         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7998         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7999         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
8000         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
8001         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
8002         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
8003         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
8004         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
8005         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
8006         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
8007         * sysdeps/ieee754/mpn2flt.c: Moved to ...
8008         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
8009         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
8010         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
8011         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
8012         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
8013         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
8014         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
8015         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
8016         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
8017         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
8018         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
8019         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
8020         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
8021         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
8022         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
8023         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
8024         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
8025         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
8026         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
8027         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
8028         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
8029         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
8030         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
8031         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
8032         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
8033         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
8034         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
8035         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
8036         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
8037         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
8038         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
8039         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
8040         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
8041         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
8042         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
8043         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
8044         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
8045         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
8046         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
8047         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
8048         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
8049         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
8050         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
8051         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
8052         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
8053         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
8054         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
8055         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
8056         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
8057         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
8058         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
8059         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
8060         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
8061         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
8062         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
8063         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
8064         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
8065         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
8066         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
8067         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
8068         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
8069         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
8070         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
8071         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
8072         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
8073         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
8074         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
8075         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
8076         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
8077         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
8078         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
8079         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
8080         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
8081         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
8082         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
8083         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
8084         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
8085         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
8086         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
8087         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
8088         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
8089         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
8090         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
8091         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
8092         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
8093         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
8094         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
8095         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
8096         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
8097         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
8098         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
8099         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
8100         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
8101         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
8102         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
8103         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
8104         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
8105         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
8106         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
8107         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
8108         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
8109         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
8110         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
8111         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
8112         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
8113         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
8114         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
8115         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
8116         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
8117         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
8118         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
8119         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
8120         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
8121         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
8122         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
8123         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
8124         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
8125         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
8126         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
8127         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
8128         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
8129         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
8130         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
8131         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
8132         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
8133         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
8134         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
8135         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
8136         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
8137         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
8138         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
8139         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
8140         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
8141         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
8142         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
8143         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
8144         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
8145         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
8146         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
8147         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
8148         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
8149         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
8150         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
8151         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
8152         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
8153         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
8154         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
8155         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
8156         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
8157         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
8158         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
8159         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
8160         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
8161         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
8162         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
8163         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
8164         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
8165         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
8166         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
8167         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
8168         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
8169         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
8170         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
8171         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
8172         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
8173         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
8174         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
8175         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
8176         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
8177         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
8178         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
8179         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
8180         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
8181         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
8182         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
8183         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
8184         INSERT_WORDS.
8185         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
8186         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
8187         (__nearbyintl): Fix for exponents 2^30.
8188         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
8189         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
8190         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
8191         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
8192         (__rintl): Fix for exponents 2^30.
8193         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
8194         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
8195         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
8196         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
8197         (__scalbnl): Fix exponent for subnormal result.
8198         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
8199         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
8200         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
8201         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
8202         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
8203         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
8204         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
8205         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
8206         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
8207         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
8208         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
8209         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8210         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8211         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8212         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8213         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8214         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8215         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8216         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8217         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8218         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8219         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8220         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8221         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8222         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8223         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8224         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8225         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8226         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8227         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8228         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8229         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8230         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8231         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8232         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8233         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8234         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8235         * sysdeps/i386/fpu/s_scalbln.c: ...here.
8236         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8237         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8238         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8239         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8240         * sysdeps/libm-i387/t_exp.c: Moved to ...
8241         * sysdeps/i386/fpu/t_exp.c: ...here.
8242         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8243         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8244         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8245         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8246         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8247         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8248         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8249         * sysdeps/i386/fpu/s_isinfl.c: ...here.
8250         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8251         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8252         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8253         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8254         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8255         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8256         Fix exponent for subnormal result.
8257         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8258         * sysdeps/generic/s_nexttowardl.c: ...here.
8259         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8260         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8261         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8262         * sysdeps/i386/fpu/s_isnanl.c: ...here.
8263         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8264         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8265         Comment above function says it returns 0 or 1, but it used to return
8266         0 or -1.
8267         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8268         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8269         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8270         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8271         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8272         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8273         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8274         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8275         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8276         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8277         Cannot compare exponents with different biases without adjusting.
8278         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8279         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8280         Cannot compare exponents with different biases without adjusting.
8281         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8282         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8283         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8284         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8285         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8286         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8287         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8288         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8289         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8290         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8291         * sysdeps/libm-ieee754/Dist: Split into ...
8292         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8293         * sysdeps/ieee754/flt-32/Dist: ...this file.
8294
8295         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8296         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8297         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8298         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8299         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8300         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8301         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8302         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8303         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8304         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8305         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8306         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8307         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8308         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8309         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8310         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8311         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8312         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8313         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8314         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8315         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8316         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8317         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8318         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8319         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8320         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8321         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8322         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8323         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8324         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8325         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8326         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8327         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8328         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8329         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8330         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8331         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8332         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8333         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8334         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8335         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8336         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8338         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8339         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8340         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8341         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8342
8343         * sysdeps/generic/math_ldbl.h: New file.
8344         * sysdeps/generic/s_nexttowardf.c: New file.
8345         * sysdeps/generic/strtold.c: New file.
8346         * sysdeps/generic/ldbl2mpn.c: New file.
8347
8348         * math/machine/endian.h: Remove.
8349         * sysdeps/i386/fpu/Implies: Remove.
8350         * sysdeps/ieee754/Implies: Remove.
8351
8352         * math/math_private.h: Move long double macros to math_ldbl.h
8353         header.
8354
8355 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8356
8357         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8358         connections without a hostname set address to localhost address.
8359
8360 1999-07-11  H.J. Lu  <hjl@gnu.org>
8361
8362         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8363         nscd's own strong version of the get[a-z]*_r function.
8364         * nscd/hstcache.c: Likewise.
8365         * nscd/pwdcache.c: Likewise.
8366
8367 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8368
8369         * configure.in: Recognize 2.95 as gcc version number.
8370         Patch by Joel Klecker <jk@espy.org>.
8371
8372 1999-07-12  Andreas Schwab  <schwab@suse.de>
8373
8374         * elf/rtld.c (dl_main): When putting back the interpreter object
8375         handle the case where a missing object might occur in the list of
8376         objects but not in the search list when in trace mode.
8377
8378 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
8379
8380         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8381         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8382         _nss_hesiod_initgroups.
8383
8384 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8385
8386         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8387         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8388         Initialize it from &__data_start if defined, or else &_end.
8389
8390 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8391
8392         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8393         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8394
8395 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8396
8397         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8398
8399 1999-07-09  H.J. Lu  <hjl@gnu.org>
8400
8401         * Versions.def (GLIBC_2.1.2): Added.
8402
8403         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8404         old one as GLIBC_2.0.
8405         * nss/getXXbyYY_r.c: Likewise.
8406
8407         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8408         GLIBC_2.1.2.
8409         * inet/Versions (getaliasbyname_r, getaliasent_r,
8410         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8411         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8412         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8413         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8414         getservbyname_r): Likewise.
8415         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8416         * shadow/Versions (getspent_r, getspnam_r): Likewise.
8417
8418 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8419
8420         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8421         compilers.
8422         (__memset_cc): Likewise.
8423
8424         * sysdeps/generic/libc-start.c: For SUID binaries check whether
8425         the standard file descriptors are open.
8426         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8427
8428         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8429         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8430         range of mmap.  If not fail.
8431         Patches by Daniel Jacobowitz <dan@debian.org>.
8432
8433         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8434         before the relocation happened.
8435         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8436
8437         * Versions.def (libnsl): Add GLIBC_2.2.
8438         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8439
8440 1999-07-08  Cristian Gafton  <gafton@redhat.com>
8441
8442         * nis/yp_xdr.c (xdr_ypall): New function.
8443
8444 1999-07-09  Andreas Schwab  <schwab@suse.de>
8445
8446         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8447
8448         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8449
8450 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8451
8452         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8453         * hesiod/hesiod-grp.c: Add initgroups support.
8454         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8455
8456 1999-07-08  Andreas Schwab  <schwab@suse.de>
8457
8458         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8459
8460         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8461         negative numbers.
8462
8463         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8464         EOF.
8465         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8466
8467 1999-07-08  Andreas Schwab  <schwab@suse.de>
8468
8469         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8470
8471 1999-07-08  Andreas Schwab  <schwab@suse.de>
8472
8473         * libio/fileno.c: Return -1 instead of EOF and set errno if the
8474         stream is not a real file stream.
8475
8476 1999-07-08  Andreas Schwab  <schwab@suse.de>
8477
8478         * manual/charset.texi: Fix typos.
8479
8480 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8481
8482         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8483
8484 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
8485
8486         * dlfcn: New directory.  Move the following files from elf:
8487         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8488         dlopenold.c, dlsym.c, dlvsym.c.
8489         * dlfcn/Makefile: New file.
8490         * dlfcn/Versions: New file.
8491         * dlfcn/dlsym.c: All ELF-specific code split out to new
8492         function _dl_sym.
8493         * dlfcn/dlvsym.c: All ELF-specific code split out to new
8494         function _dl_vsym.
8495         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
8496         implemented here.
8497
8498         * dlfcn/dladdr.c: Remove all references to ELF data structures
8499         or headers.
8500         * dlfcn/dlclose.c: Likewise.
8501         * dlfcn/dlerror.c: Likewise.
8502         * dlfcn/dlopen.c: Likewise.
8503         * dlfcn/dlopenold.c: Likewise.
8504
8505         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8506         yes, empty otherwise.
8507         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8508         depending on build-shared.
8509         (subdirs): Add $(dlfcn).
8510         (rpath-dirs): Add dlfcn.
8511         * elf/Makefile: Remove all references to libdl or its
8512         components, except the ones relating to the test cases.
8513         (routines): Add dl-sym.
8514         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8515         (libdl): Delete.
8516
8517         * elf/dl-close.c (_dl_close): Change argument to void *.
8518         * elf/dl-open.c (_dl_open): Change return type to void *.
8519         * elf/eval.c: Removed.
8520         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8521         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8522         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
8523         _CALL_DL_FCT macro.
8524         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8525         Include real header from dlfcn directory.
8526         * include/ldsodefs.h: Removed.
8527
8528         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8529         * nss/getXXbyYY_r.c: Likewise.
8530         * nss/getXXent_r.c: Likewise.
8531         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
8532         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
8533         * iconv/skeleton.c: Don't include ldsodefs.h.
8534         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
8535
8536 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8537
8538         * sysdeps/generic/setenv.c: Describe problem.
8539
8540         * malloc/malloc.c (request2size): Also set errno if failing.
8541
8542         * malloc/malloc.c (request2size): Take care of overflow in
8543         addition.
8544
8545         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
8546         (NULL, != 0) correctly.
8547
8548         * elf/dl-load.c: Use a few more __builtin_expect.
8549
8550         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8551         is large enough.
8552
8553 1999-07-07  Andreas Schwab  <schwab@suse.de>
8554
8555         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8556         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8557         (_PATH_DEVPTMX): Use _PATH_DEV.
8558
8559 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8560
8561         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
8562         * malloc/Makefile (tests): Add tst-malloc.
8563
8564 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8565
8566         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8567         convention.
8568
8569         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8570         motherboards.
8571         Patch by Jay Estabrook.
8572
8573         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8574         ldd for SPARC.
8575         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8576         Patch by Cristian Gafton.
8577
8578 1999-07-02  Cristian Gafton  <gafton@redhat.com>
8579
8580         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8581         instead of "return NULL" to make C++ happy.
8582
8583 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
8584
8585         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8586         allowed by the file access mode of the open file.
8587
8588 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8589
8590         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8591         macros defined.
8592
8593 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
8594
8595         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8596         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8597         * sysdeps/sparc/sparc64/rshift.S: Likewise.
8598         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8599
8600 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8601
8602         * malloc/malloc.c (request2size): Check for overflow and return
8603         NULL whenever it is encountered.
8604
8605 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
8606
8607         * sysdeps/posix/tempname.c (__gen_tempname):   Add
8608         ability to create directories.  Replace OPENIT and LARGEFILE
8609         args with a single flags parameter.
8610         * sysdeps/generic/tempname.c: Likewise.
8611         * include/stdio.h: Adjust prototype of __gen_tempname to
8612         match.  Define symbolic constants for second argument.
8613
8614         * misc/mkdtemp.c: New file, provides new function mkdtemp().
8615         * stdlib/stdlib.h: Prototype it.
8616         * misc/Versions: Export it.
8617         * misc/Makefile (routines): Add mktemp.
8618         * manual/filesys.texi: Document it.
8619
8620         * misc/mktemp.c: Adjust call of __gen_tempname to match new
8621         convention.
8622         * misc/mkstemp.c: Likewise.
8623         * stdio-common/tempnam.c: Likewise.
8624         * stdio-common/tmpfile.c: Likewise.
8625         * stdio-common/tmpfile64.c: Likewise.
8626         * stdio-common/tmpnam.c: Likewise.
8627         * stdio-common/tmpnam_r.c: Likewise.
8628
8629 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
8630
8631         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8632         R_SPARC_OLO10 relocations.
8633         * elf/elf.h (R_SPARC_OLO10): Fix comment.
8634
8635 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
8636
8637         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
8638         doesn't belong in the tests, but in the wordexp implementation.
8639
8640         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8641         split fields.
8642
8643 1999-07-01  Cristian Gafton  <gafton@redhat.com>
8644
8645         * time/strptime.c (strptime): Initialize the tm struct first to avoid
8646         returning bogus results on incomplete data.
8647         (strptime_internal): day_of_the_week() requres both tm_mon and
8648         tm_mday to be initialized.
8649         Compute them first if they are not given.
8650         (strptime_internal): (have_mon, have_mday): New variables.
8651
8652 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8653
8654         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8655
8656 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8657
8658         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8659         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8660
8661 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8662
8663         * posix/wordexp.c (parse_tilde): Handle failing call to
8664         get.*_r functions correctly for non-existing entry.
8665         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8666         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8667
8668 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8669
8670         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8671         getxxbyYY_r functions correctly for non-existing entry.
8672         * sunrpc/getrpcport.c: Likewise.
8673         * sunrpc/clnt_simp.c: Likewise.
8674         * inet/rexec.c: Likewise.
8675         * sunrpc/clnt_gen.c: Likewise.
8676         * inet/rcmd.c: Likewise.
8677         * sysdeps/generic/glob.c: Likewise.
8678
8679 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8680
8681         * pwd/Makefile (tests): Add rules for tst-getpw.
8682
8683         * pwd/tst-getpw.c: New program to test getpw.
8684
8685 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8686
8687         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8688         correctly.
8689
8690 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8691
8692         * manual/arith.texi (System V Number Conversion): Fix the
8693         description which confused pointer and value to pointer.
8694         Reported by Andries.Brouwer@cwi.nl.
8695
8696 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8697
8698         * pwd/getpw.c (__getpw): Check for NULL result pointer.
8699
8700 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8701
8702         * manual/users.texi (Lookup User): Document POSIX return
8703         semantics for getpwuid_r and getgrgid_r.
8704
8705         * manual/socket.texi (Host Names): Document that the result
8706         pointer is null in case of error or host not found and fix a
8707         typo.  Give a small example.
8708
8709 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8710
8711         * pwd/getpw.c: Add warning since no buffer size is given and
8712         therefore no overrun tests are possible.
8713
8714 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8715
8716         * pwd/pwd.h: Add getpw prototype declaration.
8717
8718 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8719
8720         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8721         * wcsmbs/wcschr.c: Likewise.
8722
8723 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
8724
8725         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8726         returns.
8727         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8728         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8729         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8730
8731         * elf/dl-dst.h: Fix typo.
8732         * elf/dl-open.c: Likewise.
8733
8734 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
8735
8736         * elf/dl-libc.c: New file, provides three functions:
8737         __libc_dlopen, __libc_dlclose, __libc_dlsym.
8738         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
8739         * elf/Makefile (routines): Add dl-libc.c.
8740         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8741         argument to void *.
8742         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8743
8744         * iconv/gconv.c: Include dlfcn.h.
8745         * iconv/gconv_db.c: Likewise.
8746         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
8747
8748         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8749         `handle' to a void *.
8750         (__gconv_find_func): Delete prototype.
8751
8752         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
8753         dlerror_run and related functions and structs.  Use
8754         __libc_dlopen, __libc_dlsym, __libc_dlclose.
8755         * nss/nsswitch.c: Likewise.
8756
8757 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
8758
8759         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8760         function correctly.
8761
8762         * sunrpc/getrpcport.c: Test for gethostbyname_r function
8763         correctly.
8764
8765         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8766
8767         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8768         functions correctly.
8769
8770         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8771
8772         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
8773         file reading a bit.
8774
8775         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8776
8777 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8778
8779         * manual/string.texi (Copying and Concatenation): Mention that
8780         strndup is a GNU extension.
8781
8782 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8783
8784         * pwd/getpw.c (__getpw): Fix check for error return.
8785
8786 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8787
8788         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8789         occurence of the aux object start with the current list entry, not
8790         the new one.  Adjust tail pointer in the unique list.  Explain how
8791         the meaning of the variables changes [PR libc/1168].
8792
8793 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8794
8795         * sysdeps/m68k/fpu/Dist: New file.
8796
8797 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8798
8799         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8800         definitions...
8801         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
8802         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8803         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8804         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8805         * sysdeps/m68k/fpu/e_pow.c: Likewise.
8806         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8807         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8808         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8809         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8810         * sysdeps/m68k/fpu/s_csin.c: Likewise.
8811         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8812         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8813         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8814         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8815         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8816         * sysdeps/m68k/fpu/s_modf.c: Likewise.
8817
8818 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
8819
8820         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8821         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8822         _EXTERN_INLINE, use a macro specific to each file,
8823         _HURD_FD_H_EXTERN_INLINE and the like.
8824         * hurd/Makefile (inline-headers): New variable.
8825         (routines): Remove hurdinline.  Add $(inlines).
8826         (inlines): New variable.
8827         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8828         (generated): Append those here.
8829         * hurd/hurdinline.c: File removed.
8830
8831         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8832
8833         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8834
8835 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8836
8837         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8838
8839 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
8840
8841         * string/bits/string2.h (strnlen): Remove extra prototype.
8842
8843 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8844
8845         * manual/filesys.texi (Working on Directory Trees): Fix typos.
8846         Reported by Andries.Brouwer@cwi.nl.
8847
8848 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
8849
8850         * nscd/connections.c (handle_request): Use correct type for optlen
8851         variable.
8852
8853         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8854         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8855
8856 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
8857
8858         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8859         * nscd/pwdcache.c: Likewise.
8860         * nscd/hstcache.c: Likewise.
8861
8862 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8863
8864         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8865
8866         * posix/getopt.h: Include stdio.h.
8867
8868         * manual/arith.texi: Document restriction of ndigit parameter of
8869         ecvt and friends.
8870         * misc/efgcvt.c: Define NDIGIT_MAX.
8871         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8872         Do not dynamically allocate the static buffers.  They are small enough.
8873         * misc/efgcvt_r.c: Define NDIGIT_MAX.
8874         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8875         * misc/qefgcvt.c: Define NDIGIT_MAX.
8876         * misc/qefgcvt_r.c: Likewise.
8877         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8878
8879 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
8880
8881         * libio/stdio.h: Define stdin, stdout, stderr as macros.
8882         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8883         These are *pragmas* not macros.
8884         * wcsmbs/wchar.h: Fix comment.
8885
8886         * grp/grp.h: Use __foo_t_defined convention to typedef things
8887         only once.
8888         * io/sys/stat.h: Likewise.
8889         * libio/stdio.h: Likewise.
8890         * posix/unistd.h: Likewise.
8891         * posix/sys/types.h: Likewise.
8892         * posix/sys/wait.h: Likewise.
8893         * pwd/pwd.h: Likewise.
8894         * signal/signal.h: Likewise.
8895         * sysdeps/generic/stdint.h: Likewise.
8896         * sysdeps/gnu/utmpx.h: Likewise.
8897         * termios/termios.h: Likewise.
8898
8899 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8900
8901         * stdio/fputc.c: Don't define alias if fputc is defined as a
8902         macro.
8903         * stdio/putc.c: Define weak alias here since it is not done
8904         anymore in fputc.c.
8905
8906 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8907
8908         * assert/assert.h: Don't produce `defined' as part of macro
8909         expansion.
8910
8911 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
8912
8913         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8914         OFFSET argument of (off_t) -1.
8915         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8916         OFFSET argument of (off_t) -1.
8917
8918         * sysdeps/mach/hurd/pwrite.c: New file.
8919         * sysdeps/mach/hurd/pread.c: New file.
8920
8921         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8922         pass it in the RPC instead of always -1.
8923         * hurd/fd-write.c (_hurd_fd_write): Likewise.
8924         * hurd/hurd/fd.h: Update decls.
8925
8926 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8927
8928         * libio/wscanf.c: Include <wchar.h> for prototype.
8929
8930 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
8931
8932         * manual/io.texi. Fix typos.
8933         * manual/stdio.texi: Likewise.
8934         Patches by Brian Youmans <3diff@gnu.org>.
8935
8936 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
8937
8938         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8939         bits of two words differ.
8940
8941 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8942
8943         * libio/Makefile (routines): Add putwchar and putwchar_u.
8944
8945         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8946         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
8947         stdout.  Fix parameter name.
8948
8949         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8950         * libio/getchar_u.c: Likewise.
8951
8952         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8953
8954 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8955
8956         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8957         macro expansion---it's undefined.  Properly parenthesize
8958         substituted parameters.
8959         (__GLIBC_PREREQ): Likewise.
8960
8961 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
8962
8963         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
8964         weird effects.
8965
8966         * stdlib/longlong.h: Provide __P definition if not already
8967         defined.
8968
8969         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8970
8971 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
8972
8973         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8974
8975 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8976
8977         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8978
8979 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8980
8981         * stdio-common/vfprintf.c (group_member): Make parameters and
8982         return types pointers to CHAR_T instead of UCHAR_T.
8983         (vfprintf): Change type of work_buffer, workend and string to
8984         CHAR_T pointer/array.
8985         (process_arg, process_string_arg): Adjust/remove casts.  Add
8986         missing use of L_ macro.
8987         (printf_unknown): Add missing uses of L_ macro.
8988
8989 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8990
8991         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8992         warning.
8993
8994 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8995
8996         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
8997         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8998         (__wunderflow): Likewise.
8999         (_IO_switch_to_wget_mode): Likewise.
9000         (_IO_init_wmarker): Likewise.
9001
9002         * libio/wfileops.c (_IO_wfile_seekoff): Call
9003         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
9004         (_IO_wfile_jumps): Fix pbackfail entry.
9005
9006         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
9007         function if the stream is currently unoriented.
9008
9009 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
9010
9011         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
9012         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
9013         __gnuc_va_list in v*w(printf|scanf) prototypes.
9014
9015 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9016
9017         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
9018         1999-03-29 to iopopen also here.
9019         Reported by Richard Braakman <dark@xs4all.nl>.
9020
9021 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9022
9023         * include/features.h: Use __GNUC_PREREQ.
9024         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9025
9026 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9027
9028         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
9029         Change EOF to WEOF and remove cast.
9030         (UNGETC): Remove macro.
9031         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
9032         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
9033         Change ISASCII to isascii and MBRLEN to mbrlen.
9034         (parse_one_spec): Compare info.spec always against wchar_t
9035         values.
9036         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
9037         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
9038         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
9039
9040 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9041
9042         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
9043         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
9044         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
9045         oldiofsetpos64 only if doing versioning.
9046
9047 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
9048
9049         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
9050
9051 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9052
9053         * libio/libio.h: Fix last patch.
9054
9055 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
9056
9057         * libio/libio.h (_IO_putwc): Correct type of first argument.
9058         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
9059         putwc_unlocked, putwchar_unlocked): Likewise.
9060         * libio/fputwc.c: Likewise.
9061         * libio/fputwc_unlocked.c: Likewise.
9062         * libio/putwc.c: Likewise.
9063         * libio/putwc_unlocked.c: Likewise.
9064         * libio/putwchar.c: Likewise.
9065         * libio/putwchar_unlocked.c: Likewise.
9066
9067 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
9068
9069         * sysdeps/gnu/siglist.h: File moved to ...
9070         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
9071         any platform, since it just associates the SIG* macros with text names
9072         and descriptions. For any signal macros do not exist on every
9073         platform, we can use #ifdef tests here and still use this single
9074         common file for all platforms.
9075         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
9076         should be usable for all platforms after the binary compatibility
9077         stuff in the current sysdeps/gnu version is no longer required.
9078         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
9079         * sysdeps/generic/make_siglist.c: File removed.
9080         * sysdeps/mach/hurd/siglist.h: Use #include_next.
9081         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
9082
9083 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
9084
9085         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
9086         * sysdeps/gnu/siglist.c: ... here.
9087         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
9088         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
9089         * sysdeps/gnu/siglist.h: New file, contents from linux version.
9090         Add entry for SIGLOST protected by #ifdef.
9091         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
9092         and define OLD_SIGLIST_SIZE_STR.
9093         * sysdeps/mach/hurd/siglist.h: New file, likewise.
9094
9095 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
9096
9097         * include/features.h: Define new macros __GNUC_PREREQ and
9098         __GLIBC_PREREQ which can be used to test the version of gcc
9099         and glibc respectively.
9100
9101         * assert/assert.h: Use __GNUC_PREREQ.
9102         * intl/libintl.h: Likewise.
9103         * math/complex.h: Likewise.
9104         * math/tgmath.h: Likewise.
9105         * misc/sys/cdefs.h: Likewise.
9106         * posix/sys/types.h: Likewise.
9107         * socket/sys/socket.h: Likewise.
9108         * string/bits/string2.h: Likewise.
9109         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
9110         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9111
9112 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
9113
9114         * include/libintl.h: Declare _libc_intl_domainname here.
9115         Define _ and N_ here.
9116         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
9117         define _ and N_.  Don't declare _libc_intl_domainname.
9118         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
9119
9120         * db2/config.h: Don't include sys/stat.h or define
9121         HAVE_ST_BLKSIZE here...
9122         * db2/compat.h: ...do it here.
9123
9124         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
9125         other headers.
9126         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
9127         * iconv/iconv.c: Include stddef.h for NULL.
9128         * malloc/malloc.h: Include features.h.
9129         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
9130
9131         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
9132         into the generated file.
9133         * sysdeps/gnu/errlist.awk: Likewise.
9134         * sysdeps/gnu/errlist.c: Rebuilt.
9135
9136         * assert/assert-perr.c: Include libintl.h.
9137         * assert/assert.c: Likewise.
9138         * elf/dl-open.c: Likewise.
9139         * elf/dlsym.c: Likewise.
9140         * elf/dlvsym.c: Likewise.
9141         * iconv/iconv_prog.c: Likewise.
9142         * inet/rcmd.c: Likewise.
9143         * inet/ruserpass.c: Likewise.
9144         * locale/programs/charset.c: Likewise.
9145         * locale/programs/ld-collate.c: Likewise.
9146         * locale/programs/ld-ctype.c: Likewise.
9147         * locale/programs/ld-messages.c: Likewise.
9148         * locale/programs/ld-monetary.c: Likewise.
9149         * locale/programs/ld-numeric.c: Likewise.
9150         * locale/programs/ld-time.c: Likewise.
9151         * locale/programs/locfile.c: Likewise.
9152         * locale/programs/repertoire.c: Likewise.
9153         * login/programs/database.c: Likewise.
9154         * login/programs/request.c: Likewise.
9155         * malloc/mcheck.c: Likewise.
9156         * misc/error.c: Likewise.
9157         * nis/nis_call.c: Likewise.
9158         * nis/nis_callback.c: Likewise.
9159         * nis/nis_error.c: Likewise.
9160         * nis/nis_local_names.c: Likewise.
9161         * nis/nis_print.c: Likewise.
9162         * nis/nis_print_group_entry.c: Likewise.
9163         * nis/ypclnt.c: Likewise.
9164         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9165         * nscd/cache.c: Likewise.
9166         * nscd/connections.c: Likewise.
9167         * nscd/grpcache.c: Likewise.
9168         * nscd/hstcache.c: Likewise.
9169         * nscd/nscd_conf.c: Likewise.
9170         * nscd/nscd_stat.c: Likewise.
9171         * nscd/pwdcache.c: Likewise.
9172         * posix/id.c: Likewise.
9173         * resolv/herror.c: Likewise.
9174         * stdio-common/psignal.c: Likewise.
9175         * string/strsignal.c: Likewise.
9176         * sunrpc/auth_unix.c: Likewise.
9177         * sunrpc/clnt_perr.c: Likewise.
9178         * sunrpc/clnt_raw.c: Likewise.
9179         * sunrpc/clnt_tcp.c: Likewise.
9180         * sunrpc/clnt_udp.c: Likewise.
9181         * sunrpc/clnt_unix.c: Likewise.
9182         * sunrpc/get_myaddr.c: Likewise.
9183         * sunrpc/pm_getmaps.c: Likewise.
9184         * sunrpc/pmap_clnt.c: Likewise.
9185         * sunrpc/pmap_rmt.c: Likewise.
9186         * sunrpc/rpc_main.c: Likewise.
9187         * sunrpc/rpc_scan.c: Likewise.
9188         * sunrpc/svc_run.c: Likewise.
9189         * sunrpc/svc_simple.c: Likewise.
9190         * sunrpc/svc_tcp.c: Likewise.
9191         * sunrpc/svc_udp.c: Likewise.
9192         * sunrpc/svc_unix.c: Likewise.
9193         * sunrpc/xdr_rec.c: Likewise.
9194         * sunrpc/xdr_ref.c: Likewise.
9195         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
9196         * sysdeps/posix/gai_strerror.c: Likewise.
9197         * sysdeps/unix/siglist.c: Likewise.
9198         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
9199         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9200         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
9201         * timezone/zic.c: Likewise.
9202
9203 1999-06-18  H.J. Lu  <hjl@gnu.org>
9204
9205         * localedata/Makefile (charmaps): Exclude SCCS.
9206         (locales): Likewise.
9207         (repertoiremaps): Likewise.
9208
9209 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
9210
9211         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9212         * sysdeps/generic/bsd-setjmp.c: Likewise.
9213
9214         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9215
9216         * iconv/gconv_open.c: Include string.h for memset prototype.
9217
9218         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9219         definitions.
9220
9221         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9222         assignment to avoid warning on 64bit platforms.
9223
9224 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9225
9226         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9227
9228         * nss/getXXbyYY_r.c: Return error code not -1.
9229         * nss/getXXent_r.c: Likewise.
9230         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9231         small.
9232         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9233         value > 0 for error.
9234         * nscd/nscd_gethst_r.c: Likewise.
9235         * nscd/nscd_getpw_r.c: Likewise.
9236
9237 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9238
9239         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9240         disciplines.
9241
9242 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9243
9244         * nscd/nscd_nischeck.c: Fix typos.
9245
9246 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9247
9248         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9249         always when oact is NULL.
9250         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9251
9252 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9253
9254         * math/libm-test.c (jn_test): Adjust delta.
9255
9256 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9257
9258         * libio/vwprintf.c: Include <wchar.h> for prototypes.
9259         * libio/wprintf.c: Likewise.
9260
9261 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9262
9263         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9264         to not write beyond allocated memory.
9265         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9266
9267 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9268
9269         * malloc/mtrace.c: Keep lock while printing output lines.
9270         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9271
9272 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
9273
9274         * configure.in: Add warnings about broken code.
9275
9276         * Versions.def: Add GLIBC_2.2 for libc.
9277
9278         * iconv/gconv.h: Make header suitable for inclusion in public header
9279         by protecting all names with __.
9280         * iconv/gconv.c: Adapt for symbol name changes.
9281         * iconv/gconv.h: Likewise.
9282         * iconv/gconv_builtin.c: Likewise.
9283         * iconv/gconv_close.c: Likewise.
9284         * iconv/gconv_db.c: Likewise.
9285         * iconv/gconv_dl.c: Likewise.
9286         * iconv/gconv_int.h: Likewise.
9287         * iconv/gconv_open.c: Likewise.
9288         * iconv/gconv_simple.c: Likewise.
9289         * iconv/iconv.c: Likewise.
9290         * iconv/iconv_close.c: Likewise.
9291         * iconv/iconv_open.c: Likewise.
9292         * iconv/loop.c: Likewise.
9293         * iconv/skeleton.c: Likewise.
9294         * iconvdata/8bit-gap.c: Likewise.
9295         * iconvdata/8bit-generic.c: Likewise.
9296         * iconvdata/ansi_x3.110.c: Likewise.
9297         * iconvdata/big5.c: Likewise.
9298         * iconvdata/cns11643.h: Likewise.
9299         * iconvdata/cns11643l1.h: Likewise.
9300         * iconvdata/euc-cn.c: Likewise.
9301         * iconvdata/euc-jp.c: Likewise.
9302         * iconvdata/euc-kr.c: Likewise.
9303         * iconvdata/euc-tw.c: Likewise.
9304         * iconvdata/gb2312.h: Likewise.
9305         * iconvdata/iso-2022-jp.c: Likewise.
9306         * iconvdata/iso-2022-kr.c: Likewise.
9307         * iconvdata/iso646.c: Likewise.
9308         * iconvdata/iso8859-1.c: Likewise.
9309         * iconvdata/iso_6937-2.c: Likewise.
9310         * iconvdata/iso_6937.c: Likewise.
9311         * iconvdata/jis0201.h: Likewise.
9312         * iconvdata/jis0208.h: Likewise.
9313         * iconvdata/jis0212.h: Likewise.
9314         * iconvdata/johab.c: Likewise.
9315         * iconvdata/ksc5601.h: Likewise.
9316         * iconvdata/sjis.c: Likewise.
9317         * iconvdata/t.61.c: Likewise.
9318         * iconvdata/uhc.c: Likewise.
9319         * stdlib/mblen.c: Likewise.
9320         * stdlib/mbtowc.c: Likewise.
9321         * stdlib/wctomb.c: Likewise.
9322         * wcsmbs/btowc.c: Likewise.
9323         * wcsmbs/mbrtowc.c: Likewise.
9324         * wcsmbs/mbsnrtowcs.c: Likewise.
9325         * wcsmbs/mbsrtowcs.c: Likewise.
9326         * wcsmbs/wchar.h: Likewise.
9327         * wcsmbs/wcrtomb.c: Likewise.
9328         * wcsmbs/wcsmbsload.c: Likewise.
9329         * wcsmbs/wcsmbsload.h: Likewise.
9330         * wcsmbs/wcsnrtombs.c: Likewise.
9331         * wcsmbs/wcsrtombs.c: Likewise.
9332         * wcsmbs/wctob.c: Likewise.
9333
9334         * include/limits.h (MB_LEN_MAX): Increase to 16.
9335
9336         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
9337         _G_iconv_t.
9338         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9339         * include/wchar.h: Change mbstate_t to __mbstate_t.
9340
9341         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9342         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9343         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9344         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9345         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9346         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9347         and iofwide.
9348         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9349         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9350         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9351         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9352         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9353         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9354         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9355         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9356         GLIBC_2.2 for libc.
9357         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
9358         Extend _IO_file contain pointer to codecvt, widedata and mode.
9359         (_IO_getwc_unlocked): New macro.
9360         (_IO_putwc_unlocked): New macro.
9361         (_IO_fwide): New macro.
9362         * libio/libioP.h: Add new prototypes and adjust existing declarations.
9363         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9364         buffers based on mode.
9365         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9366         oriented.
9367         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9368         flag to be enough to signal unallocated buffer.  For wide oriented
9369         stream don't make it linebuffered.  Don't use _IO_do_flush, use
9370         _IO_new_do_write directly.
9371         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9372         (_IO_file_seek): Likewise.
9373         * libio/genops.c (_IO_least_marker): Make global.
9374         (__underflow): Orient stream if not already done.
9375         (__uflow): Likewise.
9376         (_IO_default_seekpos): Change to type _IO_off64_t.
9377         (_IO_default_seekoff): Likewise.
9378         (_IO_default_seek): Likewise.
9379         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
9380         in initialization.
9381         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
9382         to use _IO_off64_t.
9383         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
9384         char stream.
9385         * libio/ftello64.c: Likewise.
9386         * libio/ioftell.c: Likewise.
9387         * libio/iofopncook.c: Likewise.
9388         * libio/ioseekoff.c: Likewise.
9389         * libio/ioseekpos.c: Likewise.
9390         * libio/oldfileops.c: Likewise.
9391         * libio/iofgetpos.c: Store state of conversion if necessary.
9392         * libio/iofgetpos64.c: Likewise.
9393         * libio/iofsetpos.c: Restore conversion state if necessary.
9394         * libio/iofsetpos64.c: Likewise.
9395         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9396         * libio/iofopen.c: Likewise.
9397         * libio/iofopen64.c: Likewise.
9398         * libio/iopopen.c: Likewise.
9399         * libio/iovdprintf.c: Likewise.
9400         * libio/iovsprintf.c: Likewise.
9401         * libio/iovsscanf.c: Likewise.
9402         * libio/memstream.c: Likewise.
9403         * libio/obprintf.c: Likewise.
9404         * libio/iofputs.c: Orient stream if not already happened.
9405         * libio/iofputs_u.c: Likewise.
9406         * libio/iofwrite.c: Likewise.
9407         * libio/iofwrite_u.c: Likewise.
9408         * libio/ioputs.c: Likewise.
9409         * libio/iosetbuffer.c: Handle not yet oriented stream.
9410         * libio/iosetvbuf.c: Likewise.
9411         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9412         * libio/stdfiles.c: Likewise.
9413         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9414         failed allocation.
9415         (_IO_str_seekoff): Use _IO_off64_t.
9416         * libio/vasprintf.c: Pre-orient stream.
9417         * libio/vsnprintf.c: Likewise.
9418         * libio/fputwc.c: New file.
9419         * libio/fputwc_u.c: New file.
9420         * libio/fwprintf.c: New file.
9421         * libio/fwscanf.c: New file.
9422         * libio/getwc.c: New file.
9423         * libio/getwc_u.c: New file.
9424         * libio/getwchar.c: New file.
9425         * libio/getwchar_u.c: New file.
9426         * libio/iofgetws.c: New file.
9427         * libio/iofgetws_u.c: New file.
9428         * libio/iofputws.c: New file.
9429         * libio/iofputws_u.c: New file.
9430         * libio/iofwide.c: New file.
9431         * libio/iogetwline.c: New file.
9432         * libio/ioungetwc.c: New file.
9433         * libio/iovswscanf.c: New file.
9434         * libio/iowpadn.c: New file.
9435         * libio/oldiofgetpos.c: New file.
9436         * libio/oldiofgetpos64.c: New file.
9437         * libio/oldiofsetpos.c: New file.
9438         * libio/oldiofsetpos64.c: New file.
9439         * libio/putwc.c: New file.
9440         * libio/putwc_u.c: New file.
9441         * libio/putwchar.c: New file.
9442         * libio/putwchar_u.c: New file.
9443         * libio/swprintf.c: New file.
9444         * libio/swscanf.c: New file.
9445         * libio/tst_swprintf.c: New file.
9446         * libio/tst_swscanf.c: New file.
9447         * libio/tst_wprintf.c: New file.
9448         * libio/tst_wscanf.c: New file.
9449         * libio/tst_wscanf.input: New file.
9450         * libio/vswprintf.c: New file.
9451         * libio/vwprintf.c: New file.
9452         * libio/vwscanf.c: New file.
9453         * libio/wfiledoalloc.c: New file.
9454         * libio/wfileops.c: New file.
9455         * libio/wgenops.c: New file.
9456         * libio/wprintf.c: New file.
9457         * libio/wscanf.c: New file.
9458         * libio/wstrops.c: New file.
9459         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9460         vfwprintf, and vfwscanf.
9461         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9462         make global.
9463         * stdio-common/_itowa.c: New file.
9464         * stdio-common/_itowa.h: New file.
9465         * stdio-common/itoa-digits.c: Minimal optimization.
9466         * stdio-common/itowa-digits.c: New file.
9467         * stdio-common/printf-parse.h: Allow use in wide character context.
9468         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9469         * stdio-common/printf.h (printf_info): Add wide bit.
9470         * stdio-common/printf_fp.c: Determine from wide bit whether stream
9471         is wide oriented or not.
9472         * stdio-common/printf_size.c: Likewise.
9473         * sysdeps/generic/printf_fphex.c: Likewise.
9474         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9475         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9476         context.
9477         * stdio-common/vfscand.c: Likewise.
9478         * stdio-common/vfwprintf.c: New file.
9479         * stdio-common/vfwscanf.c: New file.
9480
9481         * time/Makefile (routines): Add wcsftime.
9482         (tests): Add tst_wcsftime.
9483         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9484         * time/strftime.c: Make usable as wcsftime.
9485         * time/wcsftime.c: New file.
9486         * time/tst_wcsftime.c: New file.
9487
9488         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9489         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9490         * wcsmbs/wcschrnul.c: New file.
9491         * wcsmbs/wmemcpy.c: New file.
9492         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9493         * wcsmbs/wmemmove.c: Likewise for wmemmove.
9494
9495         * manual/stdio.texi: Document is_char and wide element if printf_info.
9496
9497         * manual/time.texi: Document wcsftime.
9498
9499         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9500         __wmemmove, __wcschrnul, and __vfwscanf.
9501
9502         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9503         * locale/C-time.c: Adapt for above change.
9504         * locale/categories.def: Likewise.
9505         * locale/localeinfo.h: Likewise.
9506         * localedata/Makefile: Don't run tests for now.
9507
9508         * manual/errno.texi: Fix typos.
9509         * manual/memory.texi: Likewise.
9510         * manual/ctype.texi: Likewise.
9511         Patches by Brian Youmans <3diff@gnu.org>.
9512
9513 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9514
9515         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9516
9517 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9518
9519         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9520         word order.
9521         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9522         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9523
9524 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9525
9526         * db2/db/db.c: Restore __nss_db_open alias.
9527         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9528         include.
9529         * db2/os/os_rw.c (__os_write): Maintain const correctness.
9530         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9531
9532 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9533
9534         * stdio-common/printf-parse.h (parse_one_spec): Don't set
9535         is_longlong if not necessary.
9536
9537 1999-06-15  H.J. Lu  <hjl@gnu.org>
9538
9539         * Make-dist (sysdep_dirs): Exclude SCCS.
9540         * MakeTAGS (sysdep_dirs): Likewise.
9541
9542 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9543
9544         * posix/regex.c (re_error_msgid): Remove extra commas.
9545
9546 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
9547
9548         * stdlib/tst-strtoll.c: New file.
9549         * stdlib/Makefile (tests): Add tst-strtoll.c
9550         * stdlib/strtol.c: It is not generally true that if
9551         (unsigned)a*(unsigned)b overflows, then the result is
9552         less than 'a'.
9553
9554 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
9555
9556         * nscd/connections.c (handle_request): Only root is allowed to
9557         send GETSTAT request in non secure mode.
9558         * nscd/nscd.c: Print error message if other then root try to
9559         use getstat.
9560
9561 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9562
9563         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9564
9565 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9566
9567         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9568         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9569
9570 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9571
9572         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9573         for character to search, to help the compiler.
9574         * sysdeps/generic/strchrnul.c: Likewise.
9575         * sysdeps/generic/memchr.c: Likewise.
9576         * sysdeps/generic/memccpy.c: Likewise.
9577         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
9578
9579 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9580
9581         * sysdeps/m68k/memchr.S: New file.
9582         * sysdeps/m68k/rawmemchr.S: New file.
9583         * sysdeps/m68k/strchr.S: New file.
9584         * sysdeps/m68k/strchrnul.S: New file.
9585
9586 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
9587
9588         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9589         add `memory' clobber; optimise for constant `val'.
9590         (atomic_add): Likewise.
9591         (test_and_set): Remove `volatile'; add `memory' clobber; be more
9592         like the original `test_and_set'.
9593         (compare_and_swap): Remove `volatile'; add `memory' clobber;
9594         optimise for constant `oldval'.
9595         (always_swap): Remove `volatile'; add `memory' clobber.
9596
9597 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9598
9599         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9600         functions for gcc <= 2.7.x.
9601
9602 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
9603
9604         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9605         change.
9606
9607 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
9608
9609         * db2/Makefile (distribute): Remove files which do not exist
9610         anymore.
9611
9612         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9613         definitions to calm down gcc.
9614
9615         * db2/db.h: Update from db 2.7.5.
9616         * db2/db_185.h: Likewise.
9617         * db2/db_int.h: Likewise.
9618         * db2/btree/bt_compare.c: Likewise.
9619         * db2/btree/bt_conv.c: Likewise.
9620         * db2/btree/bt_curadj.c: Likewise.
9621         * db2/btree/bt_cursor.c: Likewise.
9622         * db2/btree/bt_delete.c: Likewise.
9623         * db2/btree/bt_open.c: Likewise.
9624         * db2/btree/bt_page.c: Likewise.
9625         * db2/btree/bt_put.c: Likewise.
9626         * db2/btree/bt_rec.c: Likewise.
9627         * db2/btree/bt_recno.c: Likewise.
9628         * db2/btree/bt_rsearch.c: Likewise.
9629         * db2/btree/bt_search.c: Likewise.
9630         * db2/btree/bt_split.c: Likewise.
9631         * db2/btree/bt_stat.c: Likewise.
9632         * db2/btree/btree_auto.c: Likewise.
9633         * db2/common/db_appinit.c: Likewise.
9634         * db2/common/db_apprec.c: Likewise.
9635         * db2/common/db_err.c: Likewise.
9636         * db2/common/db_region.c: Likewise.
9637         * db2/common/db_salloc.c: Likewise.
9638         * db2/db/db.c: Likewise.
9639         * db2/db/db.src: Likewise.
9640         * db2/db/db_am.c: Likewise.
9641         * db2/db/db_auto.c: Likewise.
9642         * db2/db/db_dispatch.c: Likewise.
9643         * db2/db/db_dup.c: Likewise.
9644         * db2/db/db_iface.c: Likewise.
9645         * db2/db/db_join.c: Likewise.
9646         * db2/db/db_overflow.c: Likewise.
9647         * db2/db/db_pr.c: Likewise.
9648         * db2/db/db_rec.c: Likewise.
9649         * db2/db/db_ret.c: Likewise.
9650         * db2/db185/db185.c: Likewise.
9651         * db2/dbm/dbm.c: Likewise.
9652         * db2/hash/hash.c: Likewise.
9653         * db2/hash/hash_auto.c: Likewise.
9654         * db2/hash/hash_dup.c: Likewise.
9655         * db2/hash/hash_page.c: Likewise.
9656         * db2/hash/hash_rec.c: Likewise.
9657         * db2/hash/hash_stat.c: Likewise.
9658         * db2/include/btree.h: Likewise.
9659         * db2/include/btree_ext.h: Likewise.
9660         * db2/include/clib_ext.h: Likewise.
9661         * db2/include/common_ext.h: Likewise.
9662         * db2/include/db_am.h: Likewise.
9663         * db2/include/db_auto.h: Likewise.
9664         * db2/include/db_cxx.h: Likewise.
9665         * db2/include/db_ext.h: Likewise.
9666         * db2/include/db_join.h: Likewise.
9667         * db2/include/db_page.h: Likewise.
9668         * db2/include/hash.h: Likewise.
9669         * db2/include/hash_ext.h: Likewise.
9670         * db2/include/lock.h: Likewise.
9671         * db2/include/lock_ext.h: Likewise.
9672         * db2/include/log.h: Likewise.
9673         * db2/include/log_ext.h: Likewise.
9674         * db2/include/mp.h: Likewise.
9675         * db2/include/mp_ext.h: Likewise.
9676         * db2/include/os.h: Likewise.
9677         * db2/include/os_ext.h: Likewise.
9678         * db2/include/os_func.h: Likewise.
9679         * db2/include/txn.h: Likewise.
9680         * db2/include/txn_auto.h: Likewise.
9681         * db2/include/txn_ext.h: Likewise.
9682         * db2/include/xa.h: Likewise.
9683         * db2/include/xa_ext.h: Likewise.
9684         * db2/lock/lock.c: Likewise.
9685         * db2/lock/lock_conflict.c: Likewise.
9686         * db2/lock/lock_deadlock.c: Likewise.
9687         * db2/lock/lock_region.c: Likewise.
9688         * db2/lock/lock_util.c: Likewise.
9689         * db2/log/log.c: Likewise.
9690         * db2/log/log_archive.c: Likewise.
9691         * db2/log/log_auto.c: Likewise.
9692         * db2/log/log_findckp.c: Likewise.
9693         * db2/log/log_get.c: Likewise.
9694         * db2/log/log_put.c: Likewise.
9695         * db2/log/log_rec.c: Likewise.
9696         * db2/log/log_register.c: Likewise.
9697         * db2/mp/mp_bh.c: Likewise.
9698         * db2/mp/mp_fget.c: Likewise.
9699         * db2/mp/mp_fopen.c: Likewise.
9700         * db2/mp/mp_fput.c: Likewise.
9701         * db2/mp/mp_fset.c: Likewise.
9702         * db2/mp/mp_open.c: Likewise.
9703         * db2/mp/mp_pr.c: Likewise.
9704         * db2/mp/mp_region.c: Likewise.
9705         * db2/mp/mp_sync.c: Likewise.
9706         * db2/mutex/mutex.c: Likewise.
9707         * db2/mutex/uts4_cc.s: Likewise.
9708         * db2/os/os_abs.c: Likewise.
9709         * db2/os/os_alloc.c: Likewise.
9710         * db2/os/os_config.c: Likewise.
9711         * db2/os/os_dir.c: Likewise.
9712         * db2/os/os_fid.c: Likewise.
9713         * db2/os/os_fsync.c: Likewise.
9714         * db2/os/os_map.c: Likewise.
9715         * db2/os/os_oflags.c: Likewise.
9716         * db2/os/os_open.c: Likewise.
9717         * db2/os/os_rw.c: Likewise.
9718         * db2/os/os_seek.c: Likewise.
9719         * db2/os/os_sleep.c: Likewise.
9720         * db2/os/os_spin.c: Likewise.
9721         * db2/os/os_stat.c: Likewise.
9722         * db2/os/os_tmpdir.c: Likewise.
9723         * db2/os/os_unlink.c: Likewise.
9724         * db2/progs/db_archive/db_archive.c: Likewise.
9725         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9726         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9727         * db2/progs/db_dump/db_dump.c: Likewise.
9728         * db2/progs/db_load/db_load.c: Likewise.
9729         * db2/progs/db_printlog/README: Likewise.
9730         * db2/progs/db_printlog/commit.awk: Likewise.
9731         * db2/progs/db_printlog/count.awk: Likewise.
9732         * db2/progs/db_printlog/db_printlog.c: Likewise.
9733         * db2/progs/db_printlog/pgno.awk: Likewise.
9734         * db2/progs/db_printlog/range.awk: Likewise.
9735         * db2/progs/db_printlog/status.awk: Likewise.
9736         * db2/progs/db_printlog/txn.awk: Likewise.
9737         * db2/progs/db_recover/db_recover.c: Likewise.
9738         * db2/progs/db_stat/db_stat.c: Likewise.
9739         * db2/txn/txn.c: Likewise.
9740         * db2/txn/txn.src: Likewise.
9741         * db2/txn/txn_auto.c: Likewise.
9742         * db2/txn/txn_rec.c: Likewise.
9743         * db2/xa/xa.c: Likewise.
9744         * db2/xa/xa_db.c: Likewise.
9745         * db2/xa/xa_map.c: Likewise.
9746
9747         * db2/btree/bt_close.c: Removed.
9748         * db2/db/db_thread.c: Likewise.
9749         * db2/hash/hash_debug.c: Likewise.
9750         * db2/include/db.h.src: Likewise.
9751         * db2/include/db_int.h.src: Likewise.
9752         * db2/include/os_jump.h: Likewise.
9753         * db2/mutex/alpha.dec: Likewise.
9754         * db2/mutex/alpha.gcc: Likewise.
9755         * db2/mutex/parisc.hp: Likewise.
9756         * db2/mutex/uts4.cc.s: Likewise.
9757
9758         * db2/Makefile: Add new routines, remove old for 2.7.5.
9759         * db2/Versions: Add internal function names for the helper programs.
9760         * db2/makedb.c: Update for new cursor callback.
9761         * Versions.def: Define versions for libdb.
9762
9763 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
9764
9765         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9766         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9767         * nscd/nscd_nischeck.c: New file.
9768         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9769
9770 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9771
9772         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9773         MSG_* flags from Linux 2.2.9.
9774
9775 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
9776
9777         * Makeconfig (static-start-installed-name): Set to
9778         $(start-installed-name) if not defined.
9779         (+link-static): Use $(static-start-installed-name) instead of
9780         $(start-installed-name).
9781         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9782         Set to crt0.o.
9783
9784 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
9785
9786         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9787         inserting a send right into the child instead of unconditionally
9788         copying the send right.
9789
9790 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
9791
9792         * locale/lc-time.c: Add free_mem function to free if necessary
9793         statically allocated memory.
9794
9795 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
9796
9797         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9798         bias from the raw exponent.
9799
9800 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
9801
9802         * inet/arpa/tftp.h: Move attribute declaration in right position.
9803
9804 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
9805
9806         * nscd/nscd.c: Add -S options for separate caching of data for
9807         every user. So one user couldn't see the data another user
9808         has gotten with his credentials.
9809         * nscd/nscd.h: Add new prototypes.
9810         * nscd/cache.c: Compare owner of cache entry if in secure mode.
9811         * nscd/connections.c: Check on shutdown if caller really was root.
9812         In secure mode get uid of caller.
9813         * nscd/grpcache.c: Add support for new secure group mode.
9814         * nscd/hstcache.c: Add support for new secure hosts mode.
9815         * nscd/pwdcache.c: Add support for new secure passwd mode.
9816
9817 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
9818
9819         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9820         of user-provided buffer.
9821
9822 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
9823
9824         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9825         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9826
9827 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
9828
9829         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9830         and A format.
9831
9832         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9833         returning after last entry.
9834         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9835
9836 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
9837
9838         * misc/sysexits.h: Remove advertising clause of copyright.
9839         * resolv/getnetnamadr.c: Likewise.
9840         * sysdeps/vax/bcopy.s: Likewise.
9841         * sysdeps/vax/bzero.s: Likewise.
9842         * sysdeps/vax/ffs.s: Likewise.
9843         * sysdeps/vax/memchr.s: Likewise.
9844         * sysdeps/vax/memcmp.s: Likewise.
9845         * sysdeps/vax/memmove.s: Likewise.
9846         * sysdeps/vax/memset.s: Likewise.
9847         * sysdeps/vax/strcat.s: Likewise.
9848         * sysdeps/vax/strchr.s: Likewise.
9849         * sysdeps/vax/strcmp.s: Likewise.
9850         * sysdeps/vax/strcpy.s: Likewise.
9851         * sysdeps/vax/strcspn.s: Likewise.
9852         * sysdeps/vax/strlen.s: Likewise.
9853         * sysdeps/vax/strncat.s: Likewise.
9854         * sysdeps/vax/strncmp.s: Likewise.
9855         * sysdeps/vax/strncpy.s: Likewise.
9856         * sysdeps/vax/strpbrk.s: Likewise.
9857         * sysdeps/vax/strrchr.s: Likewise.
9858         * sysdeps/vax/strsep.s: Likewise.
9859         * sysdeps/vax/strspn.s: Likewise.
9860         * sysdeps/vax/strstr.s: Likewise.
9861
9862         * libio/iofopncook.c: Adjust for renaming of structure elements.
9863         * libio/libio.h: Define cookie functions with all the names.
9864
9865         * pwd/fgetpwent_r.c: Set errno in the correct way.
9866         * shadow/fgetspent_r.c: Likewise.
9867         * pwd/fgetpwent.c: Handle long lines correctly.  Little
9868         optimizations.  Free static buffer when debugging memory handling.
9869         * shadow/fgetspent.c: Likewise.
9870
9871         * grp/fgetgrent.c: Little optimization in loop.
9872
9873 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9874
9875         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9876         in a different way.
9877
9878 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
9879
9880         * stdlib/longlong.h: gas changed sethi handling when without
9881         %hi(). Fix assembly.
9882         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9883         port specific cache id checks.
9884         * sysdeps/generic/dl-cache.h: New file.
9885         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9886
9887 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9888
9889         * gmon/gmon.c: Remove advertising clause of copyright.
9890         * gmon/mcount.c: Likewise.
9891         * gmon/sys/gmon.h: Likewise.
9892         * inet/arpa/ftp.h: Likewise.
9893         * inet/arpa/telnet.h: Likewise.
9894         * inet/arpa/tftp.h: Likewise.
9895         * inet/inet_lnaof.c: Likewise.
9896         * inet/inet_mkadr.c: Likewise.
9897         * inet/inet_net.c: Likewise.
9898         * inet/inet_netof.c: Likewise.
9899         * inet/protocols/routed.h: Likewise.
9900         * inet/protocols/rwhod.h: Likewise.
9901         * inet/protocols/talkd.h: Likewise.
9902         * inet/protocols/timed.h: Likewise.
9903         * inet/rcmd.c: Likewise.
9904         * inet/rexec.c: Likewise.
9905         * inet/ruserpass.c: Likewise.
9906         * io/fts.c: Likewise.
9907         * io/fts.h: Likewise.
9908         * login/login_tty.c: Likewise.
9909         * misc/fstab.h: Likewise.
9910         * misc/getttyent.c: Likewise.
9911         * misc/getusershell.c: Likewise.
9912         * misc/sys/queue.h: Likewise.
9913         * misc/sys/syslog.h: Likewise.
9914         * misc/syslog.c: Likewise.
9915         * misc/ttyent.h: Likewise.
9916         * misc/ttyslot.c: Likewise.
9917         * resolv/arpa/nameser.h: Likewise.
9918         * resolv/gethnamaddr.c: Likewise.
9919         * resolv/herror.c: Likewise.
9920         * resolv/inet_addr.c: Likewise.
9921         * resolv/mapv4v6addr.h: Likewise.
9922         * resolv/mapv4v6hostent.h: Likewise.
9923         * resolv/nss_dns/dns-host.c: Likewise.
9924         * resolv/nss_dns/dns-network.c: Likewise.
9925         * resolv/res_comp.c: Likewise.
9926         * resolv/res_data.c: Likewise.
9927         * resolv/res_debug.c: Likewise.
9928         * resolv/res_init.c: Likewise.
9929         * resolv/res_mkquery.c: Likewise.
9930         * resolv/res_query.c: Likewise.
9931         * resolv/res_send.c: Likewise.
9932         * resolv/resolv.h: Likewise.
9933         * sysdeps/generic/div.c: Likewise.
9934         * sysdeps/generic/netinet/ip.h: Likewise.
9935         * sysdeps/generic/netinet/tcp.h: Likewise.
9936         * sysdeps/generic/paths.h: Likewise.
9937         * sysdeps/generic/prof-freq.c: Likewise.
9938         * sysdeps/generic/sys/ttydefaults.h: Likewise.
9939         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9940         * sysdeps/gnu/netinet/tcp.h: Likewise.
9941         * sysdeps/ieee754/support.c: Likewise.
9942         * sysdeps/mach/hurd/sys/param.h: Likewise.
9943         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9944         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9945         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9946         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9947         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9948         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9949         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9950         * sysdeps/unix/sysv/linux/paths.h: Likewise.
9951         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9952         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9953         * sysdeps/vax/DEFS.h: Likewise.
9954         * termios/sys/ttychars.h: Likewise.
9955         * misc/daemon.c: Likewise.  Call fork.
9956
9957         * grp/fgetgrent.c (buffer): Make file local variable.
9958         (free_mem): New function.  Call for malloc debugging.
9959
9960         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9961
9962 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9963
9964         * grp/Makefile: Add rules for tst_fgetgrent.
9965
9966         * grp/tst_fgetgrent.c: Rewritten to read only one file.
9967
9968         * grp/tst_fgetgrent.sh: New file.
9969
9970 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9971
9972         * grp/Makefile (tests): Add tst_fgetgrent.
9973         * grp/tst_fgetgrent.c: New file.
9974         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9975
9976 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
9977
9978         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9979         be POSIX compliant.  Prior definition was broken for Hurd.
9980         Reported by Mark Kettenis <kettenis@gnu.org>.
9981
9982 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9983
9984         * ctype/ctype.h: Protect __tobody code by __extension__.
9985
9986 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9987
9988         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9989         reading and reset in case the buffer was too small.
9990
9991         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9992         of EOF.
9993
9994 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9995
9996         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9997         another SIOGIFNAME typo.
9998
9999 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
10000
10001         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
10002
10003         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
10004         bit.
10005
10006 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10007
10008         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
10009         the precision if the mantissa is zero.
10010
10011 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10012
10013         * manual/lang.texi (Floating Point Parameters): GCC already
10014         supports long double for a long time.
10015
10016 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10017
10018         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
10019         yn_test): Increase some epsilons.
10020
10021 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
10022
10023         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
10024         parameters.
10025
10026 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
10027
10028         * sysdeps/unix/sysv/linux/kernel-features.h: Define
10029         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
10030         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
10031         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
10032
10033         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
10034         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
10035         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
10036         * sysdeps/libm-ieee754/w_j1.c: Likewise.
10037         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
10038         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
10039         * sysdeps/libm-ieee754/w_jn.c: Likewise.
10040         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
10041         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
10042
10043         * stdio-common/vfprintf.c: Correct typos.
10044
10045         * math/libm-test.c (jn_test): Adjust delta.
10046         (y1_test): Likewise.
10047         (yn_test): Likewise.
10048
10049         * elf/do-lookup.h: It should never happen that if we expect a versioned
10050         symbol from a file the file has no version table.  This should have
10051         been checked in dl-version.c.
10052         * elf/dl-lookup.c: Include assert.h.
10053
10054         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
10055         function handling.
10056
10057         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
10058
10059 1999-06-06  Andi Kleen  <ak@muc.de>
10060
10061         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
10062         SA_RESTORER flag.
10063
10064 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10065
10066         * math/libm-test.c (yn_test): Change one delta.
10067         (jn_test): Likewise.
10068         (j1_test): Likewise.
10069         (y0_test): Likewise.
10070
10071 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
10072
10073         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
10074         avoid multiple calls to getpagesize() which might be a syscall.
10075
10076 1999-06-06  Philip Blundell  <philb@gnu.org>
10077
10078         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
10079
10080 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10081
10082         * manual/install.texi (Running make install): Correct typo in
10083         dynamic linker invocation.
10084
10085 1999-06-05  Philip Blundell  <philb@gnu.org>
10086
10087         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
10088         problems with GOT addressing.
10089
10090 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10091
10092         * malloc/malloc.c (check_action): Change into bitmap so that both
10093         diagnostic and abort can be requested by setting it to 3.
10094         (mALLOC_SET_STATe): Disable malloc checking if necessary.
10095
10096 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
10097
10098         * configure.in: Few changes for HPUX.
10099
10100         * scripts/config.guess: Update from latest version.
10101         * scripts/config.sub: Likewise.
10102
10103 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10104
10105         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
10106         map files.  Closes PR libc/1147.
10107
10108 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10109
10110         * math/libm-test.c (main): Add new test functions.
10111         (jn_test): New tests.
10112         (j1_test): Add some more tests.
10113         (j0_test): Add some more tests.
10114         (y0_test): Add some more tests.
10115         (y1_test): Add some more tests.
10116
10117 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10118
10119         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
10120         Patch by mhagger@dera.gov.uk [PR libc/1145].
10121
10122         * math/libm-test.c (y1_test): New tests.
10123         (y0_test): Likewise.
10124         (j1_test): Likewise.
10125         (j0_test): Likewise.
10126         (main): Added new tests.
10127
10128 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
10129
10130         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
10131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
10132         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
10133         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
10134         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
10135         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
10136
10137 1999-06-02  David S. Miller  <davem@redhat.com>
10138
10139         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
10140         pointers properly.
10141
10142 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
10143
10144         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
10145         and elide compatibility code if possible.
10146
10147 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
10148
10149         * manual/llio.texi: Remove menu entry for removed section.
10150
10151 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10152
10153         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
10154         variables.
10155
10156 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10157
10158         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
10159         (from Linux 2.3.4).
10160
10161 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
10162
10163         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
10164
10165 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10166
10167         * manual/stdio.texi: Fix some typos.
10168
10169 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10170
10171         * malloc/malloc.h: Properly handle future GCC versions.
10172
10173 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10174
10175         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
10176         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
10177         text of error message.
10178
10179         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
10180
10181 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
10182
10183         * manual/filesys.texi: Extend (f)truncate documentation.
10184         * manual/llio.texi: Remove duplicate (f)truncate definition.
10185
10186 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10187
10188         * manual/stdio.texi (Formatted Output Functions): Mention
10189         semantics of snprintf in glibc 2.0.
10190         Reported by Ben Pfaff <pfaffben@msu.edu>.
10191
10192 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
10193
10194         * include/features.h (__GLIBC_MINOR__): Bump to 2.
10195
10196 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
10197
10198         * math/libm-test.c: Adjust a few more deltas for the poor ARM
10199         FPU emulator.
10200
10201 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10202
10203         * configure.in: Fix typo.
10204
10205 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10206
10207         * manual/socket.texi (Host Names): Remove statement that h_errno
10208         needs to be declared since this isn't true anymore.
10209         Closes PR libc/1138.
10210
10211 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
10212
10213         * config.h.in: Add __LINUX_KERNEL_VERSION.
10214         * configure.in: Recognize --enable-kernel.
10215         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10216         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10217         appropriately.
10218         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10219         given perform runtime test.
10220
10221         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10222         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10223         minimal supported kernel is known to have the feature.
10224         * sysdeps/unix/sysv/linux/poll.c: Likewise.
10225         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10226         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10227         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10228         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10229         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10230         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10231         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10232         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10233         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10234         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10235         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10236         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10237         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10238         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10239
10240         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10241
10242 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10243
10244         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10245
10246 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
10247
10248         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10249         Optimized sparc64 routines.
10250
10251 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10252
10253         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10254         they are the same as ints.
10255         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10256
10257         * version.h (VERSION): Bump to 2.1.90.
10258         (RELEASE): Mark as development.
10259
10260         * stdio-common/vfprintf.c (vfprintf): Don't implement special
10261         handling for long long if it is the same as long.
10262         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10263
10264         * stdlib/strtol.c: Moved to ...
10265         * sysdeps/generic/strtol.c: ...here.
10266         * stdlib/strtoul.c: Moved to ...
10267         * sysdeps/generic/strtoul.c: ...here.
10268         * stdlib/strtoll.c: Moved to ...
10269         * sysdeps/generic/strtoll.c: ...here.
10270         * stdlib/strtoull.c: Moved to ...
10271         * sysdeps/generic/strtoull.c: ...here.
10272         * stdlib/strtol_l.c: Moved to ...
10273         * sysdeps/generic/strtol_l.c: ...here.
10274         * stdlib/strtoul_l.c: Moved to ...
10275         * sysdeps/generic/strtoul_l.c: ...here.
10276         * stdlib/strtoll_l.c: Moved to ...
10277         * sysdeps/generic/strtoll_l.c: ...here.
10278         * stdlib/strtoull_l.c: Moved to ...
10279         * sysdeps/generic/strtoull_l.c: ...here.
10280
10281         * sysdeps/wordsize-64/strtol.c: New file.
10282         * sysdeps/wordsize-64/strtoul.c: New file.
10283         * sysdeps/wordsize-64/strtoll.c: New file.
10284         * sysdeps/wordsize-64/strtoull.c: New file.
10285         * sysdeps/wordsize-64/strtol_l.c: New file.
10286         * sysdeps/wordsize-64/strtoul_l.c: New file.
10287         * sysdeps/wordsize-64/strtoll_l.c: New file.
10288         * sysdeps/wordsize-64/strtoull_l.c: New file.
10289
10290         * wcsmbs/wcstol.c: Moved to ...
10291         * sysdeps/generic/wcstol.c: ...here.
10292         * wcsmbs/wcstoul.c: Moved to ...
10293         * sysdeps/generic/wcstoul.c: ...here.
10294         * wcsmbs/wcstoll.c: Moved to ...
10295         * sysdeps/generic/wcstoll.c: ...here.
10296         * wcsmbs/wcstoull.c: Moved to ...
10297         * sysdeps/generic/wcstoull.c: ...here.
10298         * wcsmbs/wcstol_l.c: Moved to ...
10299         * sysdeps/generic/wcstol_l.c: ...here.
10300         * wcsmbs/wcstoul_l.c: Moved to ...
10301         * sysdeps/generic/wcstoul_l.c: ...here.
10302         * wcsmbs/wcstoll_l.c: Moved to ...
10303         * sysdeps/generic/wcstoll_l.c: ...here.
10304         * wcsmbs/wcstoull_l.c: Moved to ...
10305         * sysdeps/generic/wcstoull_l.c: ...here.
10306
10307         * sysdeps/wordsize-64/wcstol.c: New file.
10308         * sysdeps/wordsize-64/wcstoul.c: New file.
10309         * sysdeps/wordsize-64/wcstoll.c: New file.
10310         * sysdeps/wordsize-64/wcstoull.c: New file.
10311         * sysdeps/wordsize-64/wcstol_l.c: New file.
10312         * sysdeps/wordsize-64/wcstoul_l.c: New file.
10313         * sysdeps/wordsize-64/wcstoll_l.c: New file.
10314         * sysdeps/wordsize-64/wcstoull_l.c: New file.
10315
10316 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
10317
10318         * sysdeps/sparc/bits/wordsize.h: New file.
10319         * sysdeps/sparc/fpu/bits/fenv.h: New file.
10320         * sysdeps/sparc/fpu/fpu_control.h: New file.
10321         * sysdeps/sparc/gmp-mparam.h: New file.
10322
10323         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10324         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10325         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10326         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10327         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10328         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10329
10330         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10331         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10332         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10333         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10334
10335         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10336         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10337         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10338         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10339         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10340
10341 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
10342
10343         * login/openpty.c (openpty): Make sure pty does not because
10344         controlling TTY.
10345
10346         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10347
10348 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
10349
10350         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10351         Do proper error return.
10352
10353 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10354
10355         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10356         of __P in the rest of glibc; define __MALLOC_PMT and use it.
10357         Reported by Stephan Kulow <coolo@kde.org>.
10358
10359 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
10360
10361         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10362
10363         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10364
10365 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10366
10367         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10368         names to protect from user's macro namespace.
10369         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10370         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10371         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10372         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10373         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10374         Adapted.
10375         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10376         sysdeps/arm/fpu/fesetenv.c: Likewise.
10377         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10378         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10379         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10380         * sysdeps/mips/fesetenv.c: Likewise.
10381
10382 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
10383
10384         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10385
10386 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
10387
10388         * configure.in: Recognize and allow gcc 2.95.
10389
10390 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10391
10392         * sysdeps/generic/bits/elfclass.h: Version common to
10393         wordsize-32 and wordsize-64.
10394         * sysdeps/generic/bits/environments.h: Ditto.
10395         * sysdeps/generic/stdint.h: Ditto.
10396         * sysdeps/generic/inttypes.h: Ditto.
10397
10398         * sysdeps/generic/bits/wordsize.h: New file.
10399         * stdlib/Makefile: Add bits/wordsize.h to headers.
10400
10401         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10402
10403         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10404         headers to be used for 32bit and 64bit ABI compilations.
10405         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10406         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10407         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10408         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10409         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10410
10411         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10412         * sysdeps/wordsize-64/bits/environments.h: Remove.
10413         * sysdeps/wordsize-64/stdint.h: Remove.
10414         * sysdeps/wordsize-64/inttypes.h: Remove.
10415         * sysdeps/wordsize-64/bits/wordsize.h: New file.
10416
10417         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10418         * sysdeps/wordsize-32/bits/environments.h: Remove.
10419         * sysdeps/wordsize-32/stdint.h: Remove.
10420         * sysdeps/wordsize-32/inttypes.h: Remove.
10421         * sysdeps/wordsize-32/bits/wordsize.h: New file.
10422
10423 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10424
10425         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10426         __align_cpy_16): New functions.
10427         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10428
10429         * sysdeps/sparc/sparc32/Versions: New file.
10430         * sysdeps/sparc/sparc64/Versions: New file.
10431         * sysdeps/sparc/Versions: Remove.
10432
10433 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10434
10435         * sysdeps/unix/sysv/linux/configure.in:
10436         On sparc64-*-linux*, set slibdir to /lib64 if prefix
10437         is /usr, plus set libdir to ${exec_prefix}/lib64.
10438         * sysdeps/unix/sysv/linux/configure: Regenerated.
10439         * config.make.in: Propagate libdir settings from configure
10440         to the Makefiles.
10441         * shlib-versions: sparc64-*-linux* dynamic linker is
10442         /lib64/ld-linux.so.2.
10443
10444 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
10445
10446         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10447         RPC connection.
10448
10449 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
10450
10451         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10452         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10453
10454         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10455         contains garbage in bits 8-63.
10456         * sysdeps/sparc/sparc64/memset.S: Ditto.
10457         * sysdeps/sparc/sparc64/strchr.S: Ditto.
10458
10459 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
10460
10461         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10462
10463 1999-05-17  David S. Miller  <davem@redhat.com>
10464
10465         * sysdeps/sparc/sparc32/atomicity.h: New file.
10466         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10467         * sysdeps/sparc/sparc64/atomicity.h: New file.
10468         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10469         sysdep-CFLAGS.
10470
10471 1999-05-18  Richard Henderson  <rth@twiddle.net>
10472
10473         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
10474
10475 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10476
10477         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10478         posix/sys/types.h: Handle the case of __GNUC__=3,
10479         __GNUC_MINOR__=(anything).
10480
10481 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10482
10483         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10484         if _FORCE_INLINES.
10485
10486 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10487
10488         * elf/Makefile (distribute): Remove dl-origin.h.
10489         Add dl-dst.h and gen-trusted-dirs.awk.
10490
10491 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10492
10493         * sysdeps/i386/i486/Versions: New file with inline functions from
10494         sysdeps/i386/i486/bits/string.h for now.
10495
10496         * sysdeps/i386/Versions: Add inline functions from
10497         sysdeps/i386/bits/string.h.
10498
10499         * string/Versions: Add inline functions from <bits/string2.h>.
10500
10501         * string/Makefile (routines): Add string-inlines.
10502         * string/string-inlines.c: New file, used for implementation of
10503         extern inline functions.
10504
10505         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10506         non inlined versions of functions.
10507         * string/bits/string2.h: Likewise.
10508         * sysdeps/i386/bits/string.h: Likewise.
10509
10510 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10511
10512         * inet/arpa/tftp.h: Add second packed attribute.
10513
10514 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10515
10516         * malloc/malloc.c: Cleanup to bring in line with released
10517         stand-alone version `ptmalloc'.  Update some comments.
10518         (internal_function): Move fallback definition so that the source
10519         compiles outside of libc, and use it in more places.
10520         (malloc_atfork): Fix when malloc_check is in use.
10521
10522 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10523
10524         * stdlib/tst-strtod.c: Fix typo.
10525
10526 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10527
10528         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10529         const incorrectness.
10530
10531 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10532
10533         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10534
10535 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
10536
10537         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10538         * sunrpc/key_call.c: Fix memory leak, close file handle.
10539         * nis/nis_creategroup.c: Use malloc instead of calloc,
10540         set ctime and mtime.
10541         * nis/nis_subr.c: Check for realloc result.
10542         * nis/nis_file.c: Fix memory leak.
10543         * nis/nis_table.c: Pretty print.
10544         * nis/nis_getservlist.c: Likewise.
10545         * nis/nis_ismember.c: Likewise.
10546         * nis/nis_lookup.c: Likewise.
10547         * nis/nis_ping.c: Likewise.
10548         * nis/nis_removemember.c: Likewise.
10549         * nis/nis_util.c: Likewise, check calloc result.
10550
10551 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10552
10553         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10554         * sysdeps/generic/sys/socketvar.h: ... here.
10555         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10556         * sysdeps/generic/netinet/in_systm.h: ... here.
10557         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10558         sys/socketvar.h.
10559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10560         * inet/Makefile (headers): Add netinet/in_systm.h here.
10561         * socket/Makefile (headers): Add sys/socketvar.h here.
10562
10563 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
10564
10565         * stdlib/strtol.c: Optimize inner loop of long long versions.
10566
10567         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10568         Unix98.  Add forward declaration of struct utmp.
10569
10570 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10571
10572         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10573         calloc.
10574
10575         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10576         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
10577         memory allocation results.
10578
10579 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
10580
10581         * sysdeps/generic/getutmp.c: Include <string.h>
10582         (getutmp): Rewrite to only copy those members that are really
10583         present in `struct utmp'.
10584         * sysdeps/generic/getutmpx.c: Likewise.
10585
10586 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10587
10588         * nss/getXXbyYY.c: Add free_mem function which disposes all
10589         statically allocated memory when debugging.
10590         * nss/getXXent.c: Likewise.
10591         * nss/nsswitch.c: Likewise.
10592
10593 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
10594
10595         * sysdeps/gnu/getutmpx.c: New file.
10596         * sysdeps/gnu/getutmp.c: New file.
10597
10598 1999-05-13  H.J. Lu  <hjl@gnu.org>
10599
10600         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10601         (getutmp): Likewise.
10602
10603         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10604         getutmpx for login.
10605
10606         * sysdeps/gnu/utmpx.h (getutmp): Added.
10607         (getutmpx): Likewise.
10608
10609         * sysdeps/generic/getutmp.c: New file.
10610
10611         * sysdeps/generic/getutmpx.c: New file.
10612
10613 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10614
10615         * glibcbug.in (BUGGLIBC): Change address to
10616         libc-alpha@sourceware.cygnus.com.
10617
10618 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10619
10620         * resolv/arpa/nameser.h: Add C++ protectors.
10621
10622 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10623
10624         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
10625         Elad Tsur <eladts@post.tau.ac.il>.
10626
10627 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
10628
10629         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10630         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10631         lazily if LD_BIND_NOW is not set.
10632         * elf/dl-support.c (_dl_lazy): New variable.
10633         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10634         * elf/rtld.c (_dl_lazy): new global variable.
10635         ( dl_main): Remove lazy, replace it by _dl_lazy.
10636
10637 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10638
10639         * locale/setlocale.c (new_composite_name): Check also whether the
10640         first category name differs.
10641
10642 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10643
10644         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10645         the generic one.
10646
10647 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
10648
10649         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10650         structure; storage suitable for any socket address.
10651         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10654         sockaddr_storage): Likewise.
10655
10656         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10657         platform.
10658
10659 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
10660
10661         * hesiod/Versions: Change _nss_hesiod_getpwuid and
10662         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10663         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
10664
10665 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
10666
10667         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10668         if the file is empty.
10669
10670 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
10671
10672         * elf/do-lookup.h: Fix typo in comment.
10673
10674         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10675         f_bsize to help some broken programs.
10676
10677         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10678
10679         * stdio-common/vfprintf.c: Fix typo.
10680
10681 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
10682
10683         * elf/link.h (struct link_map): New field l_phdr_allocated.
10684         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10685         the program header being part of any loaded segment.  If it is not
10686         allocate memory and set l_phdr_allocated flag.
10687         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10688
10689         * nss/digits_dots.c: Correct return value interpretation of
10690         inet_ntoa.  Fix PR libc/1109.
10691
10692 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
10693
10694         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10695
10696 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
10697
10698         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10699         * stdlib/fpioconst.c: Move #endif before end of struct.
10700
10701 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
10702
10703         * Versions.def (ld.so): Add GLIBC_2.1.1.
10704         * elf/Makefile (routines): Add dl-origin.
10705         (tests): Add origtest.  Add dependencies for the program.
10706         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10707         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10708         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
10709         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10710         DT_AUXILIARY, and DT_FILTER filenames.
10711         * elf/dl-load.c (expand_dynamic_string_token): Explode into
10712         two functions and three macros.
10713         (_dl_dst_count, _dl_dst_substitute): New functions.
10714         * elf/dl-dst.h: New file.
10715         * elf/dl-open.c (_dl_open): Take extra parameter with address of
10716         caller.  Pass address in args structure.
10717         (dl_open_worker): Recognize and expand DSTs in filename.
10718         * elf/ldsodefs.h (_dl_open): Adapt prototype.
10719         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10720         (__dlopen_check): Pass caller address to dlopen_doit in args.
10721         * elf/dlopendoit.c: Likewise.
10722         * iconv/gconv_dl.c: Adapt call of _dl_open.
10723         * nss/nsswitch.c: Likewise.
10724         * elf/origtest.c: New file.
10725         * sysdeps/generic/dl-origin.h: Moved to...
10726         * sysdeps/generic/dl-origin.c: ...here.
10727         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10728         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10729
10730         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10731         with specific bases and only few bits set in second word.
10732
10733         * timezone/Makefile (install-others): Create target directory
10734         before creating tzfiles.
10735
10736 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
10737
10738         * nis/nis_file.c (readColdStartFile): Allocate memory only after
10739         the file is opened successfully.
10740
10741         * nis/nis_table.c: Fix some memory leaks.
10742
10743 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
10744
10745         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10746         variable.
10747
10748         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10749         around DST.  Correctly ignore ORIGIN IN SUID binaries.
10750
10751 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
10752
10753         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10754         * sysdeps/generic/strtok.c: Likewise.
10755
10756         * string/tester.c: Add test of rawmemchr.
10757
10758         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10759         specification.  It's not necessary.
10760
10761         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10762         * elf/gen-trusted-dirs.awk: New file.
10763         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
10764         from SYSTEM_DIRS macro.
10765         (system_dirs_len): New variable.  Contains lengths of system_dirs
10766         strings.
10767         (fillin_rpath): Rewrite for systems_dirs being a simple string.
10768         Improve string comparisons.  Change parameter trusted to be a flag.
10769         Change all callers.
10770         (_dt_init_paths): Improve using new format for system_dirs.
10771
10772         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10773         $ORIGIN for SUID binaries.
10774
10775         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10776
10777 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10778
10779         * sunrpc/Makefile: Generate dependencies for all flavors of
10780         librpcsvc objects.
10781         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10782         invocations.
10783
10784 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10785
10786         * elf/dlopenold.c: Move #if down after includes to get
10787         dependencies right.
10788
10789 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10790
10791         * sysdeps/generic/bzero.c: Undefine __bzero.
10792
10793 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
10794
10795         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10796         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10797         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10798         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10799
10800         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10801         parameter to struct gaih_servtuple *.  Adapt appropriately.
10802         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10803         This fixes a memory leak.
10804         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10805
10806         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10807         and fpregset_t definition.  They are defined in ucontext.h.
10808
10809 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10810
10811         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10812         and struct ether_header must be packed on the ARM.  The default
10813         alignment constraints add padding to the end of the structures.
10814
10815 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10816
10817         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
10818         default alignment constraints add padding to the end of the
10819         structure and between members.
10820
10821 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
10822
10823         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10824         _dl_cache_libcmp instead of strcmp.
10825
10826         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10827         fails on a file.
10828         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10829
10830 1998-03-30  Joel Klecker  <espy@debian.org>
10831
10832         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10833         (sysdep-others,install-bin): Add lddlibc4.
10834
10835 1999-05-02  H.J. Lu  <hjl@gnu.org>
10836
10837         * timezone/zic.c (dolink): Remove the symlink destination first.
10838
10839         * catgets/open_catalog.c (__open_catalog): Set catalog->status
10840         to "nonexisting" if failed to open the file.
10841
10842 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
10843
10844         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10845         gcc3.
10846
10847         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10848         Prevent warnings from multiplication with 0x01010101 by another cast.
10849
10850 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10851
10852         * string/bits/string2.h (memset): Revert to previous version if
10853         unaligned writes are not available.
10854
10855 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10856
10857         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10858         better code in presence of the asm.
10859
10860 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10861
10862         * stdlib/fmtmsg.c (keywords): Increase array size for faster
10863         indexing.
10864
10865         * locale/localeinfo.h (_nl_category_names): Increase array element
10866         size for faster indexing.
10867         * locale/setlocale.c (_nl_category_names): Adjusted.
10868
10869 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10870
10871         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10872
10873 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10874
10875         * sysdeps/m68k/stackinfo.h: New file.
10876
10877 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10878
10879         * string/tester.c (test_strchrnul): New function.
10880         (test_memset): Test one more special case.
10881
10882         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10883         25% of all cases.
10884
10885         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10886         base types.
10887
10888         * string/bits/string2.h: Fix bugs I introduced in last change.
10889
10890         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10891         register stall.
10892         Extend memset optimization.
10893         Correct i686 version of memchr.
10894
10895 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
10896
10897         * sysdeps/i386/bzero.c: Add #undef __bzero.
10898
10899         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10900         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10901         exec server simulated a SIGTRAP before we even started up, so gdb is
10902         already happy.
10903
10904 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10905
10906         * nss/digits_dots.c: Always initialize not_ok.
10907
10908 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
10909
10910         * string/bits/string2.h (memset): Avoid arithmetic overflow at
10911         compile time, which produces obnoxious warnings.  If GCCv2 is
10912         in use, map __bzero to __builtin_memset to enable that
10913         optimization.
10914
10915 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10916
10917         * string/bits/string2.h: Add more memset optimizations.
10918
10919         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10920
10921         * resolv/inet_pton.c (inet_pton4): Little optimizations.
10922         (inet_pton6): Likewise.
10923
10924         * nss/getXXbyYY_r.c: Include assert.h.
10925         * nss/getXXbyYY.c: Likewise.
10926
10927 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10928
10929         * termios/tcgetsid.c (tcgetsid): Rename variable to
10930         tiocgsid_does_not_work.
10931
10932 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10933
10934         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10935
10936 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10937
10938         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10939         This allows e.g. gethostbyname to accept "10.1234".
10940         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10941
10942         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10943         non quad IPv4 numbers.
10944
10945 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10946
10947         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10948
10949 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10950
10951         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10952         * argp/argp-parse.c (_argp_hang): Likewise.
10953         * argp/argp-pv.c (argp_program_version): Likewise.
10954         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10955         * inet/ether_hton.c (ether_hton, startp): Likewise.
10956         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10957         * inet/getnetgrent_r.c (setup, startp): Likewise.
10958         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10959         * intl/localealias.c (string_space, string_space_act, string_space_max,
10960         nmap, maxmap): Likewise.
10961         * libio/iopopen.c (proc_file_chain): Likewise.
10962         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10963         * locale/lc-collate.c (__collate_table, __collate_extra,
10964         __collate_element_hash, __collate_element_strings,
10965         __collate_element_values): Likewise.
10966         * malloc/mcheck.c (mcheck_used): Likewise.
10967         * malloc/mtrace.c (added_atexit_handler): Likewise.
10968         * malloc/set-freeres.c (already_called): Likewise.
10969         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10970         * misc/syslog.c (LogStat, LogTag): Likewise.
10971         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10972         * nss/getXXbyYY_r.c (startp): Likewise.
10973         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10974         * posix/regex.c (init_syntax_once) [done]: Likewise.
10975         (debug): Likewise.
10976         * string/strfry.c (init): Likewise.
10977         * sunrpc/svc_run.c (svc_top): Likewise.
10978         * posix/euidaccess.c (have_ids): Likewise.
10979         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10980         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10981         * time/getdate.c (getdate_err): Likewise.
10982         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10983         Likewise.
10984         * time/tzset.c (old_tz, is_initialized): Likewise.
10985
10986         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10987         of static data with zero.
10988         * signal/allocrtsig.c (init): Likewise.
10989
10990         * string/Makefile (routines): Add strchrnul.
10991         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10992         * string/string.c: Add strchrnul prototype.
10993         * include/string.h: Add __strchrnul prototype.
10994         * sysdeps/generic/strchrnul.c: New file.
10995         * sysdeps/i386/strchrnul.S: New file.
10996         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10997         * sysdeps/i386/i486/bits/string.c: Likewise.
10998         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10999         * inet/ether_line.c (ether_line): Likewise.
11000         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
11001         * nss/nsswitch.c (nss_parse_file): Likewise.
11002         * posix/execvp.c (execvp): Likewise.
11003         * posix/fnmatch.c (internal_fnmatch): Likewise.
11004         * resolv/res_hconf.c (_res_hconv_init): Likewise.
11005         * resolv/res_init.c (res_init): Likewise.
11006         * stdlib/fmtmsg.c (init): Likewise.
11007         * stdlib/getsubopt.c (getsubopt): Likewise.
11008
11009         * catgets/catgets.c (catopen): Only allocate one memory block.
11010         (catclose): Only one free call necessary.
11011
11012         * catgets/open_catalog.c (__open_catalog): Simplify handling of
11013         file descriptor.
11014
11015         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
11016         of real functions.  Simplify _tolower and _toupper.
11017
11018         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
11019         variable.
11020
11021         * iconv/gconv.h (struct gconv_info): Change data element from pointer
11022         to array of size 0.
11023         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
11024         * iconv/gconv_close.c (__gconv_close): Don't free data.
11025
11026         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
11027         insert new alias.
11028
11029         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
11030         for error while inserting in tree.
11031
11032         * include/time.h: Pretty print.
11033
11034         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
11035         in table and lots of relocations.
11036         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
11037         string pointers in table and lots of relocations.
11038
11039         * intl/finddomain.c: Remove definition of strchr macro.
11040
11041         * io/ftw.c (nftw_arr, ftw_arr): Make const.
11042
11043         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
11044
11045         * locale/localeinfo.h (_nl_category_names): Change into an array with
11046         fixed width char string elements.
11047         * locale/setlocale.c (_nl_category_names): Likewise.
11048         (_nl_current): Make global.
11049         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
11050
11051         * malloc/Makefile (distribute): Add stackinfo.h.
11052         * sysdeps/generic/stackinfo.h: New file.
11053         * sysdeps/i386/stackinfo.h: New file.
11054         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
11055         * posix/execle.c: Likewise.
11056         * posix/execlp.c: Likewise.
11057
11058         * nis/nis_table.c (__create_ib_request): Always use realloc.
11059
11060         * posix/execvp.c (execute): Rename to script_execute and keep only
11061         code to execute using shell.
11062         (execvp): Call execv directly and only fall back on script_execute.
11063
11064         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
11065         and always use xdigits instead.
11066
11067         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
11068         where appropriate.
11069
11070         * stdlib/fpioconst.h (__tens): New declaration.
11071         (struct mp_power): Remove array, add arrayoff element.
11072         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
11073         __tens array and add in _fpioconst_pow10 offsets into __tens.
11074         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
11075         * stdlib/strtod.c: Likewise.
11076
11077         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
11078
11079         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
11080         of the list.
11081         * stdlib/atexit.c (__exit_funcs): Don't initialize.
11082
11083         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
11084
11085         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
11086         a single and an array with offsets.
11087
11088         * sunrpc/des_soft.c (partab): Make it const.
11089
11090         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
11091         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
11092         (__key_decryptsession_pk_LOCAL): Likewise.
11093         (__key_gendes_LOCAL): Likewise.
11094         (MESSENGER): Mark const.
11095         (key_call_private_main): Don't initialize with 0.
11096         (use_keyenvoy): Don't initialize with 0.
11097         (key_call): Rewrite to reverse logic of use_doors variable.
11098
11099         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
11100         (startp): Don't initialize with zero.
11101
11102         * sunrpc/openchild.c (_openchild): Make first argument const.
11103
11104         * sunrpc/pmap_rmt.c (timeout): Mark const.
11105         * sunrpc/xcrypt.c (hex): Likewise.
11106
11107         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
11108         initialization of global variables.
11109         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
11110         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11111         * termios/tcgetsid.c: Likewise.
11112
11113         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
11114         fxsr to osfxsr.
11115
11116         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
11117         block.  Add function to free memory if wanted.
11118         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
11119
11120         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
11121
11122         * wcsmbs/wmemset.c: Little code optimization.
11123
11124 1999-04-23  Paul Eggert  <eggert@twinsun.com>
11125
11126         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
11127         ifdef _LIBC.
11128
11129 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
11130
11131         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
11132         implementation and just always fail with ENOSYS.  This entry point is
11133         obsolete.  Add link warning to that effect.
11134
11135 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
11136
11137         * hurd/get-host.c: Include <hurd/lookup.h>.
11138
11139 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11140
11141         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
11142         is != NULL.
11143
11144 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11145
11146         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
11147         ISO C9x and Unix98.
11148
11149 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11150
11151         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
11152         Patch by Peter Miller <millerp@canb.auug.org.au>.
11153
11154 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
11155
11156         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
11157         prefers loopback device.
11158
11159 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11160
11161         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
11162         no_leading_period change.
11163
11164         * posix/testfnm.c: More test cases.
11165
11166 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
11167
11168         * include/dirent.h: Remove __getdirentries declaration, add __getdents
11169         and __getdents64.
11170         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
11171         * sysdeps/unix/readdir_r.c: Likewise.
11172         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11173         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11174         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
11175         __getdirentries.  Remove fourth argument.
11176         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
11177         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
11178         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
11179         Add getdirentries and getdirentries64.
11180         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
11181
11182         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
11183         pointer in case of an invalid [[: expression.
11184
11185         * posix/testfnm.c: Add more test cases.
11186
11187 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
11188
11189         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
11190         set, pass EXEC_SIGTRAP flag in exec RPC.
11191
11192 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11193
11194         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
11195         extra parameter.  Fix several more bugs involving wildcard and
11196         ranges.
11197         (fnmatch): New function.  Call internal_fnmatch.
11198
11199         * posix/testfnm.c: More test cases.
11200
11201 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11202
11203         * manual/install.texi (Configuring and compiling): Explain that
11204         files are changed in the source directory.
11205         Closes PR libc/981.
11206         (Configuring and compiling): Explain situation with PARALLELMFLAGS
11207         in the source directory.
11208
11209 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11210
11211         * locale/programs/ld-ctype.c: Spelling fixes.
11212         (ctype_finish): Fix argument of error message format.
11213         * locale/programs/ld-messages.c: Spelling fixes.
11214         * locale/programs/ld-monetary.c: Spelling fixes.
11215         * locale/programs/ld-time.c (time_finish): Make sure that name and
11216         format of era_entries are adjacent.
11217         (time_output): Reduce the size of the io vector.
11218
11219 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11220
11221         * manual/filesys.texi (Attribute Meanings): Move a misplaced
11222         paragraph.
11223
11224 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11225
11226         * locale/programs/ld-collate.c (collate_output): Convert
11227         undefined_offset to an array index.  Fix computation of other
11228         endian extra table.
11229
11230 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
11231
11232         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11233         return success with empty value.
11234
11235 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11236
11237         * posix/fnmatch.c: Include string.h also for glibc.
11238         (fnmatch, case '?'): Optimize if cascades a bit.
11239         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11240
11241         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11242
11243 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
11244
11245         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11246         * iconv/gconv_int.h: Declare UTF16 functions.
11247         * iconv/gconv_simple.c: Add UTF16 conversion functions.
11248
11249 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11250
11251         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11252         be used correctly as parameter for parse_dollars/parse_tilde.
11253
11254 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11255
11256         * manual/conf.texi (Utility Limits): Remove duplicate description
11257         of BC_DIM_MAX.
11258
11259 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
11260
11261         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11262         outbufend for dst==NULL.
11263
11264 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11265
11266         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11267         for dst==NULL.
11268         Fixes PR libc/1084.
11269
11270         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11271         Fixes PR libc/1083.
11272
11273 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
11274
11275         * sunrpc/Makefile: Remove special handling of bootparam.x,
11276         add rpcsvc/bootparam.h to headers.
11277         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11278         * sunrpc/rpcsvc/bootparam.x: Renamed to...
11279         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11280
11281 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11282
11283         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11284         detect and handle invalid descriptors.
11285
11286 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
11287
11288         * timezone/zic.c (dolink): Append complete path not only filename
11289         to ../ list.
11290
11291 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11292
11293         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11294
11295 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
11296
11297         * iconvdata/gconv-modules: Rename CP874 to IBM874.
11298         * iconvdata/Makefile: Likewise.
11299         * iconvdata/cp874.h: Removed.
11300         * iconvdata/cp874.c: Renamed to...
11301         * iconvdata/ibm874.c: ...this.
11302
11303 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11304
11305         * sysdeps/unix/sysv/linux/bits/types.h: Correct
11306         signed/unsigned-ness of blkcnt and fsblkcnt.
11307         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11308         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11309
11310         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11311         SOL_AAL, and SOL_IRDA.
11312
11313 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11314
11315         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
11316         include "linux_fsinfo.h".
11317         Based on a patch by H.J. Lu <hjl@gnu.org>.
11318
11319 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
11320
11321         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11322
11323 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11324
11325         * nscd/cache.c (prune_cache): Only disable file checking for
11326         future if the file does not exist.
11327         Update file_mtime if cache was flushed.
11328
11329 1999-04-15  David S. Miller  <davem@redhat.com>
11330
11331         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11332         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11333
11334 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
11335
11336         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11337         compilation of file.
11338
11339 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11340
11341         * Versions.def: Add GLIBC_2.1.1 to libpthread.
11342
11343         * iconvdata/Makefile (modules): Add KOI8-U.
11344         (distribute): Add koi8-u.c.
11345         (gen-8bit-gap-modules): Add koi8-u.
11346         * iconvdata/gconv-modules: Add KOI8-U entries.
11347         * iconvdata/koi8-u.c: New file.
11348
11349 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
11350
11351         * sunrpc/auth_des.c: 64bit fixes, security fixes.
11352         * sunrpc/auth_none.c: Pretty print.
11353         * sunrpc/auth_unix.c: Likewise.
11354         * sunrpc/authdes_prot.c: Likewise.
11355         * sunrpc/authuxprot.c: Likewise.
11356         * sunrpc/bindrsvprt.c: Likewise.
11357         * sunrpc/clnt_gen.c: Likewise.
11358         * sunrpc/rpc/xdr.h: Likewise.
11359         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11360         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11361         * sunrpc/rtime.c: Use new rpc_timeval.
11362         * sunrpc/svc_authux.c: Don't use *long pointers.
11363         * sunrpc/svcauth_des.c: Likewise + security fixes.
11364         * sunrpc/xdr_mem.c: Don't use *long pointers.
11365         * sunrpc/xdr_rec.c: Likewise.
11366         * sunrpc/xdr_sizeof.c: Likewise.
11367         * sunrpc/xdr_stdio.c: Likewise.
11368
11369 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11370
11371         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11372         so that it is redone for each sending.
11373
11374 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11375
11376         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11377
11378 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11379
11380         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11381         known to not exist don't try to load shared objects.
11382         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11383
11384         * nscd/cache.c (prune_cache): The table might not be unused.  In
11385         this case do nothing.
11386
11387         * catgets/gencat.c (read_input_file): Don't drop white spaces
11388         between number/identifier and string.
11389         Patch by Dima Barsky <dima@pwd.hp.com>.
11390         If no white space at all follows number/identifier remove existing
11391         message with the number/identifier.
11392
11393 1999-04-14  H.J. Lu  <hjl@gnu.org>
11394
11395         * sunrpc/clnt_udp.c (is_network_up): New function.
11396         (clntudp_call): Call is_network_up () to check if any network
11397         interface is up in case of timeout.
11398
11399 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11400
11401         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11402         * wctype/Makefile (tests): Add test_wcfuncs.
11403
11404 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
11405
11406         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11407         architectures.
11408         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11409         instead of CFLAGS.
11410         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11411         instead of CFLAGS. For gnulib and string directories use
11412         -Wa,-Av9a gcc ASFLAGS.
11413         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11414         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11415         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11416         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11417         the same way as sparc-*.
11418
11419 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
11420
11421         * locale/programs/locfile.c (locfile_read): Fix typo.
11422         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11423
11424 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
11425
11426         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11427         restarted after being interrupted by a signal.  The parameters on
11428         the stack were corrupted by the signal handler.
11429
11430         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11431         restarted after being interrupted by a signal.  The parameters on
11432         the stack were corrupted by the signal handler.
11433
11434 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11435
11436         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11437         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11438
11439 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
11440
11441         * posix/wordexp-test.c: In field-splitting test cases where
11442         subshells were involved, unset IFS first: some shells (ash) use
11443         IFS even when no expansion is performed.
11444
11445 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11446
11447         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11448         the real end of the chunk, not some random point inbetween.
11449         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
11450         obstack when growing.  Use fast version of obstack_blank when
11451         shrinking.
11452         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11453         allocating the vtable pointer.
11454         (_IO_obstack_vprintf): Adjust for above change and avoid
11455         unnecessary casts.  Use fast version of obstack_blank when
11456         shrinking.
11457         Fixes PR libc/1075.
11458
11459 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
11460
11461         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
11462         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11463
11464 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
11465
11466         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11467         is seen, as well as fixing semantics.  Don't reset the word count
11468         to zero when an invalid character is seen, but leave it as it was
11469         (this makes a difference with WRDE_APPEND).
11470
11471         * posix/wordexp-test.c: More test cases.
11472
11473         * posix/wordexp.c (parse_param): In words like ${var#pattern},
11474         always expand pattern when it is needed.  Also, handle quoting in
11475         pattern properly.
11476
11477 1999-04-12  Philip Blundell  <philb@gnu.org>
11478
11479         * elf/elf.h: Update ARM definitions to match current gas2.
11480
11481         * sysdeps/arm/bits/endian.h: Support big endian operation.
11482
11483         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11484         Don't bother range checking the port number.
11485
11486         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11487
11488         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11489         the syscall name in assembler output for ease of debugging.
11490
11491         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11492         compiler behaviour.
11493         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11494         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11495         (sysdep_routines): Add sigrestorer.
11496
11497         * string/tester.c (test_strcpy): Add new tests for unaligned
11498         arguments.
11499         * sysdeps/arm/bits/string.h: Delete inline implementations of
11500         strcpy and stpcpy.
11501
11502 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
11503
11504         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11505
11506 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
11507
11508         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11509
11510 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11511
11512         * iconvdata/Makefile (modules): Add TIS-620.
11513         (distribute): Add tis-620.c.
11514         (gen-8bit-gap-modules): tis-620.
11515         * iconvdata/tis-620.c: New file.
11516         * iconvdata/gconv-modules: Add TIS-620 entries.
11517
11518         * iconvdata/asmo_449.c: Correct comment.
11519
11520 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11521
11522         * manual/install.texi (Configuring and compiling): Comment out
11523         description of --disable-static since this doesn't work currently
11524         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11525
11526 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11527
11528         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11529         use binary search.
11530         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11531
11532 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11533
11534         * scripts/test-installation.pl (installation_problem): Skip
11535         libnss1_* libraries from glibc-compat add-on.
11536
11537 1999-04-07  H.J. Lu  <hjl@gnu.org>
11538
11539         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11540         libstdc++ 2.7.2.
11541         * posix/Versions (__waitpid): Likewise.
11542
11543 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11544
11545         * manual/install.texi (Reporting Bugs): Add section about reported
11546         bugs and correct email address of glibcbug script.
11547
11548 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
11549
11550         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11551         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11552         xdr_u_longlong_t. Based on patch from Dan Shechter
11553         <damageboy@isdn.net.il>.
11554         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11555         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11556
11557         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11558
11559 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11560
11561         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11562         directly if getdents returns with error set.
11563
11564 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11565
11566         * locale/langinfo.h (THOUSEP): Rename second occurence of
11567         THOUSANDS_SEP to THOUSEP.
11568         Reported by Roman Belenov <roman@nstl.nnov.ru>.
11569
11570 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
11571
11572         * hurd/STATUS: File removed.  Moved items that are still relevant into
11573         TODO list in hurd source.
11574
11575 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11576
11577         * sysdeps/mach/hurd/bits/time.h: New file.
11578         * sysdeps/mach/hurd/getrusage.c: New file.
11579         * sysdeps/mach/hurd/clk_tck.c: New file.
11580         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11581         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11582         (sysdep_routines): Add clk_tck.
11583         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11584         implemented.
11585
11586 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
11587
11588         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11589         (closelog): But instead here.
11590         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11591
11592 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11593
11594         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11595         the source directory.  Fixes PR libc/1059.
11596
11597 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11598
11599         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11600         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11601
11602 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
11603
11604         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11605         * iconvdata/testdata/ISO-8859-14: New file.
11606         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11607         * iconvdata/testdata/ISO-8859-15: New file.
11608         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11609
11610 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11611
11612         * iconvdata/testdata/CP1258: New file.
11613         * iconvdata/testdata/CP1258..UTF8: New file.
11614         * iconvdata/TESTS: Add CP1258 entry.
11615
11616         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11617
11618         * timezone/africa: Update from tzdata1999d.
11619         * timezone/europe: Likewise.
11620         * timezone/northamerica: Likewise.
11621
11622 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
11623
11624         * login/programs/pt_chown.c (main): Save effective user ID before
11625         dropping priviliges and use this to check if the program is
11626         properly installed.
11627
11628 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11629
11630         * iconvdata/testdata/CP1254: Update for charmap changes.
11631         * iconvdata/testdata/CP1254..UTF8: Likewise.
11632         * iconvdata/testdata/CP1255: Likewise.
11633         * iconvdata/testdata/CP1255..UTF8: Likewise.
11634         * iconvdata/testdata/CP1256: Likewise.
11635         * iconvdata/testdata/CP1256..UTF8: Likewise.
11636         * iconvdata/testdata/CP1257: Likewise.
11637         * iconvdata/testdata/CP1257..UTF8: Likewise.
11638
11639         * iconvdata/Makefile (distribute): Remove cp1258.h.
11640         (gen-8bit-gap-modules): Add cp1258.
11641         * iconvdata/cp1258.h: Removed.
11642
11643 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
11644
11645         * timezone/tst-timezone.c (tests): Add more cases.
11646         (check_tzvars): Mark errors clearer.
11647         (main): Likewise.
11648
11649 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11650
11651         * login/programs/pt_chown.c: Drop privileges if invoked with
11652         arguments.  Don't close the master pty.
11653
11654 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
11655
11656         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11657         Minor optimization.
11658
11659 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
11660
11661         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11662         relocation for SUID binaries.
11663
11664 1999-03-29  Paul Eggert  <eggert@twinsun.com>
11665
11666         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11667         while in child process.
11668
11669 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
11670
11671         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11672         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11673         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11674         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11675         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11676
11677         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11678         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11679         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11680         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11681         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11682         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11683         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11684         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11685         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11686         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11687         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11688         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11689         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11690         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11691         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11692         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11693         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11694         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11695         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11696         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11697         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11698         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11699         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11700         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11701         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11702         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11703
11704         * sysdeps/sparc/sparc32/bcopy.c: New file.
11705         * sysdeps/sparc/sparc32/bzero.c: New file.
11706         * sysdeps/sparc/sparc32/memchr.S: New file.
11707         * sysdeps/sparc/sparc32/memcpy.S: New file.
11708         * sysdeps/sparc/sparc32/memmove.c: New file.
11709         * sysdeps/sparc/sparc32/memset.S: New file.
11710         * sysdeps/sparc/sparc32/stpcpy.S: New file.
11711         * sysdeps/sparc/sparc32/strchr.S: New file.
11712         * sysdeps/sparc/sparc32/strrchr.c: New file.
11713         * sysdeps/sparc/sparc32/strcpy.S: New file.
11714         * sysdeps/sparc/sparc32/strlen.S: New file.
11715         * sysdeps/sparc/sparc32/strcat.S: New file.
11716         * sysdeps/sparc/sparc32/strcmp.S: New file.
11717
11718         * sysdeps/sparc/sparc64/bcopy.c: New file.
11719         * sysdeps/sparc/sparc64/bzero.c: New file.
11720         * sysdeps/sparc/sparc64/memchr.S: New file.
11721         * sysdeps/sparc/sparc64/memcmp.S: New file.
11722         * sysdeps/sparc/sparc64/memcpy.S: New file.
11723         * sysdeps/sparc/sparc64/memset.S: New file.
11724         * sysdeps/sparc/sparc64/stpcpy.S: New file.
11725         * sysdeps/sparc/sparc64/strcat.S: New file.
11726         * sysdeps/sparc/sparc64/strchr.S: New file.
11727         * sysdeps/sparc/sparc64/strcmp.S: New file.
11728         * sysdeps/sparc/sparc64/strcpy.S: New file.
11729         * sysdeps/sparc/sparc64/strcspn.S: New file.
11730         * sysdeps/sparc/sparc64/strlen.S: New file.
11731         * sysdeps/sparc/sparc64/strncpy.S: New file.
11732         * sysdeps/sparc/sparc64/strpbrk.S: New file.
11733         * sysdeps/sparc/sparc64/strrchr.c: New file.
11734         * sysdeps/sparc/sparc64/strspn.S: New file.
11735         * sysdeps/sparc/sparc64/stpncpy.S: New file.
11736         * sysdeps/sparc/sparc64/strncmp.S: New file.
11737
11738         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11739         Append -fPIC, don't replace.
11740
11741         * configure.in: Recognize sparcv8plus / sparcv9.
11742
11743 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11744
11745         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11746         char * to avoid C++ warning.
11747         Patch by yasushi@cs.washington.edu [PR libc/1035].
11748
11749 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11750
11751         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11752         declared in stdlib.h, correct return value of mkstemp.
11753         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11754
11755         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11756         from Linux 2.2.5.
11757
11758 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11759
11760         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11761         C++ warning.
11762
11763         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11764         inline functions.  Closes PR libc/1049.
11765
11766 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11767
11768         * timezone/README: Update from tzdata1999c and tzcode1999c.
11769
11770         * timezone/africa: Update from tzdata1999c.
11771         * timezone/antarctica: Likewise.
11772         * timezone/asia: Likewise.
11773         * timezone/australasia: Likewise.
11774         * timezone/europe: Likewise.
11775         * timezone/northamerica: Likewise.
11776         * timezone/southamerica: Likewise.
11777         * timezone/zone.tab: Likewise.
11778
11779         * timezone/zic.c: Update from tzcode1999c.
11780
11781 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11782
11783         * Makerules: Add $(common-objpfx)Versions.all to common-generated
11784         outside of ifndef avoid-generated.
11785
11786         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11787         in iofdopen.c.
11788         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11789         iofopen.c.
11790         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11791         in iofclose.c.
11792         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11793         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11794
11795 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11796
11797         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11798         if we build the profiled library.
11799
11800 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11801
11802         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
11803         Jaeger <aj@arthur.rhein-neckar.de>
11804
11805 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
11806
11807         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11808         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11809         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11810
11811 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
11812
11813         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11814         works properly in subdirs.
11815
11816 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
11817
11818         * sysdeps/mach/hurd/Makefile: Undo last change.
11819         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11820         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11821
11822         * mach/Machrules (+preinit, +postinit, +interp,
11823         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
11824         linked just like other shared libraries.
11825         (interface.so): Fix typo in defn, so it works.
11826         ($(objpfx)$(interface.so)): Make it depend on libc.so.
11827
11828 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
11829
11830         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11831         $(link-rpcuserlibs).
11832
11833 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11834
11835         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11836         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11837         targets if not building shared libraries.
11838
11839 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11840
11841         * configure.in: Also look in $PATH when searching for
11842         install-info.  Remove autoconf bug workaround and require autoconf
11843         2.13.
11844
11845 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11846
11847         * db/Makefile: Don't try to install shared library link if not
11848         building with shared libs.
11849
11850 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11851
11852         * rt/Makefile: Link against static library if no shared lib is
11853         available.
11854
11855         * localedata/Makefile: The shells scripts implementing the test
11856         require the dynamic linker which is not available with
11857         --disable-shared.  Skip the test if --disable-shared is given.
11858
11859         * linuxthreads/Makefile: Link test against static libpthread if no
11860         shared lib is available.
11861
11862         * iconvdata/Makefile (tests): Run iconv-test only if we're
11863         building shared libraries.
11864         * elf/Makefile (tests): Likewise for elf tests.
11865
11866         * posix/Makefile: The test frameworks globtest and wordexp-test
11867         require the dynamic linker which is not available with
11868         --disable-shared.  Skip the test if --disable-shared is given.
11869
11870         * grp/Makefile (otherlibs): For static nss build link against
11871         necessary libs.
11872
11873 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11874
11875         * debug/Makefile (install-bin): Install and build catchsegv only
11876         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
11877         libc/965].
11878
11879 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11880
11881         * time/tzfile.c (__tzfile_read): Handle the case where there are
11882         transitions but no DST.
11883
11884 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
11885
11886         * mach/Machrules (extra-libs-others): Add $(interface-library) here
11887         too, so it gets built in the others pass rather than the lib pass.
11888         This is necessary since the RPC libraries need to be linked against
11889         libc.
11890
11891 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
11892
11893         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11894         _itoa_word decl.
11895
11896         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11897         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11898         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11899         versions of lib{mach,hurd}user.so without reference to libc.so,
11900         then link libc.so against that to get deps and symbol versions, then
11901         finally link real lib*user.so against libc.so.
11902
11903         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11904         Support whole-file locking (only) by using the file_lock RPC.  This
11905         has very wrong semantics, but is better than nothing for the time
11906         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
11907         protocols that will be somewhat hairy to specify.)
11908
11909 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
11910
11911         * sysdeps/mach/hurd/ptsname.c: New file.
11912
11913 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11914
11915         * timezone/asia: Fix rule in Asia/Nicosia entry.
11916
11917 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11918
11919         * manual/getopt.texi (Using Getopt): Explain "::" in option
11920         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
11921
11922 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
11923
11924         * sunrpc/clnt_unix.c: Fix creation of parameters for
11925         sendmsg/recvmsg on non intel platforms.
11926         * sunrpc/svc_unix.c: Likewise.
11927
11928 1999-03-18  Philip Blundell  <philb@gnu.org>
11929
11930         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
11931         implementation.
11932
11933 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11934
11935         * timezone/africa: Update from tzdata1999b.
11936         * timezone/asia: Likewise.
11937         * timezone/australasia: Likewise.
11938         * timezone/europe: Likewise.
11939         * timezone/northamerica: Likewise.
11940         * timezone/southamerica: Likewise.
11941         * timezone/zone.tab: Likewise.
11942
11943         * timezone/README: Mention tzdata1999b.
11944
11945 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
11946
11947         * sysdeps/generic/segfault.c (write_strsignal): New function.
11948         (catch_segfault): Use it instead of calling strsignal.
11949
11950 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11951
11952         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11953         char to avoid warning.
11954
11955 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11956
11957         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11958
11959         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11960         outbuf to unsigned char to avoid warning.
11961
11962 1999-03-11  David S. Miller  <davem@redhat.com>
11963
11964         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11965         masks.
11966         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11967
11968 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11969
11970         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11971         `unsigned char'.
11972         (gconv_step_data): Likewise.
11973         * iconv/gconv_int.h (__gconv): Likewise.
11974         (__BUILINT_TRANS): Likewise.
11975         * iconv/gconv.c (__gconv): Likewise.
11976         * iconv/iconv.c (iconv): Add casts for call of __gconv.
11977         * iconv/skeleton.c: Change local parameters and variable from `char' to
11978         `unsigned char'.  Remove casts from calls into modules.
11979         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11980         `char' to `unsigned char'.
11981         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11982         * wcsmbs/mbrtowc.c: Likewise.
11983         * wcsmbs/mbsnrtowcs.c: Likewise.
11984         * wcsmbs/mbsrtowcs.c: Likewise.
11985         * wcsmbs/wcrtomb.c: Likewise.
11986         * wcsmbs/wcsnrtombs.c: Likewise.
11987         * wcsmbs/wcsrtombs.c: Likewise.
11988         * wcsmbs/wctob.c: Likewise.
11989
11990 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11991
11992         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11993         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11994         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11995         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11996         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11997         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11998
11999 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
12000
12001         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
12002         _hurd_select if TIMEMOUT is -1.
12003
12004 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
12005
12006         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
12007
12008 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12009
12010         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
12011         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
12012
12013 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12014
12015         * manual/libc.texinfo: Undo last change for now.
12016
12017 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12018
12019         * intl/locale.alias: Add entries for Croatian.
12020         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
12021
12022 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
12023
12024         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
12025         if the opened master pty really is a pty.  `isatty' checks for
12026         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
12027         if we are out of pty's.
12028
12029 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
12030
12031         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
12032         opened file is closed on exec.
12033         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
12034         opened socket.
12035
12036 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12037
12038         * manual/llio.texi (File Position Primitive): Reformat @end
12039         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
12040
12041 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
12042
12043         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
12044         entry is found.
12045         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12046         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12047
12048         * locale/programs/localedef.c (main): Initialize `cat' to please
12049         the compiler.
12050
12051 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
12052
12053         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
12054         check for root-owned symlinks and reject them too.
12055
12056 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12057
12058         * stdio-common/printf_fphex.c: Move to ...
12059         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
12060         extended precision number.
12061         * sysdeps/m68k/printf_fphex.c: New file.
12062
12063 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12064
12065         * manual/stdio.texi: Fix typos.
12066
12067 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
12068
12069         * version.h (VERSION): Bump to 2.1.1.
12070
12071 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
12072
12073         * nis/ypclnt.c: Try only twice to connect to NIS server.
12074
12075 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
12076
12077         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
12078
12079 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12080
12081         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
12082         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
12083         * stdlib/strtold.c: Moved to ...
12084         * sysdeps/generic/strtold.c: ... here.
12085         * sysdeps/m68k/strtold.c: New file.
12086
12087 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12088
12089         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
12090         point if the precision is zero, even if the mantissa is non-zero.
12091
12092 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
12093
12094         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
12095         arguments into the request message buffer inside `send_rpc'
12096         subfunction.  We must repeat the marshalling when retrying the RPC
12097         after a SIGTTOU delivery.
12098
12099         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
12100         path when there is no ctty port.
12101         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
12102         Move sigstate check inside loop so we recheck after handling a signal.
12103
12104 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12105
12106         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
12107         O_EXLOCK are BSD extensions.
12108         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
12109
12110 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
12111
12112         * manual/signal.texi (Termination in Handler): Correct example.
12113         Install default handler before reraising the signal.
12114         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
12115
12116 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
12117
12118         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
12119         null, in which case send an empty string.
12120
12121 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
12122
12123         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
12124         backward compatibility EH functions to be linked when using
12125         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
12126
12127 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12128
12129         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
12130         /dev/pts status may change during runtime.
12131
12132 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12133
12134         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
12135         change.  /dev/pts status can change during runtime.
12136
12137 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
12138
12139         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
12140         poll reports error.
12141         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
12142         add some more sanity checks.
12143         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
12144         parser prototype.
12145
12146 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
12147
12148         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
12149         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
12150         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
12151         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
12152         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
12153         for x_getint32.
12154         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
12155         * nis/nis_print.c: Fix ctime argument for platforms where
12156         sizeof (time_t) != sizeof (int).
12157
12158 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
12159
12160         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
12161         CLOCKS_PER_SEC instead of CLK_TCK.
12162
12163 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
12164
12165         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
12166         whether /dev/pts is available.
12167         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
12168         dev_pts_available.
12169
12170         * posix/globtest.sh: Make common_objpfx path absolute and and db2
12171         and hesiod directory to library path [PR libc/1007].
12172
12173 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12174
12175         * resolv/inet_addr.c (inet_aton): Don't allow componets >
12176         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
12177
12178 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
12179
12180         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
12181         DT_PLTGOT has already been relocated.
12182         (__elf_machine_fixup_plt): Likewise.
12183         Minor cleanups.
12184
12185 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
12186
12187         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
12188
12189 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
12190
12191         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
12192         and fold string to uppercase [PR libc/1005].
12193
12194 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12195
12196         * elf/dl-load.c (lose): Fix return type.
12197
12198 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
12199
12200         * sysdeps/mach/hurd/bits/fcntl.h
12201         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
12202         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
12203         set O_NOTRANS as well.
12204         (__hurd_file_name_lookup_retry): At successful end of lookup,
12205         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
12206         it is a translated node not owned by root.
12207         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
12208         on the file name passed to LOOKUP.
12209
12210 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
12211
12212         * manual/time.texi (High Resolution Timer): Correct computation in
12213         example.  Reported by jjf@devel.cemsys.com.
12214
12215 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
12216
12217         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12218         entry is already relocated.
12219
12220 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12221
12222         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
12223         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12224
12225 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12226
12227         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12228         uc_link which is the right name according to Unix98.
12229         Reported by Craig Metz [PR libc/1001].
12230         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12231         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12232         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12233         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12234         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12235         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12236
12237 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12238
12239         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12240         @ifinfo.
12241
12242 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12243
12244         * iconvdata/Makefile: Always include iconv-rules, but disable rule
12245         to regenerate it if avoid-generated.
12246
12247         * Makeconfig: Always include sys-dirs, but disable rule to
12248         regenerate it when avoid-generated.
12249
12250         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12251         rule to generate sysd-syscalls.
12252
12253         * elf/Makefile (generated): Remove $(objpfx) from names.
12254
12255 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
12256
12257         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12258         actual length if the adress length is smaller than the input
12259         value.  Change type of *LEN paramater to socklen_t.
12260         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12261         * sysdeps/mach/hurd/accept.c (accept): Likewise.
12262         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12263         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12264         paramater to socklen_t.
12265
12266 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
12267
12268         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12269         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12270         with the RPC.
12271
12272 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12273
12274         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12275         __get_phys_pages): Cast &HBI to silence warning.
12276
12277         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12278         * hurd/hurdchdir.c: New file.
12279         * hurd/hurdfchdir.c: New file.
12280         * sysdeps/mach/hurd/chroot.c: Call
12281         _hurd_change_directory_port_from_name to do the work.
12282         * sysdeps/mach/hurd/chdir.c: Likewise.
12283         * sysdeps/mach/hurd/fchdir.c: Call
12284         _hurd_change_directory_port_from_fd to do the work.
12285         * hurd/fchroot.c: Likewise.
12286         * hurd/hurd.h: Declare them.
12287
12288 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
12289
12290         * elf/dl-load.c (lose): Add more comments to explain the `why'.
12291         (_dl_map_object): Remove redundant test.
12292
12293 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12294
12295         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12296         try to _hurd_port_free a lower-numbered descriptor that was not in any
12297         fd_set.
12298
12299 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12300
12301         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12302         declaration for ____wcstod_l_internal.
12303
12304         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12305         __strtod_internal prototype.
12306         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12307         (____strtold_l_internal): Add prototype declaration.
12308         (__strtold_l): Call correct function.
12309
12310 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
12311
12312         * elf/elf.h: Add 32bit HPPA definitions.
12313
12314 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12315
12316         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12317         non-checked heap is restored when malloc checking was requested by
12318         the user.
12319         (struct malloc_state): Add using_malloc_checking.
12320         (MALLOC_STATE_VERSION): Increment minor.
12321         (using_malloc_checking, disallow_malloc_check): New variables.
12322         (__malloc_check_init): Use them.
12323         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12324         that it can the chunk is properly instrumented when malloc
12325         checking is enabled.  Set the new using_malloc_checking field.
12326         (malloc_hook_ini): Correct signature when _LIBC is not defined.
12327
12328 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12329
12330         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12331         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12332         time.
12333
12334         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12335         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12336         if ld.so is the main program.
12337
12338 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
12339
12340         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12341         large for work_buffer, allocate new buffer.
12342         (printf_unknown): Likewise.  [PR libc/988]
12343
12344 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12345
12346         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12347         instead of stat and fstat.
12348         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12349
12350 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12351
12352         * elf/dl-error.c (_dl_signal_cerror): New function.
12353         (_dl_signal_error): Don't call receiver function.
12354         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12355         instead of _dl_signal_error when reporting references to undefined
12356         symbols or versions.
12357         (_dl_lookup_versioned_symbol): Likewise.
12358         (_dl_lookup_versioned_symbol_skip): Likewise.
12359         * elf/dl-version.c (match_symbol): Likewise.
12360
12361         * elf/ldsodefs.h: Declare _dl_signal_cerror.
12362
12363 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12364
12365         * misc/getttyent.c (getttyent): Release lock on stream later to
12366         also protect global variable zapchar.
12367
12368         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12369         __times [PR libc/990].
12370
12371 1999-02-21  David S. Miller  <davem@redhat.com>
12372
12373         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12374         parentheses in Feb 2 changes.
12375         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12376
12377 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12378
12379         * sysdeps/generic/glob.c (glob): Save previous errno.
12380
12381 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
12382
12383         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12384         lookup functions if it is too small.
12385
12386 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
12387
12388         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12389         for tracing to the scope lists.
12390         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12391         DT_SYMTAB is always available according to ELF spec.
12392
12393         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12394         call test whether there is any scope left.
12395         (_dl_lookup_versioned_symbol_skip): Likewise.
12396
12397         * elf/Makefile (distribute): Add do-lookup.h.
12398         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
12399         * elf/dl-lookup.c: Move do_lookup function in separate file and
12400         include the file twice, for handling versioning and without it.
12401
12402         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12403         entry is already relocated.
12404         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12405         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12406         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12408         Likewise.
12409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12410         Likewise.
12411         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12412         Likewise.
12413
12414         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12415         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12416         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12417         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12418         rel and rela relocations can both happen and skip one test if this
12419         is not possible.
12420         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12421         appropriately.
12422         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12423         already relocated.
12424         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12425         relocated.
12426         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12427         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12428         (_dl_map_object): DT_STRTAB entry is already relocated.
12429         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12430         already relocated.
12431         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12432         relocated.
12433         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12434         DT_VERSYM entries are already relocated.
12435         (profile_fixup): Likewise.
12436         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
12437         all users.
12438         (match_symbol): DT_STRTAB entry is already relocated.
12439         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
12440         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12441         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
12442         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12443         (find_needed): DT_STRTAB entry is already relocated.
12444         (dl_main): Pass extra argument to elf_get_dynamic_info.
12445         DT_STRTAB entry is already relocated.
12446         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12447         DT_PLTGOT entries are already relocated.
12448         (elf_machine_rela): Likewise for DT_SYMTAB.
12449         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12450         relocated.
12451         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12452         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12453         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12455         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12456         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12457         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12458         * sysdeps/mips/mips64/dl-machine.h: Likewise.
12459
12460         * grp/initgroups.c (initgroups): If function in current module was
12461         successful don't stop but continue to process to get all the groups.
12462
12463         * elf/dl-load.c (_dl_map_object_from_fd): Use global
12464         _dl_pf_to_proot array to convert p_flags value.
12465         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12466
12467         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12468         loop to clear `info'.
12469
12470         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12471         do the work and don't use inline assembler.
12472
12473 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
12474
12475         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12476         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12477         noreturn, and prevent it from being inlined.
12478         Define LOSE appropriately.
12479         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12480         Optimize decoding of p_flags for certain platforms.
12481
12482 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
12483
12484         * Makeconfig (link-libc): When doing a static link, make sure that
12485         libgcc.a is included both before and after libc.a.
12486
12487 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
12488
12489         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12490         sp_warn, sp_inact, sp_expire and sp_flag.
12491
12492 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
12493
12494         * elf/link.h (link_map): Add l_dev and l_ino.
12495         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12496         loaded shared object with all loaded objects.  Initialize l_ino
12497         and l_dev in case it's new.
12498         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12499         object.
12500         * elf/Makefile: Compile and run new test.
12501         * elf/multiload.c: New file.
12502
12503         * nss/nsswitch.h (service_user): Change name field from const char *
12504         to char[0].
12505         (name_database_entry): Likewise.
12506         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12507         for change of `service_user'.
12508         (nss_getline): Adjust memory allocation for change of
12509         `name_database_entry'.
12510
12511         * catgets/catgets.c: Correctly handle NLSPATH from environment
12512         [PR libc/980].
12513
12514         * io/Makefile (routines): Add lock64.
12515         * io/Versions: Add lockf64 for GLIBC_2.1.1.
12516         * sysdeps/generic/lockf64.c: New file.
12517
12518 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12519
12520         * string/bits/string2.h: Only use strncmp optimization if count
12521         argument is constant.
12522
12523 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
12524
12525         * sysdeps/mach/hurd/revoke.c: New file.
12526
12527 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12528
12529         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12530         int to avoid warning about `ISO C restricts enumerator values to
12531         range of `int''.
12532
12533 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12534
12535         * elf/dlfcn.h: Fix typo.
12536         * sysdeps/generic/bits/dlfcn.h: Likewise.
12537         * sysdeps/mips/bits/dlfcn.h: Likewise.
12538
12539 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12540
12541         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12542         for the case N == 0.
12543
12544         * db2/Makefile (distribute): Add LICENSE.
12545
12546 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
12547
12548         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12549         generated files.
12550
12551         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12552
12553 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12554
12555         * time/mktime.c: Use ISO C form for function definitions and
12556         remove unnecessary prototypes.
12557
12558         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12559
12560         * time/time.h: Avoid unneccesary #ifdef.
12561
12562 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
12563
12564         * stdio-common/_itoa.c (_itoa): Correct parameters to
12565         udiv_qrnnd_preinv.
12566
12567 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12568
12569         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12570         before (e.g. in glob.h).
12571         Closes PR libc/959.
12572
12573 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12574
12575         * sysdeps/mips/fpu_control.h: Fix typo.
12576         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12577         Remove __setfpucw.
12578
12579 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
12580
12581         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12582         the "unused" ends of the sockets.  Let pipes be bidirectional.
12583
12584 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12585
12586         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12587         invalid ai_flags.
12588
12589 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12590
12591         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
12592         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12593
12594         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12595         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12596
12597 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12598
12599         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12600
12601 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12602
12603         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
12604         check for priority mask.
12605
12606 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
12607
12608         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12609         Reported by Craig Metz <cmetz@inner.net> .
12610
12611 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12612
12613         * stdio-common/Makefile (tests): tllformat added.
12614
12615         * stdio-common/tllformat.c: New program, based on tiformat.c with
12616         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12617
12618 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12619
12620         * posix/test-vfork.c: Fix exit status test.
12621
12622 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12623
12624         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12625         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12626
12627 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12628
12629         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12630         of separare explicit comparisons.
12631
12632 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12633
12634         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12635         defined.
12636
12637         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12638         defined.
12639
12640 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
12641
12642         * po/el.po: Update from translation team.
12643
12644 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12645
12646         * intl/locale.alias: Fix slovenian entry [PR libc/948].
12647
12648 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12649
12650         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12651         * inet/ruserpass.c: Likewise.
12652         * locale/programs/stringtrans.c: Likewise.
12653         * locale/programs/localedef.c: Likewise.
12654         * nscd/grpcache.c: Likewise.
12655         * nss/nss_files/files-XXX.c: Likewise.
12656         * stdlib/canonicalize.c: Likewise.
12657         * sysdeps/posix/sigwait.c: Likewise.
12658
12659 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12660
12661         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12662         even on 64 bit platforms.
12663
12664         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12665         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12666
12667 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
12668
12669         * intl/dcgettext.c: Include locale.h is available.
12670
12671 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
12672
12673         * po/nl.po: Update from translation team.
12674
12675         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12676
12677         * Makefile: Allow calling goals for po subdir.
12678
12679         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12680         signal definitions.
12681
12682         * po/el.po: New file.
12683
12684 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12685
12686         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12687         when processing DT_SYMBOLIC objects.
12688
12689 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12690
12691         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12692         program headers without PT_PHDR only require that they are
12693         contained within one of the loaded segments.  Don't use assert,
12694         since that would be a bug in the object, not the dynamic linker.
12695
12696 1999-02-08  Richard Henderson  <rth@cygnus.com>
12697
12698         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12699         restore all call-clobbered fp regs.
12700
12701 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
12702
12703         * po/cs.po: New file.
12704
12705         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12706         SUID binaries.
12707
12708 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
12709
12710         * signal/signal.h: Don't declare __libc_allocate_rtsig.
12711         * include/signal.h: Declare __libc_allocate_rtsig here.
12712
12713         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12714         point functions, not do_lookup since the later can be called more
12715         than once.
12716
12717 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
12718
12719         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12720         macro, so that architectures which need to add some special
12721         offset to stack pointer can share this file.
12722
12723         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12724         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12726         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12727
12728         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12729         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12730         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12731         between sparc32 and sparc64.
12732
12733         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12734         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12735         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12736         between sparc32 and sparc64.
12737
12738         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12739         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12740         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12741         between sparc32 and sparc64.
12742
12743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12745         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12746         between sparc32 and sparc64.
12747
12748 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
12749
12750         * Versions.def: New version GLIBC_2.1.1 for libc.
12751         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12752         * stdlib/labs.c: Moved to...
12753         * sysdeps/generic/labs.c: ...here.
12754         * stdlib/llabs.c: Moved to...
12755         * sysdeps/generic/llabs.c: ...here.
12756         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12757         header.  Declare _Exit.
12758         * sysdeps/generic/_exit.c: Add alias _Exit.
12759         * sysdeps/mach/hurd/_exit.c: Likewise.
12760         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12761         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12762         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12763         * sysdeps/unix/_exit.c: Likewise.
12764         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12765         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
12766         * sysdeps/wordsize-64/inttypes.h: Likewise.
12767         * sysdeps/wordsize-32/llabs.c: New file.
12768         * sysdeps/wordsize-32/lldiv.c: New file.
12769         * sysdeps/wordsize-64/labs.c: New file.
12770         * sysdeps/wordsize-64/ldiv.c: New file.
12771         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12772         * manual/startup.texi: Document _Exit.
12773
12774 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12775
12776         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12777
12778 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
12779
12780         * Versions.def: Add versions for ld.so.
12781         * csu/Versions: Remove __libc_stack_end here.
12782         * elf/Versions: Split libc definitions in libc and ld.so definitions.
12783         * elf/Makefile (ld-map): Change to ld.so.map.
12784         * scripts/versions.awk: Recognize dot in library names.
12785
12786         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12787         Don't use __tolower and __toupper in inline functions.
12788         Add optimizing macros for tolower and toupper.
12789         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12790         (_toupper): Don't use __toupper.
12791         * ctype/ctype.c (tolower): Don't use __tolower.
12792         (toupper): Don't use toupper.
12793
12794         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12795
12796         * resolv/Versions (libresolv): Export __ns_name_unpack and
12797         __ns_name_ntop.
12798         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12799         make it global.  Change all users.  Similar for ns_name_ntop.
12800         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12801         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
12802         directly to detect too small buffer.
12803         * resolv/nss_dns/dns-network.c: Likewise.
12804
12805         * stdio-common/Makefile (tests): Add scanf12.
12806         * stdio-common/scanf12.c: New file.
12807         * stdio-common/scanf12.input: New file.
12808         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12809         floating-point correctly if the number is invalid.
12810
12811         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12812         functions.
12813         * stdio-common/printf_fp.c: Likewise.
12814         * stdio-common/printf_fphex.c: Likewise.
12815         * stdio-common/vfprintf.c: Likewise.
12816
12817
12818 See ChangeLog.9 for earlier changes.