abe8633216fad2517d96634f228d0eba16ebe110
[platform/upstream/glibc.git] / ChangeLog
1 2000-02-23  Ulrich Drepper  <drepper@redhat.com>
2
3         * posix/sys/wait.h: Pretty printing.  Allow WEXITSTATUS etc be
4         defined elsewhere.
5         * stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc.
6         * sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h.
7         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
8         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
9         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10         * sysdeps/generic/bits/waitstatus.h: Likewise.
11
12         * posix/wordexp.c: Use we_offs everywhere if WRDE_DOOFS.  Expand ~
13         correctly.  Detect syntax errors in command substitutions.  Delete
14         trailing newlines correctly.  Don't split fields in command
15         substitution situations.  Restore old structure in case of an
16         error.  Handle WRDE_APPEND correctly.
17         Patch by Geoff Clare <gwc@unisoft.com>.
18
19         * locale/programs/ld-ctype.c (allocate_arrays): Make sure the end
20         of width table is 4-byte aligned.
21         (ctype_output): Write out the entire width array.
22
23         * sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL.
24
25 2000-02-23  Andreas Jaeger  <aj@suse.de>
26
27         * dlfcn/dlopen.c: Include <stddef.h> for NULL.
28         * dlfcn/dlopenold.c: Likewise.
29         * dlfcn/dlsym.c: Likewise.
30         * dlfcn/dlvsym.c: Likewise.
31         * iconv/gconv.c: Likewise.
32
33 2000-02-23  Ulrich Drepper  <drepper@redhat.com>
34
35         * conform/conformtest.pl (@headers): Add stdlib.h.
36         * conform/data/stdlib.h-data: New file.
37
38 2000-02-22  Ulrich Drepper  <drepper@redhat.com>
39
40         * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL.
41
42         * iconv/iconv.h (iconv): Fix prototype.
43
44         * misc/libgen.h: When using gcc using renaming feature to get XPG
45         definition of basename.
46
47         * misc/search.h (struct entry): Fix type of element data.
48
49         * posix/unistd.h (getpagesize): Declare as const function.
50
51         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT.
52         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
53         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
54         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
55
56         * signal/signal.h [__USE_XOPEN]: Define uid_t.
57         (sigstack): Correct type of first parameter.
58         * sysdeps/generic/sigstack.c (sigstack): Likewise.
59         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
60
61         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file.  Copy of
62         old sysdeps/unix/sysv/linux/bits/siginfo.h.
63         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
64         * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band):
65         Change type to `long int'.
66
67         * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to
68         __xpg_sigpause.
69         * sysdeps/generic/sigpause.c: Define __xpg_sigpause.
70         * sysdeps/posix/sigpause.c: Likewise.
71
72         * conform/conformtest.pl: Correct bugs.  Add more functionality.
73         * conform/data/dlfcn.h-data: Correct typos.
74         * conform/data/ftw.h-data: Likewise.
75         * conform/data/iconv.h-data: Likewise.
76         * conform/data/nl_types.h-data: Likewise.
77         * conform/data/search.h-data: Likewise.
78         * conform/data/semaphore.h-data: New file.
79         * conform/data/setjmp.h-data: New file.
80         * conform/data/signal.h-data: New file.
81         * conform/data/stdarg.h-data: New file.
82         * conform/data/stddef.h-data: New file.
83         * conform/data/stdio.h-data: New file.
84
85         * po/de.po: Update from translation team.
86
87 1999-12-31  Martin Buchholz  <martin@xemacs.org>
88
89         * argp/argp-help.c: Fix typos.
90         * argp/argp.h: Likewise.
91         * elf/dl-object.c: Likewise.
92         * elf/dl-open.c: Likewise.
93         * elf/elf.h: Likewise.
94         * elf/rtld.c: Likewise.
95         * iconv/gconv_open.c: Likewise.
96         * localedata/tst-fmon.data: Likewise.
97         * localedata/tst-rpmatch.sh: Likewise.
98         * login/programs/xtmp.h: Likewise.
99         * manual/arith.texi: Likewise.
100         * manual/charset.texi: Likewise.
101         * manual/creature.texi: Likewise.
102         * manual/llio.texi: Likewise.
103         * manual/search.texi: Likewise.
104         * manual/signal.texi: Likewise.
105         * manual/stdio.texi: Likewise.
106         * manual/string.texi: Likewise.
107         * manual/sysinfo.texi: Likewise.
108         * manual/users.texi: Likewise.
109         * manual/examples/argp-ex2.c: Likewise.
110         * manual/examples/argp-ex3.c: Likewise.
111         * manual/examples/argp-ex4.c: Likewise.
112         * manual/examples/mkfsock.c: Likewise.
113         * math/test-fenv.c: Likewise.
114         * nscd/nscd_gethst_r.c: Likewise.
115         * nss/test-netdb.c: Likewise.
116         * posix/regex.c: Likewise.
117         * scripts/test-installation.pl: Likewise.
118         * stdlib/canonicalize.c: Likewise.
119         * stdlib/fmtmsg.c: Likewise.
120         * string/argz-replace.c: Likewise.
121         * string/argz.h: Likewise.
122         * string/bits/string2.h: Likewise.
123         * sysdeps/generic/glob.c: Likewise.
124         * sysdeps/generic/setenv.c: Likewise.
125         * sysdeps/i386/memcmp.S: Likewise.
126         * sysdeps/posix/waitid.c: Likewise.
127         * time/tzset.c: Likewise.
128
129 2000-02-21  Ulrich Drepper  <drepper@redhat.com>
130
131         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add
132         getrlimit@GLIBC_2.0.
133         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
134
135         * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed.
136         Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
137
138         * elf/elf.h (ELF32_ST_OTHER): Removed.
139         (ELF64_ST_OTHER): Likewise.
140
141         * sysdeps/alpha/fpu/fpu_control.h: Update comment.
142
143         * malloc/Makefile (tests): Add tst-valloc.
144         * malloc/tst-valloc.c: New file.
145
146 2000-02-21  Andreas Jaeger  <aj@suse.de>
147
148         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to
149         IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and
150         IPV6_RTHDR_TYPE_0 to synch with RFC 2292.
151         * sysdeps/generic/bits/in.h: Likewise.
152
153 2000-02-21  Ulrich Drepper  <drepper@redhat.com>
154
155         * po/gl.po: Update from translation team.
156
157         * timezone/antarctica: Update from tzdata2000b.
158         * timezone/asia: Likewise.
159         * timezone/australasia: Likewise.
160         * timezone/europe: Likewise.
161
162         * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn
163         call to initialize malloc_getpagesize.
164         (pvALLOc): Likewise.
165
166 2000-02-20  Ulrich Drepper  <drepper@redhat.com>
167
168         * po/it.po: Update from translation team.
169
170 2000-02-20  Philip Blundell  <philb@gnu.org>
171
172         * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
173
174 2000-02-20  Ulrich Drepper  <drepper@redhat.com>
175
176         * sunrpc/rpc_main.c (checkfiles): Add comment to help translators.
177
178         * po/de.po: Update from translation team.
179
180 2000-02-19  Ulrich Drepper  <drepper@redhat.com>
181
182         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of
183         _libc_fpreg and _libc_fpstate and use it to define fpregset_t.
184         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define
185         using elf_gregset_t.
186         (prfpregset_t): Define using elf_fpregset_t.
187
188         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
189         definition compatible with definition in 2.1.2 and before.
190         (struct ucontext): Use fpregset_t.
191         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
192         as pointer to fpregset_t.
193
194 2000-02-18  Ulrich Drepper  <drepper@redhat.com>
195
196         * string/bits/string2.h (strnlen): Add cast to prevent warning.
197
198         * nscd/connections.c (handle_request): Don't abort() if unknown
199         command is sent.
200
201 2000-02-17  Ulrich Drepper  <drepper@redhat.com>
202
203         * nscd/hstcache.c (cache_addhst): Don't cache name->record entries
204         if more than one IP address is available.
205
206 2000-02-17  Jakub Jelinek  <jakub@redhat.com>
207
208         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
209
210 2000-02-16  Ulrich Drepper  <drepper@redhat.com>
211
212         * locale/programs/charmap.c (charmap_read): Find charmap also in
213         the standard directory.
214
215         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
216         __syscall_mmap2.
217
218         * sysdeps/unix/sysv/linux/execve.c: Pretty print.
219
220         * po/it.po: New file.
221         * po/pl.po: Update from translation team.
222
223 2000-02-16  Andreas Jaeger  <aj@suse.de>
224
225         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
226         value.
227
228 2000-02-16  Andreas Jaeger  <aj@suse.de>
229
230         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
231         typo.
232
233 2000-02-15  Andreas Jaeger  <aj@suse.de>
234
235         * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
236
237 2000-02-15  Andreas Jaeger  <aj@suse.de>
238
239         * math/libm-test.inc (nearbyint_test): Add some tests.
240         (rint_test): Likewise.
241
242 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
243
244         * locale/programs/repertoire.c (repertoire_new_char): NUL
245         terminated names of character in range.
246
247         * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
248         Define and initialize use_outdigits in the inner loops.
249
250         * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
251         not exist.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
252
253         * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
254         enable it.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
255         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
256         * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
257
258 2000-02-14  Andreas Jaeger  <aj@suse.de>
259
260         * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
261
262 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
263
264         * manual/job.texi: Fix typos.
265         * manual/process.texi: Likewise.
266         * manual/signal.texi: Likewise.
267
268         * sysdeps/powerpc/atomicity.h: Remove white space to avoid
269         compiler warning.
270
271 2000-02-14  Scott Bambrough  <scottb@netwinder.org>
272
273         * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm):  Add
274         Rebel-NetWinder to platform table so _ioperm platform lookup via
275         /proc/cpuinfo works on later version NetWinders.
276
277 2000-02-13  Ulrich Drepper  <drepper@redhat.com>
278
279         * locale/programs/charmap.c (charmap_read): Remove erronous free
280         call.
281
282         * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
283         so test for overflow and handle it.
284         * sysdeps/i386/fpu/s_sinf.S: Likewise.
285         * sysdeps/i386/fpu/s_tanf.S: Likewise.
286         Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
287
288         * iconvdata/Makefile (modules): Add UTF-16.
289         (distribute): Add utf-16.c.
290         * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
291         UTF-16LE.
292         * iconvdata/utf-16.c: New file.
293         * iconv/gconv_builtin.h: Remove UTF-16 entries here.
294         * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
295         PR libc/1580 and libc/1581.
296
297         * iconv/skeleton.c: Increment __invocation_counter after every call
298         to the loops.
299
300 2000-02-12  Andreas Jaeger  <aj@suse.de>
301
302         * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
303         declaration to place where it's needed to avoid compiler warning.
304         * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
305
306 2000-02-12  Ulrich Drepper  <drepper@redhat.com>
307
308         * locale/weightwc.h (findidx): Correct find index value.
309
310         * locale/nl_langinfo.h: Add casts to prevent warnings.
311
312         * wctype/iswctype_l.c: Use correct types for mapped data.
313         * wctype/wcfuncs.c: Add one more comment for clarification.
314         * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
315         * wctype/wctrans.c: Likewise.
316
317 2000-02-12  Andreas Jaeger  <aj@suse.de>
318
319         * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
320         conventions.
321         (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
322         (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
323         file and make dependend on RESOLVE.
324         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
325         (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
326
327 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
328
329         * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
330
331         * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
332         alias for CURRENCY_SYMBOL.
333         * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
334         information.  [PR libc/1583].
335
336 2000-02-08  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
337
338         * locale/weightwc.h: Fix problem with collating-element.
339
340         * locale/programs/ld-collate.c (collate_finish): Output wide
341         character collating-symbol, which has no wide strings.
342
343         * locale/programs/ld-collate.c (collate_output): Fix problem with
344         wide character collating-element.
345
346 2000-02-09  Andreas Jaeger  <aj@suse.de>
347
348         * time/strptime.c (strptime_internal): Fix pointer dereference.
349         Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
350         libc/1591.
351
352 2000-02-08  Jakub Jelinek  <jakub@redhat.com>
353
354         * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
355         * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
356         * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
357         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
358         shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
359         * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
360         and oldshmctl to sysdep-routines.
361
362 2000-02-08  Andreas Jaeger  <aj@suse.de>
363
364         * locale/programs/locale.c (write_locales): Fix handling of
365         whitespace lines.
366         Fixes PR libc/1588, reported by Miroslav Holcak
367         <miroslav.holcak@vitkovice.cz>.
368
369 2000-02-07  Thorsten Kukuk  <kukuk@suse.de>
370
371         * config.make.in: Add infodir.
372         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
373         header files.
374
375 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
376
377         * posix/getopt.c: Suppress messages if first character of
378         optstring is a colon (PR libc/1584).
379
380         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
381         and elf_* types to interpret values passed up from the kernel.
382         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
383
384         * locale/nl_langinfo.c: Correct return value in error case.  Don't
385         set errno (PR libc/1582).
386         * manual/locale.texi: Update to reflect change.
387
388 2000-02-02  Andreas Schwab  <schwab@suse.de>
389
390         * malloc/Makefile (distribute): Add memprof.h.
391         * malloc/memprof.c: Move definition of GETSP and GETTIME to new
392         header memprof.h.
393         * sysdeps/generic/memprof.h: New file.
394         * sysdeps/alpha/memprof.h: New file.
395         * sysdeps/i386/memprof.h: New file.
396         * sysdeps/m68k/memprof.h: New file.
397         * sysdeps/mips/memprof.h: New file.
398         * sysdeps/powerpc/memprof.h: New file.
399         * sysdeps/sparc/memprof.h: New file.
400
401 2000-02-01  Jakub Jelinek  <jakub@redhat.com>
402
403         * sysdeps/unix/sysv/linux/getresgid.c: Move...
404         * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
405         (getresgid): Use getresgid32 if __libc_missing_32bit_uids
406         is -1 or 0.
407         * sysdeps/unix/sysv/linux/getresuid.c: Move...
408         * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
409         (getresuid): Use getresuid32 if __libc_missing_32bit_uids
410         is -1 or 0.
411         * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
412         __libc_missing_32bit_uids.
413         (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
414         -1 or 0.
415         * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
416         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
417         * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
418         * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
419         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
420         * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
421         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
422         * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
423         * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
424         * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
425         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
426         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
427         * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
428         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
429         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
430         * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
431         * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
432         * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
433         * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
434         * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
435         * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
436         * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
437         * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
438         * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
439         * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
440         * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
441         * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
442         * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
443         * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
444         * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
445         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
446         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
447         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
448         * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
449         Make syscall directly, no stubs needed.
450         (getresgid): Likewise.
451         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
452         Likewise.
453         (getresgid): Likewise.
454
455 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
456
457         * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
458         Reported by Bruno Haible <haible@ilog.fr>.
459
460         * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
461
462         * stdio-common/printf_fp.c: Truely support wide characater output.
463         Finally handle decimal points and thousands separator characters
464         correctly for multibyte output.
465         * stdio-common/printf_size.c: Likewise.
466         * sysdeps/generic/printf_fphex.c: Likewise.
467         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
468
469         * stdio-common/vfscanf.c: Implement I modifier for numbers to read
470         locale dependent digits.
471
472         * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
473         decimal point and thousands separator values to wide characters from
474         wide character strings.
475         * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
476
477         * locale/indigitswc.h: Dereference wcdigits array elements.
478
479 2000-02-03  Jakub Jelinek  <jakub@redhat.com>
480
481         * stdlib/canonicalize.c (canonicalize): Zero terminate
482         path to copy on error.
483
484 2000-02-01  Cristian Gafton  <gafton@redhat.com>
485
486         * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
487
488 2000-01-31  Philip Blundell  <philb@gnu.org>
489
490         * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
491
492 2000-01-31  Andreas Jaeger  <aj@suse.de>
493
494         * intl/Makefile (generated): msgs.h is generated.
495
496         * localedata/Makefile (generated-dirs): Add de_DE.437.
497
498 2000-01-31  Jakub Jelinek  <jakub@redhat.com>
499
500         * config.make.in: Allow default localedir to come from configure.
501         * configure.in: Export libc_cv_localedir.
502         * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
503         stuff into $exec_prefix/lib/locale because it can be shared between
504         32bit and 64bit libraries.
505         * configure: Rebuilt.
506         * sysdeps/unix/sysv/linux/configure: Rebuilt.
507
508 2000-01-31  Andreas Jaeger  <aj@suse.de>
509
510         * inet/tst-network.c: New file.
511         * inet/Makefile (tests): Add tst-network.
512
513         * inet/inet_net.c (inet_network): Don't overwrite memory or allow
514         to great last digits.
515
516 2000-02-10  Andreas Jaeger  <aj@suse.de>
517
518         * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
519         Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
520
521 2000-02-09  Andreas Jaeger  <aj@suse.de>
522
523         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
524
525         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
526
527 2000-02-08  Andreas Jaeger  <aj@suse.de>
528
529         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
530
531         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
532         Make it compile.
533
534         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
535         c_ispeed and c_ospeed which are not implemented.
536
537         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
538         for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
539         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
540         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
541         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
542
543 2000-02-05  Andreas Jaeger  <aj@suse.de>
544
545         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
546         work - set to 4 in accordance with changes made in the Linux/MIPS
547         kernel.  Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
548         actually work.
549
550 2000-02-04  Andreas Jaeger  <aj@suse.de>
551
552         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
553         the defines.
554
555 2000-02-03  Andreas Jaeger  <aj@suse.de>
556
557         * sysdeps/mips/abort-instr.h: New file.
558
559         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
560
561         * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
562
563         * sysdeps/mips/stackinfo.h: New file.
564
565 2000-02-01  Andreas Jaeger  <aj@suse.de>
566
567         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
568
569         * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
570         generic function.
571         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
572
573         * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
574         Baechle <ralf@gnu.org>.
575
576         * sysdeps/unix/sysv/linux/mips/brk.c: New file.
577
578         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
579
580         * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
581
582 2000-01-31  Andreas Jaeger  <aj@suse.de>
583
584         * inet/inet_net.c (inet_network): Synch with bind 8.2.2.  Fixes PR
585         libc/1567.
586
587 2000-01-30  Ulrich Drepper  <drepper@redhat.com>
588
589         * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
590         the standard.
591         * sysdeps/alpha/fpu/fesetround.c: Likewise.
592         * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
593         * sysdeps/arm/fpu/fesetround.c: Likewise.
594         * sysdeps/generic/feholdexcpt.c: Likewise.
595         * sysdeps/generic/fesetround.c: Likewise.
596         * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
597         * sysdeps/i386/fpu/fesetround.c: Likewise.
598         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
599         * sysdeps/m68k/fpu/fesetround.c: Likewise.
600         * sysdeps/mips/fpu/fesetround.c: Likewise.
601         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
602         * sysdeps/powerpc/fpu/fesetround.c: Likewise.
603         * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
604         * sysdeps/sparc/fpu/fesetround.c: Likewise.
605         Patch by Miloslav Trmac <mitr@volny.cz>.
606
607         * locale/programs/ld-collate.c (struct locale_collate_t): Change
608         type of plane_size and plane_cnt to uint32_t.
609         Reported by Jakub Jelinek.
610
611 2000-01-29  Jakub Jelinek  <jakub@redhat.com>
612
613         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
614         (SYSCALL_ERROR_HANDLER): Optimize.
615         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
616         Include linux/sparc/sysdep.h.
617         Use a different guard define than linux/sparc/sysdep.h.
618         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
619         stubs for inlined syscalls.
620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
621         (SYSCALL_ERROR_HANDLER): Optimize.
622         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
623         Include linux/sparc/sysdep.h.
624         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
625         stubs for inlined syscalls.
626         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
627         Use INLINE_SYSCALL.
628         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
629         * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
630
631 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
632
633         * locale/loadlocale.c (_nl_load_locale): Optimize a bit.  Pretty
634         print.  Add checks for _POSIX_MMAPPED_FILES where necessary.
635         (_nl_unload_locale): If locale data was mmapped use munmap.
636
637 2000-01-29  Andreas Jaeger  <aj@suse.de>
638
639         * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
640         _EXTERN_INLINE, compile inline assembler functions only with gcc.
641
642 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
643
644         * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
645         * catgets/gencat.c (read_input_file): Remove messages correctly.
646         * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
647         adjacent colons correctly.  Correct loops to read territory and
648         and codeset part.
649         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
650
651         * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
652         pool entry.
653         Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
654
655 2000-01-28  Jakub Jelinek  <jakub@redhat.com>
656
657         * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
658         interface with symbol version GLIBC_2.2.
659         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
660         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
661         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
662         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
663
664 2000-01-27  Scott Bambrough  <scottb@netwinder.org>
665
666         * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
667         resource directory.
668         * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
669         versioning setrlimit and getrlimit.
670
671 2000-01-27  Andreas Jaeger  <aj@suse.de>
672
673         * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
674         * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
675
676 2000-01-27  Ruediger Oertel  <ro@suse.de>
677
678         * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
679
680 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
681
682         * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
683         correct place to avoid uninitialized memory passed to writev.
684
685         * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
686         long string in definition.Only enable returning wide character
687         strings if really needed.
688         * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
689
690         * configure.in: Add check for recent enough sed version.
691
692 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
693
694         * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
695         _i18n_itoa): Fix parameter lists.
696
697         * locale/C-monetary.c: Add initializers for new fields.
698         * locale/C-numeric.c: Likewise.
699         * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
700         outdigits.h, and outdigitswc.h.
701         * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
702         _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
703         and _NL_NUMERIC_THOUSANDS_SEP_WC.
704         * locale/indigits.h: New file.
705         * locale/indigitswc.h: New file.
706         * locale/outdigits.h: New file.
707         * locale/outdigitswc.h: New file.
708         * locale/programs/ld-monetary.c: Write out decimal point and
709         thousands separator info in wide character form.
710         * locale/programs/ld-numeric.c: Likewise.
711         * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
712         (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
713         * stdio-common/_i18n_itoa.c: New file.
714         * stdio-common/_i18n_itoa.h: New file.
715         * stdio-common/_i18n_itowa.c: New file.
716         * stdio-common/_i18n_itowa.h: New file.
717         * stdio-common/printf-parse.h: Parse 'I' flag.
718         * stdio-common/printf.h (struct printf_info): Add i18n field.
719         * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
720         outdigits.
721
722 2000-01-27  Geoff Keating  <geoffk@cygnus.com>
723
724         * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
725         unnecessarily.
726
727         * sysdeps/unix/sysv/linux/kernel-features.h
728         (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
729         __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
730         2.3.35.
731
732         * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
733         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
734         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
735         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
736         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
737         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
738         * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
739         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
740         s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
741         s_truncate64.
742         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
743         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
744
745         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
746         __curbrk off the small data area register.  Reported by
747         Andrew Haley <aph@pasanda.cygnus.co.uk>.
748
749 2000-01-26  Andreas Jaeger  <aj@suse.de>
750
751         * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
752
753 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
754
755         * locale/Makefile (distribute): Remove nonexisting files.
756         * sysdeps/powerpc/Dist: Move FPU specific files to...
757         * sysdeps/powerpc/fpu/Dist: ...here.  New file.
758         * nss/Makefile: Distribute files for new libdb interface.
759         * math/Makefile (distribute): Add README.libm-test.
760         Patch by Andreas Jaeger.
761
762 2000-01-26  David McCann  <david.mccann@alcatel.at>
763
764         * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
765
766 2000-01-25  Andreas Jaeger  <aj@suse.de>
767
768         * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
769         version check since we're using cpp.
770
771 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
772
773         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
774         Fix a typo.
775
776 2000-01-26  Andreas Jaeger  <aj@suse.de>
777
778         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
779         about unitialised variable kbuf.
780         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
781         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
782
783 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
784
785         * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
786         messages.
787         (collate_read): Remove unnecessary `if'.
788
789 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
790
791         * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
792         and load appropriate conversions.
793         * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
794         made global.
795         * libio/libioP.h: Declare __libio_codecvt.
796         * manual/stdio.texi: Document ,ccs= option for fopen.
797         * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
798         * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
799
800         * libio/iofclose.c: Free conversion data if stream was wide-oriented.
801
802         * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
803
804         * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
805
806         * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
807         * posix/testfnm.c: Add a few more tests.  Rearrange test output.
808
809 2000-01-25  Andreas Schwab  <schwab@suse.de>
810
811         * posix/testfnm.c: Add new test case.  Use FNM_PATHNAME instead of
812         FNM_FILE_NAME consistently.
813
814 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
815
816         * posix/fnmatch.c: Define STRCOLL appropriately for the loop
817         definition.
818         * posix/fnmatch_loop.c: Undefine STRCOLL.
819
820         * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
821         kernels with stat64 support.
822         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
823         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
824         Patch by SL Baur <steve@xemacs.org>.
825
826         * string/strxfrm.c: Don't count in the terminating NUL byte/word.
827
828 2000-01-24  Paul Eggert  <eggert@twinsun.com>
829
830         * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
831         deciding whether a character falls within a character range.
832
833 2000-01-24  Paul Eggert  <eggert@twinsun.com>
834
835         * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
836         lower-case A too.
837
838 2000-01-24  Thorsten Kukuk  <kukuk@suse.de>
839
840         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
841
842 2000-01-23  Paul Eggert  <eggert@twinsun.com>
843
844         * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
845
846 2000-01-23  Paul Eggert  <eggert@twinsun.com>
847
848         * posix/regex.c (compile_range): When matching a character
849         range, use the current collating sequence, as POSIX requires.
850
851 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
852
853         * string/argz-stringify.c: Handle case of missing \0 at the end of
854         the given argz.
855
856 2000-01-24  Ulrich Drepper  <drepper@cygnus.com>
857
858         * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
859         size anymore.
860
861         * locale/programs/ld-collate.c (collate_output): Also handle
862         IGNOREd characters in the simple way when generating the multibyte
863         table.
864
865         * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
866         handling to ...
867         (ctype_finish): ...here.  Check for missing codeset name.
868
869         * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
870         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
871
872 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
873
874         * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
875         * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
876         * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
877         * sysdeps/unix/sysv/linux/msgctl.c: ...here.  Include ipc_priv.h.
878         * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
879         * sysdeps/unix/sysv/linux/semctl.c: ...here.  Include ipc_priv.h.
880         * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
881         * sysdeps/unix/sysv/linux/shmctl.c: ...here.  Include ipc_priv.h.
882         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
883         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
884         * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
885         * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
886         * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
887         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
888         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
889         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
890         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
891         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
892         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
893         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
894         * sysdeps/unix/sysv/linux/msgget.c: Likewise.
895         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
896         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
897         * sysdeps/unix/sysv/linux/semget.c: Likewise.
898         * sysdeps/unix/sysv/linux/semop.c: Likewise.
899         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
900         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
901         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
902
903 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
904
905         * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
906         * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
907         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
908         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
909         * sysdeps/unix/sysv/linux/arm/Versions: Remove
910         setrlimit64@GLIBC_2.1.3.
911         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
912         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
913         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
914         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
915         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
916         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
917         so that setrlimit64@GLIBC_2.1 can report limits above 2G.
918         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
919         setrlimit): Remove syscall stubs, add normal syscalls.
920         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
921         Remove syscall stub.
922
923 2000-01-22  Andreas Jaeger  <aj@suse.de>
924
925         * localedata/tst-locale.sh: Enable test for de_DE.437.
926
927 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
928
929         * string/Versions: Export __strndup.
930
931 2000-01-23  Philip Blundell  <philb@gnu.org>
932
933         Add basic support for RPC over IPv6:
934         * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
935         for remote address.
936         (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
937         prototypes.
938         * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
939         clntudp6_bufcreate): New prototypes.
940         * inet/netinet/in.h (bindresport6): Likewise.
941         * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
942         * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
943         svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
944         bindresvport6 for GLIBC_2.2.
945         * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
946         * sunrpc/rpc_svcout.c: Likewise.
947         * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
948         simple assignment when copying addresses.
949         * sunrpc/svc_udp.c (cache_get): Likewise.
950         * sunrpc/svc_unix.c (rendezvous_request): Likewise.
951         * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
952         sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
953
954 2000-01-05  Philip Blundell  <philb@gnu.org>
955
956         * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
957
958 2000-01-23  Andreas Jaeger  <aj@suse.de>
959
960         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
961         parameter to fstat calls.
962
963 2000-01-18  Roland McGrath  <roland@baalperazim.frob.com>
964
965         * sysdeps/generic/bits/socket.h
966         (__ss_aligntype, struct sockaddr_storage): Make these like Linux
967         version, replacing old type name `__ss_align'.
968
969 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
970
971         * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
972         (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
973         * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
974         (__lseek, lseek): Make these weak aliases for __libc_lseek.
975         * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
976         (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
977         * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
978         (__open, open): Make these weak aliases for __libc_open.
979
980         * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
981         trailing comma.
982         (anonymous enum for MSG_*): Likewise.
983         (anonymous enum for SO_*): Likewise.
984
985 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
986
987         * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
988         (PR libc/1553).
989
990 2000-01-08  Mark Kettenis  <kettenis@gnu.org>
991
992         * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
993         (setitimer_locked): Use it to quantize the timer values.  Use
994         quantized timer values to check if the timeout changed.
995
996 2000-01-22  Andreas Jaeger  <aj@suse.de>
997
998         * sunrpc/rpc/svc.h: Fix description for svc_register.
999
1000 2000-01-23  Mark Kettenis  <kettenis@gnu.org>
1001
1002         * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
1003
1004 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
1005
1006         * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
1007         fixes part 2 of bug 1549.
1008         * sunrpc/rpc_des.h: Remove unused defines.
1009
1010 2000-01-22  Mark Kettenis  <kettenis@gnu.org>
1011
1012         * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
1013
1014 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
1015
1016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
1017         * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
1018         * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
1019         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1020         * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
1021         * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
1022         and other inline functions for port access.
1023         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
1024         access functions.
1025
1026 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
1027
1028         * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
1029         Patch by Bruno Haible <haible@ilog.fr>.
1030
1031 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
1032
1033         * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
1034         them all at the end, eliding the final comma.
1035         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1036
1037 2000-01-21  Ulrich Drepper  <drepper@cygnus.com>
1038
1039         * intl/libintl.h: Add format_arg attributes to declarations of new
1040         functions.
1041
1042         * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
1043         ngettext, and plural.
1044         (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
1045         (test-srcs): Add tst-gettext.
1046         (before-compile): Add $(objpfx)msgs.h.
1047         Add rules for plural.c and msgs.h generation and running tst-gettext.\
1048         * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
1049         and ngettext.
1050         * intl/dcgettext.c: Move most code into dcigettext.c.  Add call
1051         dcigettext with appropriate parameters.
1052         * intl/dcigettext.c: New file.
1053         * intl/dcngettext.c: New file.
1054         * intl/dngettext.c: New file.
1055         * intl/ngettext.c: New file.
1056         * intl/gettextP.h (struct expression): Define.
1057         (struct loaded_domain): Add plural and nplurals members.
1058         Add prototypes for new internal functions.
1059         * intl/libintl.h: Declare new functions.  Add optimizations for them.
1060         * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
1061         * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
1062         header entry and parse and store the expression.
1063         * intl/plural.y: New file.
1064         * intl/po2test.sed: New file.
1065         * intl/tst-gettext.c: New file.
1066         * intl/tst-gettext.sh: New file.
1067         * manual/message.texi: Document new interfaces.
1068
1069         * intl/gettext.c: Call __dcgettext directly.
1070
1071 2000-01-20  Ulrich Drepper  <drepper@cygnus.com>
1072
1073         * manual/getopt.texi (Using the getopt function): Fix description of
1074         return value for format string starting with '-' (PR libc/1551).
1075         Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
1076
1077         * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
1078         Patch by jens.moeller@westgeo.com (PR libc/1550).
1079
1080         * locale/programs/ld-collate.c (struct element_t): Add wclast
1081         and compute it where necessary.
1082         (collate_output): Insert indirect references in the right order.
1083
1084         * math/Makefile (tests): Add test-misc.
1085         * math/test-misc.c: New file.
1086
1087 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
1088
1089         * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
1090         with exponent >31 and < 63 (PR libc/1548).
1091
1092         * locale/programs/ld-collate.c (output_weightwc): Return index
1093         measured in words, not bytes.  Don't write out words for ignored
1094         characters.
1095         (collate_output): Correct various problems with alignment in the
1096         output file.
1097         * locale/weight.h: Adjust for last change in ld-collate.c of adding
1098         alignment padding.
1099
1100         * stdlib/strfmon.c: Don't report an error if final NUL is at the
1101         end of the buffer.  Set errno correctly if floating-point number
1102         would overflow buffer.
1103
1104         * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
1105
1106         * locale/weight.h (findidx): Little optimization.  Correctly return
1107         offset in indirect table.
1108         * locale/programs/ld-collate.c (struct element_t): Add mblast
1109         and compute it where necessary.
1110         (insert_weights): Correctly handle missing weights in ellipsis
1111         expression.
1112         (handle_ellipsis): Correctly enqueue new element.
1113         (collate_output): Insert indirect references in the right order.
1114
1115 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1116
1117         * wcsmbs/mbrtowc.c: Create temporary state object if no output is
1118         written.
1119         * wcsmbs/mbsrtowcs.c: Likewise.
1120         * wcsmbs/wcrtomb.c: Likewise.
1121         * wcsmbs/wcsrtombs.c: Likewise.
1122
1123         * wcsmbs/wcrtomb.c: Compute result correctly for successful call
1124         with s == NULL.
1125
1126         * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
1127         in gconv function.
1128
1129         * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
1130         incomplete but correct.
1131
1132         * locale/programs/charmap.c: NUL-terminate names of generated
1133         entries for ellipsis.
1134
1135 2000-01-18  Andreas Jaeger  <aj@suse.de>
1136
1137         * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
1138         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1139         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
1140         _STAT_VER_KERNEL handling up; don't save errno.
1141         * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
1142         * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
1143         * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
1144         * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
1145         * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
1146         * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
1148         * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
1149         * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
1150
1151 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1152
1153         * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
1154         Remove done variable and all uses.
1155         * iconv/skeleton.c: Update comment for *written modification.
1156         * iconv/gconv_int.h (__gconv): Update comment.
1157         Reported by Bruno Haible.
1158
1159 2000-01-18  Bruno Haible  <haible@ilog.fr>
1160
1161         * posix/fnmatch.c (ISWCTYPE): New macro.
1162         (__wcschrnul): New function.
1163         (BTOWC): New macro. Define it instead of __btowc.
1164         (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
1165         wcsrtombs. Call wctype, not __wctype.
1166         * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
1167         BTOWC instead of __btowc.
1168
1169 2000-01-18  Andreas Jaeger  <aj@suse.de>
1170
1171         * inet/Versions: Add new functions added on 2000-01-17.
1172
1173 2000-01-18  Jakub Jelinek  <jakub@redhat.com>
1174
1175         * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
1176
1177 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1178
1179         * timezone/antarctica: Update from tzdata2000a.
1180         * timezone/asia: Likewise.
1181         * timezone/australasia: Likewise.
1182         * timezone/backward: Likewise.
1183         * timezone/northamerica: Likewise.
1184         * timezone/southamerica: Likewise.
1185         * timezone/zone.tab: Likewise.
1186
1187         * nscd/connections.c (dbs): Use
1188         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
1189         Pretty printing.
1190
1191         * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
1192         address.  Suggested by Philip Blundell.
1193
1194         * posix/TESTS: Fix expected result for test cases with * with no
1195         leading expression.
1196
1197         * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
1198         * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here.  New file.
1199         * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
1200         open call would require read permission.
1201         Patch by James Antill <james@and.org>.
1202
1203         * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
1204
1205         * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
1206         * sysdeps/posix/getaddrinfo.c: Correct modifications done for
1207         PR1515.  Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1208
1209         * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
1210         * posix/regex.c (regex_compile): Return appropriate errors for
1211         unterminated brace expressions.  Detect invalid characters
1212         in brace expressions.
1213         * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
1214         * sysdeps/posix/sysconf.c: Include regex.h.
1215         Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
1216
1217 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1218
1219         * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
1220         AI_NUMERICHOST flag is set, return an error.
1221         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1222
1223         * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
1224         iruserok_af.
1225         * inet/rexec.c: Implement rexec_af.
1226         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1227
1228         * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
1229         and rresvport_af.
1230
1231 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1232
1233         * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
1234         * sysdeps/unix/sysv/linux/bits/sem.h: New file.
1235         * sysdeps/unix/sysv/linux/bits/shm.h: New file.
1236         * sysdeps/unix/sysv/linux/bits/msg.h: New file.
1237         * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
1238         * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
1239         * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
1240         * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
1241         * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
1242         * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
1243         * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
1244         * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
1245
1246         * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1247         Renamed from msgctl.
1248         (__new_msgctl): New function.
1249         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1250         Renamed from semctl.
1251         (__new_semctl): New function.
1252         * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1253         Renamed from shmctl.
1254         (__new_shmctl): New function.
1255
1256         * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1257         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1258         * sysdeps/unix/sysv/linux/semget.c: Likewise.
1259         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1260         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1261         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1262         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1263         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1264
1265         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1266         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1267         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1268
1269         * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1270
1271 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1272
1273         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1274         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1275         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1276         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1277         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1278         syscalls.
1279
1280         * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1281         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1282
1283         * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1284         available on sparc since 2.3.39.
1285
1286         * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1287
1288 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1289
1290         * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1291         prototype.
1292         (__real_chown): Return EINVAL if owner or group are out of the range
1293         -1U .. 65534.
1294         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1295         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1296         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1297         EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1298         * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1299         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1300         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1301         * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1302         prototype.
1303         Don't include non-existant header.
1304         (__chown): Return EINVAL if owner or group are out of the range
1305         -1U .. 65534.
1306         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1307         setresgid): Inherit standard linux/syscalls.list definitions.
1308         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1309         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1310         * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1311         __setresgid symbol.
1312
1313 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1314
1315         * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1316         from 1989 change in ISO 639.
1317
1318 2000-01-12  Andreas Jaeger  <aj@suse.de>
1319
1320         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1321         function; needed for 32bit uid support.
1322
1323         * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1324         uids correctly.
1325
1326 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1327
1328         * intl/locale.alias: Add entries for galician.
1329
1330         * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1331         try to get sequence from charmap with Uxxxxxxxx name.
1332         (charclass_ucs4_ellipsis): Likewise.
1333         (charclass_charcode_ellipsis): Allow byte sequence missing.
1334         (read_writestring): Free allocated memory in case of an error.
1335         (set_class_defaults): Don't search repertoire map for wide character
1336         default values; we know it's UCS4.
1337
1338         * locale/programs/repertoire.c (repertoire_find_value): Just return an
1339         error if no repertoire map was loaded.
1340         (repertoire_find_symbol): Likewise.
1341         (repertoire_find_seq): Likewise.
1342
1343         * posix/fnmatch.c: Put internal_fnmatch in separate file.  Include
1344         twice, to define singlebyte and multibyte version.
1345         (fnmatch): Differentiate between singlebyte and multibyte locale and
1346         call appropriate internal function.
1347         * posix/fnmatch_loop.c: New file.
1348         * posix/Makefile (distribute): Add fnmatch_loop.c.
1349
1350         * locale/programs/repertoire.c (repertoire_read): Don't print
1351         error message when repertoire map is missing.
1352         (repertoire_complain): Print error message for missing map, but only
1353         once.
1354         * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1355
1356         * locale/programs/linereader.c (get_string): Prefer getting names
1357         from charseq entries.  Try finding Uxxxxxxxx names in charmap
1358         before trying to map from repertoire.
1359
1360 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1361
1362         * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1363         error in last change.
1364         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1365
1366         * stdlib/longlong.h: Fix typo in last patch.
1367
1368 2000-01-12  Andreas Jaeger  <aj@suse.de>
1369
1370         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1371         Added for Linux 2.3.39+.
1372
1373         * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1374         32bit GIDs.
1375         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1376         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1377         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1378         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1379         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1380         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1381         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1382         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1383         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1384         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1385         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1386         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1387         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1388         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1389         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1390
1391         * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1392         * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1393         * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1394         * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1395         * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1396         * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1397         * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1398         * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1399         * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1400         * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1401         * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1402         * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1403         * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1404         * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1405         * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1406         * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1407         * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1408         * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1409         * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1410         * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1411         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1412         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1413         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1414         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1415         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1416         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1417         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1418         Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1419
1420 2000-01-14  Jakub Jelinek  <jakub@redhat.com>
1421
1422         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1423
1424 2000-01-13  Jakub Jelinek  <jakub@redhat.com>
1425
1426         * sysdeps/generic/backtrace.c: Include signal.h which
1427         sigcontextinfo.h headers are used to expect.
1428         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1429         (register_dump): Fix a typo in the printout.
1430         Avoid using reg_window, so that asm/ptrace.h is not necessary.
1431         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1432         (ADVANCE_STACK_FRAME): Likewise.
1433
1434         * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1435         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1436         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1437
1438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1439         to make it clear this file depends on __WORDSIZE.
1440         * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1441         Renamed from have_no_truncate64.
1442         * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1443         Likewise.
1444
1445 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1446
1447         * Makeconfig (rpath-dirs): Remove db2.
1448         (dbojdir): Remove variable.
1449
1450         * locale/programs/locfile.h (handle_copy): Take repertoire map
1451         name as parameter, not pointer to repertoire structure.
1452         * locale/programs/ld-address.c: Change caller.
1453         * locale/programs/ld-ctype.c: Likewise.
1454         * locale/programs/ld-identification.c: Likewise.
1455         * locale/programs/ld-measurement.c: Likewise.
1456         * locale/programs/ld-messages.c: Likewise.
1457         * locale/programs/ld-monetary.c: Likewise.
1458         * locale/programs/ld-name.c: Likewise.
1459         * locale/programs/ld-numeric.c: Likewise.
1460         * locale/programs/ld-paper.c: Likewise.
1461         * locale/programs/ld-telephone.c: Likewise.
1462         * locale/programs/ld-time.c: Likewise.
1463
1464 2000-01-13  Ulrich Drepper  <drepper@cygnus.com>
1465
1466         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1467         mmap2 is available when compiling but no at runtime.
1468
1469 2000-01-12  Ulrich Drepper  <drepper@cygnus.com>
1470
1471         * iconvdata/iso-ir-165.c: New file.
1472         * iconvdata/iso-ir-165.h: New file.
1473         * iconvdata/Makefile: Add rules to build libISOIR165.
1474
1475         * Makefile (install): Correct passing -r parameter to ldconfig.
1476
1477         * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1478         Reported by Bruno Haible <haible@ilog.fr>.
1479
1480 2000-01-11  Andreas Schwab  <schwab@suse.de>
1481
1482         * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1483
1484 2000-01-10  Thorsten Kukuk  <kukuk@suse.de>
1485
1486         * nss/getent.c: Add ipv6 support for hosts.
1487
1488 2000-01-05  Philip Blundell  <pb@futuretv.com>
1489
1490         * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1491         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1492         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1493         oldsetrlimit.
1494         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1495         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1496         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1497         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1498         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1499         * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1500
1501         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1502         (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1503         [subdir=misc] (sysdep_headers): Add sys/elf.h.
1504
1505 2000-01-09  Andreas Jaeger  <aj@suse.de>
1506
1507         * manual/install.texi (Tools for Compilation): Update required
1508         compiler version.
1509         (Configuring and compiling): Restore old comments about
1510         configparms; modify to reflect current usage.
1511
1512 2000-01-09  Philip Blundell  <philb@gnu.org>
1513
1514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1515         resolution if the hints included AI_NUMERICHOST.
1516
1517 2000-01-11  Andreas Schwab  <schwab@suse.de>
1518
1519         * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1520         infinite loop to avoid pulling in stdio in the dynamic linker.
1521         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1522
1523 2000-01-10  Andreas Jaeger  <aj@suse.de>
1524
1525         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1526         change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1527         EM_MIPS_RS3_LE.
1528         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1529
1530         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1531         gregset_t, fpregset_t, and NGREG definitions.
1532
1533         * sysdeps/mips/Implies: Add wordsize-32.
1534
1535         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1536         int's.
1537
1538         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1539         missing int's.
1540
1541         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1542         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1543         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1544         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1545         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1546         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1547         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1548
1549 2000-01-09  Philip Blundell  <philb@gnu.org>
1550
1551         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1552         (dl_platform_init): Allow _dl_platform to be NULL.
1553
1554         * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1555         last change.
1556
1557 2000-01-08  Ulrich Drepper  <drepper@cygnus.com>
1558
1559         * nscd/connections.c (handle_request): Handle systems without
1560         SO_PEERCRED.
1561         (nscd_run): Likewise.
1562
1563 2000-01-07  Andreas Jaeger  <aj@suse.de>
1564
1565         Add support for Berkeley db 3.0.x and merge db support:
1566         * nss/nss_db/dummy-db.h (struct db30): New.
1567         (struct dbc30): New.
1568         Added DB30* flags.
1569
1570         * nss/makedb.c: Move all database routines to db-open.c.
1571         (main): Adjust to interface changes.
1572         Load database early to initialize version dependend variables.
1573
1574         * nss/db-open.c: Merge database routines from makedb.c.
1575         Define version dependend constansts as variables.
1576         (load_db): Check also for db 3.
1577         (internal_setent): Call dbopen.
1578         (db_cursor): New function from makedb; handles db 3 now.
1579         (dbopen): New function from makedb; handles db 3.
1580
1581         * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1582         different in different DB versions.
1583
1584         * nss/nss_db/nss_db.h: Add version dependend constants as
1585         variables, add exportet interfaces from db-open.c.
1586
1587         * nss/Makefile ($(objpfx)makedb): Link against db-open.
1588
1589 2000-01-07  Ulrich Drepper  <drepper@cygnus.com>
1590
1591         * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1592         Reported by Jim Meyering.
1593
1594         * time/strftime.c: Pretty printing.
1595
1596 2000-01-07  Andreas Jaeger  <aj@suse.de>
1597
1598         * manual/socket.texi (Host Names): Fix example.
1599         Reported by Marco Budde <budde@telos.de>.
1600
1601 2000-01-06  Ulrich Drepper  <drepper@cygnus.com>
1602
1603         * localedata/Makefile (install-locales): Create locale directory
1604         if it does not exist.
1605
1606         * locale/programs/charmap.c (charmap_read): Call lr_open here and
1607         not in parse_charmap.  Try also the directories on the I18NPATH.
1608         (parse_charmap): Change accordingly.
1609
1610 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1611
1612         * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1613         and oldsetrlimit64.c.
1614
1615         * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1616         sys/procfs.h.
1617
1618         * manual/texinfo.tex: Updated from latest official version.
1619
1620         * debug/Makefile (distribute): Add frame.h.
1621
1622 2000-01-05  Philip Blundell  <philb@gnu.org>
1623
1624         * sysdeps/arm/frame.h: New file.
1625         * sysdeps/generic/frame.h: Likewise.
1626         * sysdeps/generic/segfault.c (struct layout): Delete definition;
1627         include the above file instead.
1628         * sysdeps/generic/backtrace.c (struct layout): Likewise.
1629         (__backtrace): Use ADVANCE_STACK_FRAME.
1630         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1631         (ADVANCE_STACK_FRAME): New macro.
1632         (GET_FRAME): Apply above to returned value.
1633
1634         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1635
1636 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1637
1638         * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1639         Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1640
1641         * io/ftw.c (process_entry): Cache object dev/inode only for
1642         directories (PR libc/1514).
1643
1644 2000-01-05  Andreas Schwab  <schwab@suse.de>
1645
1646         * locale/programs/charmap.c (charmap_read): Fix typo.
1647
1648 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1649
1650         * locale/programs/charset.c: Removed.
1651
1652         * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1653         * iconvdata/gconv-modules: Likewise.
1654         * iconvdata/iso8859-16.c: New file.
1655
1656 2000-01-05  Andreas Schwab  <schwab@suse.de>
1657
1658         * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1659
1660 2000-01-05  Andreas Jaeger  <aj@suse.de>
1661
1662         * intl/locale.alias: Add lithunian entry.
1663         Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1664
1665 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1666
1667         * locale/programs/stringtrans.c: Removed.
1668         * locale/programs/stringtrans.h: Removed.
1669         * locale/programs/linereader.c: Remove #include of stringtrans.h.
1670
1671         * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1672         _POSIX_MAPPED_FILES is not defined.
1673
1674         * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1675         for loc_name copy.
1676
1677         * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1678         _nl_POSIX_name instead of "C" and "POSIX" strings.
1679
1680         * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1681         (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1682         * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed.  We can
1683         reuse the _nl_C_LC_CTYPE_tolower table.
1684         (_nl_C_LC_CTYPE_toupper32): Likewise.
1685         (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1686         toupper32 entries.
1687
1688         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1689         characters >= 0x80.
1690         (_nl_C_LC_CTYPE_class32): Likewise.
1691
1692         * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1693         aio_idle_time.
1694         * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1695         after the operation is done.  Let them linger for a user-definable
1696         time.
1697         * rt/aio_cancel.c: Likewise.
1698         Patch by Willian M Shubert <william.m.shubert@intel.com>.
1699
1700         * sysdeps/i386/i686/add_n.S: New file.
1701
1702 2000-01-02  Philip Blundell  <philb@gnu.org>
1703
1704         * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1705         to obtain port mapping information.  Avoid use of mprotect.
1706
1707 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1708
1709         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1710         definition from 2.3.36.
1711
1712 2000-01-04  Andreas Jaeger  <aj@suse.de>
1713
1714         * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1715         (struct db27): Add missing fields byteswapped, join and flags;
1716         remove wrong member handleq.
1717         (struct dbc27): Correct lock field.
1718
1719         * nss/makedb.c: Remove __P.
1720
1721 2000-01-04  Andreas Jaeger  <aj@suse.de>
1722
1723         * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1724         success, fix a memory leak and clean up function.
1725
1726 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1727
1728         * Makefile (install): Pass $(install_root) to ldconfig.
1729         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1730
1731 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1732
1733         * soft-fp/op-1.h: Fix division for machines using not normalizing
1734         version of udiv_qrnnd in longlong.h.
1735         * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1736         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1737         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1738         Patch by Eddie C. Dost <ecd@skynet.be>.
1739
1740         * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1741
1742 2000-01-03  Andreas Schwab  <schwab@suse.de>
1743
1744         * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1745         needed for change in common symbol handing in newer binutils.
1746
1747 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1748
1749         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1750         kernel without mmap2 syscall.
1751
1752 2000-01-03  Philip Blundell  <philb@gnu.org>
1753
1754         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1755         __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1756         ARM for kernels >= 2.3.35.
1757
1758 2000-01-03  Philip Blundell  <philb@gnu.org>
1759
1760         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1761         Optimise error handling a little.
1762         * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1763
1764 2000-01-03  Andreas Jaeger  <aj@suse.de>
1765
1766         * include/resolv.h: Remove declarations for __ns_name_ntop and
1767         __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1768
1769 2000-01-03  Andreas Jaeger  <aj@suse.de>
1770
1771         * time/tst-strptime.c (test_tm): Add tests for all fields of
1772         struct tm.
1773
1774 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1775
1776         * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1777
1778 2000-01-03  Andreas Jaeger  <aj@suse.de>
1779
1780         * string/tester.c (test_strsep): Add one more test.
1781
1782 2000-01-03  Philip Blundell  <philb@gnu.org>
1783
1784         * string/tester.c (test_mempcpy): New function.
1785         (main): Call it.
1786         (test_memcpy): Test unaligned cases too.
1787
1788         * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1789
1790         * sysdeps/arm/fpu/bits/mathdef.h: New file.
1791
1792 2000-01-02  Ulrich Drepper  <drepper@cygnus.com>
1793
1794         * posix/Makefile (tests): Add tst-mmap.
1795         * posix/tst-mmap.c: New file.
1796
1797         * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1798         call before handling error.
1799
1800         * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1801         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1802
1803         * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1804         0xa2e6 and 0xa2e7.
1805         (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1806         * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1807         mappings.
1808         * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1809         * iconvdata/testdata/ISO-2022-KR: Likewise.
1810
1811         * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1812
1813         * iconvdata/gconv-modules: Remove BALTIC.  It's the same as
1814         ISO-8859-13.
1815         * iconvdata/Makefile (distribute): Remove baltic.c.
1816         (modules): Remove BALTIC.
1817         (gen-8bit-gap-modules): Remove baltic.
1818         * iconvdata/baltic.c: Removed.
1819
1820         * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1821
1822         * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1823
1824         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1825         typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1826         Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1827
1828         * nss/Makefile: Add rules to build makedb.
1829         * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1830         * nss/nss_db/dummy-db.h: Likewise.
1831         * nss/makedb.c: New file.  Copied from file in db2, modified to not
1832         depend on being linked against libdb.
1833
1834 2000-01-01  Ulrich Drepper  <drepper@cygnus.com>
1835
1836         * Makeconfig (all-subdirs): Remove db and db2.
1837         * db/*: Removed.
1838         * db2/*: Removed.
1839
1840         * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1841         functions from here...
1842         * nss/db-alias.c: ...and here...
1843         * nss/db-netgrp.c: ...and here...
1844         * nss/nss_db/db-open.c: ...to here.  New file.
1845         * nss/nss_db/dummy-db.h: New file.
1846         * nss/nss_db/nss_db.h: New file.
1847         * nss/Depend: Depend in dlfcn, not db2.
1848         * nss/Makefile (libnss_db-routines): Add db-open.
1849         (distribute): Add nss_db.h dummy-db.h.
1850         (libnss_db.so): Replace libdb dependency by $(libdl).
1851         Based on a patch by Zack Weinberg.
1852
1853         * locale/programs/ld-ctype.c: Implement rest of transliteration
1854         definition parsing.
1855         * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1856         * locale/programs/locfile-token.h: Add tok_translit_ignore.
1857
1858 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1859
1860         * locale/programs/ld-collate.c (collate_output): Emit correct
1861         information for collation elements.
1862         Don't write over end of array idx.
1863         * posix/regex.c: Handle also collation elements at end of range.
1864
1865         * posix/PTESTS: Fix a few typos.
1866
1867         * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
1868         no idea where this came from.
1869         * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1870
1871 1999-12-31  Andreas Jaeger  <aj@suse.de>
1872
1873         * libio/strfile.h: Remove K&R compatibility.
1874         * locale/langinfo.h: Likewise.
1875         * locale/localeconv.c (localeconv): Likewise.
1876         * locale/programs/simple-hash.h: Likewise.
1877         * nis/nis_xdr.h: Likewise.
1878         * nis/rpcsvc/nislib.h: Likewise.
1879         * nis/rpcsvc/nis_callback.h: Likewise.
1880         * nis/rpcsvc/nis.h: Likewise.
1881         * nis/ypclnt.c: Likewise.
1882         * nscd/nscd_proto.h: Likewise.
1883         * nscd/nscd.c: Likewise.
1884         * sysdeps/generic/inttypes.h: Likewise.
1885         * sysdeps/gnu/utmpx.h: Likewise.
1886
1887         * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1888         * sunrpc/rpcsvc/rusers.x: Likewise.
1889
1890         * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1891
1892         * elf/dl-misc.c: Remove __libc_write prototype since it's already
1893         in include/unistd.h.
1894         * elf/dl-profile.c: Likewise.
1895         * elf/dl-load.c: Likewise for __libc_read.
1896
1897         * elf/dl-profile.c: Remove __P.
1898         * elf/sprof.c: Likewise.
1899         * elf/sln.c: Likewise.
1900
1901 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1902
1903         * locale/langinfo.h: Add constants for wide character collation
1904         symbol table.
1905         * locale/categories.def: Add appropriate entries for collate symbol
1906         table entries.
1907         * locale/C-collate.c: Add initializers for new entries.
1908         Remove commented out code.
1909         * locale/elem-hash.h: New file.
1910         * locale/Makefile (distribute): Add elem-hash.h.
1911         * locale/programs/ld-collate.c: Implement output of collate symbol
1912         table.
1913
1914         * posix/regex.c: Implement collation class handling.
1915
1916 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1917
1918         * posix/regex.c (regex_compile): Implement equivalence class handling.
1919
1920 1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>
1921
1922         * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1923         (OPCODE_LWZU): New macro.
1924         (OPCODE_ADDIS_HI): New macro.
1925         (OPCODE_LIS_HI): New macro.
1926         (__elf_machine_runtime_setup): Change PLT code-generation scheme
1927         for thread safety even with very large PLTs, better efficiency,
1928         and to fix a cache-flushing bug.  Also support the Motorola
1929         8xx processors which have a different cache line size than all
1930         the others.
1931         (__elf_machine_fixup_plt): Likewise.
1932         (__process_machine_rela): Don't use elf_machine_fixup_plt.
1933
1934 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1935
1936         * wcsmbs/wcscoll.c: Use multibyte character version.
1937         * wcsmbs/wcsxfrm.c: Likewise.
1938         * string/strcoll.c: Prepare to be used for the wide character version.
1939         * string/strxfrm.c: Likewise.
1940         * locale/weightwc.h: New file.
1941
1942 1999-12-30  Geoff Keating  <geoffk@cygnus.com>
1943
1944         * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1945         the (void) casts as now feraiseexcept returns a value.
1946         (feclearexcept): Likewise.
1947
1948         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1949         it interferes with the macros for AIX.
1950
1951 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1952
1953         * locale/programs/ld-collate.c (collate_finish): Always define
1954         weight for UNDEFINED if not defined by the user but don't complain
1955         unless it is needed in the multibyte character table.
1956         (collate_output): Add extra dummy elements in wide char tables in the
1957         same way done for multibyte.  Always output undefined entry in
1958         wide character table.
1959
1960         * locale/Makefile (categories): Remove commented-out old definition.
1961
1962         * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1963         to new_element if the wide char is not valid.
1964         (handle_ellipsis): Likewise.
1965         (collate_read): It's no problem if the string in the collating element
1966         definition cannot be represented as multibyte or wide char string.
1967
1968 1999-12-13  Andreas Jaeger  <aj@suse.de>
1969
1970         * resolv/resolv.h: Remove K&R compatibility.
1971
1972         * resolv/res_libc.c: Move definition of _res after res_init,
1973         res_init should use the threaded specific context.
1974
1975         * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1976         needed anymore.
1977
1978 1999-12-29  Ulrich Drepper  <drepper@cygnus.com>
1979
1980         * locale/langinfo.h: Add constants for wide character collation data.
1981         * locale/categories.def: Add appropriate entries for collate entries.
1982         * locale/C-collate.c: Add initializers for new entries.
1983         * locale/programs/ld-collate.c: Implement output of wide character
1984         tables.
1985
1986         * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1987         compute wide character table size a bit: it now gives up a bit of
1988         total table size for fewer levels.
1989
1990         * soft-fp/*: Tons of new files to implement floating-point arithmetic
1991         in software.
1992         Contributed by Richard Henderson, Jakub Jelinek and others.
1993
1994 1999-12-29  Andreas Jaeger  <aj@suse.de>
1995
1996         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1997         <asm/io.h>; remove K&R compatibility; add missing ints.
1998
1999         * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
2000         add missing ints.
2001
2002         * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
2003
2004 1999-12-29  Andreas Jaeger  <aj@suse.de>
2005
2006         * manual/getopt.texi (Using Getopt): Document ordering of options.
2007
2008 1999-12-29  Andreas Jaeger  <aj@suse.de>
2009
2010         * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
2011         Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2012
2013 1999-12-14  Andreas Jaeger  <aj@suse.de>
2014
2015         * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
2016         2.3.32.
2017
2018 1999-12-28  Jakub Jelinek  <jakub@redhat.com>
2019
2020         * elf/sprof.c (load_shobj): Fix error message.
2021         (generate_call_graph): Cast %*s length argument to int.
2022         * locale/programs/localedef.c (construct_output_path): Likewise.
2023         * locale/programs/ld-ctype.c (ctype_finish): Use proper format
2024         specifier.
2025         (ctype_class_new): Likewise.
2026         * locale/programs/ld-time.c (time_finish): Likewise.
2027         * sunrpc/svc_simple.c (register_rpc): Likewise.
2028         * nscd/connections.c (nscd_run, start_threads): Use long instead of
2029         int to avoid cast warnings.
2030         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
2031         warning.
2032         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
2033         variable se.
2034
2035         * time/strftime.c (my_strftime): Provide wide era string when
2036         requested.
2037
2038         * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
2039         Separate into 32bit and 64bit versions.
2040
2041 1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
2042
2043         * iconvdata/Makefile (modules): Add ISO-2022-CN.
2044         Add link rules for this module.
2045         (distribute): Add iso-2022-cn.c and cns11643l2.h.
2046         * iconvdata/cns11643l2.h: New file.
2047         * iconvdata/iso-2022-cn.c: New file.
2048         * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
2049
2050         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
2051         unsigned.
2052         (ucs4_to_cns11643l1): Likewise.
2053         * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
2054
2055         * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
2056         loop to UCS4.
2057         Optimize recognition of escape sequences a bit.
2058
2059         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
2060         and oldsetrlimit definitions.
2061
2062 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
2063
2064         * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
2065         identifying errors more easily.
2066
2067         * iconvdata/testdata/EUC-CN..UTF8: New file.
2068         * iconvdata/testdata/GBK..UTF8: New file.
2069
2070         * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
2071         mappings.  Fix last patch.
2072         * iconvdata/TESTS: Add GBK.
2073         * iconvdata/testdata/GBK: New file.
2074
2075         * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
2076         0x2312, and 0x2500..0x254b.
2077         * iconvdata/TESTS: Add EUC-CN.
2078         * iconvdata/testdata/EUC-CN: New file.
2079
2080         * iconvdata/gbgbk.c: New file.
2081         * iconvdata/Makefile (modules): Add GBGBK.
2082         (distribute): Add gbgbk.c.
2083         * iconvdata/gconv-modules: Add entries for GBGBK modules.
2084
2085         * iconvdata/euc-cn.c: Fix comment.
2086
2087         * iconvdata/gbk.c: Optimize the switch statement in the conversion
2088         to GBK a bit.
2089
2090         * locale/programs/charmap.c (charmap_new_char): Recognize special
2091         character names Uxxxx and Pxxxx and initialize the UCS4 value from
2092         the value of xxxx.
2093
2094 1999-12-17  Andreas Jaeger  <aj@suse.de>
2095
2096         * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
2097
2098 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
2099
2100         * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
2101         * stdlib/exit.h (flavor): Add ef_cxa.
2102         (exit_function): Add cxa variant.
2103         * stdlib/exit.c (exit): Handle ef_cxa exit functions.
2104         * stdlib/cxa_atexit.c: New file.
2105         * stdlib/cxa_finalize.c: New file.
2106
2107 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
2108
2109         * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
2110         Unicode tables.
2111
2112 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
2113
2114         * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
2115         __have_no_stat64.
2116         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2117         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2118
2119         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
2120         of <asm/resource.h>.
2121
2122 1999-12-26  Philip Blundell  <philb@gnu.org>
2123
2124         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
2125         argument count for `syscall' to 7.
2126         * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
2127         with more than five arguments.
2128         (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
2129
2130 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
2131
2132         * locale/programs/ld-collate.c (collate_output): Don't start with empty
2133         extrapool and indirectpool obstacks since we need the offsets to be
2134         nonzero.
2135         (collate_read): Call load_locale, not find_locale.
2136         * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
2137         wasn't defined in the file also initialize repertoire if possible.
2138         * locale/programs/ld-time.c (time_finish): Fix message string.
2139         * locale/programs/linereader.c: Cast parameters of lr_error to
2140         correct type to prevnet warning.
2141         * locale/programs/localedef.c (load_locale): New file.
2142         * locale/programs/localedef.h: Add its prototype.
2143         * locale/programs/repertoire.c (repertoire_new_char): Add missing
2144         parameters to lr_error call.
2145
2146         * localedata/Makefile: Enable running tests again.
2147         * localedata/tests/test2.def: Adjust syntax to new specification.
2148         * localedata/tests/test3.def: Likewise.
2149         * localedata/tst-trans.sh: Redirect output of program into file.
2150
2151         * string/strcoll.c: Fix many error in new implementation to make it
2152         pass (at least) the test suite.
2153
2154         * locale/Makefile: Don't link localedef statically anymore.
2155
2156         * locale/ld-collate.c (struct element_t): Add field is_character and
2157         use it to distinguish real character from collating elements and
2158         symbols.
2159         (new_element): Take new parameter to initialize is_character.  Change
2160         all callers.
2161         (handle_ellipsis): Use is_character field to make sure ellipsis is
2162         only used with characters.
2163         (collate_read): Fix reading of collating elements.
2164
2165         * string/strxfrm.c: Correct loop end detection and memory access
2166         in the little optimization at the end.
2167
2168         * locale/programs/ld-monetary.c (monetary_finish): Correct code to
2169         emit warnings.  Provide default value for mon_decimal_point.
2170
2171         * locale/programs/ld-collate.c (collate_finish): Don't crash if this
2172         category wasn't defined.
2173         (collate_output): Likewise.
2174
2175         * locale/programs/ld-address.c: Don't emit message about not defined
2176         category if be_quiet.
2177         * locale/programs/ld-ctype.c: Likewise.
2178         * locale/programs/ld-identification.c: Likewise.
2179         * locale/programs/ld-measurement.c: Likewise.
2180         * locale/programs/ld-messages.c: Likewise.
2181         * locale/programs/ld-monetary.c: Likewise.
2182         * locale/programs/ld-name.c: Likewise.
2183         * locale/programs/ld-numeric.c: Likewise.
2184         * locale/programs/ld-paper.c: Likewise.
2185         * locale/programs/ld-telephone.c: Likewise.
2186         * locale/programs/ld-time.c: Likewise.
2187
2188         * locale/programs/locfile.c (write_locale_data): Correct memory
2189         allocation for fname.
2190
2191 1999-12-25  Ulrich Drepper  <drepper@cygnus.com>
2192
2193         * locale/programs/ld-collate.c (read_directions): Fix a few messages.
2194         (collate_finish): Test that position is used in all sections for
2195         a level or in none.
2196
2197         * string/strxfrm.c: Optimize a bit.  We don't need the highest bit
2198         of the index returned by findidx.
2199
2200         * string/strcoll.c: Complete rewrite for new collate implementation.
2201         * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
2202         locally.
2203
2204         * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
2205         indirect table.
2206         * locale/langinfo.h: Likewise.
2207         * locale/categories.def: Likewise.  Remove reference to postload
2208         functions.
2209         * locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
2210         __collate_tablemb, __collate_weightmb, and __collate_extramb.
2211         * locale/localeinfo.h: Remove declaration for removed variables above.
2212         Remove prototype for _nl_get_era_entry.
2213         * locale/weight.h: Complete rewrite for new collate implementation.
2214         * locale/programs/ld-collate.c: Many changes to make output file
2215         usable in strxfrm/strcoll.
2216         * string/strxfrm.c: Complete rewrite for new collate implementation.
2217         * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
2218         locally.
2219
2220 1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2221
2222         * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
2223         transformation values for chars >255.
2224         * wctype/wctrans.c: Return pointer unmodified.
2225
2226 1999-12-24  Ulrich Drepper  <drepper@cygnus.com>
2227
2228         * sysdeps/posix/system.c (__libc_system): Check whether command
2229         processor is available if LINE is NULL.  Don't return immediately
2230         if wait call returned with EINTR.
2231         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
2232
2233 1999-12-23  Ulrich Drepper  <drepper@cygnus.com>
2234
2235         * locale/programs/ld-monetary.c (monetary_finish): Add cast to
2236         prevent warning.
2237
2238         * locale/programs/ld-collate.c: Implement writing out multibyte
2239         collation data.
2240
2241         * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
2242         * locale/localeinfo.h: Declare variables only for currently implemented
2243         collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
2244         * locale/lc-collate.c: Define variables only for currently implemented
2245         functionality.
2246         * locale/langinfo.h: Define symbols only for currently implemented
2247         functionality.
2248         * locale/categories.def: Define elements for currently implemented
2249         functionality.
2250         * locale/C-collate.c: Comment out definitions of arrays with symbol
2251         name definitions etc.
2252         (_nl_C_LC_COLLATE): Update for currently defined information.
2253
2254         * intl/libintl.h: Remove dcgettext macro definition.
2255         * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2256
2257         * locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.
2258
2259         * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2260         also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.
2261
2262 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
2263
2264         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2265         for __fenv_stfsr argument.
2266         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2267         truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2268         Remove ugetrlimit.
2269         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2270         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2271         (XSTAT_IS_XSTAT64): Define.
2272         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2273         __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2274         and __libc_pwrite64.
2275         Remove oldgetrlimit and oldsetrlimit.
2276         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2277         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2278         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2279
2280         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2281         pointer to the syscall, not address of that pointer.
2282         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2283         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2284         (__syscall_stat64): Provide proper prototype.
2285
2286         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2287         has_no_truncate64 between truncate64 and ftruncate64.
2288         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2289
2290         * sysdeps/unix/sysv/linux/kernel-features.h
2291         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2292         __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2293
2294 1999-12-22  Andreas Jaeger  <aj@suse.de>
2295
2296         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2297         __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2298
2299 1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2300
2301         * locale/lc-time.c: Extend structure era_entry.
2302         * locale/localeinfo.h: Likewise.
2303         * locale/lc-time.c: Handle '-' direction used in locale's era part
2304         properly.
2305         * time/strptime.c: Likewise.
2306         * time/strftime.c: Likewise.
2307         * locale/programs/ld-time.c: Consider negative values in era part
2308         of locale as B.C..
2309         * time/strptime.c (strptime_internal): Merged Yoshiyama's
2310         %E[CyY] implementation.
2311
2312 1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>
2313
2314         * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2315         of recursive() call.
2316         * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2317         parsing.
2318
2319 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2320
2321         * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2322         Patch by Scott Bambrough <scottb@netwinder.org>.
2323
2324 1999-12-21  Andreas Schwab  <schwab@suse.de>
2325
2326         * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2327
2328         * include/unistd.h: Declare __libc_lseek.
2329
2330 1999-12-21  Andreas Jaeger  <aj@suse.de>
2331
2332         * stdlib/longlong.h: Remove __P.
2333
2334 1999-12-21  Andreas Jaeger  <aj@suse.de>
2335
2336         * sysdeps/powerpc/fpu/libm-ulps: New file.
2337
2338 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2339
2340         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2341         and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2342
2343 1999-12-21  Andreas Jaeger  <aj@suse.de>
2344
2345         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2346         * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2347         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2348         * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2349         * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2350         * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2351         * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2352         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2353         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2354         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2355         * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2356         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2357
2358 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2359
2360         * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2361         * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2362         * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2363         * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2364         * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2365         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2366         * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2367         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2368         * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2369         * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2370         * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2371         * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2372         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2373         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2374         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2375         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2376         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2377         putpmsg.
2378
2379 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2380
2381         * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2382         before testing for __ASSUME_STAT64_SYSCALL.
2383         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2384         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2385
2386 1999-12-20  Andreas Schwab  <schwab@suse.de>
2387
2388         * manual/install.texi (Running make install): Clearify that
2389         install_root should be an absolute file name.
2390
2391 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2392
2393         * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2394
2395         * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2396         buffer is given to place conversion descriptor in initial state.
2397         * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2398         CSPC862LATINHEBREW.
2399         * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2400         (according to IANA registry).
2401         Reported by Bruno Haible <haible@ilog.fr>.
2402
2403         * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2404
2405         * locale/categories.def: Remove most of the collate definitions.
2406         * locale/langinfo.h: Comment out corresponding definitions.
2407         * locale/programs/locale-spec.c (locale_special): Don't recognize the
2408         collate names yet.
2409         * locale/programs/ld-collate.c: Correct and optimize computation of
2410         weights.  Set up list of all definitions correctly.  Start writing
2411         function to generate output file.
2412
2413         * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2414         loop to compute default mapping.
2415
2416 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2417
2418         * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2419         cancelation wrapper.
2420         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2421         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2422         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2423
2424 1999-12-19  Andreas Jaeger  <aj@suse.de>
2425
2426         * sysdeps/generic/libc-start.c: Remove declaration of
2427         __libc_open.  Move declaration of __libc_fcntl to ...
2428         * include/fcntl.h: ...here.
2429
2430         * include/unistd.h: Move __libc_open and __libc_open64 to ...
2431         * include/fcntl.h: ...here.
2432
2433         * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2434         happened yet.
2435
2436         * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2437         rename label.
2438
2439 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2440
2441         * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2442         inclusion.
2443
2444 1999-12-19  Andreas Jaeger  <aj@suse.de>
2445
2446         * include/string.h: Mark __strndup with __attribute_malloc__.
2447
2448 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2449
2450         * locale/langinfo.h: Always define CODESET.
2451         (CODESET): Define also as macro.
2452
2453         * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2454         generate mantissa output in using malloc if it is larger than
2455         20000 characters.
2456         Reported by Jim Meyering <meyering@ascend.com>.
2457
2458 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2459
2460         * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2461         available gcc version.
2462         * string/string.h: Mark strdup, __strdup, and strndup with
2463         __attribute_malloc__.
2464         * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2465         __attribute_malloc__.
2466         * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2467         and __default_morecore with __attribute_malloc__.
2468         Provide default definition for __attribute_malloc__.
2469         * libio/stdio.h: Make tempnam with __attribute_malloc__.
2470
2471         * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2472         __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2473         * io/Versions: Export __libc_open64 and __libc_lseek64.
2474         * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2475         and __libc_pwrite64.
2476         * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2477         wrapper.
2478         * sysdeps/generic/pread.c: Likewise.
2479         * sysdeps/generic/pread64.c: Likewise.
2480         * sysdeps/generic/pwrite.c: Likewise.
2481         * sysdeps/generic/pwrite64.c: Likewise.
2482         * sysdeps/posix/open64.c: Likewise.
2483         * sysdeps/posix/pread.c: Likewise.
2484         * sysdeps/posix/pread64.c: Likewise.
2485         * sysdeps/posix/pwrite.c: Likewise.
2486         * sysdeps/posix/pwrite64.c: Likewise.
2487         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2488         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2489         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2490         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2491         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2492         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2493         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2494         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2495         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2496
2497         * sysdeps/posix/open64.c: Help gcc generating better code.
2498
2499         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2500         instead of __open.
2501
2502 1999-12-11  H.J. Lu  <hjl@gnu.org>
2503
2504         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2505         instead of __fcntl.
2506
2507 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2508
2509         * iconvdata/isiri-3342.c: New file.
2510         * iconvdata/Makefile (modules): Add ISIRI-3342.
2511         (distribute): Add isiri-3342.c.
2512         (gen-8bit-gap-modules): Add isiri-3342.
2513         * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2514
2515         * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2516
2517         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2518         result if necessary.
2519
2520         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2521         unreliable kernel headers.
2522         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2523         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2524         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2525         * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2526
2527 1999-12-18  Andreas Jaeger  <aj@suse.de>
2528
2529         * config.make.in (datadir): Added.
2530         Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2531
2532 1999-12-18  Andreas Jaeger  <aj@suse.de>
2533
2534         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2535         set errno.
2536         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2537
2538 1999-12-18  Andreas Jaeger  <aj@suse.de>
2539
2540         * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2541         syscall if available.
2542         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2543         * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2544
2545         * sysdeps/unix/sysv/linux/kernel-features.h
2546         (__ASSUME_STAT64_SYSCALL): New.
2547
2548 1999-12-17  Scott Bambrough  <scottb@netwinder.org>
2549
2550         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2551         cache flush.
2552         * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2553         after .text segment fixups.
2554
2555 1999-12-16  Andreas Jaeger  <aj@suse.de>
2556
2557         * rt/aio.h: Remove erroneous __restrict declarations.
2558
2559 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2560
2561         * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2562         do the job if it is there neither.
2563         Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2564
2565 1999-12-16  Andreas Jaeger  <aj@suse.de>
2566
2567         * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2568         duplicate definition with function __nan.
2569         Closes PR libc/1487 reported by <diana@kai.com>.
2570
2571 1999-12-17  Ulrich Drepper  <drepper@cygnus.com>
2572
2573         * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2574
2575         * locale/programs/ld-collate.c: Implement handling of absolute
2576         ellipsis.  Parsing of file and constructing the internal data
2577         structures should now be complete.
2578         (collate_finish): Start adding support to generate the data
2579         structures which are written out to the file.
2580
2581         * intl/dcgettext.c: Rewrite to handle caching of previous results here
2582         instead of in the dcgettext macro.
2583         * intl/libintl.h (dcgettext): Don't define for systems using this
2584         glibc or systems with tsearch.
2585
2586         * sysdeps/generic/mathdef.h: Protect definitions for math.h
2587         against double inclusion.
2588         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2589         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2590         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2591         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2592
2593         * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2594         that different?).
2595
2596 1999-12-17  Andreas Jaeger  <aj@suse.de>
2597
2598         * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2599         struct with aiocb.
2600
2601         * rt/Makefile (tests): Added tst-aio64.
2602         Added dependency rules for tst-aio64.
2603
2604         * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2605         64bit tests.
2606
2607 1999-12-15  Thorsten Kukuk  <kukuk@suse.de>
2608
2609         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2610         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2611         * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2612         old value (signed long).
2613         * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2614         long RLIM_INFINITY.
2615         * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2616         * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2617         * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2618         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2619         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2620         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2621         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2622         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2623         * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2624         * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2625         * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2626         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2627         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2628         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2629         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2630
2631 1999-12-17  Andreas Jaeger  <aj@suse.de>
2632
2633         * elf/ldconfig.c: Add new option -l to manualy link shared
2634         libraries.
2635         (options): Added option.
2636         (parse_opt): Set option.
2637         (main): Handle option.
2638         (manual_link): New function.
2639
2640 1999-12-17  Thorsten Kukuk  <kukuk@suse.de>
2641
2642         * string/bits/string2.h: Fix patch from 1999-12-07.
2643
2644 1999-12-16  Ulrich Drepper  <drepper@cygnus.com>
2645
2646         * sysdeps/generic/strsep.c: If delim string has only one character
2647         don't run over end of string.
2648
2649         * locale/programs/ld-collate.c (insert_weights): Also update next
2650         pointer of last cursor element.
2651         (insert_value): Return nonzero value if nothing got inserted.
2652         (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2653
2654 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2655
2656         * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2657         where appropriate.
2658
2659 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2660
2661         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2662         Copy sa_flags into kernel sigaction structure.
2663
2664 1999-12-14  Andreas Jaeger  <aj@suse.de>
2665
2666         * string/tester.c (test_strsep): More tests for access beyond
2667         the final NUL.  The first two tests come from PR libc/1486 by
2668         martinea@iro.umontreal.ca.
2669
2670 1999-12-14  Thorsten Kukuk  <kukuk@suse.de>
2671
2672         * nis/ypclnt.c: Correct handling of cached client handles.
2673         (__xdr_ypresp_all): Call callback function for errors, too,
2674         like Solaris does.
2675         * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2676         * nis/nss_compat/compat-initgroups.c: Likewise.
2677         * nis/nss_compat/compat-spwd.c: Likewise.
2678         * nis/nss_nis/nis-alias.c: Likewise.
2679         * nis/nss_nis/nis-ethers.c: Likewise.
2680         * nis/nss_nis/nis-grp.c: Likewise.
2681         * nis/nss_nis/nis-hosts.c: Likewise.
2682         * nis/nss_nis/nis-netgrp.c: Likewise.
2683         * nis/nss_nis/nis-publickey.c: Likewise.
2684         * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2685         Map if available, optimize query if name/port and protocol is known.
2686
2687 1999-12-12  Ulrich Drepper  <drepper@cygnus.com>
2688
2689         * locale/programs/ld-collate.c (collate_read): Make symbolic
2690         ellipsis work.  Remove old and unused code.
2691
2692 1999-12-11  Ulrich Drepper  <drepper@cygnus.com>
2693
2694         * locale/programs/ld-collate.c (collate_read): Implement
2695         reorder-section handling.
2696
2697 1999-12-10  Ulrich Drepper  <drepper@cygnus.com>
2698
2699         * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2700
2701         * locale/programs/ld-collate.c (collate_read): Add handling of
2702         reorder-after.
2703
2704         * locale/programs/ld-collate.c: Many changes to implement parsing
2705         of collation definition (still not complete).
2706
2707 1999-12-09  Andreas Jaeger  <aj@suse.de>
2708
2709         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2710         errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2711         Reported by Christian Starkjohann <cs@obdev.at>.
2712
2713 1999-12-09  Andreas Jaeger  <aj@suse.de>
2714
2715         * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2716
2717 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
2718
2719         * stdlib/longlong.h: Update from latest egcs version.
2720
2721         * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2722
2723         * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2724         has to preceede __attribute__, otherwise g++ barfs.
2725
2726         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2727         on sparc64-*-linux.
2728
2729         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2730         use sigcontext.
2731         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2732
2733 1999-12-05  Wolfram Gloger  <wg@malloc.de>
2734
2735         * malloc/malloc.c (arena_get2): If generating a new arena fails,
2736         try to generate a minimal one and hope for mmap_chunk() to succeed
2737         later.
2738
2739 1999-11-07  Wolfram Gloger  <wg@malloc.de>
2740
2741         * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2742         mutex_t work as an `in-use' flag even without threads.
2743         * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2744         for multiple arenas separately from NO_THREADS.
2745         (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2746         fall back to an mmap()ed arena when sbrk() has failed.
2747
2748 1999-12-09  Ulrich Drepper  <drepper@cygnus.com>
2749
2750         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2751         getrlimit64, setrlimit64 for GLIBC_2.1.3.
2752         * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2753         getrlimit64, setrlimit64 for GLIBC_2.1.3.
2754         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2755         oldgetrlimit and oldsetrlimit.
2756         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2757         oldsetrlimit.
2758         * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2759         oldsetrlimit rules into 32-bit arch subdirs.
2760         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2761
2762         * locale/programs/ld-collate.c (insert_value): If this is the
2763         first symbol the cursor can be the same as the next pointer.
2764
2765 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
2766
2767         * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2768         arrays.
2769         (allocate_arrays): Allocate memory for map32.  Correctly install
2770         default values in it and install defined mappings.
2771
2772         * locale/programs/ld-monetary.c (monetary_finish): Provide default
2773         value for mon_grouping.
2774
2775         * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2776         headers are not clean enough.
2777
2778         * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2779
2780         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2781         __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2782         on x86.
2783         * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2784         * sysdeps/unix/sysv/linux/truncate64.c: New file.
2785         * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2786         * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2787
2788         * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2789         * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2790         * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2791         _nl_C_LC_CTYPE_tolower32 tables.
2792         Don't compile it names of 14652 classes and maps.
2793         * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2794         _NL_CTYPE_TOLOWER32.
2795         * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2796         and __ctype32_tolower.
2797         * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2798         (ctype_output): Write out map32 values.
2799         (allocate_arrays): Compute mapping tables correctly.
2800         * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2801         (towupper): Use __ctype32_toupper.
2802         * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2803
2804         * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2805         determine tolower mapping for 8bit table if the tolower keyword is
2806         not given.
2807
2808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2809         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
2810
2811 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
2812
2813         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2814         __stpcpy_small): Cast switch expressions to int to shut up compiler
2815         warnings.
2816
2817 1999-12-07  Scott Bambrough <scottb@netwinder.org>
2818
2819         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2820         relocs if possible.
2821
2822 1999-12-06  Andreas Schwab  <schwab@suse.de>
2823
2824         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2825         ugetrlimit syscall exists.
2826
2827         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2828         exported symbols.
2829         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2830
2831 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
2832
2833         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2834         pointers if character is illegal.
2835         Reported by Bruno Haible <haible@ilog.fr>.
2836
2837         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2838         (increment_counter): New function.  Broken out of find_derivation.
2839         (find_derivation): No need for a lock.  Increment counter only when
2840         the derivation was already available.
2841         * iconv/gconv_dl.c: Add debugging functions.
2842         (known_compare): We have to use strcmp.
2843         Reported by Bruno Haible <haible@ilog.fr>.
2844
2845 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
2846
2847         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2848         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2849         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2850         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
2851         SHIFT_JIS alias.
2852         Reported by Bruno Haible <haible@ilog.fr>.
2853
2854         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2855
2856 1999-12-03  Andreas Jaeger  <aj@suse.de>
2857
2858         * nss/getXXbyYY.c: Include <resolv.h>
2859         (FUNCTION_NAME): Use res_ninit instead of res_init.
2860
2861         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2862         declaration and prototypes.
2863         Remove extra _res declaration.
2864         (INTERNAL): Use thread aware res_ninit function.
2865
2866         * inet/gethstbyad_r.c: Include <resolv.h>.
2867
2868         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
2869         res_libc.c.  Disabled unneeded functions.
2870
2871         * resolv/res_libc.c: New file.
2872
2873         * Versions.def: Add version GLIBC_2.2 for libpthread.
2874         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2875
2876         * include/resolv.h: Add internal interfaces.
2877
2878         * resolv/Makefile (routines): Add new files.
2879         (libresolv-routines): Likewise.
2880         (distribute): Likewise.
2881
2882         * resolv/gethnamaddr.c: Use thread safe resolver functions.
2883         * resolv/nss_dns/dns-host.c: Likewise.
2884         * resolv/nss_dns/dns-network.c: Likewise.
2885
2886         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2887         * resolv/nsap_addr.c: Likewise.
2888         * resolv/res_comp.c: Likewise.
2889         * resolv/res_debug.c: Likewise.
2890         * resolv/res_init.c: Likewise.
2891         * resolv/res_mkquery.c: Likewise.
2892         * resolv/res_query.c: Likewise.
2893         * resolv/res_send.c: Likewise.
2894         * resolv/resolv.h: Likewise.
2895
2896         * resolv/Versions: Add __res_state and __res_ninit with version
2897         GLIBC_2.2 to libc.
2898         Add new interfaces with version GLIBC_2.2 to libresolv.
2899
2900         * resolv/Banner: Update.
2901
2902         * include/arpa/nameser_compat.h: New file.
2903
2904         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2905         * resolv/ns_netint.c: Likewise.
2906         * resolv/ns_parse.c: Likewise.
2907         * resolv/ns_print.c: Likewise.
2908         * resolv/ns_samedomain.c: Likewise.
2909         * resolv/ns_ttl.c: Likewise.
2910         * resolv/arpa/nameser_compat.h: Likewise.
2911         * resolv/res_debug.h: Likewise.
2912
2913         Some patches are based on work done by Adam D. Bradley
2914         <artdodge@cs.bu.edu>.
2915
2916 1999-11-30  Andreas Jaeger  <aj@suse.de>
2917
2918         Add ldconfig:
2919         * elf/Makefile (extra-objs): Added ldconfig-modules.
2920         (ldconfig-modules): New.
2921         Added vpath for xstrdup and xmalloc.
2922         Check for use-ldconfig instead of has-ldconfig.
2923         ($(objpfx)ldconfig): New rule with dependencies.
2924         (distribute): Add new files.
2925
2926         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2927         developed together with Jakub Jelinek <jakub@redhat.com>.
2928         * sysdeps/generic/readelflib.c: Likewise.
2929
2930         * elf/cache.c: New file.
2931         * elf/ldconfig.c: New file.
2932         * elf/ldconfig.h: New file.
2933         * elf/readlib.c: New file.
2934
2935         * Makefile (install): Remove flag -d in ldconfig call.
2936
2937         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2938         by default.
2939
2940         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2941         comment.
2942
2943         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2944         set always use_ldconfig instead.
2945
2946 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
2947
2948         * sysdeps/generic/bits/stropts.h: Update with LiS types and
2949         values.  Patch by David Grothe <dave@gcom.com>.
2950
2951         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2952         Make long types.
2953         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2954         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2955         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2956
2957 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
2958
2959         * locale/lc-time.c (_nl_get_era_entry): Separate eras
2960         initialization as _nl_init_era_entry().
2961         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2962         * locale/lc-time.c (_nl_get_era_year_offset): New function.
2963         * locale/lc-time.c (_nl_get_era_year_start): New function.
2964         * locale/localeinfo.h: Declare new functions.
2965         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2966         and ERA_W_FORMAT.
2967
2968 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
2969
2970         * posix/regex.c (SYNTAX): Make more portable.
2971         Patch by Aharon Robbins <arnold@skeeve.com>.
2972
2973 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
2974
2975         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2976         nonzero, use cthread_fork to create the signal thread.
2977         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2978         _hurd_msgport_thread here (to self).
2979         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2980         is zero, instead compute child signal thread's starting SP from parent
2981         signal thread's current SP and the threadvar_stack variables.
2982         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2983         These are now referenced weakly by _hurdsig_init.
2984
2985         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2986         &_hurd_itimer_thread not &_hurd_msgport_thread.
2987
2988 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
2989
2990         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2991         without HURD_DPORT_USE to clean up warnings.
2992         * hurd/dtable.c (get_dtable_port): Likewise.
2993
2994         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2995         (install_ctty): Do the changing of the cttyid port cell here, inside
2996         the critical section while we holding the dtable lock.
2997         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2998         the port cell and calling rectty_dtable.
2999         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
3000         (install_ctty): Use it inside a critical section, with the lock held.
3001         * sysdeps/mach/hurd/setsid.c (__setsid): Use
3002         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
3003         after proc_setsid, having held the dtable lock throughout.
3004         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
3005         cttyid port for null and bail out early if so.  The dtable lock
3006         serializes us after any cttyid change and its associated dtable update.
3007
3008 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
3009
3010         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
3011         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
3012         We don't install this file for users.
3013         * sysdeps/mach/hurd/Dist: Add it.
3014         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
3015         Append nfs/nfs.h here.
3016
3017 1999-12-01  Andreas Jaeger  <aj@suse.de>
3018
3019         * sysdeps/generic/if_index.c (__protocol_available): Add missing
3020         int for parameter.
3021
3022         * stdio/stdio.h: Fix typo.
3023         Patches by Marcus G. Daniels <mgd@santafe.edu>.
3024
3025 1999-12-01  Andreas Jaeger  <aj@suse.de>
3026
3027         * scripts/test-installation.pl (installation_problem): Filter out
3028         libpthread_db.
3029
3030 1999-12-01  Andreas Schwab  <schwab@suse.de>
3031
3032         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
3033         __rlim_t and __rlim64_t.
3034         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3035         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3036
3037 1999-12-01  Andreas Schwab  <schwab@suse.de>
3038
3039         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3040         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
3041         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
3042         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
3043         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
3044         new kernel version.  Add symbol versions.
3045         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
3046         oldgetrlimit.
3047         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3048         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3049         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
3050         and s_ugetrlimit.
3051         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3052         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3053         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3054         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
3055         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
3056         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3057         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
3058         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
3059         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
3060         file.
3061         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
3062         file.
3063
3064 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
3065
3066         * sysdeps/generic/usleep.c: Fix typo.
3067
3068         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
3069
3070         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
3071         itself.
3072
3073         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
3074         _UTSNAME_H.
3075
3076         * malloc/set-freeres.c: Really use already_called variable.
3077
3078         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
3079         function call directly.
3080         * libio/iosetvbuf.c: Likewise.
3081
3082 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
3083
3084         * configure.in: Add AIX 4.3 support.
3085
3086         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
3087         standard was issued in 1992.
3088         Reported by Bruno Haible <haible@ilog.fr>.
3089
3090 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
3091
3092         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
3093         SIGCLD als SIGCHLD.
3094
3095 1999-11-29  Andreas Jaeger  <aj@suse.de>
3096
3097         * manual/time.texi (Basic CPU Time): Better describe wrap around.
3098         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3099
3100 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
3101
3102         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
3103         Patch by Bruno Haible <haible@ilog.fr>.
3104
3105 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
3106
3107         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
3108
3109 1999-11-29  Andreas Schwab  <schwab@suse.de>
3110
3111         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
3112         __v to __bswap_32_v.
3113         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
3114         and __bswap_64_r to avoid clash with __bswap_32 macro.
3115
3116 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
3117
3118         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
3119         gconv-modules.
3120
3121 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
3122
3123         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
3124         patch.  Use wch instead of idx to compute index.
3125         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3126
3127         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
3128
3129         * locale/iso-3166.def: Update from latest official list.
3130
3131 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
3132
3133         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
3134         asm/ptrace.h, since this will not be done with 2.3.xx automatically
3135         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3136
3137 1999-11-26  Andreas Jaeger  <aj@suse.de>
3138
3139         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
3140
3141 1999-11-26  Andreas Jaeger  <aj@suse.de>
3142
3143         * inet/rcmd.c: Include stdlib for declaration of free.
3144         Declare iruserok.
3145
3146 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3147
3148         * iconv/gconv.c (__gconv): Always initialize
3149         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
3150
3151         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
3152         written bytes.
3153         * iconvdata/iso-2022-jp.c: Likewise.
3154
3155 1999-11-25  H.J. Lu  <hjl@gnu.org>
3156
3157         * stdlib/exit.c (exit): Run funtions only if
3158         __exit_funcs->idx > 0.
3159
3160 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3161
3162         * manual/charset.texi (iconv Examples): Add iconv call to flush
3163         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
3164
3165 1999-11-25  Andreas Jaeger  <aj@suse.de>
3166
3167         * manual/install.texi (Running make install): Better describe
3168         update from libc5.
3169         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3170
3171 1999-11-25  Andreas Jaeger  <aj@suse.de>
3172
3173         * include/sys/mman.h: Remove K&R compatibility.
3174
3175 1999-11-15  Andreas Jaeger  <aj@suse.de>
3176
3177         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
3178         use __off64_t.
3179
3180 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3181
3182         * iconv/iconv_prog.c (process_block): For stateful charsets write
3183         out byte sequence to get to initial state at the end of the file.
3184
3185 1999-11-25  Andreas Schwab  <schwab@suse.de>
3186
3187         * Makeconfig: Include sys-dirs and sys-sorted earlier.
3188         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
3189         ($(common-objpfx)sysd-sorted): Emit marker when this file is
3190         complete.
3191
3192 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
3193
3194         * manual/setjmp.texi: Many changes to correct bad English introduced
3195         mainly by me.
3196         * manual/time.texi: Likewise.
3197         Patches by Neil Booth <neil@rosenet.ne.jp>.
3198
3199         * include/string.h: Remove K&R compatibility.
3200
3201 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3202
3203         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
3204
3205         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
3206
3207         * string/stratcliff.c: Add one more strchr test for something
3208         which was reported to not work (which proofed to be wrong).
3209
3210         * iconv/skeleton.c: It's __is_last, not is_last.
3211
3212         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
3213         the UCS value.
3214         (allocate_arrays): Likewise.
3215         (find_idx): Correctly increase array size.
3216         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3217
3218 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
3219
3220         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
3221         is true.
3222
3223 1999-11-23  Andreas Jaeger  <aj@suse.de>
3224
3225         * include/sys/select.h: Remove K&R compatibility.
3226         * include/sys/statfs.h: Likewise.
3227         * include/gnu/libc-version.h: Likewise.
3228         * include/db_185.h: Likewise.
3229         * include/dlfcn.h: Likewise.
3230         * include/search.h: Likewise.
3231         * include/setjmp.h: Likewise.
3232         * include/signal.h: Likewise.
3233         * include/stdio.h: Likewise.
3234         * include/unistd.h: Likewise.
3235
3236 1999-11-23  Andreas Jaeger  <aj@suse.de>
3237
3238         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
3239         is only need in external header files that might be compiled by a
3240         C++ compiler.
3241         * include/alloca.h: Likewise.
3242         * include/db.h: Likewise.
3243         * include/dirent.h: Likewise.
3244         * include/execinfo.h: Likewise.
3245         * include/fpu_control.h: Likewise.
3246         * include/glob.h: Likewise.
3247         * include/grp.h: Likewise.
3248         * include/libintl.h: Likewise.
3249         * include/math.h: Likewise.
3250         * include/math.h: Likewise.
3251         * include/mntent.h: Likewise.
3252         * include/mntent.h: Likewise.
3253         * include/netdb.h: Likewise.
3254         * include/pwd.h: Likewise.
3255         * include/sched.h: Likewise.
3256         * include/shadow.h: Likewise.
3257         * include/stdlib.h: Likewise.
3258         * include/sys/file.h: Likewise.
3259         * include/sys/gmon.h: Likewise.
3260         * include/sys/ioctl.h: Likewise.
3261         * include/sys/socket.h: Likewise.
3262         * include/sys/stat.h: Likewise.
3263         * include/sys/sysinfo.h: Likewise.
3264         * include/sys/time.h: Likewise.
3265         * include/sys/times.h: Likewise.
3266         * include/sys/uio.h: Likewise.
3267         * include/sys/wait.h: Likewise.
3268         * include/termios.h: Likewise.
3269         * include/time.h: Likewise.
3270         * include/ulimit.h: Likewise.
3271         * include/utmp.h: Likewise.
3272         * include/wchar.h: Likewise.
3273
3274 1999-11-22  Andreas Jaeger  <aj@suse.de>
3275
3276         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3277         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
3278         libc/1456+1457.
3279
3280 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
3281
3282         * sysdeps/generic/siglist.h: Avoid declaring the same field
3283         twice if SIGPWR is defined to SIGLOST.
3284         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3285         not signed, so we should not special case it for negative args.
3286         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3287         memmove, use the one provided in memcpy.S.
3288         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3289         copies like memmove, while the previous version worked like memcpy.
3290         Implement optimized assembly memmove.
3291         * sysdeps/sparc/sparc64/memmove.c: New file.
3292
3293 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3294
3295         * po/cs.po: Update from translators.
3296
3297 1999-11-23  Andreas Jaeger  <aj@suse.de>
3298
3299         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3300         (elf_machine_got): Removed, not needed anymore.
3301         (ELF_MACHINE_RELOC_NOPLT): Removed.
3302         (ELF_MACHINE_JMP_SLOT): Added.
3303         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3304         (_RTLD_EPILOGUE): Likewise.
3305         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3306         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3307         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3308         Ralf Baechle <baechle@uni-koblenz.de>.
3309
3310         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3311
3312 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
3313
3314         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3315         name from the locale name.  Only use the value in the LC_CTYPE
3316         locale data file.
3317
3318         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3319         file be equal to file size.
3320
3321         * stdlib/longlong.h: Add count_trailing_zeros back.
3322
3323         * stdlib/longlong.h: Update from latest egcs version.
3324
3325 1999-11-22  Andreas Jaeger  <aj@suse.de>
3326
3327         * locale/programs/ld-collate.c (insert_value): Correct order of
3328         arguments for lr_error call.
3329
3330         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3331         __syscall_setrlimit.
3332
3333         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3334         for key_t.
3335         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3336
3337 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
3338
3339         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3340         gcc version.
3341
3342         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3343         14652-style definition of new maps and classes.
3344
3345 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
3346
3347         * locale/programs/ld-monetary.c (monetary_finish): Don't print
3348         individual error message if nothing is defined.
3349
3350         * locale/programs/ld-time.c (time_startup): Test for lr being
3351         nonzero, not time.
3352
3353         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3354         decimal_point is not defined.
3355
3356         * wctype/wctrans.c (wctrans): Use correct base index to access
3357         extra mapping tables.
3358
3359         * locale/loadlocale.c (_nl_load_locale): Use actual number of
3360         entries from file and not the fixed (minimal number from the
3361         langinfo.h list.
3362
3363         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3364         values in charmaps.
3365
3366 1999-11-18  Paul Eggert  <eggert@twinsun.com>
3367
3368         * time/strftime.c (my_strftime): Some old compilers object to
3369         '\a', so don't bother optimizing for it.
3370
3371 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3372
3373         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3374         the rlimits structure passed in.
3375
3376 1999-11-19  Andreas Jaeger  <aj@suse.de>
3377
3378         * include/sys/resource.h (__setrlimit): Add prototype.
3379
3380 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3381
3382         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3383         entries for rtld_search_dirs[0].
3384         Patch by David Mosberger <davidm@hpl.hp.com>.
3385
3386 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3387
3388         * locale/programs/ld-ctype.c: Don't predefine the character
3389         classes and mappings of ISO 14652.
3390
3391         * locale/programs/ld-ctype.c: Punt if character class definitions
3392         to not consists of tok_bsymbol (for now).
3393
3394         * time/strptime.c (day_of_the_week): Make sure result is never
3395         negative.
3396         (strptime_internal): Allow %C without %y.
3397
3398 1999-11-18  Andreas Jaeger  <aj@suse.de>
3399
3400         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3401         comments.
3402
3403         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3404         of defining *_SUPER_MAGIC.
3405         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3406
3407 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3408
3409         * locale/programs/locale.c: Don't handle LC_ALL together with the
3410         other categories when printing the value.
3411         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3412
3413         * locale/locale.h: Correct comment about LC_ALL.
3414
3415 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3416
3417         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3418         nelems.  Correctly compute index for additional character classes.
3419         (ctype_read): Handle charclass and charconv definitions.  Also
3420         recognize arbitrary strings as mapping names.
3421         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3422         character era strings.
3423         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3424         and format for wide characters.
3425         * time/strftime.c: Correctly determine era information for wide
3426         wcsftime.
3427         * wctype/wctrans.c: Fix after removal of second endianess table.
3428         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3429         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3430
3431         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3432         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3433
3434         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3435         gregset_t, fpregset_t, and NGREG definitions.
3436
3437         * locale/programs/ld-ctype.c: Implement character width information
3438         handling.
3439
3440 1999-11-09  Andreas Jaeger  <aj@suse.de>
3441
3442         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3443
3444         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3445         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3446
3447         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3448
3449 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3450
3451         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3452
3453 1999-11-07  Andreas Jaeger  <aj@suse.de>
3454
3455         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3456         defines from Linux scsi_ioctl.h header.
3457
3458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3459         scsi_ioctl.h.
3460         * sysdeps/unix/sysv/linux/Dist: Likewise.
3461
3462         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3463         pretty printed.
3464
3465         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3466         sync with Linux 2.3.26.
3467
3468 1999-11-17  Andreas Jaeger  <aj@suse.de>
3469
3470         * shlib-versions: Allow mipsel for libm.
3471         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3472
3473 1999-11-16  Andreas Jaeger  <aj@suse.de>
3474
3475         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
3476
3477 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
3478
3479         * locale/programs/ld-ctype.c (set_class_defaults): Set default
3480         value for alpha and alnum correctly.
3481
3482         * locale/programs/ld-address.c (address_output): Fix output of
3483         country_num.
3484
3485 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
3486
3487         * timezone/asia: Update from tzdata1999j.
3488         * timezone/australasia: Likewise.
3489         * timezone/europe: Likewise.
3490         * timezone/northamerica: Likewise.
3491         * timezone/southamerica: Likewise.
3492         * timezone/zone.tab: Likewise.
3493
3494 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3495
3496         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3497         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3498         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3499         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3500         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3501
3502 1999-11-15  Andreas Jaeger  <aj@suse.de>
3503
3504         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3505         __syscall_setrlimit.
3506         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3507
3508 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3509
3510         * scripts/versions.awk: Don't expect to read predecessor versions,
3511         compute them.
3512         * Versions.def: Remove predecessors.  They now get computed.
3513
3514 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3515
3516         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3517         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3518         prototype.
3519         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3520         * sysdeps/powerpc/stackinfo.h: New file.
3521         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3522
3523 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3524
3525         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3526         GLIBC_2.1.3.
3527
3528 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3529
3530         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3531         hurd_directory_name_split.
3532         * Versions.def (libc): Add GLIBC_2.1.3.
3533
3534 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
3535
3536         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3537         to return the location of the null byte written into the string.
3538         (describe_number): Likewise.
3539         (describe_number): Remove assert, not always used with #.
3540         If FLAVOR is null, don't use it.
3541         (describe_number): Take signed argument and print a - if negative.
3542         (_S_msg_report_wait): Report system call number for system calls that
3543         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
3544         matches SS->intr_port, bracket port description with [...] to indicate
3545         a Hurd interruptible RPC; if destination port is null, examine the
3546         receive port and report that state; if receive port is also null,
3547         check for timeout and report its value.
3548         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3549         zero iff we managed to examine the stack; take new args RCV_NAME,
3550         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3551
3552         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3553         MACH_PORT_DEAD specially.
3554
3555 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3556
3557         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3558         (__directory_name_split): New function.
3559         * hurd/hurd.h: Declare them.
3560         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3561         __file_name_split, so we ignore trailing slashes properly.
3562         * sysdeps/mach/hurd/rename.c: Likewise.
3563
3564 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
3565
3566         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3567         from current kernel headers.
3568
3569         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3570         SO_PASSCRED defined.
3571
3572 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3573
3574         * locale/C-ctype.c: Fix typo in char class name.
3575
3576         * configure.in: Allow user so specify --enable-kernel=current.
3577
3578 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
3579
3580         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3581
3582         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3583         i386 version.
3584         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3585         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3586         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3587         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3588
3589 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3590
3591         * intl/locale.alias: Add Estonian entries.
3592         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3593
3594 1999-11-02  Andreas Jaeger  <aj@suse.de>
3595
3596         * Versions.def: Add version GLIBC_2.2 for libm.
3597         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3598         fedisableexcept.
3599         * sysdeps/generic/feenablxcpt.c: Stub file.
3600         * sysdeps/generic/fedisblxcpt.c: Stub file.
3601         * sysdeps/generic/fegetexcept.c: Stub file.
3602         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3603         * sysdeps/i386/fpu/feenablxcpt.c: New file.
3604         * sysdeps/i386/fpu/fegetexcept.c: New file.
3605         * math/Makefile (libm-support): Add new files.
3606         * math/Versions: Add new functions with version GLIBC_2.2.
3607         * manual/arith.texi (Control Functions): Document fegetexcept,
3608         feenableexcept and fedisableexcept.
3609
3610 1999-11-01  Wolfram Gloger  <wg@malloc.de>
3611
3612         * malloc/malloc.h: Describe __malloc_initialize_hook.
3613         * manual/memory.texi: Document __malloc_initialize_hook.
3614
3615 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
3616
3617         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3618
3619 1999-11-09  Andreas Jaeger  <aj@suse.de>
3620
3621         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3622         implementation for ttyname_r call; fix inverted condition; return
3623         ut_user.
3624         Closes PR libc/1438.
3625
3626 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3627
3628         * math/fenv.h: Include bits/fenvinline.h if optimizing.
3629         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
3630         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
3631         * sysdeps/generic/bits/fenv.h: New file.
3632
3633 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3634
3635         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3636         printf call.
3637
3638 1999-11-10  Andreas Jaeger  <aj@suse.de>
3639
3640         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3641
3642 1999-11-10  Andreas Jaeger  <aj@suse.de>
3643
3644         * string/strsignal.c (strsignal): Correct check for snprintf
3645         return value.
3646         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3647
3648         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3649         according to changed snprintf return value.
3650         Reported by Lawrence K. Chen <lchen@opentext.com>.
3651
3652         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3653         for ecvt_r and fcvt_r.
3654
3655 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3656
3657         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3658         directory with the reference since this is as secure as using the
3659         object with the dependency.
3660         (_dl_dst_substitute): Likewise.
3661
3662         * elf/dl-load.c (_dl_dst_count): Change strings in first two
3663         strncmp calls to allow reuse.
3664         (_dl_dst_substitute): Likewise.
3665
3666 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
3667
3668         * posix/regex.c (init_syntax_once): move below definition of
3669         ISALNUM etc., then use ISALNUM to init the table, so that
3670         the word ops will work if i18n'ed.
3671         (SYNTAX): And subscript with 0xFF for 8bit character sets.
3672
3673 1999-11-09  Andreas Jaeger  <aj@suse.de>
3674
3675         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3676         implementation for ttyname_r call; fix inverted condition; return
3677         ut_user.  Closes PR libc/1438.
3678
3679 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3680
3681         * timezone/checktab.awk: Update from tzcode1999h.
3682         * timezone/africa: Update from tzdata1999i.
3683         * timezone/asia: Likewise.
3684         * timezone/australasia: Likewise.
3685         * timezone/backward: Likewise.
3686         * timezone/europe: Likewise.
3687         * timezone/northamerica: Likewise.
3688         * timezone/southamerica: Likewise.
3689         * timezone/iso3166.tab: Likewise.
3690         * timezone/zone.tab: Likewise.
3691
3692         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3693         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
3694
3695 1999-11-09  Andreas Jaeger  <aj@suse.de>
3696
3697         * posix/Makefile (tests): Added tst-getlogin.
3698
3699         * posix/tst-getlogin.c: New file, contains simple tests for
3700         getlogin and getlogin_r.
3701
3702 1999-11-09  Andreas Schwab  <schwab@suse.de>
3703
3704         * misc/syslog.c: For LOG_PERROR only append a newline if
3705         necessary.
3706
3707 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
3708
3709         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3710         definitions.
3711
3712 1999-11-08  Andreas Jaeger  <aj@suse.de>
3713
3714         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3715         this fixes a memory leak (closes PR libc/1435).
3716
3717         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3718         reflect memory allocation.
3719
3720         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3721         allocation in _nl_explode_name.
3722
3723 1999-11-06  Andreas Jaeger  <aj@suse.de>
3724
3725         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3726         to initialize it.
3727         Reported by wes@surety.com, closes PR libc/1432.
3728
3729 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
3730
3731         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3732         enumerator lists (-pedantic complains).
3733         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
3734         test for 'one bit set'.
3735         (feclearexcept): Likewise.
3736
3737 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
3738
3739         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3740
3741         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3742         for kernel changes.
3743         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3744         unsigned.
3745
3746 1999-10-04  Tim Waugh  <twaugh@redhat.com>
3747
3748         * posix/wordexp-test.c: More tests.
3749
3750         * posix/wordexp.c (wordexp): Explicit null words should be kept.
3751
3752 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
3753
3754         * locale/programs/linereader.c (get_string): Correct type of buf2
3755         variable.
3756         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3757         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3758         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3759         _NL_CTYPE_OUTDIGIT*_WC.
3760         (allocate_arrays): Completely initialize mapping tables.
3761         * locale/programs/ld-time.c (time_startup): We need the wide car
3762         string.
3763         (time_finish): Correct handling of era.
3764         (time_output): Fix a few array indeces.
3765         (time_read): Pass the repertoire map to lr_token.
3766
3767 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
3768
3769         * Versions.def: Add version for libthread_db.
3770
3771 1999-11-02  Andreas Jaeger  <aj@suse.de>
3772
3773         * manual/header.texi (Library Summary): The command @indexfonts
3774         doesn't exist anymore, use @smallfonts instead.
3775
3776 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
3777
3778         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3779         instead of duplicating definitions.
3780
3781 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
3782
3783         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3784         by the debugger.
3785         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3786         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3787         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3788         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3789         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3790
3791 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
3792
3793         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3794
3795         * sysdeps/unix/sysv/linux/kernel-features.h
3796         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3797         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3798
3799         * manual/texinfo.tex: Updated.
3800
3801 1999-11-01  Andreas Jaeger  <aj@suse.de>
3802
3803         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3804
3805         * inet/gethstbynm2_r.c: Reorder addresses.
3806
3807 1999-09-11  Paul Eggert  <eggert@twinsun.com>
3808
3809         * posix/glob.h (glob): If #defining to glob64, do this before
3810         declaring it, so that all declarations and uses match, and do not
3811         declare glob64, to avoid a declaration clash.
3812         (globfree): Likewise with globfree64.
3813
3814 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
3815
3816         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3817         Keep the trailing slash unless DIRNAME is just "x:/".
3818
3819 1999-10-11  Andreas Jaeger  <aj@suse.de>
3820
3821         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3822         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3823         Closes PR libc/1384.
3824
3825 1999-10-20  Andreas Schwab  <schwab@suse.de>
3826
3827         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3828         (generated): Add it here.
3829         (before-compile): Add libm-test.c.
3830         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3831         libm-test.stmp.
3832         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3833         $(objdir)/math/.
3834
3835 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3836
3837         * Makefile (pdf): New goal.
3838         * manual/Makefile: Add definitions and rules for PDF generation.
3839
3840         * Versions.def (libm): Add GLIBC_2.1.3.
3841
3842         ISO C99 TR1 changes various fe* functions to return an error value.
3843         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3844         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3845         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3846         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3847         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3848         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3849         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3850         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3851         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3852         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3853         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3854         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3855         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3856         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3857         * sysdeps/generic/fclrexcpt.c: Likewise.
3858         * sysdeps/generic/fegetenv.c: Likewise.
3859         * sysdeps/generic/fesetenv.c: Likewise.
3860         * sysdeps/generic/feupdateenv.c: Likewise.
3861         * sysdeps/generic/fgetexcptflg.c: Likewise.
3862         * sysdeps/generic/fraiseexcpt.c: Likewise.
3863         * sysdeps/generic/fsetexcptflg.c: Likewise.
3864         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3865         * sysdeps/i386/fpu/fegetenv.c: Likewise.
3866         * sysdeps/i386/fpu/fesetenv.c: Likewise.
3867         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3868         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3869         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3870         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3871         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3872         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3873         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3874         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3875         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3876         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3877         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3878         * sysdeps/mips/fclrexcpt.c: Likewise.
3879         * sysdeps/mips/fegetenv.c: Likewise.
3880         * sysdeps/mips/fesetenv.c: Likewise.
3881         * sysdeps/mips/feupdateenv.c: Likewise.
3882         * sysdeps/mips/fgetexcptflg.c: Likewise.
3883         * sysdeps/powerpc/fclrexcpt.c: Likewise.
3884         * sysdeps/powerpc/fegetenv.c: Likewise.
3885         * sysdeps/powerpc/fesetenv.c: Likewise.
3886         * sysdeps/powerpc/feupdateenv.c: Likewise.
3887         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3888         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3889         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3890         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3891         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3892         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3893         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3894         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3895         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3896         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3897         * math/fenv.h: Adjust prototypes.: Likewise.
3898         * manual/arith.texi: Adjust documentation for these changes.
3899
3900         * manual/arith.texi: Document feraiseexcept.
3901
3902         * sysdeps/powerpc/fegetenv.c: Moved to...
3903         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3904         * sysdeps/powerpc/fegetround.c: Moved to...
3905         * sysdeps/powerpc/fpu/fegetround.c: ...here.
3906         * sysdeps/powerpc/feholdexcpt.c: Moved to...
3907         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3908         * sysdeps/powerpc/fesetenv.c: Moved to...
3909         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3910         * sysdeps/powerpc/fenv_libc.h: Moved to...
3911         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3912         * sysdeps/powerpc/feupdateenv.c: Moved to...
3913         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3914         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3915         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3916         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3917         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3918         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3919         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3920         * sysdeps/powerpc/ftestexcept.c: Moved to...
3921         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3922         * sysdeps/powerpc/fesetround.c: Moved to...
3923         * sysdeps/powerpc/fpu/fesetround.c: ...here
3924         * sysdeps/powerpc/fenv_const.c: Moved to...
3925         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3926
3927         * sysdeps/mips/fclrexcpt.c: Moved to...
3928         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3929         * sysdeps/mips/fegetenv.c: Moved to...
3930         * sysdeps/mips/fpu/fegetenv.c: ...here.
3931         * sysdeps/mips/fegetround.c: Moved to...
3932         * sysdeps/mips/fpu/fegetround.c: ...here.
3933         * sysdeps/mips/fesetenv.c: Moved to...
3934         * sysdeps/mips/fpu/fesetenv.c: ...here.
3935         * sysdeps/mips/fesetround.c: Moved to...
3936         * sysdeps/mips/fpu/fesetround.c: ...here.
3937         * sysdeps/mips/feupdateenv.c: Moved to...
3938         * sysdeps/mips/fpu/feupdateenv.c: ...here.
3939         * sysdeps/mips/fgetexcptflg.c: Moved to...
3940         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3941         * sysdeps/mips/ftestexcept.c: Moved to...
3942         * sysdeps/mips/fpu/ftestexcept.c: ...here.
3943
3944 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
3945
3946         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3947         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3948         libraries from statically linked programs.
3949         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3950         fix for sigaction on SPARC.
3951         Patches by David S. Miller <davem@redhat.com>.
3952
3953         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3954         gregset_t and other required structures and defines for SPARC 64bit
3955         ABI as well, not only 32bit ABI.
3956
3957 1999-10-31  Andreas Jaeger  <aj@suse.de>
3958
3959         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3960         by __USE_ISOC99 and update comments.
3961
3962         * math/complex.h: Update comments for ISO C99.
3963         * math/fenv.h: Likewise.
3964         * math/test-fenv.c: Likewise.
3965         * math/tgmath.h: Likewise.
3966         * libio/stdio.h: Likewise.
3967         * posix/sys/types.h: Likewise.
3968         * sysdeps/generic/inttypes.h: Likewise.
3969         * sysdeps/generic/stdint.h: Likewise.
3970
3971 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3972
3973         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3974
3975         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3976         recognize _ISOC99_SOURCE.
3977         * libio/stdio.h: Likewise.
3978         * math/math.h: Likewise.
3979         * math/bits/mathcalls.h: Likewise.
3980         * math/stdio.h: Likewise.
3981         * stdlib/stdlib.h: Likewise.
3982         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3983         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3984         * sysdeps/arm/bits/huge_val.h: Likewise.
3985         * sysdeps/generic/bits/mathdef.h: Likewise.
3986         * sysdeps/i386/bits/huge_val.h: Likewise.
3987         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3988         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3989         * sysdeps/ieee754/bits/huge_val.h: Likewise.
3990         * sysdeps/m68k/bits/huge_val.h: Likewise.
3991         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3992         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3993         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3994         * sysdeps/powerpc/bits/mathinline.h: Likewise.
3995         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3996         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3997         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3998         * wcsmbs/wchar.h: Likewise.
3999
4000         * sysdeps/powerpc/bits/mathdef.h: Moved to...
4001         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
4002         * sysdeps/powerpc/bits/mathinline.h: Moved to...
4003         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
4004         * sysdeps/powerpc/bits/fenv.h: Moved to...
4005         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
4006
4007 1999-10-31  Andreas Jaeger  <aj@suse.de>
4008
4009         * manual/math.texi (Errors in Math Functions): Correct TeX code.
4010
4011 1999-10-31  Andreas Jaeger  <aj@suse.de>
4012
4013         * math/libm-test.inc:  Change comments to use ISO C99 instead of
4014         ISO C9x.
4015         * math/w_lgamma.c: Likewise.
4016         * math/w_lgammaf.c: Likewise.
4017         * math/w_lgammal.c: Likewise.
4018         * math/test-fenv.c: Likewise.
4019         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4020         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4021         * sysdeps/generic/printf_fphex.c: Likewise.
4022
4023 1999-10-31  Andreas Jaeger  <aj@suse.de>
4024
4025         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
4026
4027         * manual/math.texi: Change ISO C9x to ISO C99.
4028         * manual/startup.texi: Likewise.
4029         * manual/stdio.texi: Likewise.
4030
4031 1999-10-31  Andreas Jaeger  <aj@suse.de>
4032
4033         * manual/arith.texi: Change ISO C9x to ISO C99.
4034         * manual/time.texi (Low-Level Time String Parsing): Likewise.
4035
4036 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
4037
4038         * socket/Makefile (distribute): Add ifreq.h.
4039
4040         * manual/time.texi (Formatting Date and Time): Revise comments about
4041         origins of the formats with ISO C99 references.
4042
4043 1999-10-30  Andreas Jaeger  <aj@suse.de>
4044
4045         * sysdeps/unix/sysv/linux/ifreq.h: New file.
4046
4047 1999-10-29  Andreas Jaeger  <aj@suse.de>
4048
4049         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
4050         input format; mention that strtof and strtold are part of ISO C99.
4051
4052 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
4053
4054         * manual/math.texi (Errors in Math Functions): New section.
4055         * math/libm-err-tab.pl: Moved to...
4056         * manual/libm-err-tab.pl: ...here.
4057         * manual/Makefile: Add rules for math function error table generation.
4058
4059         * stdlib/tst-strtod.c: Add more hexadecimal tests.
4060
4061         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
4062         != 1 correctly and more than one digit before decimal point..
4063
4064 1999-10-27  Andreas Jaeger  <aj@suse.de>
4065
4066         * sysdeps/generic/ifreq.h: New file.
4067
4068         * resolv/res_hconf.c: Add missing includes to get all prototypes.
4069         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
4070         Reported by John DiMarco <jdd@cs.toronto.edu>.
4071
4072         (_res_hconf_reorder_addrs): Made thread safe.
4073         (free_mem): New function, needed for malloc debugging.
4074
4075 1999-10-29  Andreas Jaeger  <aj@suse.de>
4076
4077         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
4078         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
4079         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
4080         opensock to use __opensock.
4081
4082         * socket/Makefile (routines): Add opensock.
4083
4084         * include/sys/socket.h (__opensock): Add prototype declaration.
4085
4086 1999-10-29  Andreas Jaeger  <aj@suse.de>
4087
4088         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
4089         N_* constants.
4090         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4091
4092         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
4093         new constant from Linux 2.3.25pre1.
4094
4095         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
4096
4097 1999-10-29  Andreas Jaeger  <aj@suse.de>
4098
4099         * math/libm-err-tab.pl: New file to generate a table of
4100         libm-test-ulps values.
4101
4102 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
4103
4104         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
4105         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
4106         struct sigcontext* object as second parameter for profil_counter.
4107         Patches by Jakub Jelinek <jakub@redhat.com>.
4108
4109 1999-10-29  Andreas Jaeger  <aj@suse.de>
4110
4111         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
4112         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
4113
4114         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
4115         efs, qnx4 and reiser file systems.
4116
4117 1999-10-29  Andreas Jaeger  <aj@suse.de>
4118
4119         * locale/Makefile (others): Set to localedef and locale for make
4120         clean.
4121
4122         * debug/Makefile (generated): Add xtrace for make clean to work.
4123
4124 1999-10-29  Andreas Jaeger  <aj@suse.de>
4125
4126         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
4127
4128 1999-10-25  Andreas Jaeger  <aj@suse.de>
4129
4130         * math/libm-test.inc: Added code to ignore the given max ulps.
4131         (print_max_error): Check for ignore_max_ulp.
4132         (check_float_internal): Likewise.
4133         (parse_opt): Parse --ignore-max-ulp.
4134         (main): Initialize ignore_max_ulp.
4135
4136 1999-10-26  Andreas Jaeger  <aj@suse.de>
4137
4138         * stdlib/msort.c: Include <alloca.h> for prototype.
4139         Remove K&R compatibility and _quicksort prototype.
4140
4141         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
4142         some comments.
4143         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
4144         Remove K&R compatibility.
4145         Move prototype declaration to include/stdlib.h.
4146         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
4147
4148         * include/stdlib.h: Prototype declaration for _quicksort.
4149
4150 1999-10-27  Andreas Jaeger  <aj@suse.de>
4151
4152         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
4153         shifted a bit too much.
4154         Reported by Eugen Dedu <dedu@ese-metz.fr>.
4155
4156 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
4157
4158         * resolv/gethnamaddr.c: Account bytes needed for alignment in
4159         buflen.  Patch by Olaf Kirch <okir@lst.de>.
4160
4161         * md5-crypt/md5test.c: Correct names of MD5 functions after
4162         removing of public names.
4163
4164         * configure.in: Don't allow --enable-kernel without parameter.
4165
4166 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
4167
4168         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
4169         problems.
4170
4171 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
4172
4173         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
4174         only used internally.
4175         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
4176         remove weak alias for public names.
4177         * md5-crypt/md5.c: Remove weak aliase.
4178
4179 1999-10-25  Andreas Jaeger  <aj@suse.de>
4180
4181         * math/README.libm-test: New file, documents libm-test.inc.
4182
4183 1999-10-25  Andreas Jaeger  <aj@suse.de>
4184
4185         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
4186         given.
4187         (print_ulps_file): Fix loops to not read @tests and @functions
4188         since those are not initialized with -n now.
4189         (parse_ulps): Set $results{..}{"kind"}.
4190
4191 1999-10-25  Andreas Jaeger  <aj@suse.de>
4192
4193         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
4194
4195         * math/libm-test.inc (check_float_internal): Don't print ulps for
4196         wrong sign of zero.
4197
4198 1999-10-20  Andreas Jaeger  <aj@suse.de>
4199
4200         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
4201         versus AF_LOCAL.
4202         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
4203
4204 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
4205
4206         * math/libm-test.inc: Disable some boundary case tests for inline
4207         function testing.
4208
4209         * math/math.h: Pretty printing.
4210
4211         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
4212         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4213         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4214         * sysdeps/i386/fpu/e_log10.S: Likewise.
4215         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4216         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4217         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4218         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4219         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4220         * sysdeps/i386/fpu/s_log2.S: Likewise.
4221         * sysdeps/i386/fpu/s_log2f.S: Likewise.
4222         * sysdeps/i386/fpu/s_log2l.S: Likewise.
4223
4224         * sysdeps/i386/fpu/libm-test-ulps: New file.
4225
4226         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
4227         value for x == 0.
4228         (pow): Correct case x == 0.
4229         (__sgn1l): Correct handling of -0.0.
4230
4231 1999-10-22  Andreas Jaeger  <aj@suse.de>
4232
4233         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
4234         (atan_test): Likewise.
4235         (atanh_test): Likewise.
4236         (atan2_test): Likewise.
4237         (carg_test): Likewise.
4238         (ceil_test): Likewise.
4239         (cos_test): Likewise.
4240         (cosh_test): Likewise.
4241         (cpow_test): Likewise.
4242         (erf_test): Likewise.
4243         (erfc_test): Likewise.
4244         (exp_test): Likewise.
4245         (exp10_test): Likewise.
4246         (exp2_test): Likewise.
4247         (expm1_test): Likewise.
4248         (fabs_test): Likewise.
4249         (floor_test): Likewise.
4250         (fmod_test): Likewise.
4251         (gamma_test): Likewise.
4252         (lgamma_test): Likewise.
4253         (log10_test): Likewise.
4254         (log1p_test): Likewise.
4255         (log2_test): Likewise.
4256         (logb_test): Likewise.
4257         (nearbyint_test): Likewise.
4258         (remainder_test): Likewise.
4259         (remquo_test): Likewise.
4260         (sin_test): Likewise.
4261         (sincos_test): Likewise.
4262         (sinh_test): Likewise.
4263         (sqrt_test): Likewise.
4264         (tan_test): Likewise.
4265         (tanh_test): Likewise.
4266         (tgamma_test): Likewise.
4267
4268 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
4269
4270         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4271
4272         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4273
4274         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4275         for -Inf and return NaN.
4276
4277         * configure.in: Correct test for Cygnus gcc versions.
4278
4279 1999-10-21  Andreas Jaeger  <aj@suse.de>
4280
4281         * math/libm-test.inc (cimag_test): New function, tests cimag.
4282         (creal_test): New function, tests creal.
4283         (conj_test): New function, tests conj.
4284         (main): Add new functions.
4285
4286 1999-10-20  Andreas Jaeger  <aj@suse.de>
4287
4288         * math/libm-test.inc: Rewrite to allow different deltas for real
4289         and imaginary part of complex functions.
4290         * math/gen-libm-test.pl: Likewise.
4291
4292 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
4293
4294         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4295         aliases.
4296
4297         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4298
4299         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4300         for -Inf and return NaN.
4301
4302         * math/gen-libm-test.pl: Fix program name in help message.
4303
4304         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4305
4306         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4307
4308         * sysdeps/i386/Implies: Correct order of libm directories.
4309
4310 1999-10-19  Andreas Jaeger  <aj@suse.de>
4311
4312         * include/bits/ipc.h: Remove K&R compatibility.
4313         * include/libintl.h: Likewise.
4314         * include/math.h: Likewise.
4315         * include/mntent.h: Likewise
4316         * include/netdb.h: Likewise.
4317         * include/pwd.h: Likewise.
4318         * include/sched.h: Likewise.
4319         * include/shadow.h: Likewise
4320         * include/stdlib.h: Likewise.
4321         * include/sys/file.h: Likewise.
4322         * include/sys/gmon.h: Likewise.
4323         * include/sys/ioctl.h: Likewise.
4324         * include/sys/mman.h: Likewise.
4325         * include/sys/resource.h: Likewise.
4326         * include/sys/socket.h: Likewise.
4327         * include/sys/stat.h: Likewise.
4328         * include/sys/sysinfo.h: Likewise.
4329         * include/sys/time.h: Likewise.
4330         * include/sys/times.h: Likewise.
4331         * include/sys/uio.h: Likewise.
4332         * include/sys/wait.h: Likewise.
4333         * include/termios.h: Likewise.
4334         * include/time.h: Likewise.
4335         * include/ulimit.h: Likewise.
4336         * include/utmp.h: Likewise.
4337         * include/wchar.h: Likewise.
4338         * include/wctype.h: Likewise.
4339
4340 1999-10-19  Andreas Jaeger  <aj@suse.de>
4341
4342         * math/libm-test.inc: Remove one K&R compatibility.
4343         (main): Enable nexttoward_test.
4344
4345         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4346         libm-test-ulps.h; pretty print output a bit.
4347
4348 1999-10-19  Andreas Jaeger  <aj@suse.de>
4349
4350         * iconv/iconv_prog.c (main): Set exit value in case that reading
4351         from stdin failed [PR libc/1404].
4352
4353 1999-10-18  Andreas Jaeger  <aj@suse.de>
4354
4355         Added improved math testsuite:
4356         * math/libm-test.inc: New file, contains all tests from
4357         libm-test.c but in a different form.
4358         * math/libm-test.c: Removed.
4359         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4360         * math/gen-libm-test.pl: New file: Preprocessor.
4361         * math/test-double.c: Adopted to new testsuite.
4362         * math/test-idouble.c: Likewise.
4363         * math/test-float.c: Likewise.
4364         * math/test-ifloat.c: Likewise.
4365         * math/test-ldouble.c: Likewise.
4366         * math/test-ildoubl.c: Likewise.
4367         * math/Makefile: Added rules to generate new suite.
4368
4369 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4370
4371         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4372         Patch by J. Richard Sladkey <jrs@world.std.com>.
4373
4374         * scripts/config.sub: Update from latest autoconf version.
4375         * scripts/config.guess: Likewise.
4376
4377 1999-10-18  Andreas Jaeger  <aj@suse.de>
4378
4379         * inet/arpa/inet.h: Remove K&R compatibility.
4380         * math/fenv.h: Likewise.
4381
4382 1999-10-18  Andreas Jaeger  <aj@suse.de>
4383
4384         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4385         kernel_sigaction): Remove K&R compatibility.
4386         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4387         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4388         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4389         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4390         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4391         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4392         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4393         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4394         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4395         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4396         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4397         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4398         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4399         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4400         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4401         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4402         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4403
4404 1999-10-18  Andreas Jaeger  <aj@suse.de>
4405
4406         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4407         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4408
4409 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4410
4411         * po/gl.po: New file.
4412
4413 1999-10-18  Andreas Schwab  <schwab@suse.de>
4414
4415         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4416         namespace selection.
4417
4418 1999-10-18  Andreas Schwab  <schwab@suse.de>
4419
4420         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4421         clash with the TERM environment variable.
4422
4423 1999-10-18  Andreas Jaeger  <aj@suse.de>
4424
4425         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4426         returns now NaN + i NaN.
4427         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4428         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4429
4430 1999-10-18  Andreas Jaeger  <aj@suse.de>
4431
4432         * include/aio.h: Remove K&R compatiblity.
4433         * include/alloca.h: Likewise.
4434         * include/db.h: Likewise.
4435         * include/dirent.h: Likewise.
4436         * include/fcntl.h: Likewise.
4437         * include/fpu_control.h: Likewise.
4438         * include/glob.h: Likewise.
4439         * include/grp.h: Likewise.
4440         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4441         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4442         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4443         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4444
4445         * include/execinfo.h: Add __THROW.
4446
4447 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4448
4449         * sysdeps/mips/Implies: Remove wordsize-32 reference.
4450         * sysdeps/mips/mips3/Implies: Add it here.
4451
4452 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
4453
4454         * elf/elf.h: Add various platform and architecture extensions.
4455
4456         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4457         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4458         LC_ALL.
4459
4460         * socket/sys/socket.h: Remove K&R compatibility.
4461
4462 1999-10-16  Andreas Jaeger  <aj@suse.de>
4463
4464         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4465
4466 1999-10-15  Andreas Jaeger  <aj@suse.de>
4467
4468         * stdlib/Makefile (tests): Added tst-xpg-basename.
4469
4470         * stdlib/tst-xpg-basename.c: New test file.
4471
4472 1999-10-14  Cristian Gafton  <gafton@redhat.com>
4473
4474         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4475
4476 1999-10-14  Andreas Jaeger  <aj@suse.de>
4477
4478         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
4479         endian version works for both endiannesses.
4480
4481         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4482         seconds.
4483
4484 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4485
4486         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4487         register names unconditionally, only if __USE_GNU.
4488
4489         * debug/Makefile: Fix rules to generate pcprofiledump.
4490
4491         * include/ucontext.h: New file.
4492
4493         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4494
4495 1999-10-12  Andreas Jaeger  <aj@suse.de>
4496
4497         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4498
4499         * math/basic-test.c: Fix typo.
4500
4501         * locale/programs/xstrdup.c: Include string.h for glibc
4502         compilation to get string prototypes.
4503
4504         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4505         gregset_t and fpregset_t.
4506
4507         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4508         warnings.  Correct value for x == 0.
4509
4510         * argp/argp-help.c: Remove broken definition of flockfile and
4511         funlockfile.
4512
4513 1999-10-12  Andreas Schwab  <schwab@suse.de>
4514
4515         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4516         generic Linux version.
4517
4518 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4519
4520         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4521
4522 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4523
4524         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4525         and fpregset_t definitions.
4526
4527         * malloc/memprof.c (GETSP): Define for PowerPC.
4528         (GETTIME): Fix generic version.
4529
4530 1999-10-10  Philip Blundell  <philb@gnu.org>
4531
4532         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4533         __BYTE_ORDER.
4534
4535 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4536
4537         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4538         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4539         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4540         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4541
4542         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4543
4544         * sysdeps/powerpc/e_sqrt.c: Moved to...
4545         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4546         * sysdeps/powerpc/e_sqrtf.c: Moved to...
4547         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4548
4549         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4550         * sysdeps/powerpc/sub_n.S: Likewise.
4551         * sysdeps/powerpc/strlen.S: Likewise.
4552         * sysdeps/powerpc/strcpy.S: Likewise.
4553         * sysdeps/powerpc/strcmp.S: Likewise.
4554         * sysdeps/powerpc/strchr.S: Likewise.
4555         * sysdeps/powerpc/stpcpy.S: Likewise.
4556         * sysdeps/powerpc/setjmp.S: Likewise.
4557         * sysdeps/powerpc/rshift.S: Likewise.
4558         * sysdeps/powerpc/ppc-mcount.S: Likewise.
4559         * sysdeps/powerpc/mul_1.S: Likewise.
4560         * sysdeps/powerpc/memset.S: Likewise.
4561         * sysdeps/powerpc/lshift.S: Likewise.
4562         * sysdeps/powerpc/dl-start.S: Likewise.
4563         * sysdeps/powerpc/bzero.S: Likewise.
4564         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4565         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4566         * sysdeps/powerpc/addmul_1.S: Likewise.
4567         * sysdeps/powerpc/add_n.S: Likewise.
4568         * sysdeps/powerpc/__longjmp.S: Likewise.
4569         * sysdeps/powerpc/elf/start.S: Likewise.
4570
4571 1999-10-11  Cristian Gafton  <gafton@redhat.com>
4572
4573         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4574         SA_SIGINFO.
4575
4576 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
4577
4578         * stdlib/atexit.c (initial): New variable.  Use to initialize
4579         __exit_funcs.
4580         * stdlib/exit.c (exit): Beware to not free statically allocated
4581         list element [PR libc/1305].
4582
4583         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4584         slash before the basename [PR libc/1383].
4585
4586         * argp/argp.h: Fix typo in last patch.
4587
4588         * sysdeps/powerpc/sysdep.h: New file.
4589         * sysdeps/unix/powerpc/sysdep.h: New file.
4590         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4591         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4592         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4593         instead of bare numbers.
4594         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4595         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4596         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4597
4598         * sysdeps/hppa/sysdep.h: New file.
4599
4600 1999-10-10  Andreas Jaeger  <aj@suse.de>
4601
4602         * misc/sgtty.h: Fix typo in last patch.
4603
4604 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
4605
4606         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4607         * sysdeps/powerpc/s_copysign.S: Move to...
4608         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
4609         * sysdeps/powerpc/s_copysignf.S: Move to...
4610         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4611         * sysdeps/powerpc/s_fabs.S: Move to...
4612         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
4613         * sysdeps/powerpc/s_fabsf.S: Move to...
4614         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4615         * sysdeps/powerpc/s_fdim.c: Move to...
4616         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4617         * sysdeps/powerpc/s_fdimf.c: Move to...
4618         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4619         * sysdeps/powerpc/s_fmax.S: Move to...
4620         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
4621         * sysdeps/powerpc/s_fmaxf.S: Move to...
4622         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4623         * sysdeps/powerpc/s_fmin.S: Move to...
4624         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
4625         * sysdeps/powerpc/s_fminf.S: Move to...
4626         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4627         * sysdeps/powerpc/s_isnan.S: Move to...
4628         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4629         * sysdeps/powerpc/s_isnanf.S: Move to...
4630         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4631         * sysdeps/powerpc/s_llrint.c: Move to...
4632         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4633         * sysdeps/powerpc/s_llrintf.c: Move to...
4634         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4635         * sysdeps/powerpc/s_llround.c: Move to...
4636         * sysdeps/powerpc/fpu/s_llround.c: ...here.
4637         * sysdeps/powerpc/s_llroundf.c: Move to...
4638         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4639         * sysdeps/powerpc/s_lrint.c: Move to...
4640         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4641         * sysdeps/powerpc/s_lrintf.S: Move to...
4642         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4643         * sysdeps/powerpc/s_lround.c: Move to...
4644         * sysdeps/powerpc/fpu/s_lround.c: ...here.
4645         * sysdeps/powerpc/s_lroundf.c: Move to...
4646         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4647         * sysdeps/powerpc/s_rint.c: Move to...
4648         * sysdeps/powerpc/fpu/s_rint.c: ...here.
4649         * sysdeps/powerpc/s_rintf.c: Move to...
4650         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4651         * sysdeps/powerpc/t_sqrt.c: Move to...
4652         * sysdeps/powerpc/fpu/t_sqrt: ...here.
4653         * sysdeps/powerpc/w_sqrt.c: Move to...
4654         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4655         * sysdeps/powerpc/w_sqrtf.c: Move to...
4656         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4657         * configure.in: Support platforms which have no .text pseudo-op.
4658         Patches partly by Jimi X <jimix@pobox.com>.
4659
4660         * Makeconfig: Look also in all subdirs for shlib-versions files.
4661
4662         * malloc/memprof.sh: Fix --help string a bit.
4663
4664         * argp/argp.h: Remove K&R compatiblity.
4665         * assert/assert.h: Likewise.
4666         * catgets/nl_types.h: Likewise.
4667         * ctype/ctype.h: Likewise.
4668         * db/db.h: Likewise.
4669         * db/ndbm.h: Likewise.
4670         * db2/db.h: Likewise.
4671         * db2/db_185.h: Likewise.
4672         * debug/execinfo.h: Likewise.
4673         * dirent/dirent.h: Likewise.
4674         * dlfcn/dlfcn.h: Likewise.
4675         * gmon/sys/gmon.h: Likewise.
4676         * grp/grp.h: Likewise.
4677         * iconv/gconv.h: Likewise.
4678         * iconv/iconv.h: Likewise.
4679         * include/execinfo.h: Likewise.
4680         * inet/aliases.h: Likewise.
4681         * inet/netinet/ether.h: Likewise.
4682         * inet/netinet/in.h: Likewise.
4683         * intl/libintl.h: Likewise.
4684         * io/fcntl.h: Likewise.
4685         * io/fts.h: Likewise.
4686         * io/ftw.h: Likewise.
4687         * io/utime.h: Likewise.
4688         * io/sys/poll.h: Likewise.
4689         * io/sys/stat.h: Likewise.
4690         * io/sys/statfs.h: Likewise.
4691         * io/sys/statvfs.h: Likewise.
4692         * libio/libio.h: Likewise.
4693         * libio/stdio.h: Likewise.
4694         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4695         * locale/locale.h: Likewise.
4696         * login/pty.h: Likewise.
4697         * login/utmp.h: Likewise.
4698         * malloc/mcheck.h: Likewise.
4699         * math/complex.h: Likewise.
4700         * math/math.h: Likewise.
4701         * math/math_private.h: Likewise.
4702         * misc/err.h: Likewise.
4703         * misc/fstab.h: Likewise.
4704         * misc/libgen.h: Likewise.
4705         * misc/mntent.h: Likewise.
4706         * misc/regexp.h: Likewise.
4707         * misc/search.h: Likewise.
4708         * misc/sgtty.h: Likewise.
4709         * misc/ttyent.h: Likewise.
4710         * misc/sys/cdefs.h: Likewise.
4711         * misc/sys/file.h: Likewise.
4712         * misc/sys/ioctl.h: Likewise.
4713         * misc/sys/mman.h: Likewise.
4714         * misc/sys/select.h: Likewise.
4715         * misc/sys/syslog.h: Likewise.
4716         * misc/sys/uio.h: Likewise.
4717         * misc/sys/ustat.h: Likewise.
4718         * nss/nss.h: Likewise.
4719         * posix/sched.h: Likewise.
4720         * posix/unistd.h: Likewise.
4721         * posix/wordexp.h: Likewise.
4722         * posix/sys/times.h: Likewise.
4723         * posix/sys/utsname.h: Likewise.
4724         * posix/sys/wait.h: Likewise.
4725         * pwd/pwd.h: Likewise.
4726         * resolv/netdb.h: Likewise.
4727         * resolv/resolv.h: Likewise.
4728         * resource/ulimit.h: Likewise.
4729         * resource/sys/resource.h: Likewise.
4730         * resource/sys/vlimit.h: Likewise.
4731         * resource/sys/vtimes.h: Likewise.
4732         * rt/aio.h: Likewise.
4733         * setjmp/setjmp.h: Likewise.
4734         * shadow/shadow.h: Likewise.
4735         * signal/signal.h: Likewise.
4736         * socket/socket.h: Likewise.
4737         * stdio/stdio.h: Likewise.
4738         * stdio-common/_itoa.h: Likewise.
4739         * stdio-common/_itowa.h: Likewise.
4740         * stdio-common/printf.h: Likewise.
4741         * stdlib/alloca.h: Likewise.
4742         * stdlib/fmtmsg.h: Likewise.
4743         * stdlib/monetary.h: Likewise.
4744         * stdlib/stdlib.h: Likewise.
4745         * stdlib/ucontext.h: Likewise.
4746         * streams/stropts.h: Likewise.
4747         * string/argz.h: Likewise.
4748         * string/envz.h: Likewise.
4749         * string/string.h: Likewise.
4750         * string/strings.h: Likewise.
4751         * string/bits/string2.h: Likewise.
4752         * sunrpc/rpc/auth.h: Likewise.
4753         * sunrpc/rpc/auth_des.h: Likewise.
4754         * sunrpc/rpc/auth_unix.h: Likewise.
4755         * sunrpc/rpc/clnt.h: Likewise.
4756         * sunrpc/rpc/des_crypt.h: Likewise.
4757         * sunrpc/rpc/netdb.h: Likewise.
4758         * sunrpc/rpc/pmap_clnt.h: Likewise.
4759         * sunrpc/rpc/pmap_prot.h: Likewise.
4760         * sunrpc/rpc/pmap_rmt.h: Likewise.
4761         * sunrpc/rpc/rpc_msg.h: Likewise.
4762         * sunrpc/rpc/svc.h: Likewise.
4763         * sunrpc/rpc/svc_auth.h: Likewise.
4764         * sunrpc/rpc/xdr.h: Likewise.
4765         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4766         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4767         * sysvipc/sys/ipc.h: Likewise.
4768         * sysvipc/sys/msg.h: Likewise.
4769         * sysvipc/sys/sem.h: Likewise.
4770         * sysvipc/sys/shm.h: Likewise.
4771         * termios/termios.h: Likewise.
4772         * time/time.h: Likewise.
4773         * time/sys/time.h: Likewise.
4774         * time/sys/timeb.h: Likewise.
4775         * wcsmbs/wchar.h: Likewise.
4776         * wctype/wctype.h: Likewise.
4777
4778 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
4779
4780         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4781         _GNU_SOURCE be defined.
4782
4783 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
4784
4785         * ctype/ctype.h: Pretty print.
4786
4787         * po/cs.po: Fix typos.
4788
4789         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4790         handling of empty entries.  [PR libc/1345]
4791         Patch by Thorsten Kukuk <kukuk@suse.de>.
4792
4793 1999-10-08  Andreas Schwab  <schwab@suse.de>
4794
4795         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
4796
4797 1999-10-08  Andreas Schwab  <schwab@suse.de>
4798
4799         * debug/pcprofiledump.c: Fix typos.
4800
4801 1999-10-07  Andreas Jaeger  <aj@suse.de>
4802
4803         * math/Makefile (tests): Added basic-tests.
4804
4805         * math/basic-test.c: New file.  Contains function basic_tests from
4806         libm-test.
4807
4808 1999-10-07  Andreas Schwab  <schwab@suse.de>
4809
4810         * malloc/memprof.sh: Fix quoting bugs.
4811
4812 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
4813
4814         * timezone/europe: Update from tzdata1999h.
4815
4816 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
4817
4818         * elf/elf.h: Update from last gABI draft.
4819
4820         * elf/elf.h: Remove EM_486 entry.
4821         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4822         test for EM_486.
4823
4824 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
4825
4826         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4827         Add rules for both programs.
4828         * debug/pcprofiledump.c: New file.
4829         * debug/xtrace.sh: New file.
4830         * debug/pcprofile.c: Allow creating output file.  Add magic signature
4831         to let reader recognize file format.
4832
4833 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
4834
4835         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4836
4837 1999-10-05  Andreas Jaeger  <aj@suse.de>
4838
4839         * locale/programs/ld-identification.c: Fix typo in comment.
4840         * locale/programs/ld-messages.c: Likewise.
4841         * locale/programs/ld-monetary.c: Likewise.
4842         * locale/programs/ld-name.c: Likewise.
4843
4844         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4845         (collate_read): Remove unnecessary comparisons with ignore_content.
4846
4847         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4848         assigned elements.
4849         (ctype_read): Remove unnecessary comparisons with ignore_content.
4850         Fix typos in comments.
4851
4852         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4853         comparisons with ignore_content.
4854
4855 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
4856
4857         * po/cs.po: Update.
4858
4859         * time/time.h: Move __gmtime_r declaration to ...
4860         * include/time.h: ...here.
4861
4862 1999-10-05  Andreas Jaeger  <aj@suse.de>
4863
4864         * manual/message.texi (The message catalog files): Fix description
4865         to match gencat implementation and Unix98: Message fields are
4866         separated by a single blank space.
4867
4868 1999-10-05  Andreas Jaeger  <aj@suse.de>
4869
4870         * manual/string.texi (Search Functions): Add missing end for
4871         memrchr description.
4872
4873 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4874
4875         * malloc/memprof.sh: Various small cleanups.  Add short options.
4876         Write error messages to stderr.
4877
4878         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4879
4880         * malloc/memprof.sh: Take options to control memprofstat.
4881
4882         * malloc/Makefile: Add rule to generate memprof script.
4883         * malloc/memprof.sh: New file.
4884
4885         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4886         GNU standard.
4887
4888 1999-10-04  Andreas Jaeger  <aj@suse.de>
4889
4890         * configure.in: Allow makeinfo 4.*.
4891
4892 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4893
4894         * stdio-common/vfprintf.c: Correct last patch and use outchar
4895         instead of PUTC to output single characters.
4896         * stdio-common/Makefile (tests): Add bug13.
4897         * stdio-common/bug13.c: New file.
4898
4899         * configure.in: Add additional options --with-gd-include and
4900         --with-gd-lib to help people with strange installations.
4901
4902         * malloc/Makefile: Add libdl dependency to libmemprof.so.
4903         * malloc/Depend: New file.
4904
4905 1999-10-04  Andreas Jaeger  <aj@suse.de>
4906
4907         * timezone/README: Change wording to not mention the current
4908         version.  This way we can't forget to update the file.
4909
4910 1999-10-04  Andreas Jaeger  <aj@suse.de>
4911
4912         * manual/time.texi (Basic CPU Time): Fix typo.
4913         Reported by Ben Pfaff <pfaffben@msu.edu>.
4914
4915 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4916
4917         * string/string.h: Move __memrchr declaration to ...
4918         * include/string.h: ...here.
4919
4920 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4921
4922         * string/Makefile (routines): Add memrchr.
4923
4924         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4925         Correct order of tests for matching bytes.
4926
4927         * string/tester.c: Add tests for memrchr.
4928
4929         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4930         Start from the last character and take decrement not increment
4931         into account for correction in return line.  Add memrchr alias.
4932         * sysdeps/i386/bits/string.h: Likewise.
4933
4934 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4935
4936         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4937
4938 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4939
4940         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4941
4942         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4943         conventions.
4944
4945         * string/Versions: Export memrchr.
4946
4947 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4948
4949         * misc/Versions (GLIBC_2.2): Add getloadavg.
4950         * misc/Makefile (routines): Add getloadavg.
4951         * sysdeps/generic/getloadavg.c: New file.
4952         * sysdeps/mach/getloadavg.c: New file.
4953         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4954
4955         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4956         * sysdeps/i386/bits/string.h (__memrchr): New function.
4957         * string/string.h: Declare memrchr, __memrchr.
4958         * manual/string.texi (Search Functions): Document memrchr.
4959
4960 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4961
4962         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4963         CFLAGS-memprofstat.c, and LIBGD variables.
4964         * config.make.in: Add LIBGD.
4965         * malloc/Makefile: Add rules to generate libmemprof.so and
4966         memprofstat.
4967         * malloc/memprof.c: New file.
4968         * malloc/memprofstat.c: New file.
4969
4970 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
4971
4972         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4973
4974         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4975         (inet_ntop6): Likewise.
4976
4977         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4978         overruns.
4979
4980         * resolv/tst-aton.c (main): Add more tests.
4981
4982         * resolv/inet_addr.c (inet_aton): Correct some problems with to
4983         large numbers.  Optimize a bit.
4984
4985 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4986
4987         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4988         account for added '0'.
4989
4990         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4991         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
4992         len argument to be greater than needed address size.
4993
4994 1999-10-01  Andreas Jaeger  <aj@suse.de>
4995
4996         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4997         warning.
4998         * intl/finddomain.c (_nl_find_domain): Likewise.
4999
5000 1999-09-30  Andreas Schwab  <schwab@suse.de>
5001
5002         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
5003
5004 1999-09-30  Andreas Jaeger  <aj@suse.de>
5005
5006         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
5007         * sysdeps/i386/rshift.S: Likewise.
5008         * sysdeps/i386/strchrnul.S: Likewise.
5009         * sysdeps/i386/strchr.S: Likewise.
5010         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
5011         PR libc/1339.
5012
5013 1999-09-30  Andreas Jaeger  <aj@suse.de>
5014
5015         * manual/examples/pipe.c: Close other end of pipe to make example work.
5016
5017 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
5018
5019         * timezone/checktab.awk: Update from tzcode1999g.
5020         * timezone/tzselect.ksh: Likewise.
5021         * timezone/africa: Update from tzdata1999g.
5022         * timezone/asia: Likewise.
5023         * timezone/australasia: Likewise.
5024         * timezone/europe: Likewise.
5025         * timezone/northamerica: Likewise.
5026         * timezone/southamerica: Likewise.
5027         * timezone/iso3166.tab: Likewise.
5028         * timezone/zone.tab: Likewise.
5029
5030 1999-09-27  Andreas Jaeger  <aj@suse.de>
5031
5032         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
5033         been renamed to getipnodebyname.  Move flags around.
5034
5035 1999-09-27  Andreas Schwab  <schwab@suse.de>
5036
5037         * manual/message.texi (Locating gettext catalog): Fix typos.
5038
5039 1999-09-27  Andreas Jaeger  <aj@suse.de>
5040
5041         * manual/socket.texi (Out-of-Band Data): Correct example program,
5042         rename some variables for clarity.
5043         Reported by James Antill <james@and.org>, close PR libc/1329.
5044
5045 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
5046
5047         * locale/programs/ld-collate.c (insert_value): Add hack to not
5048         crash in incomplete collate implementation.
5049
5050         * locale/programs/ld-collate.c (read_directions): Read new token
5051         after accepting sorting rule.
5052
5053 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
5054
5055         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5056         error message printing.  Correctly test whether all characters of
5057         current token are used.
5058         (ctype_read): NUL terminate last_str.
5059
5060 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
5061
5062         * nscd/connections.c: Invalidate caches on request.
5063         * nscd/nscd-client.h: Add INVALIDATE to request_type.
5064         * nscd/nscd.c: Add invalidate cache option.
5065         * nscd/nscd.conf: Change log directory to /var/log (FHS).
5066
5067 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
5068
5069         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
5070         not ovverwrite last group member with NULL pointer.
5071         Reported by Thomas Winder <thomas.winder@newlogic.at>.
5072
5073 1999-09-24  Andreas Jaeger  <aj@suse.de>
5074
5075         * stdio-common/tst-printf.c (main): Add a testcase for large
5076         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
5077
5078 1999-09-24  Andreas Schwab  <schwab@suse.de>
5079
5080         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
5081
5082 1999-09-24  Andreas Jaeger  <aj@suse.de>
5083
5084         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
5085         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
5086
5087 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
5088
5089         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
5090         variable.  Define MORECORE_CLEARS to 2.
5091
5092         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
5093         doesn't clear the contents of memory that is reallocated after
5094         decrementing the break value first.  Update comment about
5095         MORECORE_CLEARS, explaining the meaning of the values it can be
5096         set to.
5097
5098 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
5099
5100         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
5101         one more case.
5102
5103         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
5104         (log): Likewise.
5105         (log10): Likewise.
5106         (log1p): Likewise.
5107         (log2): Likewise.
5108
5109 1999-09-22  Andreas Jaeger  <aj@suse.de>
5110
5111         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
5112         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
5113
5114 1999-09-22  Andreas Schwab  <schwab@suse.de>
5115
5116         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
5117
5118 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5119
5120         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5121         the source directory.  Fixes PR libc/1059.
5122
5123 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
5124
5125         * locale/programs/repertoire.c (repertoire_find_value): Abort if
5126         rep parameter is NULL.
5127         (repertoire_find_symbol): Likewise.
5128         (repertoire_find_seq): Likewise.
5129
5130 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
5131
5132         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
5133         returned errno value in some cases.
5134
5135 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
5136
5137         * iconvdata/Makefile (modules): Add GBK.
5138         (distribute): Add gbk.c.
5139         * iconvdata/gbk.c: New file.
5140         * iconvdata/gconv-modules: Add GBK entry.
5141         Contributed by Sean Chen <sean.chen@turbolinux.com>.
5142
5143         * locale/programs/ld-monetary.c (monetary_output): Remove
5144         byte-order code.
5145
5146         * locale/programs/ld-time.c (time_output): Correct expected number
5147         of iov entries.
5148
5149         * manual/filesys.texi (Testing File Access): Correct description of
5150         SUID.
5151
5152 1999-080-25  H.J. Lu  <hjl@gnu.org>
5153
5154         * csu/defs.awk (.end): Only match with leading white spaces.
5155         (.align): Likewise.
5156
5157 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
5158
5159         * stdlib/isomac.c: Add va_copy to allowed macros.
5160
5161         * po/pl.po: Updated.
5162
5163 1999-09-17  Andreas Schwab  <schwab@suse.de>
5164
5165         * Makefile (clean): Also remove $(postclean) files.
5166
5167 1999-09-15  Andreas Jaeger  <aj@suse.de>
5168
5169         * pwd/Makefile (otherlibs): Add for building with static-nss.
5170         * inet/Makefile (otherlibs): Likewise.
5171
5172 1999-09-15  Andreas Jaeger  <aj@suse.de>
5173
5174         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
5175         function definition to avoid a compilation failure.
5176
5177 1999-09-15  Andreas Jaeger  <aj@suse.de>
5178
5179         * stdlib/tst-environ.c (main): Add getenv regression test for
5180         environment variable that's one character long.
5181
5182 1999-09-15  Andreas Jaeger  <aj@suse.de>
5183
5184         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
5185         signal definitions to let glibc compile with older Linux versions
5186         (2.0.10 to 2.1.100 or so).
5187
5188 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
5189
5190         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
5191         return zero to indicate no children died yet (assuming WNOHANG).
5192
5193         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
5194
5195 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
5196
5197         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
5198
5199         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
5200         Return _hurd_pgrp instead of 0.
5201
5202 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
5203
5204         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
5205         pages rather than just reprotecting them.  This way we don't hold on
5206         to the backing space.
5207
5208         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
5209         Use __munmap instead of __vm_deallocate.
5210
5211 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
5212
5213         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
5214         returned errno value in some cases.
5215
5216 1999-09-17  Andreas Jaeger  <aj@suse.de>
5217
5218         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
5219         to override user settings.
5220
5221 1999-09-17  Andreas Schwab  <schwab@suse.de>
5222
5223         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
5224         using a pointer to it.
5225
5226 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
5227
5228         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
5229         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
5230
5231 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
5232
5233         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
5234
5235         * elf/elf.h (PF_MASKOS): New definition.
5236         (EM_VAX): New definition.
5237
5238 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
5239
5240         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
5241         'unsigned char ftype[8]', and 'unsigned int init_flag' to
5242         struct user_fp.  These were added in version 2.2.12 of the
5243         ARM Linux kernel.
5244         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
5245         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
5246         The generic procfs.h included <asm/elf.h>.  This causes
5247         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5248         are included in the same source file.  Found when building GDB.
5249
5250 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
5251
5252         * locale/langinfo.h: Remove byte-order dependent names.
5253         * locale/categories.def: Update after removal of byte-order dependent
5254         names.
5255         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5256         with magic number in other byte order.
5257         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5258         * locale/C-collate.c: Remove initializers for other byte-order.
5259         * locale/C-ctype.c: Likewise.
5260         * locale/C-monetary.c: Likewise.
5261         * locale/C-paper.c: Likewise.
5262         * locale/C-time.c: Likewise.
5263         * locale/lc-collate.c: Remove byte-order oriented initialization.
5264         * locale/lc-ctype.c: Likewise.
5265         * locale/lc-monetary.c: Likewise.
5266         * locale/lc-time.c: Likewise.
5267         * locale/programs/ld-address.c: Don't generate output in both
5268         byte-orders.
5269         * locale/programs/ld-ctype.c: Likewise.
5270         * locale/programs/ld-paper.c: Likewise.
5271         * locale/programs/ld-time.c: Likewise.
5272         * time/strftime.c (NLW): Don't use different byte-orders.
5273         * wctype/cname-lookup.h (cname_lookup): Likewise.
5274
5275         * Makeconfig (localedir): Define using libdir, not datadir.
5276         (msgcatdir): New variable.
5277         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5278         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5279         msgcatdir.
5280         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5281         (CPPFLAGS): Define paths using msgcatdir.
5282         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5283         * po/Makefile (mo-installed): Define using msgcatdir.
5284
5285         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5286
5287 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
5288
5289         * stdio-common/vfprintf.c: Remove limitation on size of precision
5290         for integers.
5291
5292         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5293         glibc by defining internal_function if it isn't already.
5294
5295         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5296         fails don't rely on errno value.
5297         (getanswer_r): Set *ERRNOP in error cases.
5298
5299         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5300         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5301         associated data.  Test for matching numeric address and family.
5302         (getaddrinfo): Remember EAI_NODATA result and return this in case
5303         everything fails.
5304         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5305
5306         * locale/programs/ld-address.c: Fix handling of non-existing
5307         definitions for this category.  Correctly ignore content of this
5308         category is this is necessary.
5309         * locale/programs/ld-collate.c: Likewise.
5310         * locale/programs/ld-ctype.c: Likewise.
5311         * locale/programs/ld-identification.c: Likewise.
5312         * locale/programs/ld-measurement.c: Likewise.
5313         * locale/programs/ld-messages.c: Likewise.
5314         * locale/programs/ld-monetary.c: Likewise.
5315         * locale/programs/ld-name.c: Likewise.
5316         * locale/programs/ld-numeric.c: Likewise.
5317         * locale/programs/ld-paper.c: Likewise.
5318         * locale/programs/ld-telephone.c: Likewise.
5319         * locale/programs/ld-time.c: Likewise.
5320         * locale/programs/locfile.h (handle_copy): Take extra parameter
5321         with result pointer.  Fill in name of locale from which to copy.
5322         Correctly read token after `END'.
5323
5324         * locale/programs/localedef.c (main): Correct handling copy.
5325         (add_to_readlist): Take extra parameter which says whether we
5326         are supposed to read the file or not.
5327         (find_locale): Call add_to_readlist with extra parameter set to 0.
5328
5329         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5330         instead of wrong number in array definitions.
5331         (add_to_readlist): Update prototype.
5332
5333         * locale/programs/locfile.c (locfile_read): Mark categories not
5334         available in source file as read.
5335         (write_all_categories): Fix typo.
5336
5337         * locale/programs/locales.h: Removed.
5338
5339 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5340
5341         * elf/elf.h (SHF_MASKOS): Added.
5342
5343         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5344
5345 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5346
5347         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5348
5349 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5350
5351         * configure.in: Fix make version test for make 3.77.95 and later
5352         versions.
5353         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5354
5355 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5356
5357         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5358
5359         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5360         WINT_MAX values.
5361
5362         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5363
5364 1999-09-09  Andreas Schwab  <schwab@suse.de>
5365
5366         * elf/link.h: Fix comment.
5367
5368 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5369
5370         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5371
5372         * math/math.h: Pretty print.
5373
5374 1999-09-10  Andreas Schwab  <schwab@suse.de>
5375
5376         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5377         character variable on bigendian platforms without unaligned memory
5378         access.
5379
5380 1999-09-07  Cristian Gafton  <gafton@redhat.com>
5381
5382         * sysdeps/unix/sysv/linux/sys/raw.h: New file
5383         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5384         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5385
5386 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5387
5388         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5389
5390         * time/ap.c: Removed.  It was not used.
5391         * time/date.c: Likewise.
5392         * sysdeps/unix/nlist.c: Likewise.
5393         * sysdeps/generic/nlist.c: Likewise.
5394         * sysdeps/generic/varargs.h: Likewise.
5395         * stdio-common/scanf11.c: Likewise.
5396         * stdio-common/scanf6.c: Likewise.
5397         * scripts/=__ify: Likewise.
5398         * scripts/printsources: Likewise.
5399         * resolv/getnetnamadr.c: Likewise.
5400         * posix/id.c: Likewise.
5401         * misc/ioctltst.c: Likewise.
5402         * misc/nlist.h: Likewise.
5403         * math/test-math.h: Likewise.
5404         * include/nlist.h: Likewise.
5405
5406 1999-09-06  Andreas Schwab  <schwab@suse.de>
5407
5408         * time/tzset.c (compute_change): Replace slow loop to compute T by
5409         simple algorithm.
5410
5411 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5412
5413         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5414         escape sequences out even if the character itself does not fit
5415         into the buffer.
5416
5417         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5418
5419 1999-08-31  H.J. Lu  <hjl@gnu.org>
5420
5421         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5422
5423 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
5424
5425         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5426         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5427         (_hurd_priority_which_map):
5428
5429 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
5430
5431         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5432
5433 1999-09-03  Andreas Schwab  <schwab@suse.de>
5434
5435         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5436         fork from __syscall_fork to __libc_fork.
5437         * posix/Versions: Add __libc_fork and __vfork to version
5438         GLIBC_2.1.2.
5439
5440 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5441
5442         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5443         dependencies in sort.
5444
5445 1999-09-01  H.J. Lu  <hjl@gnu.org>
5446
5447         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5448
5449         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5450         <sys/user.h> instead of <asm/user.h>.
5451
5452 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
5453
5454         * elf/elf.h: Update PARISC-specific flags and symbolic names.
5455
5456 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
5457
5458         * elf/elf.h: Update PARISC relocations.
5459
5460 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
5461
5462         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5463         #ifdef statement to prevent it from being included twice.
5464         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5465         #include <bits/armsigctx.h>.
5466
5467 1999-08-31  Andreas Schwab  <schwab@suse.de>
5468
5469         * locale/C-collate.c: Add missing initialisations.
5470         * locale/C-ctype.c: Likewise.
5471
5472 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
5473
5474         * time/strftime.c (my_strftime): Remove unneeded variable len.
5475
5476         * time/strptime.c: Undo last change.
5477
5478 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
5479
5480         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5481         Change charset.h to charmap.h.
5482         (categories): Add new categories.  Leave out collate for now.
5483         Update build rules.
5484         * locale/categories.def: Add definitions for new categories.
5485         * locale/langinfo.h: Likewise.
5486         * locale/locale.h: Likewise.
5487         * locale/C-address.c: New file.
5488         * locale/C-identification.c: New file.
5489         * locale/C-measurement.c: New file.
5490         * locale/C-name.c: New file.
5491         * locale/C-paper.c: New file.
5492         * locale/C-telephone.c: New file.
5493         * locale/lc-address.c: Likewise.
5494         * locale/lc-identification.c: Likewise.
5495         * locale/lc-measurement.c: Likewise.
5496         * locale/lc-name.c: Likewise.
5497         * locale/lc-paper.c: Likewise.
5498         * locale/lc-telephone.c: Likewise.
5499         * locale/C-ctype.c: Update for locale rewrite.
5500         * locale/C-messages.c: Likewise.
5501         * locale/C-monetary.c: Likewise.
5502         * locale/C-time.c: Likewise.
5503         * locale/lc-collate.c: Likewise.
5504         * locale/lc-ctype.c: Likewise.
5505         * locale/lc-monetary.c: Likewise.
5506         * locale/lc-time.c: Likewise.
5507         * locale/localeinfo.h: Likewise.
5508         * locale/newlocale.c: Likewise.
5509         * locale/setlocale.c: Likewise.
5510         * locale/weight.h: Likewise.
5511         * locale/findlocale.c: Unconditionally use mmap.
5512         Handle new categories.
5513         * locale/loadlocale.c: Likewise.
5514         * locale/iso-3166.def: New file.
5515         * locale/iso-639.def: New file.
5516         * locale/programs/charmap-kw.gperf: Add new keywords.
5517         * locale/programs/locfile-kw.gperf: Likewise.
5518         * locale/programs/locfile-token.h: Define new tokens.
5519         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5520         * locale/programs/charmap.h: New file.
5521         * locale/programs/charset.h: Removed.
5522         * locale/programs/config.h: Add __LC_LAST.
5523         * locale/programs/lc-address.c: New file.
5524         * locale/programs/lc-identification.c: New file.
5525         * locale/programs/lc-measurement.c: New file.
5526         * locale/programs/lc-name.c: New file.
5527         * locale/programs/lc-paper.c: New file.
5528         * locale/programs/lc-telephone.c: New file.
5529         * locale/programs/lc-collate.c: Update for locale rewrite.
5530         * locale/programs/lc-ctype.c: Likewise.
5531         * locale/programs/lc-messages.c: Likewise.
5532         * locale/programs/lc-monetary.c: Likewise.
5533         * locale/programs/lc-numeric.c: Likewise.
5534         * locale/programs/lc-time.c: Likewise.
5535         * locale/programs/locale.c: Likewise.
5536         * locale/programs/localedef.c: Likewise.
5537         * locale/programs/locfile.c: Likewise.
5538         * locale/programs/repertoire.c: Likewise.
5539         * locale/programs/repertoire.h: Likewise.
5540         * locale/programs/locfile.c: Update prototypes.
5541         Update handle_copy definition.
5542         * locale/programs/linereader.c: Add handling of wide char strings and
5543         new definition file syntax.
5544         * locale/programs/linereader.h (struct token): Add elements for wide
5545         character strings.
5546         * locale/programs/locale-spec.c: Disable handling of collation
5547         elements for now.
5548         * locale/programs/simple-hash.h: Cleanup.
5549         * locale/programs/stringtrans.h: Handle quite of end of line.
5550         * string/strcoll.c: Fall back on strcmp for now.
5551         * string/strxfrm.c: Fall back on strncpy/strlen for now.
5552         * time/strftime.c: Use new wide character data for wcsftime.
5553         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5554         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5555
5556         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5557         compiling for i386 to avoid i686-like GOT pointer computation.
5558
5559         * db2/db_int.h: Change tsl_t type to u_int32_t.
5560         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5561         * db2/mutex/alpha.h: New file.
5562         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
5563         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5564         known.
5565         Patches by Richard Henderson.
5566
5567         * stdlib/tst-environ.c: Add cast to avoid warning.
5568         * timezone/test-tz.c: Use setenv instead of putenv.
5569
5570 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5571
5572         * manual/libc.texinfo: Update version and date.
5573
5574         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5575
5576         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5577         (File System Interface): Correct entry.
5578         (Permission Bits): Add missing commata after @xref.
5579
5580 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5581
5582         * timezone/tst-timezone.c (main): Don't pass const strings to
5583         putenv to avoid warnings.
5584
5585         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5586
5587 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
5588
5589         * nis/Versions: Add _nss_*_getipnodebyname_r.
5590         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5591         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5592         * nss/Versions: Add _nss_files_getipnodebyname_r.
5593
5594 1999-08-28  H.J. Lu  <hjl@gnu.org>
5595
5596         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5597         memory for buffer.
5598
5599 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5600
5601         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5602         kernel.
5603         * inet/netinet/in.h: Likewise.
5604         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5605         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5606
5607 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
5608
5609         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5610         thresholds for SUID binaries.  [PR libc/1277]
5611
5612         * posix/regexbug1.c: Add one more similar case.
5613
5614 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5615
5616         * manual/install.texi (Running make install): Give examples for
5617         timezone and locale installation.
5618
5619 1999-08-28  Zack Weinberg  <zack@bitmover.com>
5620
5621         * glibcbug.in: Get CCVERSION from autoconf substitution.
5622         * configure.in: Calculate and substitute CCVERSION.
5623
5624 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5625
5626         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5627         partially reverting a patch from 1998-12-29.  We just can't change
5628         the flags, kernels with different flags lead to
5629         incompatibilities.
5630
5631 1999-08-26  Andreas Schwab  <schwab@suse.de>
5632
5633         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5634
5635 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5636
5637         * inet/rexec.c (rexec): Free memory if strings were allocated in
5638         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
5639
5640 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5641
5642         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5643
5644         * manual/argp.texi: Fixing language and typos.
5645         * manual/conf.texi: Likewise.
5646         * manual/contrib.texi: Likewise.
5647         * manual/ctype.texi: Likewise.
5648         * manual/filesys.texi: Likewise.
5649         * manual/install.texi: Likewise.
5650         * manual/job.texi: Likewise.
5651         * manual/lang.texi: Likewise.
5652         * manual/llio.texi: Likewise.
5653         * manual/locale.texi: Likewise.
5654         * manual/math.texi: Likewise.
5655         * manual/nss.texi: Likewise.
5656         * manual/pipe.texi: Likewise.
5657         * manual/signal.texi: Likewise.
5658         * manual/socket.texi: Likewise.
5659         * manual/stdio.texi: Likewise.
5660         * manual/sysinfo.texi: Likewise.
5661         * manual/users.texi: Likewise.
5662         Patches by Neil Booth <NeilB@earthling.net>.
5663
5664 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
5665
5666         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5667         unsigned to avoid warning.  [PR libc/1271].
5668
5669         * conform/conformtest.pl: Allow testing regex.h which requires
5670         sys/types.h being included.
5671
5672         * conform/data/regex.h-data: Allow *_t types.
5673         * conform/data/pwd.h-data: Likewise.
5674         * conform/data/sched.h-data: Likewise.
5675         * conform/data/pthread.h-data: Likewise.
5676         * conform/data/search.h-data: Likewise.
5677
5678         * misc/search.h: Avoid namespace pollution.
5679
5680         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5681         pwd.h, and pthread.h.
5682         * conform/data/pthread.h-data: New file.
5683         * conform/data/pwd.h-data: New file.
5684         * conform/data/regex.h-data: New file.
5685         * conform/data/sched.h-data: New file.
5686         * conform/data/search.h-data: New file.
5687
5688         * NAMESPACE: Add REG_ for regex.h.
5689
5690         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5691         they are removed.
5692
5693         * configure.in (libc_cv_asm_global_directive): Indent .text in
5694         test code so that the lame HPUX compiler recognizes it.
5695         * sysdeps/hppa/bits/endian.h: New file.
5696         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5697         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5698         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5699         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5700
5701         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5702         Patch by John Tobey <jtobey@banta-im.com>.
5703
5704         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5705
5706         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5707         old_siocfifconf definition to toplevel.
5708         (__protocol_available): Remove old_siocfifconf definition.
5709
5710 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
5711
5712         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5713         really dealing with a master pseudo terminal, and really returning
5714         the name of the associated slave pseudo terminal by checking the
5715         device number.
5716         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5717         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5718
5719 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5720
5721         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5722         underscore in _llseek entry.
5723
5724         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5725         entry.
5726
5727         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5728         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5729
5730         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5731         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5732
5733 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
5734
5735         * inet/Makefile (routines): Add getipnodebynm.
5736         * inet/getipnodebynm.c: New file.
5737         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5738         interface type.
5739         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5740         EXTRA_ARGS_VALUE is not already done.
5741         (internal_getent): Allow extra parameters and pass them to parse_line.
5742         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5743         (_nss_files_get##name##_r): Likewise.
5744         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5745         and EXTRA_ARGS_VALUE to pass flags and type to parser.
5746         Add getipnodebyname function.
5747         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5748         EXTRA_ARGS_VALUE is not already done.
5749         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5750         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5751         to parse_line.
5752         (_nss_db_get##name##_r): Pass extra parameters to lookup.
5753         (_nss_db_get,ENTNAME_r): Likewise.
5754         * sysdeps/generic/if_index.c (__protocol_available): New function.
5755         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5756
5757 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
5758
5759         * login/pty-private.h: Move to...
5760         * sysdeps/generic/pty-private.h: ...here.
5761         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
5762         version.
5763         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5764         available.
5765
5766         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5767         of __overflow.
5768
5769         * conform/conformtest.pl (@headers): Add monetary.h-data,
5770         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5771         * conform/data/monetary.h-data: New file.
5772         * conform/data/mqueue.h-data: New file.
5773         * conform/data/ndbm.h-data: New file.
5774         * conform/data/nl_types.h.h-data: New file.
5775         * conform/data/poll.h-data: New file.
5776
5777         * stdio-common/Makefile (test): Add tst-cookie.
5778         * stdio-common/tst-cookie.c: New file.
5779
5780         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5781         changed in last patch.  Reported by Ralf Baechle.
5782
5783 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5784
5785         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5786
5787         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5788         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5789
5790 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5791
5792         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5793         Linux 2.3.15.
5794
5795 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
5796
5797         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5798         syscall.
5799         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5800
5801         * misc/libgen.h: Don't take basename macro as taking arguments.
5802
5803         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5804         for gcc >= 2.95.
5805         * sysdeps/i386/bits/huge_val.h: Likewise.
5806         * sysdeps/i386/bits/huge_val.h: Likewise.
5807         * sysdeps/ieee754/bits/huge_val.h: Likewise.
5808         * sysdeps/m68k/bits/huge_val.h: Likewise.
5809         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5810         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5811
5812         * conform/Makefile: New file.
5813         * conform/conformtest.pl: New file.
5814         * conform/data/aio.h-data: New file.
5815         * conform/data/assert.h-data: New file.
5816         * conform/data/cpio.h-data: New file.
5817         * conform/data/ctype.h-data: New file.
5818         * conform/data/dirent.h-data: New file.
5819         * conform/data/dlfcn.h-data: New file.
5820         * conform/data/errno.h-data: New file.
5821         * conform/data/fcntl.h-data: New file.
5822         * conform/data/float.h-data: New file.
5823         * conform/data/fmtmsg.h-data: New file.
5824         * conform/data/fnmatch.h-data: New file.
5825         * conform/data/ftw.h-data: New file.
5826         * conform/data/glob.h-data: New file.
5827         * conform/data/grp.h-data: New file.
5828         * conform/data/iconv.h-data: New file.
5829         * conform/data/inttypes.h-data: New file.
5830         * conform/data/iso646.h-data: New file.
5831         * conform/data/langinfo.h-data: New file.
5832         * conform/data/libgen.h-data: New file.
5833         * conform/data/locale.h-data: New file.
5834         * conform/data/math.h-data: New file.
5835
5836 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5837
5838         * posix/execvp.c (execvp): Correct copying of file name.
5839
5840 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
5841
5842         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5843
5844 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5845
5846         * stdio-common/Makefile: Move addition to routines to the right place.
5847
5848 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5849
5850         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
5851         since mips*-linux has ECANCELED.
5852
5853 1999-08-23  Andreas Schwab  <schwab@suse.de>
5854
5855         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5856         SIGCONTEXT_EXTRA_ARGS.
5857         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5858         * sysdeps/generic/sigcontextinfo.h: Likewise.
5859         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5860         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5861         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5862         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5863         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5864         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5865
5866 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5867
5868         * posix/regexbug1.c: Make it an error if the test fails.
5869
5870 1999-08-23  Andreas Schwab  <schwab@suse.de>
5871
5872         * posix/regex.c (re_match_2_internal): Correct check for charset
5873         after exactn in loop.
5874
5875 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
5876
5877         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5878         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5879         Patch by Joel Klecker.
5880
5881         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5882         (__gconv_find_transform): Update prototype.
5883         (__gconv_open): Likewise.
5884         * iconv/gconv_open.c: Take extra parameter and pass it to
5885         __gconv_find_transform.
5886         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5887         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
5888         transformation.
5889         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5890         * wcsmbs/wcsmbsload.c: Likewise.
5891         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5892         iconv for glibc.
5893         * intl/gettextP.h: Likewise.
5894         * intl/loadmsgcat.c: Likewise.
5895
5896         * posix/regexbug1.c: New file.
5897         * posix/Makefile (tests): Add regexbug1.
5898
5899 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
5900
5901         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5902         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5903         installing PORT in the descriptor cell.
5904
5905 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
5906
5907         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5908         TIMEOUT as outputs of the asm to indicate that the signal thread
5909         might mutate them.
5910         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5911         mach_msg if only sending or only receiving (i.e., not an RPC).  When
5912         making an RPC that might get interrupted, save OPTION and the portion
5913         of the message buffer that gets clobbered by an EINTR reply message,
5914         and properly restore them before attempting to retry the request
5915         message send.
5916
5917 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5918
5919         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5920         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5921         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5922         stdio is used instead of libio.
5923         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5924         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5925         to make the code compile again when stdio is used instead of
5926         libio.
5927         (vfprintf): Only check for correct orientation if ORIENT is
5928         defined.
5929         * stdio-common/Makefile (routines): Only add vfwprintf and
5930         vfwscanf if we're using libio.
5931
5932 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5933
5934         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5935         any additional prototype just as we do for libio.
5936
5937 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5938
5939         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5940         TZNAME_MAX.  These limits are not X/Open specific.
5941         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5942         is defined.
5943
5944 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5945
5946         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5947         UIO_MAXIOV is left undefined in sys/uio.h.
5948         * stdio-common/stdio_lim.h.in: Adapt for change above.
5949
5950 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5951
5952         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5953         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5954         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5955
5956 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
5957
5958         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5959
5960 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
5961
5962         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5963
5964         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5965         call.  It should not be necessary andis harmful for Alpha.
5966
5967         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5968         type.  [PR libc/1269]
5969
5970         * posix/execvp.c (execvp): Allocate array name of correct size.
5971         Optimize inner loop.  Use execve directly, not execv.
5972
5973         * elf/elf.h: Corrected SHT_ values from new draft.
5974
5975         * intl/gettextP.h (struct loaded_domain): Add conv element.
5976         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5977         Instead of returning found message directly convert it using iconv
5978         if a conversion was found when opening the file.
5979         * intl/loadinfo.h: Protect against multiple inclusion.
5980         Declare _nl_find_msg.
5981         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5982         in the message file and if necessary find approrpiate
5983         conversion to match currently selected charset.
5984         * include/libintl.h: Declare __dgettext and __dcgettext.
5985         * include/iconv.h: New file.
5986
5987 1999-08-20  Andreas Schwab  <schwab@suse.de>
5988
5989         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5990
5991 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
5992
5993         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
5994         all threads [PR libc/1223].
5995
5996         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5997         [PR libc/1165].
5998
5999         * configure.in: Search for programs with prefix gnu* and g* first.
6000         [PR libc/1104].
6001
6002         * dirent/Makefile (routines): Add getdents64.
6003         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
6004         Remove getdents64.
6005         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
6006         compiled with _FILE_OFFSET_BITS=64.
6007         * sysdeps/generic/getdents64.c: New file.
6008         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
6009         __lseek for getdirentries64 definition.
6010
6011         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
6012
6013         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
6014         _FILE_OFFSET_BITS=64.
6015
6016         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
6017         parameter.
6018
6019         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
6020         after we have the lock.
6021
6022         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
6023         Patch by Richard Henderson.
6024
6025 1999-08-19  Andreas Schwab  <schwab@suse.de>
6026
6027         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
6028         and call _IO_fwide, to get the wide stream state initialized
6029         correctly.  Don't set _IO_JUMPS.
6030         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
6031         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
6032         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
6033         directly.
6034
6035 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6036
6037         * math/libm-test.c (jn_test): Fix typo in description.
6038         (erfc_test): Add some more tests.
6039         (erf_test): Add some more tests.
6040
6041 1999-08-19  Andreas Schwab  <schwab@suse.de>
6042
6043         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
6044         expression using $(exceptions).
6045
6046 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
6047
6048         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
6049
6050         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
6051         allocated so far.  [PR libc/1261].
6052
6053         * math/libm-test.c (j0_test): Adjust deltas for m68k.
6054         (jn_test): Likewise.
6055
6056         * dirent/dirent.h: Only define ino64_t if not already done.
6057         * posix/sys/types.h: Likewise.
6058
6059         * ctype/ctype.h: Avoid useless #endif #if pairs.
6060
6061         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
6062         (seekdir): Fix type of second parameter.
6063         * sysdeps/generic/seekdir.c: Likewise.
6064         * sysdeps/mach/hurd/seekdir.c: Likewise.
6065         * sysdeps/unix/seekdir.c: Likewise.
6066
6067         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
6068
6069 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6070
6071         * manual/install.texi (Configuring and compiling): Clarify ix86
6072         situation.
6073
6074 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
6075
6076         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
6077         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
6078         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
6079         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
6080
6081         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
6082
6083         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
6084
6085         * misc/search.h: Don't define NULL.
6086
6087         * posix/sys/types.h: Define blksize_t if it hasn't happened.
6088         Only define key_t and blkcnt_t if it hasn't happened before.
6089         Define blksize_t if not happened before.
6090         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
6091         * sysdeps/generic/bits/types.h: Define __blksize_t.
6092         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6093         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6094         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6095         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6096         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6097         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
6098         st_blksize member.
6099         (struct stat64): Likewise.
6100         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6101         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6102         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6103         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6104         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6105         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
6106         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6107
6108         * stdlib/getsubopt.c: Correct type of second argument.
6109         * stdlib/stdlib.h: Likewise.
6110
6111         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
6112         and ssize_t.
6113
6114         * sysdeps/generic/putenv.c: Correct type of parameter.
6115         * stdlib/stdlib.h: Likewise.
6116
6117         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
6118         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
6119         * sysvips/sys/msg.h: Likewise.
6120
6121         * sysdeps/generic/semop.c: Correct type of third parameter.
6122         * sysdeps/unix/sysv/linux/semop.c: Likewise.
6123         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
6124         size_t.
6125
6126         * sysdeps/generic/shmget.c: Correct type of second parameter.
6127         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
6128         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
6129         Declare __getpagesize here.
6130
6131         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
6132         sys/types.h.
6133         * sysdeps/gnu/bits/ipc.h: Likewise.
6134         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
6135         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
6136         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6137         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
6138         already done.
6139
6140         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
6141
6142         * debug/versions: Export __cyg_profile_func_enter and
6143         __cyg_profile_func_exit.
6144
6145         * math/bits/mathcalls.h: Pretty print.
6146
6147 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
6148
6149         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
6150         case for new tzdata.
6151
6152         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
6153         unsigned.
6154         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6155         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6156         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6157         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6158
6159         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
6160
6161         * sysdeps/generic/ualarm.c (ualarm): Change return value and
6162         parameter type to useconds_t.
6163         * sysdeps/unix/bsd/ualarm.c: Likewise.
6164
6165         * sysdeps/generic/usleep.c (usleep): Change parameter type to
6166         useconds_t.
6167         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
6168         * sysdeps/mach/usleep.c: Likewise.
6169
6170         * locale/weight.h: Include <errno.h>.
6171
6172         * posix/sys/types.h: Define type useconds_t if not done already.
6173         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
6174         declarations.
6175         * sysdeps/generic/bits/types.h: Define type __useconds_t.
6176         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6177         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6178         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6179         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6180         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6181
6182         * dirent/dirent.h (telldir): Change return type to long int.
6183         * sysdeps/generic/telldir.c: Likewise.
6184         * sysdeps/mach/hurd/telldir.c: Likewise.
6185         * sysdeps/unix/telldir.c: Likewise.
6186         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
6187
6188         * locale/weight.h: Set errno if an invalid character is found.
6189
6190 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6191
6192         * math/libm-test.c (erfc_test): Add test for example from PR
6193         libc/1259.
6194         (erf_test): Likewise.
6195
6196 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
6197
6198         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
6199         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
6200
6201         * timezone/private.h: Update from tzcode1999e.
6202         * timezone/zic.c: Likewise.
6203
6204         * timezone/africa: Update from tzdata1999e.
6205         * timezone/antarctica: Likewise.
6206         * timezone/asia: Likewise.
6207         * timezone/australasia: Likewise.
6208         * timezone/europe: Likewise.
6209         * timezone/leapseconds: Likewise.
6210         * timezone/northamerica: Likewise.
6211         * timezone/southamerica: Likewise.
6212
6213         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
6214         and write correct number of bytes in case of %ls with precision.
6215         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6216
6217 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
6218
6219         * nscd/nscd.init: Test for kernel version and make LSB compliant.
6220         Patch by Christian Gafton.
6221
6222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
6223         O_RSYNC.  Patch by Christian Gafton.
6224
6225         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
6226         possibly unterminated strings for %ls when a precision is
6227         specified.
6228         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6229
6230         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
6231         update_conversion_ptrs.
6232         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6233
6234 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6235
6236         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
6237         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6238
6239         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
6240         * wcsmbs/tst-wcsnlen.c: New file.
6241
6242 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6243
6244         * libio/ioputs.c (_IO_puts): Add missing brace.
6245
6246 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
6247
6248         * math/libm-test.c: Tweak deltas for a clean run on ppc.
6249
6250 1999-08-10  H.J. Lu  <hjl@gnu.org>
6251
6252         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6253         (vfprintf): Likewise.
6254         * stdio-common/vfscanf.c (ORIENT): Likewise.
6255         * libio/genops.c (__underflow): Likewise.
6256         (__uflow): Likewise.
6257         * libio/iofputs.c (_IO_fputs): Likewise.
6258         * libio/ioftell.c (_IO_ftell): Likewise.
6259         * libio/iofwrite.c (_IO_fwrite): Likewise.
6260         * libio/ioputs.c (_IO_puts): Likewise.
6261         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6262         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6263
6264 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6265
6266         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6267
6268 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6269
6270         * manual/job.texi (Process Group Functions): Document getpgid,
6271         getsid.
6272
6273 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6274
6275         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6276         initialize si_pid from it.
6277         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6278         parameter.
6279         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6280         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6281         (struct requestlist): Likewise.
6282         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6283         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
6284         to __aio_sigqueue.
6285         (__aio_notify): Pass caller PID to __aio_notify_only.
6286         * rt/aio_suspend.c: Initialize caller_pid.
6287         * rt/lio_listio.c: Likewise.
6288         * rt/lio_listio64.c: Likewise.
6289
6290         * rt/lio_listio.c: If nothing has to be done free mutex before
6291         signalling.
6292         * rt/lio_listio64.c: Likewise.
6293
6294 1999-08-10  H.J. Lu  <hjl@gnu.org>
6295
6296         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6297         handling.
6298
6299 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6300
6301         * elf/elf.h: Define ElfXX_Versym.
6302         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6303         definition.
6304
6305         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6306         for string output correctly in the wide character case.
6307         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6308
6309         * intl/locale.alias: Add catalan.
6310
6311 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6312
6313         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6314
6315 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6316
6317         * po/pt_BR.po: New file.
6318
6319 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6320
6321         * math/libm-test.c (yn_test): Adjust deltas for i386.
6322         (ccosh_test): Likewise.
6323         (jn_test): Likewise.
6324
6325 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6326
6327         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6328
6329 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6330
6331         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6332         problem.
6333
6334 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6335
6336         * configure.in: install-sh lives now in scripts subdir.
6337         PR libc/1255 (bug 4).
6338
6339 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6340
6341         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6342         version.
6343
6344         * po/fr.po: Update.
6345
6346 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
6347
6348         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6349
6350 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6351
6352         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6353         exponent.
6354
6355 1999-08-10  Andreas Schwab  <schwab@suse.de>
6356
6357         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6358         header.
6359
6360 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
6361
6362         * elf/elf.h: Added definition of ELFOSABI_ARM.
6363         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6364         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6365         object's header and ABI values are acceptable.
6366         (VALID_ELF_HEADER): New macro; provide default definition.
6367         (VALID_ELF_OSABI): New macro; provide default definition.
6368         (VALID_ELF_ABIVERSION): New macro; provide default definition.
6369         * sysdeps/arm/dl-machine.h Define ARM specific versions of
6370         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6371
6372 1999-08-09  Andreas Schwab  <schwab@suse.de>
6373
6374         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6375
6376 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
6377
6378         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6379
6380 1999-08-09  Andreas Schwab  <schwab@suse.de>
6381
6382         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6383
6384 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
6385
6386         * sysdeps/ieee754/ieee754.h: Handle platforms with special
6387         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
6388
6389         * string/bits/string2.h: Mark void* operations as extensions.
6390         * sysdeps/i386/i486/bits/string.h: Likewise.
6391
6392         * debug/Makefile (routines): Add noophooks.
6393         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
6394         * debug/noophooks.c: New file.
6395         * debug/pcprofile.c: New file.
6396
6397 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6398
6399         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6400         systems which allow using the functions also on non-seekable
6401         devices.
6402
6403         * resolv/res_send.c (res_send): Recompute timeout for poll for
6404         each jump to `wait'.
6405
6406         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6407         braces to avoid warnings.
6408         (IN6ADDR_LOOPBACK_INIT): Likewise.
6409
6410         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6411         MSG_DONTWAIT).
6412
6413 1999-08-06  H.J. Lu  <hjl@gnu.org>
6414
6415         * malloc/malloc.c: Initialize __libc_pagesize early.
6416
6417 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6418
6419         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6420         defining it.
6421
6422         * inet/Makefile (tests): Add tst-ipnode.
6423         * inet/tst-ipnode.c: New file.
6424
6425 1999-08-06  Andreas Schwab  <schwab@suse.de>
6426
6427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6428         New definitions.
6429         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6430         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6431         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6432         New definitions.
6433         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6434         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6435
6436 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
6437
6438         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6439         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6440         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6441
6442 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6443
6444         * resolv/res_send.c (res_send): Don't test file descriptor for
6445         range, we use poll now.  [PR libc/1240]
6446
6447 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
6448
6449         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6450         2.0 defined if they are not available.
6451
6452 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
6453
6454         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6455         Define.
6456
6457 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
6458
6459         * rt/aio_read.c: Fix return value.
6460         * rt/aio_read64.c: Likewise.
6461         Reported by Christian Gafton.
6462
6463         * rt/aio_write.c: Fix return value.
6464         * rt/aio_write64.c: Likewise.
6465         * rt/aio_fsync.c: Likewise.
6466
6467         * rt/aio_misc.c: Set errno at correct place.
6468
6469         * rt/aio_fsync.c: Test OP parameter for correct values.
6470
6471         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6472
6473 1999-08-04  Andreas Schwab  <schwab@suse.de>
6474
6475         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6476         Initialize result to one.
6477         (GET_NPROCS_CONF_PARSER): Likewise.
6478
6479 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
6480
6481         * inet/ether_hton.c: Pass errno pointer to NSS function.
6482         * inet/getnetgrent_r.c: Likewise.
6483         Reported by Marty Leisner <leisner@rochester.rr.com>.
6484
6485 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6486
6487         * nis/nis_callback.c: Fix port problem on big-endian machines
6488         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6489         fields are always 32 bit.
6490         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6491
6492         * nis/nss_nis/nis-service.c: Remove htons, port is always in
6493         network-byte-order.
6494         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6495
6496 1999-08-03  Andreas Schwab  <schwab@suse.de>
6497
6498         * sysdeps/posix/sigset.c: Unblock the signal after setting its
6499         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6500         avoid two calls to sigprocmask.
6501
6502 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6503
6504         * sysdeps/generic/s_nexttowardf.c: Fix typo.
6505
6506 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
6507
6508         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6509         Only allow rt signal frames. No SA_SIGINFO signals will have the
6510         siginfo_t just not filled out with SI_NOINFO code.
6511         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6512         (register_dump): Take the above change into account.
6513         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6514         (rt_signal_frame): Likewise.
6515
6516         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6517
6518 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6519
6520         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6521         instead of select().
6522
6523 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6524
6525         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6526         nexttoward so something else so that aliasing works.
6527
6528 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6529
6530         * sysdeps/generic/math_ldbl.h: Fix typo.
6531         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6532         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6533
6534 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6535
6536         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
6537
6538 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
6539
6540         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
6541         program.
6542         * elf/resolvfail.c: New file.
6543
6544         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6545         pass it to _dl_lookup_symbol.
6546
6547         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6548         bit.  Reword message.
6549
6550         * dlfcn/dlerror.c: Make code thread-safe.
6551
6552 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
6553
6554         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6555         initializer in CHECK: a bit size, not the type code repeated!
6556
6557 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6558
6559         * string/tester.c: Add tests with constant arguments for strcpy
6560         and stpcpy.
6561
6562 1999-07-31  H.J. Lu  <hjl@gnu.org>
6563
6564         * string/bits/string2.h (__strcpy_small): Fix a typo.
6565
6566 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6567
6568         * Makeconfig (link-libc): Always define it, not only for shared
6569         builds.
6570
6571         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6572         * sysdeps/i386/fpu/e_powf.S: Likewise.
6573         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
6574
6575         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6576         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
6577
6578 1999-07-30  Andreas Schwab  <schwab@suse.de>
6579
6580         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6581         definition.
6582         (__get_nprocs): Use it.
6583         (__get_nprocs_conf): Define as separate function if
6584         GET_NPROCS_CONF_PARSER is defined.
6585         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6586
6587         * include/sys/sysinfo.h: New file.
6588         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6589         interface.
6590         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6591
6592 1999-07-30  H.J. Lu  <hjl@gnu.org>
6593
6594         * libio/iofflush.c (fflush_unlocked): Weak aliase if
6595         _IO_MTSAFE_IO is not defined.
6596         * libio/clearerr.c (clearerr_unlocked): Likewise.
6597         * libio/feof.c (feof_unlocked): Likewise.
6598         * libio/ferror.c (ferror_unlocked): Likewise.
6599         * libio/fputc.c (fputc_unlocked): Likewise.
6600         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6601         * libio/getchar.c (getchar_unlocked): Likewise.
6602         * libio/putc.c (putc_unlocked): Likewise.
6603         * libio/putchar.c (putchar_unlocked): Likewise.
6604
6605 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
6606
6607         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6608           svc_max_pollfd and svc_pollfd to GLIBC_2.2
6609         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6610           for svc_run/poll interface.
6611         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6612         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6613           global variable.
6614         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6615           rewrite other svc_getreq* functions to use svc_getreq_common.
6616         * sunrpc/svc_run.c: Use poll().
6617
6618 1999-07-30  Andreas Schwab  <schwab@suse.de>
6619
6620         * Makerules: Put sysd-versions and Versions.all on
6621         postclean-generated instead of common-generated.
6622
6623 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6624
6625         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6626         around and CLOCKS_PER_SEC is 1e6.
6627
6628 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
6629
6630         * configure.in: Add test for local label subtraction.
6631         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6632         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6633         labels to reduce number of runtime relocations and move jump
6634         tables in read-only seciton.
6635
6636         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
6637         assignment cannot be moved.
6638
6639 1999-07-29  H.J. Lu  <hjl@gnu.org>
6640
6641         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6642         if no threads are used.
6643
6644         * libio/iofwrite.c: Add weak alias for _unlocked function if not
6645         _IO_MTSAFE_IO.
6646         * libio/iofread.c: Likewise.
6647         * libio/iofgets.c: Likewise.
6648         * libio/iofputs.c: Likewise.
6649
6650         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6651         definition.
6652
6653         * stdlib/mbtowc.c: Include <string.h>.
6654         * stdlib/wctomb.c: Likewise.
6655         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6656         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6657
6658         * misc/mntent_r.c: Include <alloca.h>.
6659         * elf/dl-runtime.c: Likewise.
6660
6661 1999-07-29  Andreas Schwab  <schwab@suse.de>
6662
6663         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6664         all floating point formats supported by gcc.  Error out for
6665         unhandled precisions.
6666         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6667         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6668         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6669
6670 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
6671
6672         * sysdeps/generic/setenv.c: Move setenv code in new function
6673         __add_to_environ.  Add new parameter specifying already
6674         constructed string for the environment.
6675         (setenv): Call __add_to_environ with new parameter set to NULL.
6676         (unsetenv): Really test all elements for duplicated name.  Missed those
6677         cases where the two are following each other.
6678         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6679         * include/stdlib.h: Add prototype of __add_to_environ.
6680         * stdlib/tst-environ.c: New file.
6681         * stdlib/Makefile (tests): Add tst-environ.
6682
6683         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6684
6685         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6686         argument in realloc call.
6687         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6688         Likewise.
6689         Reported by Danny Braniss <danny@cs.huji.ac.il>.
6690
6691 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
6692
6693         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6694         to print.
6695         * misc/efgcvt_r.c: Likewise.
6696         * misc/qefgcvt.c: Likewise.
6697         * misc/qefgcvt_r.c: Likewise.
6698         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6699         anymore.
6700
6701 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6702
6703         * manual/math.texi (FP Function Optimization): Mention drawbacks.
6704
6705 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
6706
6707         * stdlib/mblen.c: Use static state.
6708         Reported by Bruno Haible <haible@ilog.fr>.
6709
6710         * stdlib/mbtowc.c: Reset state for s == NULL.
6711         * stdlib/wctomb.c: Likewise.
6712         Reported by Bruno Haible <haible@ilog.fr>.
6713
6714         * stdlib/mbstowcs.c: Do not use global state.
6715         Reported by Bruno Haible <haible@ilog.fr>.
6716
6717 1999-07-28  Andeas Schwab  <schwab@suse.de>
6718
6719         * iconvdata/Makefile: Don't try to run iconv tests when cross
6720         compiling.
6721
6722 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
6723
6724         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6725         assembler code to switch stacks and call init1 outside this
6726         function.  Inside `init' the code was optimized away by gcc
6727         2.95 since it was "clearly" unreachable.
6728         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6729         Do something similar for the trampoline code.
6730
6731 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
6732
6733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6734         for the hinted protocol.
6735
6736 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6737
6738         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6739
6740 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6741
6742         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6743         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6744         * elf/dl-load.c (_dl_map_object): Likewise.
6745         * elf/do-lookup.h (do_lookup*): Likewise.
6746         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6747         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6748         as uint64_t.
6749         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6750
6751 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6752
6753         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6754         * sysdeps/generic/getpgrp.c: Likewise.
6755         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6756         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6757         Patch by John Tobey <jtobey@banta-im.com>.
6758
6759         * sysdeps/posix/wait3.c: Help compiling in presence of
6760         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
6761
6762 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6763
6764         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6765         as much as possible. Declare them using .register pseudo-op if they
6766         are still used.
6767         * sysdeps/sparc/sparc64/lshift.S: Likewise.
6768         * sysdeps/sparc/sparc64/memchr.S: Likewise.
6769         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6770         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6771         * sysdeps/sparc/sparc64/memset.S: Likewise.
6772         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6773         * sysdeps/sparc/sparc64/rshift.S: Likewise.
6774         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6775         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6776         * sysdeps/sparc/sparc64/strcat.S: Likewise.
6777         * sysdeps/sparc/sparc64/strchr.S: Likewise.
6778         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6779         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6780         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6781         * sysdeps/sparc/sparc64/strlen.S: Likewise.
6782         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6783         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6784         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6785         * sysdeps/sparc/sparc64/strspn.S: Likewise.
6786         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6787         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6788         Optimize trampoline code for .plt4-.plt32767.
6789         Fix trampolines for .plt32768+.
6790
6791 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6792
6793         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6794         -mcpu=v8.
6795         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6796         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6797         libc's private use (as assembly routine clobber it anyway).
6798
6799 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6800
6801         * README.template (configurations): The crypt add-on has a new
6802         ftp site.
6803         * manual/install.texi (Installation): Likewise.
6804
6805 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6806
6807         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
6808         requires to have a full definition but we wait for a bug report
6809         based on the test suite.
6810
6811         * sysdeps/generic/clock_getres.c: New file.
6812         * sysdeps/generic/clock_gettime.c: New file.
6813         * sysdeps/generic/clock_settime.c: New file.
6814         * sysdeps/generic/timer_create.c: New file.
6815         * sysdeps/generic/timer_delete.c: New file.
6816         * sysdeps/generic/timer_getoverr.c: New file.
6817         * sysdeps/generic/timer_gettime.c: New file.
6818         * sysdeps/generic/timer_settime.c: New file.
6819
6820         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6821         CLOCK_REALTIME, and TIMER_ABSTIME.
6822         * sysdeps/mach/hurd/bits/time.h: Likewise.
6823         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6824         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6825
6826         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6827
6828         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6829         si_timer2.
6830
6831         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6832
6833         * time/Makefile (routines): Add clock_getres, clock_gettime,
6834         clock_setres, timer_create, timer_delete, timer_getoverr,
6835         timer_gettime, and timer_settime.
6836
6837         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6838         POSIX.1b.  Add prototypes for clock and timer functions.
6839
6840 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
6841
6842         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6843         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6844
6845 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6846
6847         * stdlib/wcstombs.c: Do not use global state.
6848         Reported by Bruno Haible <haible@ilog.fr>.
6849
6850         * wcsmbs/wctob.c: Avoid sign extension when returning character.
6851         Reported by Bruno Haible <haible@ilog.fr>.
6852
6853         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6854         of wide characters to convert do it right and don't overestimate
6855         by multiplying with MB_CUR_MAX.
6856         Reported by Bruno Haible <haible@ilog.fr>.
6857
6858 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
6859
6860         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6861         (__stpcpy_small): Likewise.
6862         Union has no __uc member but __c.
6863
6864 1999-07-26  Andreas Schwab  <schwab@suse.de>
6865
6866         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6867
6868 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6869
6870         * libio/iofclose.c (_IO_new_fclose): Only fall back on
6871         _IO_old_fclose if doing versioning.
6872
6873         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6874         them appropriately.
6875         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6876
6877         * misc/mntent_r.c: Allow spaces and tabs in entry names by
6878         encoding these characters.
6879         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6880
6881         * string/bits/string2.h: Fix aliasing problems.
6882         * sysdeps/i386/i486/bits/string.h: Likewise.
6883         * sysdeps/i386/bits/string.h: Likewise.
6884
6885 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
6886
6887         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6888         * elf/rtld.c (dl_main): Don't call malloc() between
6889         re-relocating the dynamic linker and running the application's crt0.
6890
6891 1999-07-21  Paul D. Smith  <psmith@gnu.org>
6892
6893         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6894         glob.h to get __P() macro.
6895
6896         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6897         not ANSI.
6898         (__strchrnul): This won't exist outside GLIBC, so create one.
6899
6900 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
6901
6902         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6903         __ino64_t should be 32bit unsigned type on sparc32.
6904         Define __off64_t to __quad_t instead of __int64_t.
6905         Make __pic_pid_t unsigned on sparc32.
6906
6907 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6908
6909         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6910         in bash 2.03.
6911
6912 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6913
6914         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6915         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
6916
6917 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
6918
6919         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6920         accesses.
6921
6922         * resolv/res_send.c: Add locks for res_send and res_close use.
6923
6924         * elf/Makefile (dl-routines): Add preinit.
6925         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6926         * elf/link.h (struct link_map): Add new field l_preinitcount.
6927         * elf/dl-preinit.c: New file.
6928         * elf/dynamic-link.h: Initialize l_preinitcount.
6929         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6930
6931         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6932         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
6933         and l_initcount.
6934         * elf/dl-init.c: Handle DT_INIT_ARRAY.
6935         * elf/dynamic-link.h: Change parameters.  Now only get link_map
6936         pointer.  Calculate l_initcount.
6937
6938         * elf/link.h (struct link_map): Add l_runpath_dirs.
6939         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6940         * elf/dl-load.c: Pretty print.
6941         (decompose_rpath): Take new parameter with info from where the path
6942         comes.  Pass it the fillin_rpath.
6943         (_dl_init_paths): Initialize l_runpath_dirs.
6944         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6945         Search using RUNPATH after LD_LIBRARY_PATH.
6946         * elf/dl-support.c: Adjust comment.
6947         * elf/rtld.c: Adjust help message.
6948
6949 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6950
6951         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6952         interface.
6953
6954 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
6955
6956         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6957         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
6958         ever used this, so I'm not going to worry about compatibility.
6959         [__USE_GNU] (IUCLC, OLCUC): New macros.
6960
6961 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
6962
6963         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6964
6965         * elf/elf.h: Add ET_LOOS and ET_HIOS.
6966         Add various EM_* constants.
6967         Add SHN_LOOS and SHN_HIOS.
6968         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6969         Add SHF_MERGE and SHF_STRINGS.
6970         (ElfXX_Sym): Update description of st_other field.
6971         Add STT_COMMON.
6972         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6973         Add STV_* macros.
6974         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6975         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6976         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6977
6978         * posix/unistd.h: Move declaration of __libc_enable_secure to...
6979         * include/unistd.h: ...here.
6980
6981         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6982         * elf/dl-deps.c (expand_dst): Likewise.
6983
6984         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6985         based on DT_FLAGS value.
6986
6987         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6988         Add test for symbols marked STV_HIDDEN.
6989         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6990         add undef_map.  Compute reference_name locally.  Update call to
6991         do_lookup.
6992         (_dl_lookup_symbol_skip): Likewise.
6993         (_dl_lookup_versioned_symbol): Likewise.
6994         (_dl_lookup_versioned_symbol_skip): Likewise.
6995         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6996         * elf/dl-runtime.c: Likewise.
6997         * elf/dl-sym.c: Likewise.
6998         * elf/dl-symbol.c: Likewise.
6999         * elf/ldsodefs.h: Adjust prototypes.
7000
7001         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
7002         handle appropriately.  Add comment about DT_TEXTREL.
7003         * elf/dl-runtime.c: Likewise.
7004
7005 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
7006
7007         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
7008         * elf/ldsodefs.h: Declare it.
7009         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
7010         instead of assert.
7011         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
7012         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7013         (elf_machine_lazy_rel): Likewise.
7014         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
7015         (elf_machine_lazy_rel): Likewise.
7016         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
7017         (elf_machine_lazy_rel): Likewise.
7018         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7019         (elf_machine_lazy_rel): Likewise.
7020         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7021         (elf_machine_lazy_rel): Likewise.
7022         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
7023         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
7024         (elf_machine_lazy_rel): Likewise.
7025         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7026         (elf_machine_lazy_rel): Likewise.
7027         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
7028         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
7029         _dl_reloc_bad_type instead of _dl_signal_error.
7030         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
7031
7032 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
7033
7034         * sysdeps/mach/_strerror.c: Include <libintl.h>.
7035
7036 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
7037
7038         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
7039         hurd_signal_preemptor matches but its `preemptor' field is null, use
7040         its `handler' field directly.  This is to comply with behavior
7041         documented in <hurd/sigpreempt.h>.
7042
7043 1999-07-21  Andreas Schwab  <schwab@suse.de>
7044
7045         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
7046         when reading from write-only stream.
7047         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
7048         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7049
7050 1999-07-21  Andreas Schwab  <schwab@suse.de>
7051
7052         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
7053         NULL.
7054
7055 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
7056
7057         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
7058         <hurd/fd.h>.
7059         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
7060         <hurd/fd.h>.
7061         (__libc_write): Call __pwrite instead of __pread.
7062
7063 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
7064
7065         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
7066         __vm_allocate calls.
7067
7068         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
7069         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
7070
7071         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
7072         _hurd_fd_read with new OFFSET argument set to -1.
7073         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
7074         to -1.
7075
7076 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
7077
7078         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
7079         descriptor table sent in the RPC.
7080
7081 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7082
7083         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
7084         bill@taniwha.org [PR libc/1211].
7085
7086 1999-07-19  Andreas Schwab  <schwab@suse.de>
7087
7088         * libio/Makefile (routines): Add fwprintf.
7089
7090         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
7091         * math/w_sqrt.c: Moved to ...
7092         * sysdeps/generic/w_sqrt.c: ... here.
7093         * math/w_sqrtf.c: Moved to ...
7094         * sysdeps/generic/w_sqrtf.c: ... here.
7095
7096         * Make-dist (generic-dirs): New variable.
7097         (try-sysdeps, +sysdep-names): Use it.
7098         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
7099         instead of $(lib)-routines.
7100         * elf/Makefile (distribute): Add dl-cache.h.
7101         * db2/Makefile (distribute): Add all new files.
7102         * iconvdata/Makefile (distribute): Don't distribute CVS
7103         directory.
7104         * math/Makefile (distribute): Remove machine/endian.h, add
7105         math_ldbl.h.
7106         * stdio-common/Makefile (distribute): Add _itowa.h.
7107         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
7108         * sysdeps/gnu/Dist: Add eval.c
7109         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
7110         dlfcn]: Add to this instead of libdl-routines.
7111         * sysdeps/ieee754/ldbl-128/Dist: New file.
7112         * sysdeps/mach/hurd/Dist: Add siglist.h
7113         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
7114
7115 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
7116
7117         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
7118
7119         * inet/Makefile (routines): Add getipnodebyad and freehostent.
7120         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
7121         * inet/freehostent.c: New file.
7122         * inet/getipnodebyad.c: New file.
7123         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
7124         and getipnodebyname.  The latter comes soon.
7125         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
7126         Add support for getipnode* functions.
7127
7128         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
7129         Set h_aliases to NULL and not to a pointer to an array with a NULL
7130         pointer following XNS 5.2.
7131
7132         * posix/sched.h: Remove internal interfaces.
7133         * include/sched.h: Add internal interfaces.
7134
7135         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
7136
7137         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
7138
7139         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
7140         and return an error in this case.
7141         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
7142         available.
7143
7144 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7145
7146         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
7147         1999-07-17 and adjust len parameter.
7148         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7149         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
7150         * manual/socket.texi (Host Names): Likewise.
7151         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7152         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7153         Likewise.
7154         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7155         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7156         (ht_gethostbyaddr): Likewise.
7157         (_gethtbyaddr): Likewise.
7158
7159 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
7160
7161         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
7162         gethostbyaddr_r.
7163         * include/netdb.h: Likewise.
7164         * inet/gethstbyad.c: Correct type of len parameter.
7165         * inet/gethstbyad_r.c: Likewise.
7166
7167         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
7168
7169 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
7170
7171         * include/libc-symbol.h: Clean up definitions of weak_alias,
7172         strong_alias, symbol_version, etc. etc.
7173         * posix/getopt.h: Use ctype.h to get features.h included, and don't
7174         include it at all if __GNU_LIBRARY__ is already defined.
7175
7176 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
7177
7178         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
7179
7180         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
7181
7182         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
7183         type for tv_usec element.
7184         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7185         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
7186         * sysdeps/generic/bits/time.h: Likewise.
7187         * sysdeps/mach/hurd/bits/time.h: Likewise.
7188         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7189         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7190         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7191         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7192         * sysdeps/generic/bits/types.h: Likewise.
7193         * posix/sys/types.h: Define suseconds_t for X/Open.
7194
7195 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7196
7197         * stdio-common/bug1.c: Avoid memory leak.
7198
7199         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
7200         program deterministic.
7201         * sysdeps/i386/fpu/e_powf.S: Likewise.
7202         * sysdeps/i386/fpu/e_powl.S: Likewise.
7203
7204 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
7205
7206         * math/Makefile: Add t_sincosl and k_sincosl support routines.
7207         * math/math_private.h (__kernel_sincosl): New declaration.
7208         * sysdeps/generic/t_sincosl.c: New file.
7209         * sysdeps/generic/k_sincosl.c: New file.
7210         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
7211         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
7212         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
7213         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
7214         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
7215         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
7216         __kernel_sincosl.
7217         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
7218         definition.
7219
7220 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7221
7222         * posix/unistd.h: Use __PMT for exit.
7223
7224 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
7225
7226         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
7227         _outw, _outl): Added to GLIBC_2.1.2.
7228
7229 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7230
7231         * posix/fnmatch.h: Use __name instead of __string in prototype to
7232         allow use outside glibc.
7233
7234 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
7235
7236         * time/tst-strptime.c (main): Add one more test case.  Produce
7237         output even when result is ok.
7238
7239         * time/strptime.c (get_number): Handle number parsing more
7240         consistent with strftime.  Only parse a given number of digits.
7241         (get_alt_number):  Fix implementation.  Was broken.
7242         (strptime_internal): Add third parameter to get_number and
7243         get_alt_number calls.
7244
7245 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7246
7247         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7248         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7249         try both 32bit and 64bit dynamic linker.
7250         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7251         script on all sparc targets.
7252
7253 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7254
7255         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7256         to int.
7257
7258 1999-07-13  Andreas Schwab  <schwab@suse.de>
7259
7260         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7261         inlining.  Fixes PR libc/1198.
7262
7263 1999-07-14  Andreas Schwab  <schwab@suse.de>
7264
7265         * Makerules (common-generated): Don't prepend $(common-objpfx).
7266
7267 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
7268
7269         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7270         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7271         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7272         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7273         macro.
7274         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7275         instead of ieee754.
7276         * sysdeps/arm/Implies: Likewise.
7277         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7278         ieee754/ldbl-96 instead of ieee754.
7279         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7280         * sysdeps/generic/e_atanhl.c: New file.
7281         * sysdeps/generic/e_coshl.c: New file.
7282         * sysdeps/generic/e_sinhl.c: New file.
7283         * sysdeps/generic/e_gammal_r.c: New file.
7284         * sysdeps/generic/e_hypotl.c: New file.
7285         * sysdeps/generic/s_cbrtl.c: New file.
7286         * sysdeps/generic/s_asinhl.c: New file.
7287         * sysdeps/generic/s_tanhl.c: New file.
7288         * sysdeps/generic/w_expl.c: New file.
7289         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7290         instead of ieee754.
7291         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7292         ieee754/ldbl-96 instead of ieee754.
7293         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7294         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7295         printf_fphex.
7296         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7297         instead of ieee754.
7298         * sysdeps/mips/mips64/Implies: Likewise.
7299         * sysdeps/powerpc/Implies: Likewise.
7300         * sysdeps/sparc/Implies: Remove.
7301         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7302         ieee754/dbl-64.
7303         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7304         and ieee754/ldbl-128.
7305
7306         * sysdeps/sparc/bits/wordsize.h: Remove.
7307         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7308         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7309         only for sparc32.
7310         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7311         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7312         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7313         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7314         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7315         support.
7316
7317         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7318         of carries. Optimize.
7319
7320         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7321         * sysdeps/generic/e_exp10.c: ...here.
7322         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7323         * sysdeps/generic/e_exp10f.c: ...here.
7324         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7325         * sysdeps/generic/e_exp10l.c: ...here.
7326         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7327         * sysdeps/generic/e_scalb.c: ...here.
7328         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7329         * sysdeps/generic/e_scalbf.c: ...here.
7330         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7331         * sysdeps/generic/e_scalbl.c: ...here.
7332         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7333         * sysdeps/generic/s_cacos.c: ...here.
7334         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7335         * sysdeps/generic/s_cacosf.c: ...here.
7336         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7337         * sysdeps/generic/s_cacosh.c: ...here.
7338         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7339         * sysdeps/generic/s_cacoshf.c: ...here.
7340         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7341         * sysdeps/generic/s_cacoshl.c: ...here.
7342         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7343         * sysdeps/generic/s_cacosl.c: ...here.
7344         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7345         * sysdeps/generic/s_casin.c: ...here.
7346         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7347         * sysdeps/generic/s_casinf.c: ...here.
7348         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7349         * sysdeps/generic/s_casinh.c: ...here.
7350         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7351         * sysdeps/generic/s_casinhf.c: ...here.
7352         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7353         * sysdeps/generic/s_casinhl.c: ...here.
7354         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7355         * sysdeps/generic/s_casinl.c: ...here.
7356         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7357         * sysdeps/generic/s_catan.c: ...here.
7358         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7359         * sysdeps/generic/s_catanf.c: ...here.
7360         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7361         * sysdeps/generic/s_catanh.c: ...here.
7362         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7363         * sysdeps/generic/s_catanhf.c: ...here.
7364         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7365         * sysdeps/generic/s_catanhl.c: ...here.
7366         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7367         * sysdeps/generic/s_catanl.c: ...here.
7368         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7369         * sysdeps/generic/s_ccos.c: ...here.
7370         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7371         * sysdeps/generic/s_ccosf.c: ...here.
7372         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7373         * sysdeps/generic/s_ccosh.c: ...here.
7374         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7375         * sysdeps/generic/s_ccoshf.c: ...here.
7376         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7377         * sysdeps/generic/s_ccoshl.c: ...here.
7378         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7379         * sysdeps/generic/s_ccosl.c: ...here.
7380         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7381         * sysdeps/generic/s_cexp.c: ...here.
7382         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7383         * sysdeps/generic/s_cexpf.c: ...here.
7384         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7385         * sysdeps/generic/s_cexpl.c: ...here.
7386         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7387         * sysdeps/generic/s_clog.c: ...here.
7388         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7389         * sysdeps/generic/s_clog10.c: ...here.
7390         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7391         * sysdeps/generic/s_clog10f.c: ...here.
7392         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7393         * sysdeps/generic/s_clog10l.c: ...here.
7394         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7395         * sysdeps/generic/s_clogf.c: ...here.
7396         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7397         * sysdeps/generic/s_clogl.c: ...here.
7398         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7399         * sysdeps/generic/s_cpow.c: ...here.
7400         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7401         * sysdeps/generic/s_cpowf.c: ...here.
7402         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7403         * sysdeps/generic/s_cpowl.c: ...here.
7404         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7405         * sysdeps/generic/s_cproj.c: ...here.
7406         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7407         * sysdeps/generic/s_cprojf.c: ...here.
7408         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7409         * sysdeps/generic/s_cprojl.c: ...here.
7410         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7411         * sysdeps/generic/s_csin.c: ...here.
7412         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7413         * sysdeps/generic/s_csinf.c: ...here.
7414         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7415         * sysdeps/generic/s_csinh.c: ...here.
7416         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7417         * sysdeps/generic/s_csinhf.c: ...here.
7418         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7419         * sysdeps/generic/s_csinhl.c: ...here.
7420         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7421         * sysdeps/generic/s_csinl.c: ...here.
7422         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7423         * sysdeps/generic/s_csqrt.c: ...here.
7424         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7425         * sysdeps/generic/s_csqrtf.c: ...here.
7426         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7427         * sysdeps/generic/s_csqrtl.c: ...here.
7428         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7429         * sysdeps/generic/s_ctan.c: ...here.
7430         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7431         * sysdeps/generic/s_ctanf.c: ...here.
7432         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7433         * sysdeps/generic/s_ctanh.c: ...here.
7434         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7435         * sysdeps/generic/s_ctanhf.c: ...here.
7436         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7437         * sysdeps/generic/s_ctanhl.c: ...here.
7438         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7439         * sysdeps/generic/s_ctanl.c: ...here.
7440         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7441         * sysdeps/generic/s_fdim.c: ...here.
7442         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7443         * sysdeps/generic/s_fdimf.c: ...here.
7444         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7445         * sysdeps/generic/s_fdiml.c: ...here.
7446         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7447         * sysdeps/generic/s_fma.c: ...here.
7448         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7449         * sysdeps/generic/s_fmaf.c: ...here.
7450         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7451         * sysdeps/generic/s_fmal.c: ...here.
7452         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7453         * sysdeps/generic/s_fmax.c: ...here.
7454         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7455         * sysdeps/generic/s_fmaxf.c: ...here.
7456         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7457         * sysdeps/generic/s_fmaxl.c: ...here.
7458         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7459         * sysdeps/generic/s_fmin.c: ...here.
7460         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7461         * sysdeps/generic/s_fminf.c: ...here.
7462         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7463         * sysdeps/generic/s_fminl.c: ...here.
7464         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7465         * sysdeps/generic/s_ldexp.c: ...here.
7466         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7467         * sysdeps/generic/s_ldexpf.c: ...here.
7468         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7469         * sysdeps/generic/s_ldexpl.c: ...here.
7470         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7471         * sysdeps/generic/s_nan.c: ...here.
7472         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7473         * sysdeps/generic/s_nanf.c: ...here.
7474         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7475         * sysdeps/generic/s_nanl.c: ...here.
7476         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7477         * sysdeps/generic/s_significand.c: ...here.
7478         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7479         * sysdeps/generic/s_significandf.c: ...here.
7480         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7481         * sysdeps/generic/s_significandl.c: ...here.
7482         Avoid conversion from int to double and then to long double.
7483         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7484         * math/w_acos.c: ...here.
7485         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7486         * math/w_acosf.c: ...here.
7487         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7488         * math/w_acosh.c: ...here.
7489         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7490         * math/w_acoshf.c: ...here.
7491         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7492         * math/w_acoshl.c: ...here.
7493         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7494         * math/w_acosl.c: ...here.
7495         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7496         * math/w_asin.c: ...here.
7497         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7498         * math/w_asinf.c: ...here.
7499         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7500         * math/w_asinl.c: ...here.
7501         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7502         * math/w_atan2.c: ...here.
7503         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7504         * math/w_atan2f.c: ...here.
7505         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7506         * math/w_atan2l.c: ...here.
7507         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7508         * math/w_atanh.c: ...here.
7509         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7510         * math/w_atanhf.c: ...here.
7511         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7512         * math/w_atanhl.c: ...here.
7513         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7514         * math/w_cosh.c: ...here.
7515         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7516         * math/w_coshf.c: ...here.
7517         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7518         * math/w_coshl.c: ...here.
7519         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7520         * math/w_drem.c: ...here.
7521         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7522         * math/w_dremf.c: ...here.
7523         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7524         * math/w_dreml.c: ...here.
7525         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7526         * math/w_exp10.c: ...here.
7527         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7528         * math/w_exp10f.c: ...here.
7529         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7530         * math/w_exp10l.c: ...here.
7531         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7532         * math/w_exp2.c: ...here.
7533         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7534         * math/w_exp2f.c: ...here.
7535         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7536         * math/w_exp2l.c: ...here.
7537         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7538         * math/w_fmod.c: ...here.
7539         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7540         * math/w_fmodf.c: ...here.
7541         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7542         * math/w_fmodl.c: ...here.
7543         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7544         * math/w_hypot.c: ...here.
7545         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7546         * math/w_hypotf.c: ...here.
7547         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7548         * math/w_hypotl.c: ...here.
7549         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7550         * math/w_j0.c: ...here.
7551         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7552         * math/w_j0f.c: ...here.
7553         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7554         * math/w_j0l.c: ...here.
7555         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7556         * math/w_j1.c: ...here.
7557         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7558         * math/w_j1f.c: ...here.
7559         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7560         * math/w_j1l.c: ...here.
7561         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7562         * math/w_jn.c: ...here.
7563         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7564         * math/w_jnf.c: ...here.
7565         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7566         * math/w_jnl.c: ...here.
7567         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7568         * math/w_lgamma.c: ...here.
7569         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7570         * math/w_lgamma_r.c: ...here.
7571         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7572         * math/w_lgammaf.c: ...here.
7573         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7574         * math/w_lgammaf_r.c: ...here.
7575         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7576         * math/w_lgammal.c: ...here.
7577         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7578         * math/w_lgammal_r.c: ...here.
7579         * sysdeps/libm-ieee754/w_log.c: Moved to ...
7580         * math/w_log.c: ...here.
7581         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7582         * math/w_log10.c: ...here.
7583         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7584         * math/w_log10f.c: ...here.
7585         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7586         * math/w_log10l.c: ...here.
7587         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7588         * math/w_logf.c: ...here.
7589         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7590         * math/w_logl.c: ...here.
7591         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7592         * math/w_pow.c: ...here.
7593         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7594         * math/w_powf.c: ...here.
7595         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7596         * math/w_powl.c: ...here.
7597         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7598         * math/w_remainder.c: ...here.
7599         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7600         * math/w_remainderf.c: ...here.
7601         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7602         * math/w_remainderl.c: ...here.
7603         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7604         * math/w_scalb.c: ...here.
7605         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7606         * math/w_scalbf.c: ...here.
7607         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7608         * math/w_scalbl.c: ...here.
7609         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7610         * math/w_sinh.c: ...here.
7611         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7612         * math/w_sinhf.c: ...here.
7613         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7614         * math/w_sinhl.c: ...here.
7615         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7616         * math/w_sqrt.c: ...here.
7617         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7618         * math/w_sqrtf.c: ...here.
7619         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7620         * math/w_sqrtl.c: ...here.
7621         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7622         * math/w_tgamma.c: ...here.
7623         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7624         * math/w_tgammaf.c: ...here.
7625         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7626         * math/w_tgammal.c: ...here.
7627         * sysdeps/libm-i387/e_acos.S: Moved to ...
7628         * sysdeps/i386/fpu/e_acos.S: ...here.
7629         * sysdeps/libm-i387/e_acosf.S: Moved to ...
7630         * sysdeps/i386/fpu/e_acosf.S: ...here.
7631         * sysdeps/libm-i387/e_acosh.S: Moved to ...
7632         * sysdeps/i386/fpu/e_acosh.S: ...here.
7633         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7634         * sysdeps/i386/fpu/e_acoshf.S: ...here.
7635         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7636         * sysdeps/i386/fpu/e_acoshl.S: ...here.
7637         * sysdeps/libm-i387/e_acosl.S: Moved to ...
7638         * sysdeps/i386/fpu/e_acosl.S: ...here.
7639         * sysdeps/libm-i387/e_asin.S: Moved to ...
7640         * sysdeps/i386/fpu/e_asin.S: ...here.
7641         * sysdeps/libm-i387/e_asinf.S: Moved to ...
7642         * sysdeps/i386/fpu/e_asinf.S: ...here.
7643         * sysdeps/libm-i387/e_asinl.S: Moved to ...
7644         * sysdeps/i386/fpu/e_asinl.S: ...here.
7645         * sysdeps/libm-i387/e_atan2.S: Moved to ...
7646         * sysdeps/i386/fpu/e_atan2.S: ...here.
7647         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7648         * sysdeps/i386/fpu/e_atan2f.S: ...here.
7649         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7650         * sysdeps/i386/fpu/e_atan2l.S: ...here.
7651         * sysdeps/libm-i387/e_atanh.S: Moved to ...
7652         * sysdeps/i386/fpu/e_atanh.S: ...here.
7653         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7654         * sysdeps/i386/fpu/e_atanhf.S: ...here.
7655         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7656         * sysdeps/i386/fpu/e_atanhl.S: ...here.
7657         * sysdeps/libm-i387/e_exp.S: Moved to ...
7658         * sysdeps/i386/fpu/e_exp.S: ...here.
7659         * sysdeps/libm-i387/e_exp10.S: Moved to ...
7660         * sysdeps/i386/fpu/e_exp10.S: ...here.
7661         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7662         * sysdeps/i386/fpu/e_exp10f.S: ...here.
7663         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7664         * sysdeps/i386/fpu/e_exp10l.S: ...here.
7665         * sysdeps/libm-i387/e_expf.S: Moved to ...
7666         * sysdeps/i386/fpu/e_expf.S: ...here.
7667         * sysdeps/libm-i387/e_expl.S: Moved to ...
7668         * sysdeps/i386/fpu/e_expl.S: ...here.
7669         * sysdeps/libm-i387/e_fmod.S: Moved to ...
7670         * sysdeps/i386/fpu/e_fmod.S: ...here.
7671         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7672         * sysdeps/i386/fpu/e_fmodf.S: ...here.
7673         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7674         * sysdeps/i386/fpu/e_fmodl.S: ...here.
7675         * sysdeps/libm-i387/e_hypot.S: Moved to ...
7676         * sysdeps/i386/fpu/e_hypot.S: ...here.
7677         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7678         * sysdeps/i386/fpu/e_hypotf.S: ...here.
7679         * sysdeps/libm-i387/e_log.S: Moved to ...
7680         * sysdeps/i386/fpu/e_log.S: ...here.
7681         * sysdeps/libm-i387/e_log10.S: Moved to ...
7682         * sysdeps/i386/fpu/e_log10.S: ...here.
7683         * sysdeps/libm-i387/e_log10f.S: Moved to ...
7684         * sysdeps/i386/fpu/e_log10f.S: ...here.
7685         * sysdeps/libm-i387/e_log10l.S: Moved to ...
7686         * sysdeps/i386/fpu/e_log10l.S: ...here.
7687         * sysdeps/libm-i387/e_logf.S: Moved to ...
7688         * sysdeps/i386/fpu/e_logf.S: ...here.
7689         * sysdeps/libm-i387/e_logl.S: Moved to ...
7690         * sysdeps/i386/fpu/e_logl.S: ...here.
7691         * sysdeps/libm-i387/e_pow.S: Moved to ...
7692         * sysdeps/i386/fpu/e_pow.S: ...here.
7693         * sysdeps/libm-i387/e_powf.S: Moved to ...
7694         * sysdeps/i386/fpu/e_powf.S: ...here.
7695         * sysdeps/libm-i387/e_powl.S: Moved to ...
7696         * sysdeps/i386/fpu/e_powl.S: ...here.
7697         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7698         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7699         * sysdeps/libm-i387/e_remainder.S: Moved to ...
7700         * sysdeps/i386/fpu/e_remainder.S: ...here.
7701         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7702         * sysdeps/i386/fpu/e_remainderf.S: ...here.
7703         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7704         * sysdeps/i386/fpu/e_remainderl.S: ...here.
7705         * sysdeps/libm-i387/e_scalb.S: Moved to ...
7706         * sysdeps/i386/fpu/e_scalb.S: ...here.
7707         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7708         * sysdeps/i386/fpu/e_scalbf.S: ...here.
7709         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7710         * sysdeps/i386/fpu/e_scalbl.S: ...here.
7711         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7712         * sysdeps/i386/fpu/e_sqrt.S: ...here.
7713         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7714         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7715         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7716         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7717         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7718         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7719         * sysdeps/libm-i387/s_asinh.S: Moved to ...
7720         * sysdeps/i386/fpu/s_asinh.S: ...here.
7721         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7722         * sysdeps/i386/fpu/s_asinhf.S: ...here.
7723         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7724         * sysdeps/i386/fpu/s_asinhl.S: ...here.
7725         * sysdeps/libm-i387/s_atan.S: Moved to ...
7726         * sysdeps/i386/fpu/s_atan.S: ...here.
7727         * sysdeps/libm-i387/s_atanf.S: Moved to ...
7728         * sysdeps/i386/fpu/s_atanf.S: ...here.
7729         * sysdeps/libm-i387/s_atanl.S: Moved to ...
7730         * sysdeps/i386/fpu/s_atanl.S: ...here.
7731         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7732         * sysdeps/i386/fpu/s_cbrt.S: ...here.
7733         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7734         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7735         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7736         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7737         * sysdeps/libm-i387/s_ceil.S: Moved to ...
7738         * sysdeps/i386/fpu/s_ceil.S: ...here.
7739         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7740         * sysdeps/i386/fpu/s_ceilf.S: ...here.
7741         * sysdeps/libm-i387/s_ceill.S: Moved to ...
7742         * sysdeps/i386/fpu/s_ceill.S: ...here.
7743         * sysdeps/libm-i387/s_cexp.S: Moved to ...
7744         * sysdeps/i386/fpu/s_cexp.S: ...here.
7745         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7746         * sysdeps/i386/fpu/s_cexpf.S: ...here.
7747         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7748         * sysdeps/i386/fpu/s_cexpl.S: ...here.
7749         * sysdeps/libm-i387/s_copysign.S: Moved to ...
7750         * sysdeps/i386/fpu/s_copysign.S: ...here.
7751         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7752         * sysdeps/i386/fpu/s_copysignf.S: ...here.
7753         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7754         * sysdeps/i386/fpu/s_copysignl.S: ...here.
7755         * sysdeps/libm-i387/s_cos.S: Moved to ...
7756         * sysdeps/i386/fpu/s_cos.S: ...here.
7757         * sysdeps/libm-i387/s_cosf.S: Moved to ...
7758         * sysdeps/i386/fpu/s_cosf.S: ...here.
7759         * sysdeps/libm-i387/s_cosl.S: Moved to ...
7760         * sysdeps/i386/fpu/s_cosl.S: ...here.
7761         * sysdeps/libm-i387/s_exp2.S: Moved to ...
7762         * sysdeps/i386/fpu/s_exp2.S: ...here.
7763         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7764         * sysdeps/i386/fpu/s_exp2f.S: ...here.
7765         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7766         * sysdeps/i386/fpu/s_exp2l.S: ...here.
7767         * sysdeps/libm-i387/s_expm1.S: Moved to ...
7768         * sysdeps/i386/fpu/s_expm1.S: ...here.
7769         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7770         * sysdeps/i386/fpu/s_expm1f.S: ...here.
7771         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7772         * sysdeps/i386/fpu/s_expm1l.S: ...here.
7773         * sysdeps/libm-i387/s_fdim.S: Moved to ...
7774         * sysdeps/i386/fpu/s_fdim.S: ...here.
7775         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7776         * sysdeps/i386/fpu/s_fdimf.S: ...here.
7777         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7778         * sysdeps/i386/fpu/s_fdiml.S: ...here.
7779         * sysdeps/libm-i387/s_finite.S: Moved to ...
7780         * sysdeps/i386/fpu/s_finite.S: ...here.
7781         * sysdeps/libm-i387/s_finitef.S: Moved to ...
7782         * sysdeps/i386/fpu/s_finitef.S: ...here.
7783         * sysdeps/libm-i387/s_finitel.S: Moved to ...
7784         * sysdeps/i386/fpu/s_finitel.S: ...here.
7785         * sysdeps/libm-i387/s_floor.S: Moved to ...
7786         * sysdeps/i386/fpu/s_floor.S: ...here.
7787         * sysdeps/libm-i387/s_floorf.S: Moved to ...
7788         * sysdeps/i386/fpu/s_floorf.S: ...here.
7789         * sysdeps/libm-i387/s_floorl.S: Moved to ...
7790         * sysdeps/i386/fpu/s_floorl.S: ...here.
7791         * sysdeps/libm-i387/s_fma.S: Moved to ...
7792         * sysdeps/i386/fpu/s_fma.S: ...here.
7793         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7794         * sysdeps/i386/fpu/s_fmaf.S: ...here.
7795         * sysdeps/libm-i387/s_fmal.S: Moved to ...
7796         * sysdeps/i386/fpu/s_fmal.S: ...here.
7797         * sysdeps/libm-i387/s_fmax.S: Moved to ...
7798         * sysdeps/i386/fpu/s_fmax.S: ...here.
7799         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7800         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7801         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7802         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7803         * sysdeps/libm-i387/s_fmin.S: Moved to ...
7804         * sysdeps/i386/fpu/s_fmin.S: ...here.
7805         * sysdeps/libm-i387/s_fminf.S: Moved to ...
7806         * sysdeps/i386/fpu/s_fminf.S: ...here.
7807         * sysdeps/libm-i387/s_fminl.S: Moved to ...
7808         * sysdeps/i386/fpu/s_fminl.S: ...here.
7809         * sysdeps/libm-i387/s_frexp.S: Moved to ...
7810         * sysdeps/i386/fpu/s_frexp.S: ...here.
7811         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7812         * sysdeps/i386/fpu/s_frexpf.S: ...here.
7813         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7814         * sysdeps/i386/fpu/s_frexpl.S: ...here.
7815         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7816         * sysdeps/i386/fpu/s_ilogb.S: ...here.
7817         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7818         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7819         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7820         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7821         * sysdeps/libm-i387/s_llrint.S: Moved to ...
7822         * sysdeps/i386/fpu/s_llrint.S: ...here.
7823         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7824         * sysdeps/i386/fpu/s_llrintf.S: ...here.
7825         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7826         * sysdeps/i386/fpu/s_llrintl.S: ...here.
7827         * sysdeps/libm-i387/s_log1p.S: Moved to ...
7828         * sysdeps/i386/fpu/s_log1p.S: ...here.
7829         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7830         * sysdeps/i386/fpu/s_log1pf.S: ...here.
7831         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7832         * sysdeps/i386/fpu/s_log1pl.S: ...here.
7833         * sysdeps/libm-i387/s_log2.S: Moved to ...
7834         * sysdeps/i386/fpu/s_log2.S: ...here.
7835         * sysdeps/libm-i387/s_log2f.S: Moved to ...
7836         * sysdeps/i386/fpu/s_log2f.S: ...here.
7837         * sysdeps/libm-i387/s_log2l.S: Moved to ...
7838         * sysdeps/i386/fpu/s_log2l.S: ...here.
7839         * sysdeps/libm-i387/s_logb.S: Moved to ...
7840         * sysdeps/i386/fpu/s_logb.S: ...here.
7841         * sysdeps/libm-i387/s_logbf.S: Moved to ...
7842         * sysdeps/i386/fpu/s_logbf.S: ...here.
7843         * sysdeps/libm-i387/s_logbl.S: Moved to ...
7844         * sysdeps/i386/fpu/s_logbl.S: ...here.
7845         * sysdeps/libm-i387/s_lrint.S: Moved to ...
7846         * sysdeps/i386/fpu/s_lrint.S: ...here.
7847         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7848         * sysdeps/i386/fpu/s_lrintf.S: ...here.
7849         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7850         * sysdeps/i386/fpu/s_lrintl.S: ...here.
7851         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7852         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7853         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7854         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7855         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7856         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7857         * sysdeps/libm-i387/s_remquo.S: Moved to ...
7858         * sysdeps/i386/fpu/s_remquo.S: ...here.
7859         * sysdeps/libm-i387/s_remquof.S: Moved to ...
7860         * sysdeps/i386/fpu/s_remquof.S: ...here.
7861         * sysdeps/libm-i387/s_remquol.S: Moved to ...
7862         * sysdeps/i386/fpu/s_remquol.S: ...here.
7863         * sysdeps/libm-i387/s_rint.S: Moved to ...
7864         * sysdeps/i386/fpu/s_rint.S: ...here.
7865         * sysdeps/libm-i387/s_rintf.S: Moved to ...
7866         * sysdeps/i386/fpu/s_rintf.S: ...here.
7867         * sysdeps/libm-i387/s_rintl.S: Moved to ...
7868         * sysdeps/i386/fpu/s_rintl.S: ...here.
7869         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7870         * sysdeps/i386/fpu/s_scalbn.S: ...here.
7871         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7872         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7873         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7874         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7875         * sysdeps/libm-i387/s_significand.S: Moved to ...
7876         * sysdeps/i386/fpu/s_significand.S: ...here.
7877         * sysdeps/libm-i387/s_significandf.S: Moved to ...
7878         * sysdeps/i386/fpu/s_significandf.S: ...here.
7879         * sysdeps/libm-i387/s_significandl.S: Moved to ...
7880         * sysdeps/i386/fpu/s_significandl.S: ...here.
7881         * sysdeps/libm-i387/s_sin.S: Moved to ...
7882         * sysdeps/i386/fpu/s_sin.S: ...here.
7883         * sysdeps/libm-i387/s_sincos.S: Moved to ...
7884         * sysdeps/i386/fpu/s_sincos.S: ...here.
7885         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7886         * sysdeps/i386/fpu/s_sincosf.S: ...here.
7887         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7888         * sysdeps/i386/fpu/s_sincosl.S: ...here.
7889         * sysdeps/libm-i387/s_sinf.S: Moved to ...
7890         * sysdeps/i386/fpu/s_sinf.S: ...here.
7891         * sysdeps/libm-i387/s_sinl.S: Moved to ...
7892         * sysdeps/i386/fpu/s_sinl.S: ...here.
7893         * sysdeps/libm-i387/s_tan.S: Moved to ...
7894         * sysdeps/i386/fpu/s_tan.S: ...here.
7895         * sysdeps/libm-i387/s_tanf.S: Moved to ...
7896         * sysdeps/i386/fpu/s_tanf.S: ...here.
7897         * sysdeps/libm-i387/s_tanl.S: Moved to ...
7898         * sysdeps/i386/fpu/s_tanl.S: ...here.
7899         * sysdeps/libm-i387/s_trunc.S: Moved to ...
7900         * sysdeps/i386/fpu/s_trunc.S: ...here.
7901         * sysdeps/libm-i387/s_truncf.S: Moved to ...
7902         * sysdeps/i386/fpu/s_truncf.S: ...here.
7903         * sysdeps/libm-i387/s_truncl.S: Moved to ...
7904         * sysdeps/i386/fpu/s_truncl.S: ...here.
7905         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7906         * sysdeps/ieee754/k_standard.c: ...here.
7907         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7908         * sysdeps/ieee754/s_lib_version.c: ...here.
7909         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7910         * sysdeps/ieee754/s_matherr.c: ...here.
7911         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7912         * sysdeps/ieee754/s_signgam.c: ...here.
7913         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7914         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7915         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7916         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7917         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7918         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7919         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7920         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7921         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7922         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7923         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7924         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7925         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7926         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7927         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7928         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7929         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7930         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7931         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7932         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7933         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7934         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7935         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7936         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7937         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7938         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7939         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7940         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7941         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7942         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7943         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7944         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7945         * sysdeps/libm-ieee754/e_log.c: Moved to ...
7946         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7947         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7948         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7949         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7950         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7951         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7952         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7953         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7954         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7955         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7956         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7957         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7958         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7959         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7960         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7961         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7962         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7963         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7964         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7965         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7966         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7967         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7968         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7969         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7970         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7971         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7972         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7973         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7974         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7975         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7976         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7977         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7978         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7979         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7980         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7981         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7982         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7983         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7984         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7985         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7986         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7987         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7988         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7989         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7990         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7991         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7992         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7993         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7994         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7995         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7996         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7997         (__isnan): Comment above function says it returns 0 or 1, but it
7998         used to return 0 or -1.
7999         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
8000         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
8001         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
8002         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
8003         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
8004         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
8005         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
8006         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
8007         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
8008         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
8009         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
8010         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
8011         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
8012         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
8013         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
8014         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
8015         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
8016         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
8017         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
8018         * sysdeps/generic/s_nextafter.c: ...here.
8019         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
8020         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
8021         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
8022         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
8023         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
8024         * sysdeps/libm-ieee754/s_round.c: Moved to ...
8025         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
8026         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
8027         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
8028         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
8029         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
8030         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
8031         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
8032         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
8033         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
8034         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
8035         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
8036         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
8037         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
8038         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
8039         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
8040         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
8041         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
8042         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
8043         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
8044         * sysdeps/ieee754/mpn2flt.c: Moved to ...
8045         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
8046         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
8047         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
8048         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
8049         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
8050         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
8051         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
8052         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
8053         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
8054         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
8055         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
8056         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
8057         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
8058         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
8059         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
8060         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
8061         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
8062         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
8063         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
8064         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
8065         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
8066         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
8067         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
8068         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
8069         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
8070         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
8071         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
8072         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
8073         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
8074         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
8075         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
8076         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
8077         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
8078         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
8079         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
8080         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
8081         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
8082         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
8083         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
8084         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
8085         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
8086         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
8087         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
8088         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
8089         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
8090         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
8091         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
8092         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
8093         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
8094         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
8095         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
8096         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
8097         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
8098         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
8099         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
8100         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
8101         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
8102         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
8103         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
8104         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
8105         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
8106         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
8107         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
8108         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
8109         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
8110         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
8111         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
8112         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
8113         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
8114         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
8115         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
8116         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
8117         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
8118         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
8119         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
8120         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
8121         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
8122         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
8123         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
8124         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
8125         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
8126         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
8127         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
8128         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
8129         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
8130         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
8131         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
8132         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
8133         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
8134         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
8135         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
8136         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
8137         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
8138         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
8139         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
8140         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
8141         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
8142         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
8143         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
8144         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
8145         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
8146         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
8147         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
8148         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
8149         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
8150         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
8151         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
8152         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
8153         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
8154         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
8155         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
8156         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
8157         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
8158         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
8159         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
8160         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
8161         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
8162         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
8163         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
8164         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
8165         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
8166         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
8167         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
8168         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
8169         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
8170         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
8171         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
8172         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
8173         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
8174         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
8175         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
8176         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
8177         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
8178         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
8179         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
8180         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
8181         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
8182         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
8183         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
8184         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
8185         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
8186         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
8187         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
8188         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
8189         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
8190         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
8191         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
8192         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
8193         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
8194         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
8195         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
8196         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
8197         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
8198         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
8199         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
8200         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
8201         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
8202         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
8203         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
8204         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
8205         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
8206         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
8207         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
8208         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
8209         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
8210         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
8211         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
8212         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
8213         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
8214         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
8215         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
8216         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
8217         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
8218         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
8219         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
8220         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
8221         INSERT_WORDS.
8222         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
8223         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
8224         (__nearbyintl): Fix for exponents 2^30.
8225         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
8226         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
8227         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
8228         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
8229         (__rintl): Fix for exponents 2^30.
8230         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
8231         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
8232         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
8233         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
8234         (__scalbnl): Fix exponent for subnormal result.
8235         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
8236         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
8237         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
8238         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
8239         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
8240         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
8241         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
8242         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
8243         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
8244         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
8245         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
8246         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8247         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8248         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8249         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8250         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8251         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8252         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8253         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8254         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8255         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8256         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8257         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8258         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8259         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8260         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8261         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8262         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8263         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8264         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8265         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8266         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8267         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8268         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8269         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8270         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8271         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8272         * sysdeps/i386/fpu/s_scalbln.c: ...here.
8273         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8274         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8275         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8276         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8277         * sysdeps/libm-i387/t_exp.c: Moved to ...
8278         * sysdeps/i386/fpu/t_exp.c: ...here.
8279         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8280         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8281         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8282         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8283         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8284         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8285         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8286         * sysdeps/i386/fpu/s_isinfl.c: ...here.
8287         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8288         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8289         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8290         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8291         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8292         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8293         Fix exponent for subnormal result.
8294         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8295         * sysdeps/generic/s_nexttowardl.c: ...here.
8296         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8297         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8298         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8299         * sysdeps/i386/fpu/s_isnanl.c: ...here.
8300         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8301         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8302         Comment above function says it returns 0 or 1, but it used to return
8303         0 or -1.
8304         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8305         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8306         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8307         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8308         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8309         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8310         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8311         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8312         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8313         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8314         Cannot compare exponents with different biases without adjusting.
8315         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8316         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8317         Cannot compare exponents with different biases without adjusting.
8318         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8319         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8320         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8321         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8322         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8323         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8324         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8325         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8326         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8327         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8328         * sysdeps/libm-ieee754/Dist: Split into ...
8329         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8330         * sysdeps/ieee754/flt-32/Dist: ...this file.
8331
8332         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8333         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8334         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8335         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8336         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8337         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8338         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8339         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8340         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8341         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8342         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8343         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8344         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8345         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8346         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8347         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8348         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8349         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8350         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8351         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8352         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8353         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8354         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8356         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8357         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8358         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8359         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8360         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8361         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8362         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8363         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8364         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8365         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8366         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8367         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8368         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8369         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8370         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8371         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8372         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8373         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8374         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8375         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8376         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8377         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8378         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8379
8380         * sysdeps/generic/math_ldbl.h: New file.
8381         * sysdeps/generic/s_nexttowardf.c: New file.
8382         * sysdeps/generic/strtold.c: New file.
8383         * sysdeps/generic/ldbl2mpn.c: New file.
8384
8385         * math/machine/endian.h: Remove.
8386         * sysdeps/i386/fpu/Implies: Remove.
8387         * sysdeps/ieee754/Implies: Remove.
8388
8389         * math/math_private.h: Move long double macros to math_ldbl.h
8390         header.
8391
8392 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8393
8394         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8395         connections without a hostname set address to localhost address.
8396
8397 1999-07-11  H.J. Lu  <hjl@gnu.org>
8398
8399         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8400         nscd's own strong version of the get[a-z]*_r function.
8401         * nscd/hstcache.c: Likewise.
8402         * nscd/pwdcache.c: Likewise.
8403
8404 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8405
8406         * configure.in: Recognize 2.95 as gcc version number.
8407         Patch by Joel Klecker <jk@espy.org>.
8408
8409 1999-07-12  Andreas Schwab  <schwab@suse.de>
8410
8411         * elf/rtld.c (dl_main): When putting back the interpreter object
8412         handle the case where a missing object might occur in the list of
8413         objects but not in the search list when in trace mode.
8414
8415 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
8416
8417         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8418         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8419         _nss_hesiod_initgroups.
8420
8421 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8422
8423         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8424         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8425         Initialize it from &__data_start if defined, or else &_end.
8426
8427 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8428
8429         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8430         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8431
8432 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8433
8434         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8435
8436 1999-07-09  H.J. Lu  <hjl@gnu.org>
8437
8438         * Versions.def (GLIBC_2.1.2): Added.
8439
8440         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8441         old one as GLIBC_2.0.
8442         * nss/getXXbyYY_r.c: Likewise.
8443
8444         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8445         GLIBC_2.1.2.
8446         * inet/Versions (getaliasbyname_r, getaliasent_r,
8447         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8448         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8449         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8450         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8451         getservbyname_r): Likewise.
8452         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8453         * shadow/Versions (getspent_r, getspnam_r): Likewise.
8454
8455 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8456
8457         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8458         compilers.
8459         (__memset_cc): Likewise.
8460
8461         * sysdeps/generic/libc-start.c: For SUID binaries check whether
8462         the standard file descriptors are open.
8463         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8464
8465         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8466         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8467         range of mmap.  If not fail.
8468         Patches by Daniel Jacobowitz <dan@debian.org>.
8469
8470         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8471         before the relocation happened.
8472         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8473
8474         * Versions.def (libnsl): Add GLIBC_2.2.
8475         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8476
8477 1999-07-08  Cristian Gafton  <gafton@redhat.com>
8478
8479         * nis/yp_xdr.c (xdr_ypall): New function.
8480
8481 1999-07-09  Andreas Schwab  <schwab@suse.de>
8482
8483         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8484
8485         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8486
8487 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8488
8489         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8490         * hesiod/hesiod-grp.c: Add initgroups support.
8491         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8492
8493 1999-07-08  Andreas Schwab  <schwab@suse.de>
8494
8495         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8496
8497         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8498         negative numbers.
8499
8500         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8501         EOF.
8502         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8503
8504 1999-07-08  Andreas Schwab  <schwab@suse.de>
8505
8506         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8507
8508 1999-07-08  Andreas Schwab  <schwab@suse.de>
8509
8510         * libio/fileno.c: Return -1 instead of EOF and set errno if the
8511         stream is not a real file stream.
8512
8513 1999-07-08  Andreas Schwab  <schwab@suse.de>
8514
8515         * manual/charset.texi: Fix typos.
8516
8517 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8518
8519         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8520
8521 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
8522
8523         * dlfcn: New directory.  Move the following files from elf:
8524         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8525         dlopenold.c, dlsym.c, dlvsym.c.
8526         * dlfcn/Makefile: New file.
8527         * dlfcn/Versions: New file.
8528         * dlfcn/dlsym.c: All ELF-specific code split out to new
8529         function _dl_sym.
8530         * dlfcn/dlvsym.c: All ELF-specific code split out to new
8531         function _dl_vsym.
8532         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
8533         implemented here.
8534
8535         * dlfcn/dladdr.c: Remove all references to ELF data structures
8536         or headers.
8537         * dlfcn/dlclose.c: Likewise.
8538         * dlfcn/dlerror.c: Likewise.
8539         * dlfcn/dlopen.c: Likewise.
8540         * dlfcn/dlopenold.c: Likewise.
8541
8542         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8543         yes, empty otherwise.
8544         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8545         depending on build-shared.
8546         (subdirs): Add $(dlfcn).
8547         (rpath-dirs): Add dlfcn.
8548         * elf/Makefile: Remove all references to libdl or its
8549         components, except the ones relating to the test cases.
8550         (routines): Add dl-sym.
8551         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8552         (libdl): Delete.
8553
8554         * elf/dl-close.c (_dl_close): Change argument to void *.
8555         * elf/dl-open.c (_dl_open): Change return type to void *.
8556         * elf/eval.c: Removed.
8557         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8558         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8559         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
8560         _CALL_DL_FCT macro.
8561         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8562         Include real header from dlfcn directory.
8563         * include/ldsodefs.h: Removed.
8564
8565         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8566         * nss/getXXbyYY_r.c: Likewise.
8567         * nss/getXXent_r.c: Likewise.
8568         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
8569         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
8570         * iconv/skeleton.c: Don't include ldsodefs.h.
8571         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
8572
8573 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8574
8575         * sysdeps/generic/setenv.c: Describe problem.
8576
8577         * malloc/malloc.c (request2size): Also set errno if failing.
8578
8579         * malloc/malloc.c (request2size): Take care of overflow in
8580         addition.
8581
8582         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
8583         (NULL, != 0) correctly.
8584
8585         * elf/dl-load.c: Use a few more __builtin_expect.
8586
8587         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8588         is large enough.
8589
8590 1999-07-07  Andreas Schwab  <schwab@suse.de>
8591
8592         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8593         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8594         (_PATH_DEVPTMX): Use _PATH_DEV.
8595
8596 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8597
8598         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
8599         * malloc/Makefile (tests): Add tst-malloc.
8600
8601 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8602
8603         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8604         convention.
8605
8606         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8607         motherboards.
8608         Patch by Jay Estabrook.
8609
8610         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8611         ldd for SPARC.
8612         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8613         Patch by Cristian Gafton.
8614
8615 1999-07-02  Cristian Gafton  <gafton@redhat.com>
8616
8617         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8618         instead of "return NULL" to make C++ happy.
8619
8620 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
8621
8622         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8623         allowed by the file access mode of the open file.
8624
8625 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8626
8627         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8628         macros defined.
8629
8630 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
8631
8632         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8633         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8634         * sysdeps/sparc/sparc64/rshift.S: Likewise.
8635         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8636
8637 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8638
8639         * malloc/malloc.c (request2size): Check for overflow and return
8640         NULL whenever it is encountered.
8641
8642 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
8643
8644         * sysdeps/posix/tempname.c (__gen_tempname):   Add
8645         ability to create directories.  Replace OPENIT and LARGEFILE
8646         args with a single flags parameter.
8647         * sysdeps/generic/tempname.c: Likewise.
8648         * include/stdio.h: Adjust prototype of __gen_tempname to
8649         match.  Define symbolic constants for second argument.
8650
8651         * misc/mkdtemp.c: New file, provides new function mkdtemp().
8652         * stdlib/stdlib.h: Prototype it.
8653         * misc/Versions: Export it.
8654         * misc/Makefile (routines): Add mktemp.
8655         * manual/filesys.texi: Document it.
8656
8657         * misc/mktemp.c: Adjust call of __gen_tempname to match new
8658         convention.
8659         * misc/mkstemp.c: Likewise.
8660         * stdio-common/tempnam.c: Likewise.
8661         * stdio-common/tmpfile.c: Likewise.
8662         * stdio-common/tmpfile64.c: Likewise.
8663         * stdio-common/tmpnam.c: Likewise.
8664         * stdio-common/tmpnam_r.c: Likewise.
8665
8666 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
8667
8668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8669         R_SPARC_OLO10 relocations.
8670         * elf/elf.h (R_SPARC_OLO10): Fix comment.
8671
8672 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
8673
8674         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
8675         doesn't belong in the tests, but in the wordexp implementation.
8676
8677         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8678         split fields.
8679
8680 1999-07-01  Cristian Gafton  <gafton@redhat.com>
8681
8682         * time/strptime.c (strptime): Initialize the tm struct first to avoid
8683         returning bogus results on incomplete data.
8684         (strptime_internal): day_of_the_week() requres both tm_mon and
8685         tm_mday to be initialized.
8686         Compute them first if they are not given.
8687         (strptime_internal): (have_mon, have_mday): New variables.
8688
8689 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8690
8691         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8692
8693 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8694
8695         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8696         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8697
8698 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8699
8700         * posix/wordexp.c (parse_tilde): Handle failing call to
8701         get.*_r functions correctly for non-existing entry.
8702         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8703         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8704
8705 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8706
8707         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8708         getxxbyYY_r functions correctly for non-existing entry.
8709         * sunrpc/getrpcport.c: Likewise.
8710         * sunrpc/clnt_simp.c: Likewise.
8711         * inet/rexec.c: Likewise.
8712         * sunrpc/clnt_gen.c: Likewise.
8713         * inet/rcmd.c: Likewise.
8714         * sysdeps/generic/glob.c: Likewise.
8715
8716 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8717
8718         * pwd/Makefile (tests): Add rules for tst-getpw.
8719
8720         * pwd/tst-getpw.c: New program to test getpw.
8721
8722 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8723
8724         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8725         correctly.
8726
8727 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8728
8729         * manual/arith.texi (System V Number Conversion): Fix the
8730         description which confused pointer and value to pointer.
8731         Reported by Andries.Brouwer@cwi.nl.
8732
8733 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8734
8735         * pwd/getpw.c (__getpw): Check for NULL result pointer.
8736
8737 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8738
8739         * manual/users.texi (Lookup User): Document POSIX return
8740         semantics for getpwuid_r and getgrgid_r.
8741
8742         * manual/socket.texi (Host Names): Document that the result
8743         pointer is null in case of error or host not found and fix a
8744         typo.  Give a small example.
8745
8746 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8747
8748         * pwd/getpw.c: Add warning since no buffer size is given and
8749         therefore no overrun tests are possible.
8750
8751 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8752
8753         * pwd/pwd.h: Add getpw prototype declaration.
8754
8755 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8756
8757         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8758         * wcsmbs/wcschr.c: Likewise.
8759
8760 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
8761
8762         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8763         returns.
8764         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8765         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8766         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8767
8768         * elf/dl-dst.h: Fix typo.
8769         * elf/dl-open.c: Likewise.
8770
8771 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
8772
8773         * elf/dl-libc.c: New file, provides three functions:
8774         __libc_dlopen, __libc_dlclose, __libc_dlsym.
8775         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
8776         * elf/Makefile (routines): Add dl-libc.c.
8777         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8778         argument to void *.
8779         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8780
8781         * iconv/gconv.c: Include dlfcn.h.
8782         * iconv/gconv_db.c: Likewise.
8783         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
8784
8785         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8786         `handle' to a void *.
8787         (__gconv_find_func): Delete prototype.
8788
8789         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
8790         dlerror_run and related functions and structs.  Use
8791         __libc_dlopen, __libc_dlsym, __libc_dlclose.
8792         * nss/nsswitch.c: Likewise.
8793
8794 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
8795
8796         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8797         function correctly.
8798
8799         * sunrpc/getrpcport.c: Test for gethostbyname_r function
8800         correctly.
8801
8802         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8803
8804         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8805         functions correctly.
8806
8807         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8808
8809         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
8810         file reading a bit.
8811
8812         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8813
8814 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8815
8816         * manual/string.texi (Copying and Concatenation): Mention that
8817         strndup is a GNU extension.
8818
8819 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8820
8821         * pwd/getpw.c (__getpw): Fix check for error return.
8822
8823 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8824
8825         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8826         occurence of the aux object start with the current list entry, not
8827         the new one.  Adjust tail pointer in the unique list.  Explain how
8828         the meaning of the variables changes [PR libc/1168].
8829
8830 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8831
8832         * sysdeps/m68k/fpu/Dist: New file.
8833
8834 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8835
8836         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8837         definitions...
8838         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
8839         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8840         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8841         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8842         * sysdeps/m68k/fpu/e_pow.c: Likewise.
8843         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8844         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8845         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8846         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8847         * sysdeps/m68k/fpu/s_csin.c: Likewise.
8848         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8849         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8850         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8851         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8852         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8853         * sysdeps/m68k/fpu/s_modf.c: Likewise.
8854
8855 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
8856
8857         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8858         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8859         _EXTERN_INLINE, use a macro specific to each file,
8860         _HURD_FD_H_EXTERN_INLINE and the like.
8861         * hurd/Makefile (inline-headers): New variable.
8862         (routines): Remove hurdinline.  Add $(inlines).
8863         (inlines): New variable.
8864         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8865         (generated): Append those here.
8866         * hurd/hurdinline.c: File removed.
8867
8868         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8869
8870         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8871
8872 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8873
8874         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8875
8876 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
8877
8878         * string/bits/string2.h (strnlen): Remove extra prototype.
8879
8880 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8881
8882         * manual/filesys.texi (Working on Directory Trees): Fix typos.
8883         Reported by Andries.Brouwer@cwi.nl.
8884
8885 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
8886
8887         * nscd/connections.c (handle_request): Use correct type for optlen
8888         variable.
8889
8890         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8891         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8892
8893 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
8894
8895         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8896         * nscd/pwdcache.c: Likewise.
8897         * nscd/hstcache.c: Likewise.
8898
8899 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8900
8901         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8902
8903         * posix/getopt.h: Include stdio.h.
8904
8905         * manual/arith.texi: Document restriction of ndigit parameter of
8906         ecvt and friends.
8907         * misc/efgcvt.c: Define NDIGIT_MAX.
8908         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8909         Do not dynamically allocate the static buffers.  They are small enough.
8910         * misc/efgcvt_r.c: Define NDIGIT_MAX.
8911         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8912         * misc/qefgcvt.c: Define NDIGIT_MAX.
8913         * misc/qefgcvt_r.c: Likewise.
8914         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8915
8916 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
8917
8918         * libio/stdio.h: Define stdin, stdout, stderr as macros.
8919         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8920         These are *pragmas* not macros.
8921         * wcsmbs/wchar.h: Fix comment.
8922
8923         * grp/grp.h: Use __foo_t_defined convention to typedef things
8924         only once.
8925         * io/sys/stat.h: Likewise.
8926         * libio/stdio.h: Likewise.
8927         * posix/unistd.h: Likewise.
8928         * posix/sys/types.h: Likewise.
8929         * posix/sys/wait.h: Likewise.
8930         * pwd/pwd.h: Likewise.
8931         * signal/signal.h: Likewise.
8932         * sysdeps/generic/stdint.h: Likewise.
8933         * sysdeps/gnu/utmpx.h: Likewise.
8934         * termios/termios.h: Likewise.
8935
8936 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8937
8938         * stdio/fputc.c: Don't define alias if fputc is defined as a
8939         macro.
8940         * stdio/putc.c: Define weak alias here since it is not done
8941         anymore in fputc.c.
8942
8943 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8944
8945         * assert/assert.h: Don't produce `defined' as part of macro
8946         expansion.
8947
8948 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
8949
8950         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8951         OFFSET argument of (off_t) -1.
8952         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8953         OFFSET argument of (off_t) -1.
8954
8955         * sysdeps/mach/hurd/pwrite.c: New file.
8956         * sysdeps/mach/hurd/pread.c: New file.
8957
8958         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8959         pass it in the RPC instead of always -1.
8960         * hurd/fd-write.c (_hurd_fd_write): Likewise.
8961         * hurd/hurd/fd.h: Update decls.
8962
8963 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8964
8965         * libio/wscanf.c: Include <wchar.h> for prototype.
8966
8967 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
8968
8969         * manual/io.texi. Fix typos.
8970         * manual/stdio.texi: Likewise.
8971         Patches by Brian Youmans <3diff@gnu.org>.
8972
8973 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
8974
8975         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8976         bits of two words differ.
8977
8978 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8979
8980         * libio/Makefile (routines): Add putwchar and putwchar_u.
8981
8982         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8983         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
8984         stdout.  Fix parameter name.
8985
8986         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8987         * libio/getchar_u.c: Likewise.
8988
8989         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8990
8991 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8992
8993         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8994         macro expansion---it's undefined.  Properly parenthesize
8995         substituted parameters.
8996         (__GLIBC_PREREQ): Likewise.
8997
8998 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
8999
9000         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
9001         weird effects.
9002
9003         * stdlib/longlong.h: Provide __P definition if not already
9004         defined.
9005
9006         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
9007
9008 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
9009
9010         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
9011
9012 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9013
9014         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
9015
9016 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9017
9018         * stdio-common/vfprintf.c (group_member): Make parameters and
9019         return types pointers to CHAR_T instead of UCHAR_T.
9020         (vfprintf): Change type of work_buffer, workend and string to
9021         CHAR_T pointer/array.
9022         (process_arg, process_string_arg): Adjust/remove casts.  Add
9023         missing use of L_ macro.
9024         (printf_unknown): Add missing uses of L_ macro.
9025
9026 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9027
9028         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
9029         warning.
9030
9031 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9032
9033         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
9034         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
9035         (__wunderflow): Likewise.
9036         (_IO_switch_to_wget_mode): Likewise.
9037         (_IO_init_wmarker): Likewise.
9038
9039         * libio/wfileops.c (_IO_wfile_seekoff): Call
9040         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
9041         (_IO_wfile_jumps): Fix pbackfail entry.
9042
9043         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
9044         function if the stream is currently unoriented.
9045
9046 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
9047
9048         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
9049         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
9050         __gnuc_va_list in v*w(printf|scanf) prototypes.
9051
9052 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9053
9054         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
9055         1999-03-29 to iopopen also here.
9056         Reported by Richard Braakman <dark@xs4all.nl>.
9057
9058 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9059
9060         * include/features.h: Use __GNUC_PREREQ.
9061         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9062
9063 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9064
9065         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
9066         Change EOF to WEOF and remove cast.
9067         (UNGETC): Remove macro.
9068         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
9069         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
9070         Change ISASCII to isascii and MBRLEN to mbrlen.
9071         (parse_one_spec): Compare info.spec always against wchar_t
9072         values.
9073         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
9074         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
9075         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
9076
9077 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9078
9079         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
9080         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
9081         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
9082         oldiofsetpos64 only if doing versioning.
9083
9084 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
9085
9086         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
9087
9088 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9089
9090         * libio/libio.h: Fix last patch.
9091
9092 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
9093
9094         * libio/libio.h (_IO_putwc): Correct type of first argument.
9095         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
9096         putwc_unlocked, putwchar_unlocked): Likewise.
9097         * libio/fputwc.c: Likewise.
9098         * libio/fputwc_unlocked.c: Likewise.
9099         * libio/putwc.c: Likewise.
9100         * libio/putwc_unlocked.c: Likewise.
9101         * libio/putwchar.c: Likewise.
9102         * libio/putwchar_unlocked.c: Likewise.
9103
9104 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
9105
9106         * sysdeps/gnu/siglist.h: File moved to ...
9107         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
9108         any platform, since it just associates the SIG* macros with text names
9109         and descriptions. For any signal macros do not exist on every
9110         platform, we can use #ifdef tests here and still use this single
9111         common file for all platforms.
9112         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
9113         should be usable for all platforms after the binary compatibility
9114         stuff in the current sysdeps/gnu version is no longer required.
9115         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
9116         * sysdeps/generic/make_siglist.c: File removed.
9117         * sysdeps/mach/hurd/siglist.h: Use #include_next.
9118         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
9119
9120 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
9121
9122         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
9123         * sysdeps/gnu/siglist.c: ... here.
9124         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
9125         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
9126         * sysdeps/gnu/siglist.h: New file, contents from linux version.
9127         Add entry for SIGLOST protected by #ifdef.
9128         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
9129         and define OLD_SIGLIST_SIZE_STR.
9130         * sysdeps/mach/hurd/siglist.h: New file, likewise.
9131
9132 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
9133
9134         * include/features.h: Define new macros __GNUC_PREREQ and
9135         __GLIBC_PREREQ which can be used to test the version of gcc
9136         and glibc respectively.
9137
9138         * assert/assert.h: Use __GNUC_PREREQ.
9139         * intl/libintl.h: Likewise.
9140         * math/complex.h: Likewise.
9141         * math/tgmath.h: Likewise.
9142         * misc/sys/cdefs.h: Likewise.
9143         * posix/sys/types.h: Likewise.
9144         * socket/sys/socket.h: Likewise.
9145         * string/bits/string2.h: Likewise.
9146         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
9147         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9148
9149 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
9150
9151         * include/libintl.h: Declare _libc_intl_domainname here.
9152         Define _ and N_ here.
9153         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
9154         define _ and N_.  Don't declare _libc_intl_domainname.
9155         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
9156
9157         * db2/config.h: Don't include sys/stat.h or define
9158         HAVE_ST_BLKSIZE here...
9159         * db2/compat.h: ...do it here.
9160
9161         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
9162         other headers.
9163         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
9164         * iconv/iconv.c: Include stddef.h for NULL.
9165         * malloc/malloc.h: Include features.h.
9166         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
9167
9168         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
9169         into the generated file.
9170         * sysdeps/gnu/errlist.awk: Likewise.
9171         * sysdeps/gnu/errlist.c: Rebuilt.
9172
9173         * assert/assert-perr.c: Include libintl.h.
9174         * assert/assert.c: Likewise.
9175         * elf/dl-open.c: Likewise.
9176         * elf/dlsym.c: Likewise.
9177         * elf/dlvsym.c: Likewise.
9178         * iconv/iconv_prog.c: Likewise.
9179         * inet/rcmd.c: Likewise.
9180         * inet/ruserpass.c: Likewise.
9181         * locale/programs/charset.c: Likewise.
9182         * locale/programs/ld-collate.c: Likewise.
9183         * locale/programs/ld-ctype.c: Likewise.
9184         * locale/programs/ld-messages.c: Likewise.
9185         * locale/programs/ld-monetary.c: Likewise.
9186         * locale/programs/ld-numeric.c: Likewise.
9187         * locale/programs/ld-time.c: Likewise.
9188         * locale/programs/locfile.c: Likewise.
9189         * locale/programs/repertoire.c: Likewise.
9190         * login/programs/database.c: Likewise.
9191         * login/programs/request.c: Likewise.
9192         * malloc/mcheck.c: Likewise.
9193         * misc/error.c: Likewise.
9194         * nis/nis_call.c: Likewise.
9195         * nis/nis_callback.c: Likewise.
9196         * nis/nis_error.c: Likewise.
9197         * nis/nis_local_names.c: Likewise.
9198         * nis/nis_print.c: Likewise.
9199         * nis/nis_print_group_entry.c: Likewise.
9200         * nis/ypclnt.c: Likewise.
9201         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9202         * nscd/cache.c: Likewise.
9203         * nscd/connections.c: Likewise.
9204         * nscd/grpcache.c: Likewise.
9205         * nscd/hstcache.c: Likewise.
9206         * nscd/nscd_conf.c: Likewise.
9207         * nscd/nscd_stat.c: Likewise.
9208         * nscd/pwdcache.c: Likewise.
9209         * posix/id.c: Likewise.
9210         * resolv/herror.c: Likewise.
9211         * stdio-common/psignal.c: Likewise.
9212         * string/strsignal.c: Likewise.
9213         * sunrpc/auth_unix.c: Likewise.
9214         * sunrpc/clnt_perr.c: Likewise.
9215         * sunrpc/clnt_raw.c: Likewise.
9216         * sunrpc/clnt_tcp.c: Likewise.
9217         * sunrpc/clnt_udp.c: Likewise.
9218         * sunrpc/clnt_unix.c: Likewise.
9219         * sunrpc/get_myaddr.c: Likewise.
9220         * sunrpc/pm_getmaps.c: Likewise.
9221         * sunrpc/pmap_clnt.c: Likewise.
9222         * sunrpc/pmap_rmt.c: Likewise.
9223         * sunrpc/rpc_main.c: Likewise.
9224         * sunrpc/rpc_scan.c: Likewise.
9225         * sunrpc/svc_run.c: Likewise.
9226         * sunrpc/svc_simple.c: Likewise.
9227         * sunrpc/svc_tcp.c: Likewise.
9228         * sunrpc/svc_udp.c: Likewise.
9229         * sunrpc/svc_unix.c: Likewise.
9230         * sunrpc/xdr_rec.c: Likewise.
9231         * sunrpc/xdr_ref.c: Likewise.
9232         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
9233         * sysdeps/posix/gai_strerror.c: Likewise.
9234         * sysdeps/unix/siglist.c: Likewise.
9235         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
9236         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9237         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
9238         * timezone/zic.c: Likewise.
9239
9240 1999-06-18  H.J. Lu  <hjl@gnu.org>
9241
9242         * localedata/Makefile (charmaps): Exclude SCCS.
9243         (locales): Likewise.
9244         (repertoiremaps): Likewise.
9245
9246 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
9247
9248         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9249         * sysdeps/generic/bsd-setjmp.c: Likewise.
9250
9251         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9252
9253         * iconv/gconv_open.c: Include string.h for memset prototype.
9254
9255         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9256         definitions.
9257
9258         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9259         assignment to avoid warning on 64bit platforms.
9260
9261 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9262
9263         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9264
9265         * nss/getXXbyYY_r.c: Return error code not -1.
9266         * nss/getXXent_r.c: Likewise.
9267         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9268         small.
9269         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9270         value > 0 for error.
9271         * nscd/nscd_gethst_r.c: Likewise.
9272         * nscd/nscd_getpw_r.c: Likewise.
9273
9274 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9275
9276         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9277         disciplines.
9278
9279 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9280
9281         * nscd/nscd_nischeck.c: Fix typos.
9282
9283 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9284
9285         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9286         always when oact is NULL.
9287         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9288
9289 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9290
9291         * math/libm-test.c (jn_test): Adjust delta.
9292
9293 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9294
9295         * libio/vwprintf.c: Include <wchar.h> for prototypes.
9296         * libio/wprintf.c: Likewise.
9297
9298 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9299
9300         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9301         to not write beyond allocated memory.
9302         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9303
9304 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9305
9306         * malloc/mtrace.c: Keep lock while printing output lines.
9307         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9308
9309 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
9310
9311         * configure.in: Add warnings about broken code.
9312
9313         * Versions.def: Add GLIBC_2.2 for libc.
9314
9315         * iconv/gconv.h: Make header suitable for inclusion in public header
9316         by protecting all names with __.
9317         * iconv/gconv.c: Adapt for symbol name changes.
9318         * iconv/gconv.h: Likewise.
9319         * iconv/gconv_builtin.c: Likewise.
9320         * iconv/gconv_close.c: Likewise.
9321         * iconv/gconv_db.c: Likewise.
9322         * iconv/gconv_dl.c: Likewise.
9323         * iconv/gconv_int.h: Likewise.
9324         * iconv/gconv_open.c: Likewise.
9325         * iconv/gconv_simple.c: Likewise.
9326         * iconv/iconv.c: Likewise.
9327         * iconv/iconv_close.c: Likewise.
9328         * iconv/iconv_open.c: Likewise.
9329         * iconv/loop.c: Likewise.
9330         * iconv/skeleton.c: Likewise.
9331         * iconvdata/8bit-gap.c: Likewise.
9332         * iconvdata/8bit-generic.c: Likewise.
9333         * iconvdata/ansi_x3.110.c: Likewise.
9334         * iconvdata/big5.c: Likewise.
9335         * iconvdata/cns11643.h: Likewise.
9336         * iconvdata/cns11643l1.h: Likewise.
9337         * iconvdata/euc-cn.c: Likewise.
9338         * iconvdata/euc-jp.c: Likewise.
9339         * iconvdata/euc-kr.c: Likewise.
9340         * iconvdata/euc-tw.c: Likewise.
9341         * iconvdata/gb2312.h: Likewise.
9342         * iconvdata/iso-2022-jp.c: Likewise.
9343         * iconvdata/iso-2022-kr.c: Likewise.
9344         * iconvdata/iso646.c: Likewise.
9345         * iconvdata/iso8859-1.c: Likewise.
9346         * iconvdata/iso_6937-2.c: Likewise.
9347         * iconvdata/iso_6937.c: Likewise.
9348         * iconvdata/jis0201.h: Likewise.
9349         * iconvdata/jis0208.h: Likewise.
9350         * iconvdata/jis0212.h: Likewise.
9351         * iconvdata/johab.c: Likewise.
9352         * iconvdata/ksc5601.h: Likewise.
9353         * iconvdata/sjis.c: Likewise.
9354         * iconvdata/t.61.c: Likewise.
9355         * iconvdata/uhc.c: Likewise.
9356         * stdlib/mblen.c: Likewise.
9357         * stdlib/mbtowc.c: Likewise.
9358         * stdlib/wctomb.c: Likewise.
9359         * wcsmbs/btowc.c: Likewise.
9360         * wcsmbs/mbrtowc.c: Likewise.
9361         * wcsmbs/mbsnrtowcs.c: Likewise.
9362         * wcsmbs/mbsrtowcs.c: Likewise.
9363         * wcsmbs/wchar.h: Likewise.
9364         * wcsmbs/wcrtomb.c: Likewise.
9365         * wcsmbs/wcsmbsload.c: Likewise.
9366         * wcsmbs/wcsmbsload.h: Likewise.
9367         * wcsmbs/wcsnrtombs.c: Likewise.
9368         * wcsmbs/wcsrtombs.c: Likewise.
9369         * wcsmbs/wctob.c: Likewise.
9370
9371         * include/limits.h (MB_LEN_MAX): Increase to 16.
9372
9373         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
9374         _G_iconv_t.
9375         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9376         * include/wchar.h: Change mbstate_t to __mbstate_t.
9377
9378         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9379         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9380         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9381         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9382         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9383         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9384         and iofwide.
9385         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9386         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9387         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9388         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9389         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9390         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9391         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9392         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9393         GLIBC_2.2 for libc.
9394         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
9395         Extend _IO_file contain pointer to codecvt, widedata and mode.
9396         (_IO_getwc_unlocked): New macro.
9397         (_IO_putwc_unlocked): New macro.
9398         (_IO_fwide): New macro.
9399         * libio/libioP.h: Add new prototypes and adjust existing declarations.
9400         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9401         buffers based on mode.
9402         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9403         oriented.
9404         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9405         flag to be enough to signal unallocated buffer.  For wide oriented
9406         stream don't make it linebuffered.  Don't use _IO_do_flush, use
9407         _IO_new_do_write directly.
9408         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9409         (_IO_file_seek): Likewise.
9410         * libio/genops.c (_IO_least_marker): Make global.
9411         (__underflow): Orient stream if not already done.
9412         (__uflow): Likewise.
9413         (_IO_default_seekpos): Change to type _IO_off64_t.
9414         (_IO_default_seekoff): Likewise.
9415         (_IO_default_seek): Likewise.
9416         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
9417         in initialization.
9418         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
9419         to use _IO_off64_t.
9420         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
9421         char stream.
9422         * libio/ftello64.c: Likewise.
9423         * libio/ioftell.c: Likewise.
9424         * libio/iofopncook.c: Likewise.
9425         * libio/ioseekoff.c: Likewise.
9426         * libio/ioseekpos.c: Likewise.
9427         * libio/oldfileops.c: Likewise.
9428         * libio/iofgetpos.c: Store state of conversion if necessary.
9429         * libio/iofgetpos64.c: Likewise.
9430         * libio/iofsetpos.c: Restore conversion state if necessary.
9431         * libio/iofsetpos64.c: Likewise.
9432         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9433         * libio/iofopen.c: Likewise.
9434         * libio/iofopen64.c: Likewise.
9435         * libio/iopopen.c: Likewise.
9436         * libio/iovdprintf.c: Likewise.
9437         * libio/iovsprintf.c: Likewise.
9438         * libio/iovsscanf.c: Likewise.
9439         * libio/memstream.c: Likewise.
9440         * libio/obprintf.c: Likewise.
9441         * libio/iofputs.c: Orient stream if not already happened.
9442         * libio/iofputs_u.c: Likewise.
9443         * libio/iofwrite.c: Likewise.
9444         * libio/iofwrite_u.c: Likewise.
9445         * libio/ioputs.c: Likewise.
9446         * libio/iosetbuffer.c: Handle not yet oriented stream.
9447         * libio/iosetvbuf.c: Likewise.
9448         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9449         * libio/stdfiles.c: Likewise.
9450         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9451         failed allocation.
9452         (_IO_str_seekoff): Use _IO_off64_t.
9453         * libio/vasprintf.c: Pre-orient stream.
9454         * libio/vsnprintf.c: Likewise.
9455         * libio/fputwc.c: New file.
9456         * libio/fputwc_u.c: New file.
9457         * libio/fwprintf.c: New file.
9458         * libio/fwscanf.c: New file.
9459         * libio/getwc.c: New file.
9460         * libio/getwc_u.c: New file.
9461         * libio/getwchar.c: New file.
9462         * libio/getwchar_u.c: New file.
9463         * libio/iofgetws.c: New file.
9464         * libio/iofgetws_u.c: New file.
9465         * libio/iofputws.c: New file.
9466         * libio/iofputws_u.c: New file.
9467         * libio/iofwide.c: New file.
9468         * libio/iogetwline.c: New file.
9469         * libio/ioungetwc.c: New file.
9470         * libio/iovswscanf.c: New file.
9471         * libio/iowpadn.c: New file.
9472         * libio/oldiofgetpos.c: New file.
9473         * libio/oldiofgetpos64.c: New file.
9474         * libio/oldiofsetpos.c: New file.
9475         * libio/oldiofsetpos64.c: New file.
9476         * libio/putwc.c: New file.
9477         * libio/putwc_u.c: New file.
9478         * libio/putwchar.c: New file.
9479         * libio/putwchar_u.c: New file.
9480         * libio/swprintf.c: New file.
9481         * libio/swscanf.c: New file.
9482         * libio/tst_swprintf.c: New file.
9483         * libio/tst_swscanf.c: New file.
9484         * libio/tst_wprintf.c: New file.
9485         * libio/tst_wscanf.c: New file.
9486         * libio/tst_wscanf.input: New file.
9487         * libio/vswprintf.c: New file.
9488         * libio/vwprintf.c: New file.
9489         * libio/vwscanf.c: New file.
9490         * libio/wfiledoalloc.c: New file.
9491         * libio/wfileops.c: New file.
9492         * libio/wgenops.c: New file.
9493         * libio/wprintf.c: New file.
9494         * libio/wscanf.c: New file.
9495         * libio/wstrops.c: New file.
9496         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9497         vfwprintf, and vfwscanf.
9498         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9499         make global.
9500         * stdio-common/_itowa.c: New file.
9501         * stdio-common/_itowa.h: New file.
9502         * stdio-common/itoa-digits.c: Minimal optimization.
9503         * stdio-common/itowa-digits.c: New file.
9504         * stdio-common/printf-parse.h: Allow use in wide character context.
9505         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9506         * stdio-common/printf.h (printf_info): Add wide bit.
9507         * stdio-common/printf_fp.c: Determine from wide bit whether stream
9508         is wide oriented or not.
9509         * stdio-common/printf_size.c: Likewise.
9510         * sysdeps/generic/printf_fphex.c: Likewise.
9511         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9512         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9513         context.
9514         * stdio-common/vfscand.c: Likewise.
9515         * stdio-common/vfwprintf.c: New file.
9516         * stdio-common/vfwscanf.c: New file.
9517
9518         * time/Makefile (routines): Add wcsftime.
9519         (tests): Add tst_wcsftime.
9520         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9521         * time/strftime.c: Make usable as wcsftime.
9522         * time/wcsftime.c: New file.
9523         * time/tst_wcsftime.c: New file.
9524
9525         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9526         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9527         * wcsmbs/wcschrnul.c: New file.
9528         * wcsmbs/wmemcpy.c: New file.
9529         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9530         * wcsmbs/wmemmove.c: Likewise for wmemmove.
9531
9532         * manual/stdio.texi: Document is_char and wide element if printf_info.
9533
9534         * manual/time.texi: Document wcsftime.
9535
9536         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9537         __wmemmove, __wcschrnul, and __vfwscanf.
9538
9539         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9540         * locale/C-time.c: Adapt for above change.
9541         * locale/categories.def: Likewise.
9542         * locale/localeinfo.h: Likewise.
9543         * localedata/Makefile: Don't run tests for now.
9544
9545         * manual/errno.texi: Fix typos.
9546         * manual/memory.texi: Likewise.
9547         * manual/ctype.texi: Likewise.
9548         Patches by Brian Youmans <3diff@gnu.org>.
9549
9550 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9551
9552         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9553
9554 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9555
9556         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9557         word order.
9558         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9559         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9560
9561 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9562
9563         * db2/db/db.c: Restore __nss_db_open alias.
9564         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9565         include.
9566         * db2/os/os_rw.c (__os_write): Maintain const correctness.
9567         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9568
9569 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9570
9571         * stdio-common/printf-parse.h (parse_one_spec): Don't set
9572         is_longlong if not necessary.
9573
9574 1999-06-15  H.J. Lu  <hjl@gnu.org>
9575
9576         * Make-dist (sysdep_dirs): Exclude SCCS.
9577         * MakeTAGS (sysdep_dirs): Likewise.
9578
9579 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9580
9581         * posix/regex.c (re_error_msgid): Remove extra commas.
9582
9583 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
9584
9585         * stdlib/tst-strtoll.c: New file.
9586         * stdlib/Makefile (tests): Add tst-strtoll.c
9587         * stdlib/strtol.c: It is not generally true that if
9588         (unsigned)a*(unsigned)b overflows, then the result is
9589         less than 'a'.
9590
9591 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
9592
9593         * nscd/connections.c (handle_request): Only root is allowed to
9594         send GETSTAT request in non secure mode.
9595         * nscd/nscd.c: Print error message if other then root try to
9596         use getstat.
9597
9598 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9599
9600         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9601
9602 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9603
9604         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9605         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9606
9607 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9608
9609         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9610         for character to search, to help the compiler.
9611         * sysdeps/generic/strchrnul.c: Likewise.
9612         * sysdeps/generic/memchr.c: Likewise.
9613         * sysdeps/generic/memccpy.c: Likewise.
9614         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
9615
9616 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9617
9618         * sysdeps/m68k/memchr.S: New file.
9619         * sysdeps/m68k/rawmemchr.S: New file.
9620         * sysdeps/m68k/strchr.S: New file.
9621         * sysdeps/m68k/strchrnul.S: New file.
9622
9623 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
9624
9625         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9626         add `memory' clobber; optimise for constant `val'.
9627         (atomic_add): Likewise.
9628         (test_and_set): Remove `volatile'; add `memory' clobber; be more
9629         like the original `test_and_set'.
9630         (compare_and_swap): Remove `volatile'; add `memory' clobber;
9631         optimise for constant `oldval'.
9632         (always_swap): Remove `volatile'; add `memory' clobber.
9633
9634 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9635
9636         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9637         functions for gcc <= 2.7.x.
9638
9639 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
9640
9641         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9642         change.
9643
9644 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
9645
9646         * db2/Makefile (distribute): Remove files which do not exist
9647         anymore.
9648
9649         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9650         definitions to calm down gcc.
9651
9652         * db2/db.h: Update from db 2.7.5.
9653         * db2/db_185.h: Likewise.
9654         * db2/db_int.h: Likewise.
9655         * db2/btree/bt_compare.c: Likewise.
9656         * db2/btree/bt_conv.c: Likewise.
9657         * db2/btree/bt_curadj.c: Likewise.
9658         * db2/btree/bt_cursor.c: Likewise.
9659         * db2/btree/bt_delete.c: Likewise.
9660         * db2/btree/bt_open.c: Likewise.
9661         * db2/btree/bt_page.c: Likewise.
9662         * db2/btree/bt_put.c: Likewise.
9663         * db2/btree/bt_rec.c: Likewise.
9664         * db2/btree/bt_recno.c: Likewise.
9665         * db2/btree/bt_rsearch.c: Likewise.
9666         * db2/btree/bt_search.c: Likewise.
9667         * db2/btree/bt_split.c: Likewise.
9668         * db2/btree/bt_stat.c: Likewise.
9669         * db2/btree/btree_auto.c: Likewise.
9670         * db2/common/db_appinit.c: Likewise.
9671         * db2/common/db_apprec.c: Likewise.
9672         * db2/common/db_err.c: Likewise.
9673         * db2/common/db_region.c: Likewise.
9674         * db2/common/db_salloc.c: Likewise.
9675         * db2/db/db.c: Likewise.
9676         * db2/db/db.src: Likewise.
9677         * db2/db/db_am.c: Likewise.
9678         * db2/db/db_auto.c: Likewise.
9679         * db2/db/db_dispatch.c: Likewise.
9680         * db2/db/db_dup.c: Likewise.
9681         * db2/db/db_iface.c: Likewise.
9682         * db2/db/db_join.c: Likewise.
9683         * db2/db/db_overflow.c: Likewise.
9684         * db2/db/db_pr.c: Likewise.
9685         * db2/db/db_rec.c: Likewise.
9686         * db2/db/db_ret.c: Likewise.
9687         * db2/db185/db185.c: Likewise.
9688         * db2/dbm/dbm.c: Likewise.
9689         * db2/hash/hash.c: Likewise.
9690         * db2/hash/hash_auto.c: Likewise.
9691         * db2/hash/hash_dup.c: Likewise.
9692         * db2/hash/hash_page.c: Likewise.
9693         * db2/hash/hash_rec.c: Likewise.
9694         * db2/hash/hash_stat.c: Likewise.
9695         * db2/include/btree.h: Likewise.
9696         * db2/include/btree_ext.h: Likewise.
9697         * db2/include/clib_ext.h: Likewise.
9698         * db2/include/common_ext.h: Likewise.
9699         * db2/include/db_am.h: Likewise.
9700         * db2/include/db_auto.h: Likewise.
9701         * db2/include/db_cxx.h: Likewise.
9702         * db2/include/db_ext.h: Likewise.
9703         * db2/include/db_join.h: Likewise.
9704         * db2/include/db_page.h: Likewise.
9705         * db2/include/hash.h: Likewise.
9706         * db2/include/hash_ext.h: Likewise.
9707         * db2/include/lock.h: Likewise.
9708         * db2/include/lock_ext.h: Likewise.
9709         * db2/include/log.h: Likewise.
9710         * db2/include/log_ext.h: Likewise.
9711         * db2/include/mp.h: Likewise.
9712         * db2/include/mp_ext.h: Likewise.
9713         * db2/include/os.h: Likewise.
9714         * db2/include/os_ext.h: Likewise.
9715         * db2/include/os_func.h: Likewise.
9716         * db2/include/txn.h: Likewise.
9717         * db2/include/txn_auto.h: Likewise.
9718         * db2/include/txn_ext.h: Likewise.
9719         * db2/include/xa.h: Likewise.
9720         * db2/include/xa_ext.h: Likewise.
9721         * db2/lock/lock.c: Likewise.
9722         * db2/lock/lock_conflict.c: Likewise.
9723         * db2/lock/lock_deadlock.c: Likewise.
9724         * db2/lock/lock_region.c: Likewise.
9725         * db2/lock/lock_util.c: Likewise.
9726         * db2/log/log.c: Likewise.
9727         * db2/log/log_archive.c: Likewise.
9728         * db2/log/log_auto.c: Likewise.
9729         * db2/log/log_findckp.c: Likewise.
9730         * db2/log/log_get.c: Likewise.
9731         * db2/log/log_put.c: Likewise.
9732         * db2/log/log_rec.c: Likewise.
9733         * db2/log/log_register.c: Likewise.
9734         * db2/mp/mp_bh.c: Likewise.
9735         * db2/mp/mp_fget.c: Likewise.
9736         * db2/mp/mp_fopen.c: Likewise.
9737         * db2/mp/mp_fput.c: Likewise.
9738         * db2/mp/mp_fset.c: Likewise.
9739         * db2/mp/mp_open.c: Likewise.
9740         * db2/mp/mp_pr.c: Likewise.
9741         * db2/mp/mp_region.c: Likewise.
9742         * db2/mp/mp_sync.c: Likewise.
9743         * db2/mutex/mutex.c: Likewise.
9744         * db2/mutex/uts4_cc.s: Likewise.
9745         * db2/os/os_abs.c: Likewise.
9746         * db2/os/os_alloc.c: Likewise.
9747         * db2/os/os_config.c: Likewise.
9748         * db2/os/os_dir.c: Likewise.
9749         * db2/os/os_fid.c: Likewise.
9750         * db2/os/os_fsync.c: Likewise.
9751         * db2/os/os_map.c: Likewise.
9752         * db2/os/os_oflags.c: Likewise.
9753         * db2/os/os_open.c: Likewise.
9754         * db2/os/os_rw.c: Likewise.
9755         * db2/os/os_seek.c: Likewise.
9756         * db2/os/os_sleep.c: Likewise.
9757         * db2/os/os_spin.c: Likewise.
9758         * db2/os/os_stat.c: Likewise.
9759         * db2/os/os_tmpdir.c: Likewise.
9760         * db2/os/os_unlink.c: Likewise.
9761         * db2/progs/db_archive/db_archive.c: Likewise.
9762         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9763         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9764         * db2/progs/db_dump/db_dump.c: Likewise.
9765         * db2/progs/db_load/db_load.c: Likewise.
9766         * db2/progs/db_printlog/README: Likewise.
9767         * db2/progs/db_printlog/commit.awk: Likewise.
9768         * db2/progs/db_printlog/count.awk: Likewise.
9769         * db2/progs/db_printlog/db_printlog.c: Likewise.
9770         * db2/progs/db_printlog/pgno.awk: Likewise.
9771         * db2/progs/db_printlog/range.awk: Likewise.
9772         * db2/progs/db_printlog/status.awk: Likewise.
9773         * db2/progs/db_printlog/txn.awk: Likewise.
9774         * db2/progs/db_recover/db_recover.c: Likewise.
9775         * db2/progs/db_stat/db_stat.c: Likewise.
9776         * db2/txn/txn.c: Likewise.
9777         * db2/txn/txn.src: Likewise.
9778         * db2/txn/txn_auto.c: Likewise.
9779         * db2/txn/txn_rec.c: Likewise.
9780         * db2/xa/xa.c: Likewise.
9781         * db2/xa/xa_db.c: Likewise.
9782         * db2/xa/xa_map.c: Likewise.
9783
9784         * db2/btree/bt_close.c: Removed.
9785         * db2/db/db_thread.c: Likewise.
9786         * db2/hash/hash_debug.c: Likewise.
9787         * db2/include/db.h.src: Likewise.
9788         * db2/include/db_int.h.src: Likewise.
9789         * db2/include/os_jump.h: Likewise.
9790         * db2/mutex/alpha.dec: Likewise.
9791         * db2/mutex/alpha.gcc: Likewise.
9792         * db2/mutex/parisc.hp: Likewise.
9793         * db2/mutex/uts4.cc.s: Likewise.
9794
9795         * db2/Makefile: Add new routines, remove old for 2.7.5.
9796         * db2/Versions: Add internal function names for the helper programs.
9797         * db2/makedb.c: Update for new cursor callback.
9798         * Versions.def: Define versions for libdb.
9799
9800 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
9801
9802         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9803         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9804         * nscd/nscd_nischeck.c: New file.
9805         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9806
9807 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9808
9809         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9810         MSG_* flags from Linux 2.2.9.
9811
9812 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
9813
9814         * Makeconfig (static-start-installed-name): Set to
9815         $(start-installed-name) if not defined.
9816         (+link-static): Use $(static-start-installed-name) instead of
9817         $(start-installed-name).
9818         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9819         Set to crt0.o.
9820
9821 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
9822
9823         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9824         inserting a send right into the child instead of unconditionally
9825         copying the send right.
9826
9827 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
9828
9829         * locale/lc-time.c: Add free_mem function to free if necessary
9830         statically allocated memory.
9831
9832 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
9833
9834         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9835         bias from the raw exponent.
9836
9837 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
9838
9839         * inet/arpa/tftp.h: Move attribute declaration in right position.
9840
9841 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
9842
9843         * nscd/nscd.c: Add -S options for separate caching of data for
9844         every user. So one user couldn't see the data another user
9845         has gotten with his credentials.
9846         * nscd/nscd.h: Add new prototypes.
9847         * nscd/cache.c: Compare owner of cache entry if in secure mode.
9848         * nscd/connections.c: Check on shutdown if caller really was root.
9849         In secure mode get uid of caller.
9850         * nscd/grpcache.c: Add support for new secure group mode.
9851         * nscd/hstcache.c: Add support for new secure hosts mode.
9852         * nscd/pwdcache.c: Add support for new secure passwd mode.
9853
9854 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
9855
9856         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9857         of user-provided buffer.
9858
9859 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
9860
9861         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9862         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9863
9864 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
9865
9866         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9867         and A format.
9868
9869         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9870         returning after last entry.
9871         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9872
9873 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
9874
9875         * misc/sysexits.h: Remove advertising clause of copyright.
9876         * resolv/getnetnamadr.c: Likewise.
9877         * sysdeps/vax/bcopy.s: Likewise.
9878         * sysdeps/vax/bzero.s: Likewise.
9879         * sysdeps/vax/ffs.s: Likewise.
9880         * sysdeps/vax/memchr.s: Likewise.
9881         * sysdeps/vax/memcmp.s: Likewise.
9882         * sysdeps/vax/memmove.s: Likewise.
9883         * sysdeps/vax/memset.s: Likewise.
9884         * sysdeps/vax/strcat.s: Likewise.
9885         * sysdeps/vax/strchr.s: Likewise.
9886         * sysdeps/vax/strcmp.s: Likewise.
9887         * sysdeps/vax/strcpy.s: Likewise.
9888         * sysdeps/vax/strcspn.s: Likewise.
9889         * sysdeps/vax/strlen.s: Likewise.
9890         * sysdeps/vax/strncat.s: Likewise.
9891         * sysdeps/vax/strncmp.s: Likewise.
9892         * sysdeps/vax/strncpy.s: Likewise.
9893         * sysdeps/vax/strpbrk.s: Likewise.
9894         * sysdeps/vax/strrchr.s: Likewise.
9895         * sysdeps/vax/strsep.s: Likewise.
9896         * sysdeps/vax/strspn.s: Likewise.
9897         * sysdeps/vax/strstr.s: Likewise.
9898
9899         * libio/iofopncook.c: Adjust for renaming of structure elements.
9900         * libio/libio.h: Define cookie functions with all the names.
9901
9902         * pwd/fgetpwent_r.c: Set errno in the correct way.
9903         * shadow/fgetspent_r.c: Likewise.
9904         * pwd/fgetpwent.c: Handle long lines correctly.  Little
9905         optimizations.  Free static buffer when debugging memory handling.
9906         * shadow/fgetspent.c: Likewise.
9907
9908         * grp/fgetgrent.c: Little optimization in loop.
9909
9910 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9911
9912         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9913         in a different way.
9914
9915 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
9916
9917         * stdlib/longlong.h: gas changed sethi handling when without
9918         %hi(). Fix assembly.
9919         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9920         port specific cache id checks.
9921         * sysdeps/generic/dl-cache.h: New file.
9922         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9923
9924 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9925
9926         * gmon/gmon.c: Remove advertising clause of copyright.
9927         * gmon/mcount.c: Likewise.
9928         * gmon/sys/gmon.h: Likewise.
9929         * inet/arpa/ftp.h: Likewise.
9930         * inet/arpa/telnet.h: Likewise.
9931         * inet/arpa/tftp.h: Likewise.
9932         * inet/inet_lnaof.c: Likewise.
9933         * inet/inet_mkadr.c: Likewise.
9934         * inet/inet_net.c: Likewise.
9935         * inet/inet_netof.c: Likewise.
9936         * inet/protocols/routed.h: Likewise.
9937         * inet/protocols/rwhod.h: Likewise.
9938         * inet/protocols/talkd.h: Likewise.
9939         * inet/protocols/timed.h: Likewise.
9940         * inet/rcmd.c: Likewise.
9941         * inet/rexec.c: Likewise.
9942         * inet/ruserpass.c: Likewise.
9943         * io/fts.c: Likewise.
9944         * io/fts.h: Likewise.
9945         * login/login_tty.c: Likewise.
9946         * misc/fstab.h: Likewise.
9947         * misc/getttyent.c: Likewise.
9948         * misc/getusershell.c: Likewise.
9949         * misc/sys/queue.h: Likewise.
9950         * misc/sys/syslog.h: Likewise.
9951         * misc/syslog.c: Likewise.
9952         * misc/ttyent.h: Likewise.
9953         * misc/ttyslot.c: Likewise.
9954         * resolv/arpa/nameser.h: Likewise.
9955         * resolv/gethnamaddr.c: Likewise.
9956         * resolv/herror.c: Likewise.
9957         * resolv/inet_addr.c: Likewise.
9958         * resolv/mapv4v6addr.h: Likewise.
9959         * resolv/mapv4v6hostent.h: Likewise.
9960         * resolv/nss_dns/dns-host.c: Likewise.
9961         * resolv/nss_dns/dns-network.c: Likewise.
9962         * resolv/res_comp.c: Likewise.
9963         * resolv/res_data.c: Likewise.
9964         * resolv/res_debug.c: Likewise.
9965         * resolv/res_init.c: Likewise.
9966         * resolv/res_mkquery.c: Likewise.
9967         * resolv/res_query.c: Likewise.
9968         * resolv/res_send.c: Likewise.
9969         * resolv/resolv.h: Likewise.
9970         * sysdeps/generic/div.c: Likewise.
9971         * sysdeps/generic/netinet/ip.h: Likewise.
9972         * sysdeps/generic/netinet/tcp.h: Likewise.
9973         * sysdeps/generic/paths.h: Likewise.
9974         * sysdeps/generic/prof-freq.c: Likewise.
9975         * sysdeps/generic/sys/ttydefaults.h: Likewise.
9976         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9977         * sysdeps/gnu/netinet/tcp.h: Likewise.
9978         * sysdeps/ieee754/support.c: Likewise.
9979         * sysdeps/mach/hurd/sys/param.h: Likewise.
9980         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9981         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9982         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9983         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9984         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9985         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9986         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9987         * sysdeps/unix/sysv/linux/paths.h: Likewise.
9988         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9989         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9990         * sysdeps/vax/DEFS.h: Likewise.
9991         * termios/sys/ttychars.h: Likewise.
9992         * misc/daemon.c: Likewise.  Call fork.
9993
9994         * grp/fgetgrent.c (buffer): Make file local variable.
9995         (free_mem): New function.  Call for malloc debugging.
9996
9997         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9998
9999 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10000
10001         * grp/Makefile: Add rules for tst_fgetgrent.
10002
10003         * grp/tst_fgetgrent.c: Rewritten to read only one file.
10004
10005         * grp/tst_fgetgrent.sh: New file.
10006
10007 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
10008
10009         * grp/Makefile (tests): Add tst_fgetgrent.
10010         * grp/tst_fgetgrent.c: New file.
10011         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
10012
10013 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
10014
10015         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
10016         be POSIX compliant.  Prior definition was broken for Hurd.
10017         Reported by Mark Kettenis <kettenis@gnu.org>.
10018
10019 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
10020
10021         * ctype/ctype.h: Protect __tobody code by __extension__.
10022
10023 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
10024
10025         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
10026         reading and reset in case the buffer was too small.
10027
10028         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
10029         of EOF.
10030
10031 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10032
10033         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
10034         another SIOGIFNAME typo.
10035
10036 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
10037
10038         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
10039
10040         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
10041         bit.
10042
10043 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10044
10045         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
10046         the precision if the mantissa is zero.
10047
10048 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10049
10050         * manual/lang.texi (Floating Point Parameters): GCC already
10051         supports long double for a long time.
10052
10053 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10054
10055         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
10056         yn_test): Increase some epsilons.
10057
10058 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
10059
10060         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
10061         parameters.
10062
10063 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
10064
10065         * sysdeps/unix/sysv/linux/kernel-features.h: Define
10066         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
10067         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
10068         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
10069
10070         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
10071         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
10072         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
10073         * sysdeps/libm-ieee754/w_j1.c: Likewise.
10074         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
10075         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
10076         * sysdeps/libm-ieee754/w_jn.c: Likewise.
10077         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
10078         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
10079
10080         * stdio-common/vfprintf.c: Correct typos.
10081
10082         * math/libm-test.c (jn_test): Adjust delta.
10083         (y1_test): Likewise.
10084         (yn_test): Likewise.
10085
10086         * elf/do-lookup.h: It should never happen that if we expect a versioned
10087         symbol from a file the file has no version table.  This should have
10088         been checked in dl-version.c.
10089         * elf/dl-lookup.c: Include assert.h.
10090
10091         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
10092         function handling.
10093
10094         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
10095
10096 1999-06-06  Andi Kleen  <ak@muc.de>
10097
10098         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
10099         SA_RESTORER flag.
10100
10101 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10102
10103         * math/libm-test.c (yn_test): Change one delta.
10104         (jn_test): Likewise.
10105         (j1_test): Likewise.
10106         (y0_test): Likewise.
10107
10108 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
10109
10110         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
10111         avoid multiple calls to getpagesize() which might be a syscall.
10112
10113 1999-06-06  Philip Blundell  <philb@gnu.org>
10114
10115         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
10116
10117 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10118
10119         * manual/install.texi (Running make install): Correct typo in
10120         dynamic linker invocation.
10121
10122 1999-06-05  Philip Blundell  <philb@gnu.org>
10123
10124         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
10125         problems with GOT addressing.
10126
10127 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10128
10129         * malloc/malloc.c (check_action): Change into bitmap so that both
10130         diagnostic and abort can be requested by setting it to 3.
10131         (mALLOC_SET_STATe): Disable malloc checking if necessary.
10132
10133 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
10134
10135         * configure.in: Few changes for HPUX.
10136
10137         * scripts/config.guess: Update from latest version.
10138         * scripts/config.sub: Likewise.
10139
10140 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10141
10142         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
10143         map files.  Closes PR libc/1147.
10144
10145 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10146
10147         * math/libm-test.c (main): Add new test functions.
10148         (jn_test): New tests.
10149         (j1_test): Add some more tests.
10150         (j0_test): Add some more tests.
10151         (y0_test): Add some more tests.
10152         (y1_test): Add some more tests.
10153
10154 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10155
10156         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
10157         Patch by mhagger@dera.gov.uk [PR libc/1145].
10158
10159         * math/libm-test.c (y1_test): New tests.
10160         (y0_test): Likewise.
10161         (j1_test): Likewise.
10162         (j0_test): Likewise.
10163         (main): Added new tests.
10164
10165 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
10166
10167         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
10168         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
10169         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
10170         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
10171         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
10172         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
10173
10174 1999-06-02  David S. Miller  <davem@redhat.com>
10175
10176         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
10177         pointers properly.
10178
10179 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
10180
10181         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
10182         and elide compatibility code if possible.
10183
10184 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
10185
10186         * manual/llio.texi: Remove menu entry for removed section.
10187
10188 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10189
10190         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
10191         variables.
10192
10193 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10194
10195         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
10196         (from Linux 2.3.4).
10197
10198 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
10199
10200         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
10201
10202 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10203
10204         * manual/stdio.texi: Fix some typos.
10205
10206 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10207
10208         * malloc/malloc.h: Properly handle future GCC versions.
10209
10210 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10211
10212         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
10213         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
10214         text of error message.
10215
10216         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
10217
10218 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
10219
10220         * manual/filesys.texi: Extend (f)truncate documentation.
10221         * manual/llio.texi: Remove duplicate (f)truncate definition.
10222
10223 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10224
10225         * manual/stdio.texi (Formatted Output Functions): Mention
10226         semantics of snprintf in glibc 2.0.
10227         Reported by Ben Pfaff <pfaffben@msu.edu>.
10228
10229 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
10230
10231         * include/features.h (__GLIBC_MINOR__): Bump to 2.
10232
10233 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
10234
10235         * math/libm-test.c: Adjust a few more deltas for the poor ARM
10236         FPU emulator.
10237
10238 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10239
10240         * configure.in: Fix typo.
10241
10242 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10243
10244         * manual/socket.texi (Host Names): Remove statement that h_errno
10245         needs to be declared since this isn't true anymore.
10246         Closes PR libc/1138.
10247
10248 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
10249
10250         * config.h.in: Add __LINUX_KERNEL_VERSION.
10251         * configure.in: Recognize --enable-kernel.
10252         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10253         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10254         appropriately.
10255         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10256         given perform runtime test.
10257
10258         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10259         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10260         minimal supported kernel is known to have the feature.
10261         * sysdeps/unix/sysv/linux/poll.c: Likewise.
10262         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10263         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10264         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10265         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10266         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10267         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10268         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10269         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10270         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10271         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10272         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10273         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10274         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10275         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10276
10277         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10278
10279 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10280
10281         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10282
10283 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
10284
10285         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10286         Optimized sparc64 routines.
10287
10288 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10289
10290         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10291         they are the same as ints.
10292         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10293
10294         * version.h (VERSION): Bump to 2.1.90.
10295         (RELEASE): Mark as development.
10296
10297         * stdio-common/vfprintf.c (vfprintf): Don't implement special
10298         handling for long long if it is the same as long.
10299         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10300
10301         * stdlib/strtol.c: Moved to ...
10302         * sysdeps/generic/strtol.c: ...here.
10303         * stdlib/strtoul.c: Moved to ...
10304         * sysdeps/generic/strtoul.c: ...here.
10305         * stdlib/strtoll.c: Moved to ...
10306         * sysdeps/generic/strtoll.c: ...here.
10307         * stdlib/strtoull.c: Moved to ...
10308         * sysdeps/generic/strtoull.c: ...here.
10309         * stdlib/strtol_l.c: Moved to ...
10310         * sysdeps/generic/strtol_l.c: ...here.
10311         * stdlib/strtoul_l.c: Moved to ...
10312         * sysdeps/generic/strtoul_l.c: ...here.
10313         * stdlib/strtoll_l.c: Moved to ...
10314         * sysdeps/generic/strtoll_l.c: ...here.
10315         * stdlib/strtoull_l.c: Moved to ...
10316         * sysdeps/generic/strtoull_l.c: ...here.
10317
10318         * sysdeps/wordsize-64/strtol.c: New file.
10319         * sysdeps/wordsize-64/strtoul.c: New file.
10320         * sysdeps/wordsize-64/strtoll.c: New file.
10321         * sysdeps/wordsize-64/strtoull.c: New file.
10322         * sysdeps/wordsize-64/strtol_l.c: New file.
10323         * sysdeps/wordsize-64/strtoul_l.c: New file.
10324         * sysdeps/wordsize-64/strtoll_l.c: New file.
10325         * sysdeps/wordsize-64/strtoull_l.c: New file.
10326
10327         * wcsmbs/wcstol.c: Moved to ...
10328         * sysdeps/generic/wcstol.c: ...here.
10329         * wcsmbs/wcstoul.c: Moved to ...
10330         * sysdeps/generic/wcstoul.c: ...here.
10331         * wcsmbs/wcstoll.c: Moved to ...
10332         * sysdeps/generic/wcstoll.c: ...here.
10333         * wcsmbs/wcstoull.c: Moved to ...
10334         * sysdeps/generic/wcstoull.c: ...here.
10335         * wcsmbs/wcstol_l.c: Moved to ...
10336         * sysdeps/generic/wcstol_l.c: ...here.
10337         * wcsmbs/wcstoul_l.c: Moved to ...
10338         * sysdeps/generic/wcstoul_l.c: ...here.
10339         * wcsmbs/wcstoll_l.c: Moved to ...
10340         * sysdeps/generic/wcstoll_l.c: ...here.
10341         * wcsmbs/wcstoull_l.c: Moved to ...
10342         * sysdeps/generic/wcstoull_l.c: ...here.
10343
10344         * sysdeps/wordsize-64/wcstol.c: New file.
10345         * sysdeps/wordsize-64/wcstoul.c: New file.
10346         * sysdeps/wordsize-64/wcstoll.c: New file.
10347         * sysdeps/wordsize-64/wcstoull.c: New file.
10348         * sysdeps/wordsize-64/wcstol_l.c: New file.
10349         * sysdeps/wordsize-64/wcstoul_l.c: New file.
10350         * sysdeps/wordsize-64/wcstoll_l.c: New file.
10351         * sysdeps/wordsize-64/wcstoull_l.c: New file.
10352
10353 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
10354
10355         * sysdeps/sparc/bits/wordsize.h: New file.
10356         * sysdeps/sparc/fpu/bits/fenv.h: New file.
10357         * sysdeps/sparc/fpu/fpu_control.h: New file.
10358         * sysdeps/sparc/gmp-mparam.h: New file.
10359
10360         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10361         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10362         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10363         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10364         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10365         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10366
10367         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10368         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10369         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10370         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10371
10372         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10373         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10374         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10375         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10376         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10377
10378 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
10379
10380         * login/openpty.c (openpty): Make sure pty does not because
10381         controlling TTY.
10382
10383         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10384
10385 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
10386
10387         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10388         Do proper error return.
10389
10390 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10391
10392         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10393         of __P in the rest of glibc; define __MALLOC_PMT and use it.
10394         Reported by Stephan Kulow <coolo@kde.org>.
10395
10396 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
10397
10398         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10399
10400         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10401
10402 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10403
10404         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10405         names to protect from user's macro namespace.
10406         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10407         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10408         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10409         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10410         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10411         Adapted.
10412         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10413         sysdeps/arm/fpu/fesetenv.c: Likewise.
10414         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10415         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10416         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10417         * sysdeps/mips/fesetenv.c: Likewise.
10418
10419 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
10420
10421         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10422
10423 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
10424
10425         * configure.in: Recognize and allow gcc 2.95.
10426
10427 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10428
10429         * sysdeps/generic/bits/elfclass.h: Version common to
10430         wordsize-32 and wordsize-64.
10431         * sysdeps/generic/bits/environments.h: Ditto.
10432         * sysdeps/generic/stdint.h: Ditto.
10433         * sysdeps/generic/inttypes.h: Ditto.
10434
10435         * sysdeps/generic/bits/wordsize.h: New file.
10436         * stdlib/Makefile: Add bits/wordsize.h to headers.
10437
10438         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10439
10440         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10441         headers to be used for 32bit and 64bit ABI compilations.
10442         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10443         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10444         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10445         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10446         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10447
10448         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10449         * sysdeps/wordsize-64/bits/environments.h: Remove.
10450         * sysdeps/wordsize-64/stdint.h: Remove.
10451         * sysdeps/wordsize-64/inttypes.h: Remove.
10452         * sysdeps/wordsize-64/bits/wordsize.h: New file.
10453
10454         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10455         * sysdeps/wordsize-32/bits/environments.h: Remove.
10456         * sysdeps/wordsize-32/stdint.h: Remove.
10457         * sysdeps/wordsize-32/inttypes.h: Remove.
10458         * sysdeps/wordsize-32/bits/wordsize.h: New file.
10459
10460 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10461
10462         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10463         __align_cpy_16): New functions.
10464         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10465
10466         * sysdeps/sparc/sparc32/Versions: New file.
10467         * sysdeps/sparc/sparc64/Versions: New file.
10468         * sysdeps/sparc/Versions: Remove.
10469
10470 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10471
10472         * sysdeps/unix/sysv/linux/configure.in:
10473         On sparc64-*-linux*, set slibdir to /lib64 if prefix
10474         is /usr, plus set libdir to ${exec_prefix}/lib64.
10475         * sysdeps/unix/sysv/linux/configure: Regenerated.
10476         * config.make.in: Propagate libdir settings from configure
10477         to the Makefiles.
10478         * shlib-versions: sparc64-*-linux* dynamic linker is
10479         /lib64/ld-linux.so.2.
10480
10481 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
10482
10483         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10484         RPC connection.
10485
10486 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
10487
10488         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10489         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10490
10491         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10492         contains garbage in bits 8-63.
10493         * sysdeps/sparc/sparc64/memset.S: Ditto.
10494         * sysdeps/sparc/sparc64/strchr.S: Ditto.
10495
10496 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
10497
10498         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10499
10500 1999-05-17  David S. Miller  <davem@redhat.com>
10501
10502         * sysdeps/sparc/sparc32/atomicity.h: New file.
10503         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10504         * sysdeps/sparc/sparc64/atomicity.h: New file.
10505         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10506         sysdep-CFLAGS.
10507
10508 1999-05-18  Richard Henderson  <rth@twiddle.net>
10509
10510         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
10511
10512 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10513
10514         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10515         posix/sys/types.h: Handle the case of __GNUC__=3,
10516         __GNUC_MINOR__=(anything).
10517
10518 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10519
10520         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10521         if _FORCE_INLINES.
10522
10523 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10524
10525         * elf/Makefile (distribute): Remove dl-origin.h.
10526         Add dl-dst.h and gen-trusted-dirs.awk.
10527
10528 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10529
10530         * sysdeps/i386/i486/Versions: New file with inline functions from
10531         sysdeps/i386/i486/bits/string.h for now.
10532
10533         * sysdeps/i386/Versions: Add inline functions from
10534         sysdeps/i386/bits/string.h.
10535
10536         * string/Versions: Add inline functions from <bits/string2.h>.
10537
10538         * string/Makefile (routines): Add string-inlines.
10539         * string/string-inlines.c: New file, used for implementation of
10540         extern inline functions.
10541
10542         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10543         non inlined versions of functions.
10544         * string/bits/string2.h: Likewise.
10545         * sysdeps/i386/bits/string.h: Likewise.
10546
10547 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10548
10549         * inet/arpa/tftp.h: Add second packed attribute.
10550
10551 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10552
10553         * malloc/malloc.c: Cleanup to bring in line with released
10554         stand-alone version `ptmalloc'.  Update some comments.
10555         (internal_function): Move fallback definition so that the source
10556         compiles outside of libc, and use it in more places.
10557         (malloc_atfork): Fix when malloc_check is in use.
10558
10559 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10560
10561         * stdlib/tst-strtod.c: Fix typo.
10562
10563 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10564
10565         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10566         const incorrectness.
10567
10568 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10569
10570         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10571
10572 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
10573
10574         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10575         * sunrpc/key_call.c: Fix memory leak, close file handle.
10576         * nis/nis_creategroup.c: Use malloc instead of calloc,
10577         set ctime and mtime.
10578         * nis/nis_subr.c: Check for realloc result.
10579         * nis/nis_file.c: Fix memory leak.
10580         * nis/nis_table.c: Pretty print.
10581         * nis/nis_getservlist.c: Likewise.
10582         * nis/nis_ismember.c: Likewise.
10583         * nis/nis_lookup.c: Likewise.
10584         * nis/nis_ping.c: Likewise.
10585         * nis/nis_removemember.c: Likewise.
10586         * nis/nis_util.c: Likewise, check calloc result.
10587
10588 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10589
10590         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10591         * sysdeps/generic/sys/socketvar.h: ... here.
10592         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10593         * sysdeps/generic/netinet/in_systm.h: ... here.
10594         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10595         sys/socketvar.h.
10596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10597         * inet/Makefile (headers): Add netinet/in_systm.h here.
10598         * socket/Makefile (headers): Add sys/socketvar.h here.
10599
10600 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
10601
10602         * stdlib/strtol.c: Optimize inner loop of long long versions.
10603
10604         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10605         Unix98.  Add forward declaration of struct utmp.
10606
10607 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10608
10609         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10610         calloc.
10611
10612         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10613         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
10614         memory allocation results.
10615
10616 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
10617
10618         * sysdeps/generic/getutmp.c: Include <string.h>
10619         (getutmp): Rewrite to only copy those members that are really
10620         present in `struct utmp'.
10621         * sysdeps/generic/getutmpx.c: Likewise.
10622
10623 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10624
10625         * nss/getXXbyYY.c: Add free_mem function which disposes all
10626         statically allocated memory when debugging.
10627         * nss/getXXent.c: Likewise.
10628         * nss/nsswitch.c: Likewise.
10629
10630 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
10631
10632         * sysdeps/gnu/getutmpx.c: New file.
10633         * sysdeps/gnu/getutmp.c: New file.
10634
10635 1999-05-13  H.J. Lu  <hjl@gnu.org>
10636
10637         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10638         (getutmp): Likewise.
10639
10640         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10641         getutmpx for login.
10642
10643         * sysdeps/gnu/utmpx.h (getutmp): Added.
10644         (getutmpx): Likewise.
10645
10646         * sysdeps/generic/getutmp.c: New file.
10647
10648         * sysdeps/generic/getutmpx.c: New file.
10649
10650 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10651
10652         * glibcbug.in (BUGGLIBC): Change address to
10653         libc-alpha@sourceware.cygnus.com.
10654
10655 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10656
10657         * resolv/arpa/nameser.h: Add C++ protectors.
10658
10659 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10660
10661         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
10662         Elad Tsur <eladts@post.tau.ac.il>.
10663
10664 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
10665
10666         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10667         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10668         lazily if LD_BIND_NOW is not set.
10669         * elf/dl-support.c (_dl_lazy): New variable.
10670         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10671         * elf/rtld.c (_dl_lazy): new global variable.
10672         ( dl_main): Remove lazy, replace it by _dl_lazy.
10673
10674 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10675
10676         * locale/setlocale.c (new_composite_name): Check also whether the
10677         first category name differs.
10678
10679 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10680
10681         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10682         the generic one.
10683
10684 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
10685
10686         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10687         structure; storage suitable for any socket address.
10688         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10689         Likewise.
10690         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10691         sockaddr_storage): Likewise.
10692
10693         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10694         platform.
10695
10696 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
10697
10698         * hesiod/Versions: Change _nss_hesiod_getpwuid and
10699         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10700         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
10701
10702 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
10703
10704         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10705         if the file is empty.
10706
10707 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
10708
10709         * elf/do-lookup.h: Fix typo in comment.
10710
10711         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10712         f_bsize to help some broken programs.
10713
10714         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10715
10716         * stdio-common/vfprintf.c: Fix typo.
10717
10718 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
10719
10720         * elf/link.h (struct link_map): New field l_phdr_allocated.
10721         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10722         the program header being part of any loaded segment.  If it is not
10723         allocate memory and set l_phdr_allocated flag.
10724         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10725
10726         * nss/digits_dots.c: Correct return value interpretation of
10727         inet_ntoa.  Fix PR libc/1109.
10728
10729 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
10730
10731         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10732
10733 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
10734
10735         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10736         * stdlib/fpioconst.c: Move #endif before end of struct.
10737
10738 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
10739
10740         * Versions.def (ld.so): Add GLIBC_2.1.1.
10741         * elf/Makefile (routines): Add dl-origin.
10742         (tests): Add origtest.  Add dependencies for the program.
10743         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10744         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10745         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
10746         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10747         DT_AUXILIARY, and DT_FILTER filenames.
10748         * elf/dl-load.c (expand_dynamic_string_token): Explode into
10749         two functions and three macros.
10750         (_dl_dst_count, _dl_dst_substitute): New functions.
10751         * elf/dl-dst.h: New file.
10752         * elf/dl-open.c (_dl_open): Take extra parameter with address of
10753         caller.  Pass address in args structure.
10754         (dl_open_worker): Recognize and expand DSTs in filename.
10755         * elf/ldsodefs.h (_dl_open): Adapt prototype.
10756         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10757         (__dlopen_check): Pass caller address to dlopen_doit in args.
10758         * elf/dlopendoit.c: Likewise.
10759         * iconv/gconv_dl.c: Adapt call of _dl_open.
10760         * nss/nsswitch.c: Likewise.
10761         * elf/origtest.c: New file.
10762         * sysdeps/generic/dl-origin.h: Moved to...
10763         * sysdeps/generic/dl-origin.c: ...here.
10764         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10765         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10766
10767         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10768         with specific bases and only few bits set in second word.
10769
10770         * timezone/Makefile (install-others): Create target directory
10771         before creating tzfiles.
10772
10773 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
10774
10775         * nis/nis_file.c (readColdStartFile): Allocate memory only after
10776         the file is opened successfully.
10777
10778         * nis/nis_table.c: Fix some memory leaks.
10779
10780 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
10781
10782         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10783         variable.
10784
10785         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10786         around DST.  Correctly ignore ORIGIN IN SUID binaries.
10787
10788 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
10789
10790         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10791         * sysdeps/generic/strtok.c: Likewise.
10792
10793         * string/tester.c: Add test of rawmemchr.
10794
10795         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10796         specification.  It's not necessary.
10797
10798         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10799         * elf/gen-trusted-dirs.awk: New file.
10800         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
10801         from SYSTEM_DIRS macro.
10802         (system_dirs_len): New variable.  Contains lengths of system_dirs
10803         strings.
10804         (fillin_rpath): Rewrite for systems_dirs being a simple string.
10805         Improve string comparisons.  Change parameter trusted to be a flag.
10806         Change all callers.
10807         (_dt_init_paths): Improve using new format for system_dirs.
10808
10809         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10810         $ORIGIN for SUID binaries.
10811
10812         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10813
10814 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10815
10816         * sunrpc/Makefile: Generate dependencies for all flavors of
10817         librpcsvc objects.
10818         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10819         invocations.
10820
10821 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10822
10823         * elf/dlopenold.c: Move #if down after includes to get
10824         dependencies right.
10825
10826 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10827
10828         * sysdeps/generic/bzero.c: Undefine __bzero.
10829
10830 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
10831
10832         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10833         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10834         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10835         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10836
10837         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10838         parameter to struct gaih_servtuple *.  Adapt appropriately.
10839         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10840         This fixes a memory leak.
10841         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10842
10843         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10844         and fpregset_t definition.  They are defined in ucontext.h.
10845
10846 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10847
10848         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10849         and struct ether_header must be packed on the ARM.  The default
10850         alignment constraints add padding to the end of the structures.
10851
10852 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10853
10854         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
10855         default alignment constraints add padding to the end of the
10856         structure and between members.
10857
10858 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
10859
10860         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10861         _dl_cache_libcmp instead of strcmp.
10862
10863         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10864         fails on a file.
10865         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10866
10867 1998-03-30  Joel Klecker  <espy@debian.org>
10868
10869         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10870         (sysdep-others,install-bin): Add lddlibc4.
10871
10872 1999-05-02  H.J. Lu  <hjl@gnu.org>
10873
10874         * timezone/zic.c (dolink): Remove the symlink destination first.
10875
10876         * catgets/open_catalog.c (__open_catalog): Set catalog->status
10877         to "nonexisting" if failed to open the file.
10878
10879 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
10880
10881         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10882         gcc3.
10883
10884         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10885         Prevent warnings from multiplication with 0x01010101 by another cast.
10886
10887 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10888
10889         * string/bits/string2.h (memset): Revert to previous version if
10890         unaligned writes are not available.
10891
10892 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10893
10894         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10895         better code in presence of the asm.
10896
10897 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10898
10899         * stdlib/fmtmsg.c (keywords): Increase array size for faster
10900         indexing.
10901
10902         * locale/localeinfo.h (_nl_category_names): Increase array element
10903         size for faster indexing.
10904         * locale/setlocale.c (_nl_category_names): Adjusted.
10905
10906 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10907
10908         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10909
10910 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10911
10912         * sysdeps/m68k/stackinfo.h: New file.
10913
10914 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10915
10916         * string/tester.c (test_strchrnul): New function.
10917         (test_memset): Test one more special case.
10918
10919         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10920         25% of all cases.
10921
10922         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10923         base types.
10924
10925         * string/bits/string2.h: Fix bugs I introduced in last change.
10926
10927         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10928         register stall.
10929         Extend memset optimization.
10930         Correct i686 version of memchr.
10931
10932 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
10933
10934         * sysdeps/i386/bzero.c: Add #undef __bzero.
10935
10936         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10937         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10938         exec server simulated a SIGTRAP before we even started up, so gdb is
10939         already happy.
10940
10941 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10942
10943         * nss/digits_dots.c: Always initialize not_ok.
10944
10945 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
10946
10947         * string/bits/string2.h (memset): Avoid arithmetic overflow at
10948         compile time, which produces obnoxious warnings.  If GCCv2 is
10949         in use, map __bzero to __builtin_memset to enable that
10950         optimization.
10951
10952 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10953
10954         * string/bits/string2.h: Add more memset optimizations.
10955
10956         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10957
10958         * resolv/inet_pton.c (inet_pton4): Little optimizations.
10959         (inet_pton6): Likewise.
10960
10961         * nss/getXXbyYY_r.c: Include assert.h.
10962         * nss/getXXbyYY.c: Likewise.
10963
10964 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10965
10966         * termios/tcgetsid.c (tcgetsid): Rename variable to
10967         tiocgsid_does_not_work.
10968
10969 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10970
10971         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10972
10973 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10974
10975         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10976         This allows e.g. gethostbyname to accept "10.1234".
10977         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10978
10979         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10980         non quad IPv4 numbers.
10981
10982 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10983
10984         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10985
10986 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10987
10988         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10989         * argp/argp-parse.c (_argp_hang): Likewise.
10990         * argp/argp-pv.c (argp_program_version): Likewise.
10991         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10992         * inet/ether_hton.c (ether_hton, startp): Likewise.
10993         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10994         * inet/getnetgrent_r.c (setup, startp): Likewise.
10995         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10996         * intl/localealias.c (string_space, string_space_act, string_space_max,
10997         nmap, maxmap): Likewise.
10998         * libio/iopopen.c (proc_file_chain): Likewise.
10999         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
11000         * locale/lc-collate.c (__collate_table, __collate_extra,
11001         __collate_element_hash, __collate_element_strings,
11002         __collate_element_values): Likewise.
11003         * malloc/mcheck.c (mcheck_used): Likewise.
11004         * malloc/mtrace.c (added_atexit_handler): Likewise.
11005         * malloc/set-freeres.c (already_called): Likewise.
11006         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
11007         * misc/syslog.c (LogStat, LogTag): Likewise.
11008         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
11009         * nss/getXXbyYY_r.c (startp): Likewise.
11010         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
11011         * posix/regex.c (init_syntax_once) [done]: Likewise.
11012         (debug): Likewise.
11013         * string/strfry.c (init): Likewise.
11014         * sunrpc/svc_run.c (svc_top): Likewise.
11015         * posix/euidaccess.c (have_ids): Likewise.
11016         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
11017         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
11018         * time/getdate.c (getdate_err): Likewise.
11019         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
11020         Likewise.
11021         * time/tzset.c (old_tz, is_initialized): Likewise.
11022
11023         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
11024         of static data with zero.
11025         * signal/allocrtsig.c (init): Likewise.
11026
11027         * string/Makefile (routines): Add strchrnul.
11028         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
11029         * string/string.c: Add strchrnul prototype.
11030         * include/string.h: Add __strchrnul prototype.
11031         * sysdeps/generic/strchrnul.c: New file.
11032         * sysdeps/i386/strchrnul.S: New file.
11033         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
11034         * sysdeps/i386/i486/bits/string.c: Likewise.
11035         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
11036         * inet/ether_line.c (ether_line): Likewise.
11037         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
11038         * nss/nsswitch.c (nss_parse_file): Likewise.
11039         * posix/execvp.c (execvp): Likewise.
11040         * posix/fnmatch.c (internal_fnmatch): Likewise.
11041         * resolv/res_hconf.c (_res_hconv_init): Likewise.
11042         * resolv/res_init.c (res_init): Likewise.
11043         * stdlib/fmtmsg.c (init): Likewise.
11044         * stdlib/getsubopt.c (getsubopt): Likewise.
11045
11046         * catgets/catgets.c (catopen): Only allocate one memory block.
11047         (catclose): Only one free call necessary.
11048
11049         * catgets/open_catalog.c (__open_catalog): Simplify handling of
11050         file descriptor.
11051
11052         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
11053         of real functions.  Simplify _tolower and _toupper.
11054
11055         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
11056         variable.
11057
11058         * iconv/gconv.h (struct gconv_info): Change data element from pointer
11059         to array of size 0.
11060         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
11061         * iconv/gconv_close.c (__gconv_close): Don't free data.
11062
11063         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
11064         insert new alias.
11065
11066         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
11067         for error while inserting in tree.
11068
11069         * include/time.h: Pretty print.
11070
11071         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
11072         in table and lots of relocations.
11073         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
11074         string pointers in table and lots of relocations.
11075
11076         * intl/finddomain.c: Remove definition of strchr macro.
11077
11078         * io/ftw.c (nftw_arr, ftw_arr): Make const.
11079
11080         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
11081
11082         * locale/localeinfo.h (_nl_category_names): Change into an array with
11083         fixed width char string elements.
11084         * locale/setlocale.c (_nl_category_names): Likewise.
11085         (_nl_current): Make global.
11086         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
11087
11088         * malloc/Makefile (distribute): Add stackinfo.h.
11089         * sysdeps/generic/stackinfo.h: New file.
11090         * sysdeps/i386/stackinfo.h: New file.
11091         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
11092         * posix/execle.c: Likewise.
11093         * posix/execlp.c: Likewise.
11094
11095         * nis/nis_table.c (__create_ib_request): Always use realloc.
11096
11097         * posix/execvp.c (execute): Rename to script_execute and keep only
11098         code to execute using shell.
11099         (execvp): Call execv directly and only fall back on script_execute.
11100
11101         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
11102         and always use xdigits instead.
11103
11104         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
11105         where appropriate.
11106
11107         * stdlib/fpioconst.h (__tens): New declaration.
11108         (struct mp_power): Remove array, add arrayoff element.
11109         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
11110         __tens array and add in _fpioconst_pow10 offsets into __tens.
11111         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
11112         * stdlib/strtod.c: Likewise.
11113
11114         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
11115
11116         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
11117         of the list.
11118         * stdlib/atexit.c (__exit_funcs): Don't initialize.
11119
11120         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
11121
11122         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
11123         a single and an array with offsets.
11124
11125         * sunrpc/des_soft.c (partab): Make it const.
11126
11127         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
11128         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
11129         (__key_decryptsession_pk_LOCAL): Likewise.
11130         (__key_gendes_LOCAL): Likewise.
11131         (MESSENGER): Mark const.
11132         (key_call_private_main): Don't initialize with 0.
11133         (use_keyenvoy): Don't initialize with 0.
11134         (key_call): Rewrite to reverse logic of use_doors variable.
11135
11136         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
11137         (startp): Don't initialize with zero.
11138
11139         * sunrpc/openchild.c (_openchild): Make first argument const.
11140
11141         * sunrpc/pmap_rmt.c (timeout): Mark const.
11142         * sunrpc/xcrypt.c (hex): Likewise.
11143
11144         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
11145         initialization of global variables.
11146         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
11147         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11148         * termios/tcgetsid.c: Likewise.
11149
11150         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
11151         fxsr to osfxsr.
11152
11153         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
11154         block.  Add function to free memory if wanted.
11155         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
11156
11157         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
11158
11159         * wcsmbs/wmemset.c: Little code optimization.
11160
11161 1999-04-23  Paul Eggert  <eggert@twinsun.com>
11162
11163         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
11164         ifdef _LIBC.
11165
11166 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
11167
11168         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
11169         implementation and just always fail with ENOSYS.  This entry point is
11170         obsolete.  Add link warning to that effect.
11171
11172 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
11173
11174         * hurd/get-host.c: Include <hurd/lookup.h>.
11175
11176 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11177
11178         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
11179         is != NULL.
11180
11181 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11182
11183         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
11184         ISO C9x and Unix98.
11185
11186 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11187
11188         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
11189         Patch by Peter Miller <millerp@canb.auug.org.au>.
11190
11191 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
11192
11193         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
11194         prefers loopback device.
11195
11196 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11197
11198         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
11199         no_leading_period change.
11200
11201         * posix/testfnm.c: More test cases.
11202
11203 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
11204
11205         * include/dirent.h: Remove __getdirentries declaration, add __getdents
11206         and __getdents64.
11207         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
11208         * sysdeps/unix/readdir_r.c: Likewise.
11209         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11210         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11211         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
11212         __getdirentries.  Remove fourth argument.
11213         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
11214         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
11215         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
11216         Add getdirentries and getdirentries64.
11217         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
11218
11219         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
11220         pointer in case of an invalid [[: expression.
11221
11222         * posix/testfnm.c: Add more test cases.
11223
11224 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
11225
11226         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
11227         set, pass EXEC_SIGTRAP flag in exec RPC.
11228
11229 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11230
11231         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
11232         extra parameter.  Fix several more bugs involving wildcard and
11233         ranges.
11234         (fnmatch): New function.  Call internal_fnmatch.
11235
11236         * posix/testfnm.c: More test cases.
11237
11238 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11239
11240         * manual/install.texi (Configuring and compiling): Explain that
11241         files are changed in the source directory.
11242         Closes PR libc/981.
11243         (Configuring and compiling): Explain situation with PARALLELMFLAGS
11244         in the source directory.
11245
11246 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11247
11248         * locale/programs/ld-ctype.c: Spelling fixes.
11249         (ctype_finish): Fix argument of error message format.
11250         * locale/programs/ld-messages.c: Spelling fixes.
11251         * locale/programs/ld-monetary.c: Spelling fixes.
11252         * locale/programs/ld-time.c (time_finish): Make sure that name and
11253         format of era_entries are adjacent.
11254         (time_output): Reduce the size of the io vector.
11255
11256 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11257
11258         * manual/filesys.texi (Attribute Meanings): Move a misplaced
11259         paragraph.
11260
11261 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11262
11263         * locale/programs/ld-collate.c (collate_output): Convert
11264         undefined_offset to an array index.  Fix computation of other
11265         endian extra table.
11266
11267 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
11268
11269         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11270         return success with empty value.
11271
11272 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11273
11274         * posix/fnmatch.c: Include string.h also for glibc.
11275         (fnmatch, case '?'): Optimize if cascades a bit.
11276         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11277
11278         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11279
11280 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
11281
11282         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11283         * iconv/gconv_int.h: Declare UTF16 functions.
11284         * iconv/gconv_simple.c: Add UTF16 conversion functions.
11285
11286 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11287
11288         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11289         be used correctly as parameter for parse_dollars/parse_tilde.
11290
11291 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11292
11293         * manual/conf.texi (Utility Limits): Remove duplicate description
11294         of BC_DIM_MAX.
11295
11296 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
11297
11298         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11299         outbufend for dst==NULL.
11300
11301 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11302
11303         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11304         for dst==NULL.
11305         Fixes PR libc/1084.
11306
11307         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11308         Fixes PR libc/1083.
11309
11310 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
11311
11312         * sunrpc/Makefile: Remove special handling of bootparam.x,
11313         add rpcsvc/bootparam.h to headers.
11314         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11315         * sunrpc/rpcsvc/bootparam.x: Renamed to...
11316         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11317
11318 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11319
11320         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11321         detect and handle invalid descriptors.
11322
11323 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
11324
11325         * timezone/zic.c (dolink): Append complete path not only filename
11326         to ../ list.
11327
11328 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11329
11330         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11331
11332 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
11333
11334         * iconvdata/gconv-modules: Rename CP874 to IBM874.
11335         * iconvdata/Makefile: Likewise.
11336         * iconvdata/cp874.h: Removed.
11337         * iconvdata/cp874.c: Renamed to...
11338         * iconvdata/ibm874.c: ...this.
11339
11340 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11341
11342         * sysdeps/unix/sysv/linux/bits/types.h: Correct
11343         signed/unsigned-ness of blkcnt and fsblkcnt.
11344         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11345         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11346
11347         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11348         SOL_AAL, and SOL_IRDA.
11349
11350 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11351
11352         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
11353         include "linux_fsinfo.h".
11354         Based on a patch by H.J. Lu <hjl@gnu.org>.
11355
11356 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
11357
11358         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11359
11360 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11361
11362         * nscd/cache.c (prune_cache): Only disable file checking for
11363         future if the file does not exist.
11364         Update file_mtime if cache was flushed.
11365
11366 1999-04-15  David S. Miller  <davem@redhat.com>
11367
11368         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11369         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11370
11371 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
11372
11373         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11374         compilation of file.
11375
11376 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11377
11378         * Versions.def: Add GLIBC_2.1.1 to libpthread.
11379
11380         * iconvdata/Makefile (modules): Add KOI8-U.
11381         (distribute): Add koi8-u.c.
11382         (gen-8bit-gap-modules): Add koi8-u.
11383         * iconvdata/gconv-modules: Add KOI8-U entries.
11384         * iconvdata/koi8-u.c: New file.
11385
11386 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
11387
11388         * sunrpc/auth_des.c: 64bit fixes, security fixes.
11389         * sunrpc/auth_none.c: Pretty print.
11390         * sunrpc/auth_unix.c: Likewise.
11391         * sunrpc/authdes_prot.c: Likewise.
11392         * sunrpc/authuxprot.c: Likewise.
11393         * sunrpc/bindrsvprt.c: Likewise.
11394         * sunrpc/clnt_gen.c: Likewise.
11395         * sunrpc/rpc/xdr.h: Likewise.
11396         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11397         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11398         * sunrpc/rtime.c: Use new rpc_timeval.
11399         * sunrpc/svc_authux.c: Don't use *long pointers.
11400         * sunrpc/svcauth_des.c: Likewise + security fixes.
11401         * sunrpc/xdr_mem.c: Don't use *long pointers.
11402         * sunrpc/xdr_rec.c: Likewise.
11403         * sunrpc/xdr_sizeof.c: Likewise.
11404         * sunrpc/xdr_stdio.c: Likewise.
11405
11406 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11407
11408         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11409         so that it is redone for each sending.
11410
11411 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11412
11413         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11414
11415 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11416
11417         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11418         known to not exist don't try to load shared objects.
11419         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11420
11421         * nscd/cache.c (prune_cache): The table might not be unused.  In
11422         this case do nothing.
11423
11424         * catgets/gencat.c (read_input_file): Don't drop white spaces
11425         between number/identifier and string.
11426         Patch by Dima Barsky <dima@pwd.hp.com>.
11427         If no white space at all follows number/identifier remove existing
11428         message with the number/identifier.
11429
11430 1999-04-14  H.J. Lu  <hjl@gnu.org>
11431
11432         * sunrpc/clnt_udp.c (is_network_up): New function.
11433         (clntudp_call): Call is_network_up () to check if any network
11434         interface is up in case of timeout.
11435
11436 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11437
11438         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11439         * wctype/Makefile (tests): Add test_wcfuncs.
11440
11441 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
11442
11443         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11444         architectures.
11445         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11446         instead of CFLAGS.
11447         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11448         instead of CFLAGS. For gnulib and string directories use
11449         -Wa,-Av9a gcc ASFLAGS.
11450         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11451         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11452         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11453         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11454         the same way as sparc-*.
11455
11456 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
11457
11458         * locale/programs/locfile.c (locfile_read): Fix typo.
11459         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11460
11461 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
11462
11463         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11464         restarted after being interrupted by a signal.  The parameters on
11465         the stack were corrupted by the signal handler.
11466
11467         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11468         restarted after being interrupted by a signal.  The parameters on
11469         the stack were corrupted by the signal handler.
11470
11471 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11472
11473         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11474         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11475
11476 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
11477
11478         * posix/wordexp-test.c: In field-splitting test cases where
11479         subshells were involved, unset IFS first: some shells (ash) use
11480         IFS even when no expansion is performed.
11481
11482 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11483
11484         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11485         the real end of the chunk, not some random point inbetween.
11486         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
11487         obstack when growing.  Use fast version of obstack_blank when
11488         shrinking.
11489         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11490         allocating the vtable pointer.
11491         (_IO_obstack_vprintf): Adjust for above change and avoid
11492         unnecessary casts.  Use fast version of obstack_blank when
11493         shrinking.
11494         Fixes PR libc/1075.
11495
11496 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
11497
11498         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
11499         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11500
11501 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
11502
11503         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11504         is seen, as well as fixing semantics.  Don't reset the word count
11505         to zero when an invalid character is seen, but leave it as it was
11506         (this makes a difference with WRDE_APPEND).
11507
11508         * posix/wordexp-test.c: More test cases.
11509
11510         * posix/wordexp.c (parse_param): In words like ${var#pattern},
11511         always expand pattern when it is needed.  Also, handle quoting in
11512         pattern properly.
11513
11514 1999-04-12  Philip Blundell  <philb@gnu.org>
11515
11516         * elf/elf.h: Update ARM definitions to match current gas2.
11517
11518         * sysdeps/arm/bits/endian.h: Support big endian operation.
11519
11520         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11521         Don't bother range checking the port number.
11522
11523         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11524
11525         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11526         the syscall name in assembler output for ease of debugging.
11527
11528         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11529         compiler behaviour.
11530         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11531         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11532         (sysdep_routines): Add sigrestorer.
11533
11534         * string/tester.c (test_strcpy): Add new tests for unaligned
11535         arguments.
11536         * sysdeps/arm/bits/string.h: Delete inline implementations of
11537         strcpy and stpcpy.
11538
11539 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
11540
11541         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11542
11543 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
11544
11545         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11546
11547 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11548
11549         * iconvdata/Makefile (modules): Add TIS-620.
11550         (distribute): Add tis-620.c.
11551         (gen-8bit-gap-modules): tis-620.
11552         * iconvdata/tis-620.c: New file.
11553         * iconvdata/gconv-modules: Add TIS-620 entries.
11554
11555         * iconvdata/asmo_449.c: Correct comment.
11556
11557 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11558
11559         * manual/install.texi (Configuring and compiling): Comment out
11560         description of --disable-static since this doesn't work currently
11561         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11562
11563 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11564
11565         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11566         use binary search.
11567         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11568
11569 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11570
11571         * scripts/test-installation.pl (installation_problem): Skip
11572         libnss1_* libraries from glibc-compat add-on.
11573
11574 1999-04-07  H.J. Lu  <hjl@gnu.org>
11575
11576         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11577         libstdc++ 2.7.2.
11578         * posix/Versions (__waitpid): Likewise.
11579
11580 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11581
11582         * manual/install.texi (Reporting Bugs): Add section about reported
11583         bugs and correct email address of glibcbug script.
11584
11585 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
11586
11587         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11588         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11589         xdr_u_longlong_t. Based on patch from Dan Shechter
11590         <damageboy@isdn.net.il>.
11591         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11592         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11593
11594         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11595
11596 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11597
11598         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11599         directly if getdents returns with error set.
11600
11601 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11602
11603         * locale/langinfo.h (THOUSEP): Rename second occurence of
11604         THOUSANDS_SEP to THOUSEP.
11605         Reported by Roman Belenov <roman@nstl.nnov.ru>.
11606
11607 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
11608
11609         * hurd/STATUS: File removed.  Moved items that are still relevant into
11610         TODO list in hurd source.
11611
11612 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11613
11614         * sysdeps/mach/hurd/bits/time.h: New file.
11615         * sysdeps/mach/hurd/getrusage.c: New file.
11616         * sysdeps/mach/hurd/clk_tck.c: New file.
11617         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11618         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11619         (sysdep_routines): Add clk_tck.
11620         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11621         implemented.
11622
11623 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
11624
11625         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11626         (closelog): But instead here.
11627         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11628
11629 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11630
11631         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11632         the source directory.  Fixes PR libc/1059.
11633
11634 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11635
11636         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11637         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11638
11639 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
11640
11641         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11642         * iconvdata/testdata/ISO-8859-14: New file.
11643         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11644         * iconvdata/testdata/ISO-8859-15: New file.
11645         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11646
11647 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11648
11649         * iconvdata/testdata/CP1258: New file.
11650         * iconvdata/testdata/CP1258..UTF8: New file.
11651         * iconvdata/TESTS: Add CP1258 entry.
11652
11653         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11654
11655         * timezone/africa: Update from tzdata1999d.
11656         * timezone/europe: Likewise.
11657         * timezone/northamerica: Likewise.
11658
11659 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
11660
11661         * login/programs/pt_chown.c (main): Save effective user ID before
11662         dropping priviliges and use this to check if the program is
11663         properly installed.
11664
11665 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11666
11667         * iconvdata/testdata/CP1254: Update for charmap changes.
11668         * iconvdata/testdata/CP1254..UTF8: Likewise.
11669         * iconvdata/testdata/CP1255: Likewise.
11670         * iconvdata/testdata/CP1255..UTF8: Likewise.
11671         * iconvdata/testdata/CP1256: Likewise.
11672         * iconvdata/testdata/CP1256..UTF8: Likewise.
11673         * iconvdata/testdata/CP1257: Likewise.
11674         * iconvdata/testdata/CP1257..UTF8: Likewise.
11675
11676         * iconvdata/Makefile (distribute): Remove cp1258.h.
11677         (gen-8bit-gap-modules): Add cp1258.
11678         * iconvdata/cp1258.h: Removed.
11679
11680 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
11681
11682         * timezone/tst-timezone.c (tests): Add more cases.
11683         (check_tzvars): Mark errors clearer.
11684         (main): Likewise.
11685
11686 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11687
11688         * login/programs/pt_chown.c: Drop privileges if invoked with
11689         arguments.  Don't close the master pty.
11690
11691 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
11692
11693         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11694         Minor optimization.
11695
11696 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
11697
11698         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11699         relocation for SUID binaries.
11700
11701 1999-03-29  Paul Eggert  <eggert@twinsun.com>
11702
11703         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11704         while in child process.
11705
11706 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
11707
11708         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11709         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11710         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11711         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11712         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11713
11714         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11715         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11716         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11717         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11718         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11719         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11720         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11721         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11722         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11723         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11724         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11725         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11726         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11727         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11728         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11729         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11730         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11731         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11732         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11733         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11734         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11735         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11736         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11737         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11738         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11739         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11740
11741         * sysdeps/sparc/sparc32/bcopy.c: New file.
11742         * sysdeps/sparc/sparc32/bzero.c: New file.
11743         * sysdeps/sparc/sparc32/memchr.S: New file.
11744         * sysdeps/sparc/sparc32/memcpy.S: New file.
11745         * sysdeps/sparc/sparc32/memmove.c: New file.
11746         * sysdeps/sparc/sparc32/memset.S: New file.
11747         * sysdeps/sparc/sparc32/stpcpy.S: New file.
11748         * sysdeps/sparc/sparc32/strchr.S: New file.
11749         * sysdeps/sparc/sparc32/strrchr.c: New file.
11750         * sysdeps/sparc/sparc32/strcpy.S: New file.
11751         * sysdeps/sparc/sparc32/strlen.S: New file.
11752         * sysdeps/sparc/sparc32/strcat.S: New file.
11753         * sysdeps/sparc/sparc32/strcmp.S: New file.
11754
11755         * sysdeps/sparc/sparc64/bcopy.c: New file.
11756         * sysdeps/sparc/sparc64/bzero.c: New file.
11757         * sysdeps/sparc/sparc64/memchr.S: New file.
11758         * sysdeps/sparc/sparc64/memcmp.S: New file.
11759         * sysdeps/sparc/sparc64/memcpy.S: New file.
11760         * sysdeps/sparc/sparc64/memset.S: New file.
11761         * sysdeps/sparc/sparc64/stpcpy.S: New file.
11762         * sysdeps/sparc/sparc64/strcat.S: New file.
11763         * sysdeps/sparc/sparc64/strchr.S: New file.
11764         * sysdeps/sparc/sparc64/strcmp.S: New file.
11765         * sysdeps/sparc/sparc64/strcpy.S: New file.
11766         * sysdeps/sparc/sparc64/strcspn.S: New file.
11767         * sysdeps/sparc/sparc64/strlen.S: New file.
11768         * sysdeps/sparc/sparc64/strncpy.S: New file.
11769         * sysdeps/sparc/sparc64/strpbrk.S: New file.
11770         * sysdeps/sparc/sparc64/strrchr.c: New file.
11771         * sysdeps/sparc/sparc64/strspn.S: New file.
11772         * sysdeps/sparc/sparc64/stpncpy.S: New file.
11773         * sysdeps/sparc/sparc64/strncmp.S: New file.
11774
11775         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11776         Append -fPIC, don't replace.
11777
11778         * configure.in: Recognize sparcv8plus / sparcv9.
11779
11780 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11781
11782         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11783         char * to avoid C++ warning.
11784         Patch by yasushi@cs.washington.edu [PR libc/1035].
11785
11786 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11787
11788         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11789         declared in stdlib.h, correct return value of mkstemp.
11790         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11791
11792         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11793         from Linux 2.2.5.
11794
11795 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11796
11797         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11798         C++ warning.
11799
11800         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11801         inline functions.  Closes PR libc/1049.
11802
11803 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11804
11805         * timezone/README: Update from tzdata1999c and tzcode1999c.
11806
11807         * timezone/africa: Update from tzdata1999c.
11808         * timezone/antarctica: Likewise.
11809         * timezone/asia: Likewise.
11810         * timezone/australasia: Likewise.
11811         * timezone/europe: Likewise.
11812         * timezone/northamerica: Likewise.
11813         * timezone/southamerica: Likewise.
11814         * timezone/zone.tab: Likewise.
11815
11816         * timezone/zic.c: Update from tzcode1999c.
11817
11818 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11819
11820         * Makerules: Add $(common-objpfx)Versions.all to common-generated
11821         outside of ifndef avoid-generated.
11822
11823         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11824         in iofdopen.c.
11825         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11826         iofopen.c.
11827         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11828         in iofclose.c.
11829         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11830         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11831
11832 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11833
11834         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11835         if we build the profiled library.
11836
11837 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11838
11839         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
11840         Jaeger <aj@arthur.rhein-neckar.de>
11841
11842 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
11843
11844         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11845         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11846         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11847
11848 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
11849
11850         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11851         works properly in subdirs.
11852
11853 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
11854
11855         * sysdeps/mach/hurd/Makefile: Undo last change.
11856         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11857         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11858
11859         * mach/Machrules (+preinit, +postinit, +interp,
11860         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
11861         linked just like other shared libraries.
11862         (interface.so): Fix typo in defn, so it works.
11863         ($(objpfx)$(interface.so)): Make it depend on libc.so.
11864
11865 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
11866
11867         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11868         $(link-rpcuserlibs).
11869
11870 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11871
11872         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11873         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11874         targets if not building shared libraries.
11875
11876 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11877
11878         * configure.in: Also look in $PATH when searching for
11879         install-info.  Remove autoconf bug workaround and require autoconf
11880         2.13.
11881
11882 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11883
11884         * db/Makefile: Don't try to install shared library link if not
11885         building with shared libs.
11886
11887 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11888
11889         * rt/Makefile: Link against static library if no shared lib is
11890         available.
11891
11892         * localedata/Makefile: The shells scripts implementing the test
11893         require the dynamic linker which is not available with
11894         --disable-shared.  Skip the test if --disable-shared is given.
11895
11896         * linuxthreads/Makefile: Link test against static libpthread if no
11897         shared lib is available.
11898
11899         * iconvdata/Makefile (tests): Run iconv-test only if we're
11900         building shared libraries.
11901         * elf/Makefile (tests): Likewise for elf tests.
11902
11903         * posix/Makefile: The test frameworks globtest and wordexp-test
11904         require the dynamic linker which is not available with
11905         --disable-shared.  Skip the test if --disable-shared is given.
11906
11907         * grp/Makefile (otherlibs): For static nss build link against
11908         necessary libs.
11909
11910 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11911
11912         * debug/Makefile (install-bin): Install and build catchsegv only
11913         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
11914         libc/965].
11915
11916 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11917
11918         * time/tzfile.c (__tzfile_read): Handle the case where there are
11919         transitions but no DST.
11920
11921 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
11922
11923         * mach/Machrules (extra-libs-others): Add $(interface-library) here
11924         too, so it gets built in the others pass rather than the lib pass.
11925         This is necessary since the RPC libraries need to be linked against
11926         libc.
11927
11928 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
11929
11930         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11931         _itoa_word decl.
11932
11933         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11934         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11935         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11936         versions of lib{mach,hurd}user.so without reference to libc.so,
11937         then link libc.so against that to get deps and symbol versions, then
11938         finally link real lib*user.so against libc.so.
11939
11940         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11941         Support whole-file locking (only) by using the file_lock RPC.  This
11942         has very wrong semantics, but is better than nothing for the time
11943         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
11944         protocols that will be somewhat hairy to specify.)
11945
11946 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
11947
11948         * sysdeps/mach/hurd/ptsname.c: New file.
11949
11950 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11951
11952         * timezone/asia: Fix rule in Asia/Nicosia entry.
11953
11954 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11955
11956         * manual/getopt.texi (Using Getopt): Explain "::" in option
11957         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
11958
11959 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
11960
11961         * sunrpc/clnt_unix.c: Fix creation of parameters for
11962         sendmsg/recvmsg on non intel platforms.
11963         * sunrpc/svc_unix.c: Likewise.
11964
11965 1999-03-18  Philip Blundell  <philb@gnu.org>
11966
11967         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
11968         implementation.
11969
11970 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11971
11972         * timezone/africa: Update from tzdata1999b.
11973         * timezone/asia: Likewise.
11974         * timezone/australasia: Likewise.
11975         * timezone/europe: Likewise.
11976         * timezone/northamerica: Likewise.
11977         * timezone/southamerica: Likewise.
11978         * timezone/zone.tab: Likewise.
11979
11980         * timezone/README: Mention tzdata1999b.
11981
11982 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
11983
11984         * sysdeps/generic/segfault.c (write_strsignal): New function.
11985         (catch_segfault): Use it instead of calling strsignal.
11986
11987 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11988
11989         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11990         char to avoid warning.
11991
11992 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11993
11994         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11995
11996         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11997         outbuf to unsigned char to avoid warning.
11998
11999 1999-03-11  David S. Miller  <davem@redhat.com>
12000
12001         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
12002         masks.
12003         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
12004
12005 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12006
12007         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
12008         `unsigned char'.
12009         (gconv_step_data): Likewise.
12010         * iconv/gconv_int.h (__gconv): Likewise.
12011         (__BUILINT_TRANS): Likewise.
12012         * iconv/gconv.c (__gconv): Likewise.
12013         * iconv/iconv.c (iconv): Add casts for call of __gconv.
12014         * iconv/skeleton.c: Change local parameters and variable from `char' to
12015         `unsigned char'.  Remove casts from calls into modules.
12016         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
12017         `char' to `unsigned char'.
12018         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
12019         * wcsmbs/mbrtowc.c: Likewise.
12020         * wcsmbs/mbsnrtowcs.c: Likewise.
12021         * wcsmbs/mbsrtowcs.c: Likewise.
12022         * wcsmbs/wcrtomb.c: Likewise.
12023         * wcsmbs/wcsnrtombs.c: Likewise.
12024         * wcsmbs/wcsrtombs.c: Likewise.
12025         * wcsmbs/wctob.c: Likewise.
12026
12027 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
12028
12029         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
12030         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
12031         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
12032         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
12033         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
12034         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
12035
12036 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
12037
12038         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
12039         _hurd_select if TIMEMOUT is -1.
12040
12041 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
12042
12043         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
12044
12045 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12046
12047         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
12048         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
12049
12050 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12051
12052         * manual/libc.texinfo: Undo last change for now.
12053
12054 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12055
12056         * intl/locale.alias: Add entries for Croatian.
12057         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
12058
12059 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
12060
12061         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
12062         if the opened master pty really is a pty.  `isatty' checks for
12063         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
12064         if we are out of pty's.
12065
12066 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
12067
12068         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
12069         opened file is closed on exec.
12070         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
12071         opened socket.
12072
12073 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12074
12075         * manual/llio.texi (File Position Primitive): Reformat @end
12076         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
12077
12078 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
12079
12080         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
12081         entry is found.
12082         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12083         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12084
12085         * locale/programs/localedef.c (main): Initialize `cat' to please
12086         the compiler.
12087
12088 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
12089
12090         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
12091         check for root-owned symlinks and reject them too.
12092
12093 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12094
12095         * stdio-common/printf_fphex.c: Move to ...
12096         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
12097         extended precision number.
12098         * sysdeps/m68k/printf_fphex.c: New file.
12099
12100 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12101
12102         * manual/stdio.texi: Fix typos.
12103
12104 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
12105
12106         * version.h (VERSION): Bump to 2.1.1.
12107
12108 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
12109
12110         * nis/ypclnt.c: Try only twice to connect to NIS server.
12111
12112 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
12113
12114         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
12115
12116 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12117
12118         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
12119         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
12120         * stdlib/strtold.c: Moved to ...
12121         * sysdeps/generic/strtold.c: ... here.
12122         * sysdeps/m68k/strtold.c: New file.
12123
12124 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12125
12126         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
12127         point if the precision is zero, even if the mantissa is non-zero.
12128
12129 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
12130
12131         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
12132         arguments into the request message buffer inside `send_rpc'
12133         subfunction.  We must repeat the marshalling when retrying the RPC
12134         after a SIGTTOU delivery.
12135
12136         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
12137         path when there is no ctty port.
12138         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
12139         Move sigstate check inside loop so we recheck after handling a signal.
12140
12141 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12142
12143         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
12144         O_EXLOCK are BSD extensions.
12145         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
12146
12147 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
12148
12149         * manual/signal.texi (Termination in Handler): Correct example.
12150         Install default handler before reraising the signal.
12151         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
12152
12153 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
12154
12155         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
12156         null, in which case send an empty string.
12157
12158 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
12159
12160         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
12161         backward compatibility EH functions to be linked when using
12162         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
12163
12164 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12165
12166         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
12167         /dev/pts status may change during runtime.
12168
12169 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12170
12171         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
12172         change.  /dev/pts status can change during runtime.
12173
12174 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
12175
12176         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
12177         poll reports error.
12178         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
12179         add some more sanity checks.
12180         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
12181         parser prototype.
12182
12183 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
12184
12185         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
12186         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
12187         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
12188         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
12189         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
12190         for x_getint32.
12191         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
12192         * nis/nis_print.c: Fix ctime argument for platforms where
12193         sizeof (time_t) != sizeof (int).
12194
12195 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
12196
12197         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
12198         CLOCKS_PER_SEC instead of CLK_TCK.
12199
12200 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
12201
12202         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
12203         whether /dev/pts is available.
12204         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
12205         dev_pts_available.
12206
12207         * posix/globtest.sh: Make common_objpfx path absolute and and db2
12208         and hesiod directory to library path [PR libc/1007].
12209
12210 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12211
12212         * resolv/inet_addr.c (inet_aton): Don't allow componets >
12213         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
12214
12215 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
12216
12217         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
12218         DT_PLTGOT has already been relocated.
12219         (__elf_machine_fixup_plt): Likewise.
12220         Minor cleanups.
12221
12222 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
12223
12224         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
12225
12226 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
12227
12228         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
12229         and fold string to uppercase [PR libc/1005].
12230
12231 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12232
12233         * elf/dl-load.c (lose): Fix return type.
12234
12235 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
12236
12237         * sysdeps/mach/hurd/bits/fcntl.h
12238         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
12239         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
12240         set O_NOTRANS as well.
12241         (__hurd_file_name_lookup_retry): At successful end of lookup,
12242         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
12243         it is a translated node not owned by root.
12244         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
12245         on the file name passed to LOOKUP.
12246
12247 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
12248
12249         * manual/time.texi (High Resolution Timer): Correct computation in
12250         example.  Reported by jjf@devel.cemsys.com.
12251
12252 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
12253
12254         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12255         entry is already relocated.
12256
12257 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12258
12259         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
12260         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12261
12262 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12263
12264         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12265         uc_link which is the right name according to Unix98.
12266         Reported by Craig Metz [PR libc/1001].
12267         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12268         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12269         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12270         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12271         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12272         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12273
12274 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12275
12276         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12277         @ifinfo.
12278
12279 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12280
12281         * iconvdata/Makefile: Always include iconv-rules, but disable rule
12282         to regenerate it if avoid-generated.
12283
12284         * Makeconfig: Always include sys-dirs, but disable rule to
12285         regenerate it when avoid-generated.
12286
12287         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12288         rule to generate sysd-syscalls.
12289
12290         * elf/Makefile (generated): Remove $(objpfx) from names.
12291
12292 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
12293
12294         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12295         actual length if the adress length is smaller than the input
12296         value.  Change type of *LEN paramater to socklen_t.
12297         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12298         * sysdeps/mach/hurd/accept.c (accept): Likewise.
12299         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12300         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12301         paramater to socklen_t.
12302
12303 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
12304
12305         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12306         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12307         with the RPC.
12308
12309 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12310
12311         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12312         __get_phys_pages): Cast &HBI to silence warning.
12313
12314         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12315         * hurd/hurdchdir.c: New file.
12316         * hurd/hurdfchdir.c: New file.
12317         * sysdeps/mach/hurd/chroot.c: Call
12318         _hurd_change_directory_port_from_name to do the work.
12319         * sysdeps/mach/hurd/chdir.c: Likewise.
12320         * sysdeps/mach/hurd/fchdir.c: Call
12321         _hurd_change_directory_port_from_fd to do the work.
12322         * hurd/fchroot.c: Likewise.
12323         * hurd/hurd.h: Declare them.
12324
12325 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
12326
12327         * elf/dl-load.c (lose): Add more comments to explain the `why'.
12328         (_dl_map_object): Remove redundant test.
12329
12330 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12331
12332         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12333         try to _hurd_port_free a lower-numbered descriptor that was not in any
12334         fd_set.
12335
12336 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12337
12338         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12339         declaration for ____wcstod_l_internal.
12340
12341         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12342         __strtod_internal prototype.
12343         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12344         (____strtold_l_internal): Add prototype declaration.
12345         (__strtold_l): Call correct function.
12346
12347 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
12348
12349         * elf/elf.h: Add 32bit HPPA definitions.
12350
12351 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12352
12353         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12354         non-checked heap is restored when malloc checking was requested by
12355         the user.
12356         (struct malloc_state): Add using_malloc_checking.
12357         (MALLOC_STATE_VERSION): Increment minor.
12358         (using_malloc_checking, disallow_malloc_check): New variables.
12359         (__malloc_check_init): Use them.
12360         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12361         that it can the chunk is properly instrumented when malloc
12362         checking is enabled.  Set the new using_malloc_checking field.
12363         (malloc_hook_ini): Correct signature when _LIBC is not defined.
12364
12365 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12366
12367         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12368         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12369         time.
12370
12371         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12372         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12373         if ld.so is the main program.
12374
12375 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
12376
12377         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12378         large for work_buffer, allocate new buffer.
12379         (printf_unknown): Likewise.  [PR libc/988]
12380
12381 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12382
12383         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12384         instead of stat and fstat.
12385         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12386
12387 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12388
12389         * elf/dl-error.c (_dl_signal_cerror): New function.
12390         (_dl_signal_error): Don't call receiver function.
12391         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12392         instead of _dl_signal_error when reporting references to undefined
12393         symbols or versions.
12394         (_dl_lookup_versioned_symbol): Likewise.
12395         (_dl_lookup_versioned_symbol_skip): Likewise.
12396         * elf/dl-version.c (match_symbol): Likewise.
12397
12398         * elf/ldsodefs.h: Declare _dl_signal_cerror.
12399
12400 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12401
12402         * misc/getttyent.c (getttyent): Release lock on stream later to
12403         also protect global variable zapchar.
12404
12405         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12406         __times [PR libc/990].
12407
12408 1999-02-21  David S. Miller  <davem@redhat.com>
12409
12410         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12411         parentheses in Feb 2 changes.
12412         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12413
12414 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12415
12416         * sysdeps/generic/glob.c (glob): Save previous errno.
12417
12418 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
12419
12420         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12421         lookup functions if it is too small.
12422
12423 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
12424
12425         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12426         for tracing to the scope lists.
12427         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12428         DT_SYMTAB is always available according to ELF spec.
12429
12430         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12431         call test whether there is any scope left.
12432         (_dl_lookup_versioned_symbol_skip): Likewise.
12433
12434         * elf/Makefile (distribute): Add do-lookup.h.
12435         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
12436         * elf/dl-lookup.c: Move do_lookup function in separate file and
12437         include the file twice, for handling versioning and without it.
12438
12439         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12440         entry is already relocated.
12441         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12442         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12443         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12444         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12445         Likewise.
12446         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12447         Likewise.
12448         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12449         Likewise.
12450
12451         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12452         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12453         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12454         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12455         rel and rela relocations can both happen and skip one test if this
12456         is not possible.
12457         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12458         appropriately.
12459         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12460         already relocated.
12461         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12462         relocated.
12463         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12464         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12465         (_dl_map_object): DT_STRTAB entry is already relocated.
12466         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12467         already relocated.
12468         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12469         relocated.
12470         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12471         DT_VERSYM entries are already relocated.
12472         (profile_fixup): Likewise.
12473         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
12474         all users.
12475         (match_symbol): DT_STRTAB entry is already relocated.
12476         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
12477         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12478         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
12479         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12480         (find_needed): DT_STRTAB entry is already relocated.
12481         (dl_main): Pass extra argument to elf_get_dynamic_info.
12482         DT_STRTAB entry is already relocated.
12483         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12484         DT_PLTGOT entries are already relocated.
12485         (elf_machine_rela): Likewise for DT_SYMTAB.
12486         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12487         relocated.
12488         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12489         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12490         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12491         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12492         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12493         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12494         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12495         * sysdeps/mips/mips64/dl-machine.h: Likewise.
12496
12497         * grp/initgroups.c (initgroups): If function in current module was
12498         successful don't stop but continue to process to get all the groups.
12499
12500         * elf/dl-load.c (_dl_map_object_from_fd): Use global
12501         _dl_pf_to_proot array to convert p_flags value.
12502         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12503
12504         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12505         loop to clear `info'.
12506
12507         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12508         do the work and don't use inline assembler.
12509
12510 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
12511
12512         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12513         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12514         noreturn, and prevent it from being inlined.
12515         Define LOSE appropriately.
12516         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12517         Optimize decoding of p_flags for certain platforms.
12518
12519 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
12520
12521         * Makeconfig (link-libc): When doing a static link, make sure that
12522         libgcc.a is included both before and after libc.a.
12523
12524 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
12525
12526         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12527         sp_warn, sp_inact, sp_expire and sp_flag.
12528
12529 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
12530
12531         * elf/link.h (link_map): Add l_dev and l_ino.
12532         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12533         loaded shared object with all loaded objects.  Initialize l_ino
12534         and l_dev in case it's new.
12535         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12536         object.
12537         * elf/Makefile: Compile and run new test.
12538         * elf/multiload.c: New file.
12539
12540         * nss/nsswitch.h (service_user): Change name field from const char *
12541         to char[0].
12542         (name_database_entry): Likewise.
12543         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12544         for change of `service_user'.
12545         (nss_getline): Adjust memory allocation for change of
12546         `name_database_entry'.
12547
12548         * catgets/catgets.c: Correctly handle NLSPATH from environment
12549         [PR libc/980].
12550
12551         * io/Makefile (routines): Add lock64.
12552         * io/Versions: Add lockf64 for GLIBC_2.1.1.
12553         * sysdeps/generic/lockf64.c: New file.
12554
12555 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12556
12557         * string/bits/string2.h: Only use strncmp optimization if count
12558         argument is constant.
12559
12560 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
12561
12562         * sysdeps/mach/hurd/revoke.c: New file.
12563
12564 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12565
12566         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12567         int to avoid warning about `ISO C restricts enumerator values to
12568         range of `int''.
12569
12570 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12571
12572         * elf/dlfcn.h: Fix typo.
12573         * sysdeps/generic/bits/dlfcn.h: Likewise.
12574         * sysdeps/mips/bits/dlfcn.h: Likewise.
12575
12576 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12577
12578         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12579         for the case N == 0.
12580
12581         * db2/Makefile (distribute): Add LICENSE.
12582
12583 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
12584
12585         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12586         generated files.
12587
12588         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12589
12590 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12591
12592         * time/mktime.c: Use ISO C form for function definitions and
12593         remove unnecessary prototypes.
12594
12595         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12596
12597         * time/time.h: Avoid unneccesary #ifdef.
12598
12599 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
12600
12601         * stdio-common/_itoa.c (_itoa): Correct parameters to
12602         udiv_qrnnd_preinv.
12603
12604 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12605
12606         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12607         before (e.g. in glob.h).
12608         Closes PR libc/959.
12609
12610 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12611
12612         * sysdeps/mips/fpu_control.h: Fix typo.
12613         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12614         Remove __setfpucw.
12615
12616 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
12617
12618         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12619         the "unused" ends of the sockets.  Let pipes be bidirectional.
12620
12621 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12622
12623         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12624         invalid ai_flags.
12625
12626 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12627
12628         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
12629         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12630
12631         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12632         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12633
12634 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12635
12636         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12637
12638 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12639
12640         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
12641         check for priority mask.
12642
12643 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
12644
12645         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12646         Reported by Craig Metz <cmetz@inner.net> .
12647
12648 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12649
12650         * stdio-common/Makefile (tests): tllformat added.
12651
12652         * stdio-common/tllformat.c: New program, based on tiformat.c with
12653         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12654
12655 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12656
12657         * posix/test-vfork.c: Fix exit status test.
12658
12659 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12660
12661         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12662         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12663
12664 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12665
12666         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12667         of separare explicit comparisons.
12668
12669 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12670
12671         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12672         defined.
12673
12674         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12675         defined.
12676
12677 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
12678
12679         * po/el.po: Update from translation team.
12680
12681 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12682
12683         * intl/locale.alias: Fix slovenian entry [PR libc/948].
12684
12685 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12686
12687         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12688         * inet/ruserpass.c: Likewise.
12689         * locale/programs/stringtrans.c: Likewise.
12690         * locale/programs/localedef.c: Likewise.
12691         * nscd/grpcache.c: Likewise.
12692         * nss/nss_files/files-XXX.c: Likewise.
12693         * stdlib/canonicalize.c: Likewise.
12694         * sysdeps/posix/sigwait.c: Likewise.
12695
12696 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12697
12698         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12699         even on 64 bit platforms.
12700
12701         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12702         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12703
12704 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
12705
12706         * intl/dcgettext.c: Include locale.h is available.
12707
12708 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
12709
12710         * po/nl.po: Update from translation team.
12711
12712         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12713
12714         * Makefile: Allow calling goals for po subdir.
12715
12716         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12717         signal definitions.
12718
12719         * po/el.po: New file.
12720
12721 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12722
12723         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12724         when processing DT_SYMBOLIC objects.
12725
12726 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12727
12728         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12729         program headers without PT_PHDR only require that they are
12730         contained within one of the loaded segments.  Don't use assert,
12731         since that would be a bug in the object, not the dynamic linker.
12732
12733 1999-02-08  Richard Henderson  <rth@cygnus.com>
12734
12735         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12736         restore all call-clobbered fp regs.
12737
12738 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
12739
12740         * po/cs.po: New file.
12741
12742         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12743         SUID binaries.
12744
12745 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
12746
12747         * signal/signal.h: Don't declare __libc_allocate_rtsig.
12748         * include/signal.h: Declare __libc_allocate_rtsig here.
12749
12750         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12751         point functions, not do_lookup since the later can be called more
12752         than once.
12753
12754 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
12755
12756         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12757         macro, so that architectures which need to add some special
12758         offset to stack pointer can share this file.
12759
12760         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12761         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12762         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12763         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12764
12765         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12766         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12767         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12768         between sparc32 and sparc64.
12769
12770         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12771         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12772         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12773         between sparc32 and sparc64.
12774
12775         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12776         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12777         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12778         between sparc32 and sparc64.
12779
12780         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12782         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12783         between sparc32 and sparc64.
12784
12785 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
12786
12787         * Versions.def: New version GLIBC_2.1.1 for libc.
12788         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12789         * stdlib/labs.c: Moved to...
12790         * sysdeps/generic/labs.c: ...here.
12791         * stdlib/llabs.c: Moved to...
12792         * sysdeps/generic/llabs.c: ...here.
12793         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12794         header.  Declare _Exit.
12795         * sysdeps/generic/_exit.c: Add alias _Exit.
12796         * sysdeps/mach/hurd/_exit.c: Likewise.
12797         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12798         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12799         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12800         * sysdeps/unix/_exit.c: Likewise.
12801         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12802         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
12803         * sysdeps/wordsize-64/inttypes.h: Likewise.
12804         * sysdeps/wordsize-32/llabs.c: New file.
12805         * sysdeps/wordsize-32/lldiv.c: New file.
12806         * sysdeps/wordsize-64/labs.c: New file.
12807         * sysdeps/wordsize-64/ldiv.c: New file.
12808         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12809         * manual/startup.texi: Document _Exit.
12810
12811 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12812
12813         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12814
12815 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
12816
12817         * Versions.def: Add versions for ld.so.
12818         * csu/Versions: Remove __libc_stack_end here.
12819         * elf/Versions: Split libc definitions in libc and ld.so definitions.
12820         * elf/Makefile (ld-map): Change to ld.so.map.
12821         * scripts/versions.awk: Recognize dot in library names.
12822
12823         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12824         Don't use __tolower and __toupper in inline functions.
12825         Add optimizing macros for tolower and toupper.
12826         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12827         (_toupper): Don't use __toupper.
12828         * ctype/ctype.c (tolower): Don't use __tolower.
12829         (toupper): Don't use toupper.
12830
12831         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12832
12833         * resolv/Versions (libresolv): Export __ns_name_unpack and
12834         __ns_name_ntop.
12835         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12836         make it global.  Change all users.  Similar for ns_name_ntop.
12837         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12838         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
12839         directly to detect too small buffer.
12840         * resolv/nss_dns/dns-network.c: Likewise.
12841
12842         * stdio-common/Makefile (tests): Add scanf12.
12843         * stdio-common/scanf12.c: New file.
12844         * stdio-common/scanf12.input: New file.
12845         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12846         floating-point correctly if the number is invalid.
12847
12848         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12849         functions.
12850         * stdio-common/printf_fp.c: Likewise.
12851         * stdio-common/printf_fphex.c: Likewise.
12852         * stdio-common/vfprintf.c: Likewise.
12853
12854
12855 See ChangeLog.9 for earlier changes.