Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-02-19  Ulrich Drepper  <drepper@redhat.com>
2
3         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
4         definition compatible with definition in 2.1.2 and before.
5         (struct ucontext): Use fpregset_t.
6         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
7         as pointer to fpregset_t.
8
9 2000-02-18  Ulrich Drepper  <drepper@redhat.com>
10
11         * string/bits/string2.h (strnlen): Add cast to prevent warning.
12
13         * nscd/connections.c (handle_request): Don't abort() if unknown
14         command is sent.
15
16 2000-02-17  Ulrich Drepper  <drepper@redhat.com>
17
18         * nscd/hstcache.c (cache_addhst): Don't cache name->record entries
19         if more than one IP address is available.
20
21 2000-02-17  Jakub Jelinek  <jakub@redhat.com>
22
23         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
24
25 2000-02-16  Ulrich Drepper  <drepper@redhat.com>
26
27         * locale/programs/charmap.c (charmap_read): Find charmap also in
28         the standard directory.
29
30         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
31         __syscall_mmap2.
32
33         * sysdeps/unix/sysv/linux/execve.c: Pretty print.
34
35         * po/it.po: New file.
36         * po/pl.po: Update from translation team.
37
38 2000-02-16  Andreas Jaeger  <aj@suse.de>
39
40         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
41         value.
42
43 2000-02-16  Andreas Jaeger  <aj@suse.de>
44
45         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
46         typo.
47
48 2000-02-15  Andreas Jaeger  <aj@suse.de>
49
50         * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
51
52 2000-02-15  Andreas Jaeger  <aj@suse.de>
53
54         * math/libm-test.inc (nearbyint_test): Add some tests.
55         (rint_test): Likewise.
56
57 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
58
59         * locale/programs/repertoire.c (repertoire_new_char): NUL
60         terminated names of character in range.
61
62         * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
63         Define and initialize use_outdigits in the inner loops.
64
65         * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
66         not exist.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
67
68         * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
69         enable it.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
70         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
71         * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
72
73 2000-02-14  Andreas Jaeger  <aj@suse.de>
74
75         * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
76
77 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
78
79         * manual/job.texi: Fix typos.
80         * manual/process.texi: Likewise.
81         * manual/signal.texi: Likewise.
82
83         * sysdeps/powerpc/atomicity.h: Remove white space to avoid
84         compiler warning.
85
86 2000-02-14  Scott Bambrough  <scottb@netwinder.org>
87
88         * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm):  Add
89         Rebel-NetWinder to platform table so _ioperm platform lookup via
90         /proc/cpuinfo works on later version NetWinders.
91
92 2000-02-13  Ulrich Drepper  <drepper@redhat.com>
93
94         * locale/programs/charmap.c (charmap_read): Remove erronous free
95         call.
96
97         * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
98         so test for overflow and handle it.
99         * sysdeps/i386/fpu/s_sinf.S: Likewise.
100         * sysdeps/i386/fpu/s_tanf.S: Likewise.
101         Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
102
103         * iconvdata/Makefile (modules): Add UTF-16.
104         (distribute): Add utf-16.c.
105         * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
106         UTF-16LE.
107         * iconvdata/utf-16.c: New file.
108         * iconv/gconv_builtin.h: Remove UTF-16 entries here.
109         * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
110         PR libc/1580 and libc/1581.
111
112         * iconv/skeleton.c: Increment __invocation_counter after every call
113         to the loops.
114
115 2000-02-12  Andreas Jaeger  <aj@suse.de>
116
117         * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
118         declaration to place where it's needed to avoid compiler warning.
119         * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
120
121 2000-02-12  Ulrich Drepper  <drepper@redhat.com>
122
123         * locale/weightwc.h (findidx): Correct find index value.
124
125         * locale/nl_langinfo.h: Add casts to prevent warnings.
126
127         * wctype/iswctype_l.c: Use correct types for mapped data.
128         * wctype/wcfuncs.c: Add one more comment for clarification.
129         * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
130         * wctype/wctrans.c: Likewise.
131
132 2000-02-12  Andreas Jaeger  <aj@suse.de>
133
134         * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
135         conventions.
136         (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
137         (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
138         file and make dependend on RESOLVE.
139         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
140         (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
141
142 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
143
144         * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
145
146         * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
147         alias for CURRENCY_SYMBOL.
148         * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
149         information.  [PR libc/1583].
150
151 2000-02-08  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
152
153         * locale/weightwc.h: Fix problem with collating-element.
154
155         * locale/programs/ld-collate.c (collate_finish): Output wide
156         character collating-symbol, which has no wide strings.
157
158         * locale/programs/ld-collate.c (collate_output): Fix problem with
159         wide character collating-element.
160
161 2000-02-09  Andreas Jaeger  <aj@suse.de>
162
163         * time/strptime.c (strptime_internal): Fix pointer dereference.
164         Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
165         libc/1591.
166
167 2000-02-08  Jakub Jelinek  <jakub@redhat.com>
168
169         * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
170         * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
171         * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
172         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
173         shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
174         * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
175         and oldshmctl to sysdep-routines.
176
177 2000-02-08  Andreas Jaeger  <aj@suse.de>
178
179         * locale/programs/locale.c (write_locales): Fix handling of
180         whitespace lines.
181         Fixes PR libc/1588, reported by Miroslav Holcak
182         <miroslav.holcak@vitkovice.cz>.
183
184 2000-02-07  Thorsten Kukuk  <kukuk@suse.de>
185
186         * config.make.in: Add infodir.
187         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
188         header files.
189
190 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
191
192         * posix/getopt.c: Suppress messages if first character of
193         optstring is a colon (PR libc/1584).
194
195         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
196         and elf_* types to interpret values passed up from the kernel.
197         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
198
199         * locale/nl_langinfo.c: Correct return value in error case.  Don't
200         set errno (PR libc/1582).
201         * manual/locale.texi: Update to reflect change.
202
203 2000-02-02  Andreas Schwab  <schwab@suse.de>
204
205         * malloc/Makefile (distribute): Add memprof.h.
206         * malloc/memprof.c: Move definition of GETSP and GETTIME to new
207         header memprof.h.
208         * sysdeps/generic/memprof.h: New file.
209         * sysdeps/alpha/memprof.h: New file.
210         * sysdeps/i386/memprof.h: New file.
211         * sysdeps/m68k/memprof.h: New file.
212         * sysdeps/mips/memprof.h: New file.
213         * sysdeps/powerpc/memprof.h: New file.
214         * sysdeps/sparc/memprof.h: New file.
215
216 2000-02-01  Jakub Jelinek  <jakub@redhat.com>
217
218         * sysdeps/unix/sysv/linux/getresgid.c: Move...
219         * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
220         (getresgid): Use getresgid32 if __libc_missing_32bit_uids
221         is -1 or 0.
222         * sysdeps/unix/sysv/linux/getresuid.c: Move...
223         * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
224         (getresuid): Use getresuid32 if __libc_missing_32bit_uids
225         is -1 or 0.
226         * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
227         __libc_missing_32bit_uids.
228         (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
229         -1 or 0.
230         * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
231         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
232         * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
233         * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
234         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
235         * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
236         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
237         * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
238         * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
239         * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
240         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
241         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
242         * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
243         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
244         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
245         * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
246         * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
247         * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
248         * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
249         * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
250         * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
251         * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
252         * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
253         * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
254         * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
255         * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
256         * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
257         * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
258         * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
259         * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
260         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
261         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
262         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
263         * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
264         Make syscall directly, no stubs needed.
265         (getresgid): Likewise.
266         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
267         Likewise.
268         (getresgid): Likewise.
269
270 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
271
272         * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
273         Reported by Bruno Haible <haible@ilog.fr>.
274
275         * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
276
277         * stdio-common/printf_fp.c: Truely support wide characater output.
278         Finally handle decimal points and thousands separator characters
279         correctly for multibyte output.
280         * stdio-common/printf_size.c: Likewise.
281         * sysdeps/generic/printf_fphex.c: Likewise.
282         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
283
284         * stdio-common/vfscanf.c: Implement I modifier for numbers to read
285         locale dependent digits.
286
287         * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
288         decimal point and thousands separator values to wide characters from
289         wide character strings.
290         * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
291
292         * locale/indigitswc.h: Dereference wcdigits array elements.
293
294 2000-02-03  Jakub Jelinek  <jakub@redhat.com>
295
296         * stdlib/canonicalize.c (canonicalize): Zero terminate
297         path to copy on error.
298
299 2000-02-01  Cristian Gafton  <gafton@redhat.com>
300
301         * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
302
303 2000-01-31  Philip Blundell  <philb@gnu.org>
304
305         * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
306
307 2000-01-31  Andreas Jaeger  <aj@suse.de>
308
309         * intl/Makefile (generated): msgs.h is generated.
310
311         * localedata/Makefile (generated-dirs): Add de_DE.437.
312
313 2000-01-31  Jakub Jelinek  <jakub@redhat.com>
314
315         * config.make.in: Allow default localedir to come from configure.
316         * configure.in: Export libc_cv_localedir.
317         * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
318         stuff into $exec_prefix/lib/locale because it can be shared between
319         32bit and 64bit libraries.
320         * configure: Rebuilt.
321         * sysdeps/unix/sysv/linux/configure: Rebuilt.
322
323 2000-01-31  Andreas Jaeger  <aj@suse.de>
324
325         * inet/tst-network.c: New file.
326         * inet/Makefile (tests): Add tst-network.
327
328         * inet/inet_net.c (inet_network): Don't overwrite memory or allow
329         to great last digits.
330
331 2000-02-10  Andreas Jaeger  <aj@suse.de>
332
333         * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
334         Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
335
336 2000-02-09  Andreas Jaeger  <aj@suse.de>
337
338         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
339
340         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
341
342 2000-02-08  Andreas Jaeger  <aj@suse.de>
343
344         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
345
346         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
347         Make it compile.
348
349         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
350         c_ispeed and c_ospeed which are not implemented.
351
352         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
353         for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
354         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
355         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
356         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
357
358 2000-02-05  Andreas Jaeger  <aj@suse.de>
359
360         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
361         work - set to 4 in accordance with changes made in the Linux/MIPS
362         kernel.  Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
363         actually work.
364
365 2000-02-04  Andreas Jaeger  <aj@suse.de>
366
367         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
368         the defines.
369
370 2000-02-03  Andreas Jaeger  <aj@suse.de>
371
372         * sysdeps/mips/abort-instr.h: New file.
373
374         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
375
376         * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
377
378         * sysdeps/mips/stackinfo.h: New file.
379
380 2000-02-01  Andreas Jaeger  <aj@suse.de>
381
382         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
383
384         * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
385         generic function.
386         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
387
388         * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
389         Baechle <ralf@gnu.org>.
390
391         * sysdeps/unix/sysv/linux/mips/brk.c: New file.
392
393         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
394
395         * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
396
397 2000-01-31  Andreas Jaeger  <aj@suse.de>
398
399         * inet/inet_net.c (inet_network): Synch with bind 8.2.2.  Fixes PR
400         libc/1567.
401
402 2000-01-30  Ulrich Drepper  <drepper@redhat.com>
403
404         * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
405         the standard.
406         * sysdeps/alpha/fpu/fesetround.c: Likewise.
407         * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
408         * sysdeps/arm/fpu/fesetround.c: Likewise.
409         * sysdeps/generic/feholdexcpt.c: Likewise.
410         * sysdeps/generic/fesetround.c: Likewise.
411         * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
412         * sysdeps/i386/fpu/fesetround.c: Likewise.
413         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
414         * sysdeps/m68k/fpu/fesetround.c: Likewise.
415         * sysdeps/mips/fpu/fesetround.c: Likewise.
416         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
417         * sysdeps/powerpc/fpu/fesetround.c: Likewise.
418         * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
419         * sysdeps/sparc/fpu/fesetround.c: Likewise.
420         Patch by Miloslav Trmac <mitr@volny.cz>.
421
422         * locale/programs/ld-collate.c (struct locale_collate_t): Change
423         type of plane_size and plane_cnt to uint32_t.
424         Reported by Jakub Jelinek.
425
426 2000-01-29  Jakub Jelinek  <jakub@redhat.com>
427
428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
429         (SYSCALL_ERROR_HANDLER): Optimize.
430         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
431         Include linux/sparc/sysdep.h.
432         Use a different guard define than linux/sparc/sysdep.h.
433         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
434         stubs for inlined syscalls.
435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
436         (SYSCALL_ERROR_HANDLER): Optimize.
437         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
438         Include linux/sparc/sysdep.h.
439         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
440         stubs for inlined syscalls.
441         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
442         Use INLINE_SYSCALL.
443         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
444         * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
445
446 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
447
448         * locale/loadlocale.c (_nl_load_locale): Optimize a bit.  Pretty
449         print.  Add checks for _POSIX_MMAPPED_FILES where necessary.
450         (_nl_unload_locale): If locale data was mmapped use munmap.
451
452 2000-01-29  Andreas Jaeger  <aj@suse.de>
453
454         * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
455         _EXTERN_INLINE, compile inline assembler functions only with gcc.
456
457 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
458
459         * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
460         * catgets/gencat.c (read_input_file): Remove messages correctly.
461         * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
462         adjacent colons correctly.  Correct loops to read territory and
463         and codeset part.
464         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
465
466         * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
467         pool entry.
468         Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
469
470 2000-01-28  Jakub Jelinek  <jakub@redhat.com>
471
472         * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
473         interface with symbol version GLIBC_2.2.
474         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
475         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
476         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
477         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
478
479 2000-01-27  Scott Bambrough  <scottb@netwinder.org>
480
481         * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
482         resource directory.
483         * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
484         versioning setrlimit and getrlimit.
485
486 2000-01-27  Andreas Jaeger  <aj@suse.de>
487
488         * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
489         * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
490
491 2000-01-27  Ruediger Oertel  <ro@suse.de>
492
493         * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
494
495 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
496
497         * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
498         correct place to avoid uninitialized memory passed to writev.
499
500         * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
501         long string in definition.Only enable returning wide character
502         strings if really needed.
503         * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
504
505         * configure.in: Add check for recent enough sed version.
506
507 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
508
509         * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
510         _i18n_itoa): Fix parameter lists.
511
512         * locale/C-monetary.c: Add initializers for new fields.
513         * locale/C-numeric.c: Likewise.
514         * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
515         outdigits.h, and outdigitswc.h.
516         * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
517         _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
518         and _NL_NUMERIC_THOUSANDS_SEP_WC.
519         * locale/indigits.h: New file.
520         * locale/indigitswc.h: New file.
521         * locale/outdigits.h: New file.
522         * locale/outdigitswc.h: New file.
523         * locale/programs/ld-monetary.c: Write out decimal point and
524         thousands separator info in wide character form.
525         * locale/programs/ld-numeric.c: Likewise.
526         * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
527         (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
528         * stdio-common/_i18n_itoa.c: New file.
529         * stdio-common/_i18n_itoa.h: New file.
530         * stdio-common/_i18n_itowa.c: New file.
531         * stdio-common/_i18n_itowa.h: New file.
532         * stdio-common/printf-parse.h: Parse 'I' flag.
533         * stdio-common/printf.h (struct printf_info): Add i18n field.
534         * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
535         outdigits.
536
537 2000-01-27  Geoff Keating  <geoffk@cygnus.com>
538
539         * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
540         unnecessarily.
541
542         * sysdeps/unix/sysv/linux/kernel-features.h
543         (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
544         __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
545         2.3.35.
546
547         * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
548         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
549         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
550         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
551         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
552         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
553         * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
554         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
555         s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
556         s_truncate64.
557         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
558         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
559
560         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
561         __curbrk off the small data area register.  Reported by
562         Andrew Haley <aph@pasanda.cygnus.co.uk>.
563
564 2000-01-26  Andreas Jaeger  <aj@suse.de>
565
566         * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
567
568 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
569
570         * locale/Makefile (distribute): Remove nonexisting files.
571         * sysdeps/powerpc/Dist: Move FPU specific files to...
572         * sysdeps/powerpc/fpu/Dist: ...here.  New file.
573         * nss/Makefile: Distribute files for new libdb interface.
574         * math/Makefile (distribute): Add README.libm-test.
575         Patch by Andreas Jaeger.
576
577 2000-01-26  David McCann  <david.mccann@alcatel.at>
578
579         * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
580
581 2000-01-25  Andreas Jaeger  <aj@suse.de>
582
583         * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
584         version check since we're using cpp.
585
586 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
587
588         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
589         Fix a typo.
590
591 2000-01-26  Andreas Jaeger  <aj@suse.de>
592
593         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
594         about unitialised variable kbuf.
595         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
596         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
597
598 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
599
600         * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
601         messages.
602         (collate_read): Remove unnecessary `if'.
603
604 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
605
606         * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
607         and load appropriate conversions.
608         * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
609         made global.
610         * libio/libioP.h: Declare __libio_codecvt.
611         * manual/stdio.texi: Document ,ccs= option for fopen.
612         * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
613         * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
614
615         * libio/iofclose.c: Free conversion data if stream was wide-oriented.
616
617         * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
618
619         * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
620
621         * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
622         * posix/testfnm.c: Add a few more tests.  Rearrange test output.
623
624 2000-01-25  Andreas Schwab  <schwab@suse.de>
625
626         * posix/testfnm.c: Add new test case.  Use FNM_PATHNAME instead of
627         FNM_FILE_NAME consistently.
628
629 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
630
631         * posix/fnmatch.c: Define STRCOLL appropriately for the loop
632         definition.
633         * posix/fnmatch_loop.c: Undefine STRCOLL.
634
635         * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
636         kernels with stat64 support.
637         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
638         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
639         Patch by SL Baur <steve@xemacs.org>.
640
641         * string/strxfrm.c: Don't count in the terminating NUL byte/word.
642
643 2000-01-24  Paul Eggert  <eggert@twinsun.com>
644
645         * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
646         deciding whether a character falls within a character range.
647
648 2000-01-24  Paul Eggert  <eggert@twinsun.com>
649
650         * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
651         lower-case A too.
652
653 2000-01-24  Thorsten Kukuk  <kukuk@suse.de>
654
655         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
656
657 2000-01-23  Paul Eggert  <eggert@twinsun.com>
658
659         * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
660
661 2000-01-23  Paul Eggert  <eggert@twinsun.com>
662
663         * posix/regex.c (compile_range): When matching a character
664         range, use the current collating sequence, as POSIX requires.
665
666 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
667
668         * string/argz-stringify.c: Handle case of missing \0 at the end of
669         the given argz.
670
671 2000-01-24  Ulrich Drepper  <drepper@cygnus.com>
672
673         * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
674         size anymore.
675
676         * locale/programs/ld-collate.c (collate_output): Also handle
677         IGNOREd characters in the simple way when generating the multibyte
678         table.
679
680         * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
681         handling to ...
682         (ctype_finish): ...here.  Check for missing codeset name.
683
684         * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
685         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
686
687 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
688
689         * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
690         * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
691         * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
692         * sysdeps/unix/sysv/linux/msgctl.c: ...here.  Include ipc_priv.h.
693         * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
694         * sysdeps/unix/sysv/linux/semctl.c: ...here.  Include ipc_priv.h.
695         * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
696         * sysdeps/unix/sysv/linux/shmctl.c: ...here.  Include ipc_priv.h.
697         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
698         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
699         * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
700         * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
701         * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
702         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
703         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
704         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
705         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
706         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
707         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
708         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
709         * sysdeps/unix/sysv/linux/msgget.c: Likewise.
710         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
711         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
712         * sysdeps/unix/sysv/linux/semget.c: Likewise.
713         * sysdeps/unix/sysv/linux/semop.c: Likewise.
714         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
715         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
716         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
717
718 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
719
720         * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
721         * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
722         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
723         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
724         * sysdeps/unix/sysv/linux/arm/Versions: Remove
725         setrlimit64@GLIBC_2.1.3.
726         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
727         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
728         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
729         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
730         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
731         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
732         so that setrlimit64@GLIBC_2.1 can report limits above 2G.
733         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
734         setrlimit): Remove syscall stubs, add normal syscalls.
735         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
736         Remove syscall stub.
737
738 2000-01-22  Andreas Jaeger  <aj@suse.de>
739
740         * localedata/tst-locale.sh: Enable test for de_DE.437.
741
742 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
743
744         * string/Versions: Export __strndup.
745
746 2000-01-23  Philip Blundell  <philb@gnu.org>
747
748         Add basic support for RPC over IPv6:
749         * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
750         for remote address.
751         (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
752         prototypes.
753         * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
754         clntudp6_bufcreate): New prototypes.
755         * inet/netinet/in.h (bindresport6): Likewise.
756         * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
757         * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
758         svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
759         bindresvport6 for GLIBC_2.2.
760         * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
761         * sunrpc/rpc_svcout.c: Likewise.
762         * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
763         simple assignment when copying addresses.
764         * sunrpc/svc_udp.c (cache_get): Likewise.
765         * sunrpc/svc_unix.c (rendezvous_request): Likewise.
766         * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
767         sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
768
769 2000-01-05  Philip Blundell  <philb@gnu.org>
770
771         * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
772
773 2000-01-23  Andreas Jaeger  <aj@suse.de>
774
775         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
776         parameter to fstat calls.
777
778 2000-01-18  Roland McGrath  <roland@baalperazim.frob.com>
779
780         * sysdeps/generic/bits/socket.h
781         (__ss_aligntype, struct sockaddr_storage): Make these like Linux
782         version, replacing old type name `__ss_align'.
783
784 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
785
786         * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
787         (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
788         * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
789         (__lseek, lseek): Make these weak aliases for __libc_lseek.
790         * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
791         (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
792         * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
793         (__open, open): Make these weak aliases for __libc_open.
794
795         * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
796         trailing comma.
797         (anonymous enum for MSG_*): Likewise.
798         (anonymous enum for SO_*): Likewise.
799
800 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
801
802         * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
803         (PR libc/1553).
804
805 2000-01-08  Mark Kettenis  <kettenis@gnu.org>
806
807         * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
808         (setitimer_locked): Use it to quantize the timer values.  Use
809         quantized timer values to check if the timeout changed.
810
811 2000-01-22  Andreas Jaeger  <aj@suse.de>
812
813         * sunrpc/rpc/svc.h: Fix description for svc_register.
814
815 2000-01-23  Mark Kettenis  <kettenis@gnu.org>
816
817         * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
818
819 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
820
821         * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
822         fixes part 2 of bug 1549.
823         * sunrpc/rpc_des.h: Remove unused defines.
824
825 2000-01-22  Mark Kettenis  <kettenis@gnu.org>
826
827         * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
828
829 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
830
831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
832         * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
833         * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
834         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
835         * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
836         * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
837         and other inline functions for port access.
838         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
839         access functions.
840
841 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
842
843         * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
844         Patch by Bruno Haible <haible@ilog.fr>.
845
846 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
847
848         * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
849         them all at the end, eliding the final comma.
850         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
851
852 2000-01-21  Ulrich Drepper  <drepper@cygnus.com>
853
854         * intl/libintl.h: Add format_arg attributes to declarations of new
855         functions.
856
857         * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
858         ngettext, and plural.
859         (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
860         (test-srcs): Add tst-gettext.
861         (before-compile): Add $(objpfx)msgs.h.
862         Add rules for plural.c and msgs.h generation and running tst-gettext.\
863         * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
864         and ngettext.
865         * intl/dcgettext.c: Move most code into dcigettext.c.  Add call
866         dcigettext with appropriate parameters.
867         * intl/dcigettext.c: New file.
868         * intl/dcngettext.c: New file.
869         * intl/dngettext.c: New file.
870         * intl/ngettext.c: New file.
871         * intl/gettextP.h (struct expression): Define.
872         (struct loaded_domain): Add plural and nplurals members.
873         Add prototypes for new internal functions.
874         * intl/libintl.h: Declare new functions.  Add optimizations for them.
875         * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
876         * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
877         header entry and parse and store the expression.
878         * intl/plural.y: New file.
879         * intl/po2test.sed: New file.
880         * intl/tst-gettext.c: New file.
881         * intl/tst-gettext.sh: New file.
882         * manual/message.texi: Document new interfaces.
883
884         * intl/gettext.c: Call __dcgettext directly.
885
886 2000-01-20  Ulrich Drepper  <drepper@cygnus.com>
887
888         * manual/getopt.texi (Using the getopt function): Fix description of
889         return value for format string starting with '-' (PR libc/1551).
890         Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
891
892         * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
893         Patch by jens.moeller@westgeo.com (PR libc/1550).
894
895         * locale/programs/ld-collate.c (struct element_t): Add wclast
896         and compute it where necessary.
897         (collate_output): Insert indirect references in the right order.
898
899         * math/Makefile (tests): Add test-misc.
900         * math/test-misc.c: New file.
901
902 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
903
904         * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
905         with exponent >31 and < 63 (PR libc/1548).
906
907         * locale/programs/ld-collate.c (output_weightwc): Return index
908         measured in words, not bytes.  Don't write out words for ignored
909         characters.
910         (collate_output): Correct various problems with alignment in the
911         output file.
912         * locale/weight.h: Adjust for last change in ld-collate.c of adding
913         alignment padding.
914
915         * stdlib/strfmon.c: Don't report an error if final NUL is at the
916         end of the buffer.  Set errno correctly if floating-point number
917         would overflow buffer.
918
919         * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
920
921         * locale/weight.h (findidx): Little optimization.  Correctly return
922         offset in indirect table.
923         * locale/programs/ld-collate.c (struct element_t): Add mblast
924         and compute it where necessary.
925         (insert_weights): Correctly handle missing weights in ellipsis
926         expression.
927         (handle_ellipsis): Correctly enqueue new element.
928         (collate_output): Insert indirect references in the right order.
929
930 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
931
932         * wcsmbs/mbrtowc.c: Create temporary state object if no output is
933         written.
934         * wcsmbs/mbsrtowcs.c: Likewise.
935         * wcsmbs/wcrtomb.c: Likewise.
936         * wcsmbs/wcsrtombs.c: Likewise.
937
938         * wcsmbs/wcrtomb.c: Compute result correctly for successful call
939         with s == NULL.
940
941         * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
942         in gconv function.
943
944         * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
945         incomplete but correct.
946
947         * locale/programs/charmap.c: NUL-terminate names of generated
948         entries for ellipsis.
949
950 2000-01-18  Andreas Jaeger  <aj@suse.de>
951
952         * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
953         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
954         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
955         _STAT_VER_KERNEL handling up; don't save errno.
956         * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
957         * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
958         * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
959         * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
960         * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
961         * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
962         * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
963         * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
964         * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
965
966 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
967
968         * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
969         Remove done variable and all uses.
970         * iconv/skeleton.c: Update comment for *written modification.
971         * iconv/gconv_int.h (__gconv): Update comment.
972         Reported by Bruno Haible.
973
974 2000-01-18  Bruno Haible  <haible@ilog.fr>
975
976         * posix/fnmatch.c (ISWCTYPE): New macro.
977         (__wcschrnul): New function.
978         (BTOWC): New macro. Define it instead of __btowc.
979         (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
980         wcsrtombs. Call wctype, not __wctype.
981         * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
982         BTOWC instead of __btowc.
983
984 2000-01-18  Andreas Jaeger  <aj@suse.de>
985
986         * inet/Versions: Add new functions added on 2000-01-17.
987
988 2000-01-18  Jakub Jelinek  <jakub@redhat.com>
989
990         * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
991
992 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
993
994         * timezone/antarctica: Update from tzdata2000a.
995         * timezone/asia: Likewise.
996         * timezone/australasia: Likewise.
997         * timezone/backward: Likewise.
998         * timezone/northamerica: Likewise.
999         * timezone/southamerica: Likewise.
1000         * timezone/zone.tab: Likewise.
1001
1002         * nscd/connections.c (dbs): Use
1003         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
1004         Pretty printing.
1005
1006         * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
1007         address.  Suggested by Philip Blundell.
1008
1009         * posix/TESTS: Fix expected result for test cases with * with no
1010         leading expression.
1011
1012         * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
1013         * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here.  New file.
1014         * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
1015         open call would require read permission.
1016         Patch by James Antill <james@and.org>.
1017
1018         * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
1019
1020         * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
1021         * sysdeps/posix/getaddrinfo.c: Correct modifications done for
1022         PR1515.  Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1023
1024         * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
1025         * posix/regex.c (regex_compile): Return appropriate errors for
1026         unterminated brace expressions.  Detect invalid characters
1027         in brace expressions.
1028         * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
1029         * sysdeps/posix/sysconf.c: Include regex.h.
1030         Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
1031
1032 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1033
1034         * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
1035         AI_NUMERICHOST flag is set, return an error.
1036         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1037
1038         * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
1039         iruserok_af.
1040         * inet/rexec.c: Implement rexec_af.
1041         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1042
1043         * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
1044         and rresvport_af.
1045
1046 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1047
1048         * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
1049         * sysdeps/unix/sysv/linux/bits/sem.h: New file.
1050         * sysdeps/unix/sysv/linux/bits/shm.h: New file.
1051         * sysdeps/unix/sysv/linux/bits/msg.h: New file.
1052         * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
1053         * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
1054         * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
1055         * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
1056         * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
1057         * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
1058         * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
1059         * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
1060
1061         * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1062         Renamed from msgctl.
1063         (__new_msgctl): New function.
1064         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1065         Renamed from semctl.
1066         (__new_semctl): New function.
1067         * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1068         Renamed from shmctl.
1069         (__new_shmctl): New function.
1070
1071         * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1072         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1073         * sysdeps/unix/sysv/linux/semget.c: Likewise.
1074         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1075         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1076         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1077         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1078         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1079
1080         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1081         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1082         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1083
1084         * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1085
1086 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1087
1088         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1089         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1090         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1091         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1092         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1093         syscalls.
1094
1095         * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1096         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1097
1098         * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1099         available on sparc since 2.3.39.
1100
1101         * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1102
1103 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1104
1105         * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1106         prototype.
1107         (__real_chown): Return EINVAL if owner or group are out of the range
1108         -1U .. 65534.
1109         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1110         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1111         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1112         EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1113         * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1114         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1115         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1116         * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1117         prototype.
1118         Don't include non-existant header.
1119         (__chown): Return EINVAL if owner or group are out of the range
1120         -1U .. 65534.
1121         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1122         setresgid): Inherit standard linux/syscalls.list definitions.
1123         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1124         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1125         * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1126         __setresgid symbol.
1127
1128 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1129
1130         * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1131         from 1989 change in ISO 639.
1132
1133 2000-01-12  Andreas Jaeger  <aj@suse.de>
1134
1135         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1136         function; needed for 32bit uid support.
1137
1138         * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1139         uids correctly.
1140
1141 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1142
1143         * intl/locale.alias: Add entries for galician.
1144
1145         * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1146         try to get sequence from charmap with Uxxxxxxxx name.
1147         (charclass_ucs4_ellipsis): Likewise.
1148         (charclass_charcode_ellipsis): Allow byte sequence missing.
1149         (read_writestring): Free allocated memory in case of an error.
1150         (set_class_defaults): Don't search repertoire map for wide character
1151         default values; we know it's UCS4.
1152
1153         * locale/programs/repertoire.c (repertoire_find_value): Just return an
1154         error if no repertoire map was loaded.
1155         (repertoire_find_symbol): Likewise.
1156         (repertoire_find_seq): Likewise.
1157
1158         * posix/fnmatch.c: Put internal_fnmatch in separate file.  Include
1159         twice, to define singlebyte and multibyte version.
1160         (fnmatch): Differentiate between singlebyte and multibyte locale and
1161         call appropriate internal function.
1162         * posix/fnmatch_loop.c: New file.
1163         * posix/Makefile (distribute): Add fnmatch_loop.c.
1164
1165         * locale/programs/repertoire.c (repertoire_read): Don't print
1166         error message when repertoire map is missing.
1167         (repertoire_complain): Print error message for missing map, but only
1168         once.
1169         * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1170
1171         * locale/programs/linereader.c (get_string): Prefer getting names
1172         from charseq entries.  Try finding Uxxxxxxxx names in charmap
1173         before trying to map from repertoire.
1174
1175 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1176
1177         * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1178         error in last change.
1179         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1180
1181         * stdlib/longlong.h: Fix typo in last patch.
1182
1183 2000-01-12  Andreas Jaeger  <aj@suse.de>
1184
1185         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1186         Added for Linux 2.3.39+.
1187
1188         * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1189         32bit GIDs.
1190         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1191         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1192         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1193         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1194         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1195         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1196         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1197         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1198         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1199         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1200         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1201         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1202         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1203         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1204         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1205
1206         * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1207         * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1208         * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1209         * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1210         * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1211         * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1212         * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1213         * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1214         * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1215         * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1216         * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1217         * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1218         * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1219         * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1220         * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1221         * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1222         * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1223         * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1224         * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1225         * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1226         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1227         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1228         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1229         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1230         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1231         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1232         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1233         Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1234
1235 2000-01-14  Jakub Jelinek  <jakub@redhat.com>
1236
1237         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1238
1239 2000-01-13  Jakub Jelinek  <jakub@redhat.com>
1240
1241         * sysdeps/generic/backtrace.c: Include signal.h which
1242         sigcontextinfo.h headers are used to expect.
1243         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1244         (register_dump): Fix a typo in the printout.
1245         Avoid using reg_window, so that asm/ptrace.h is not necessary.
1246         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1247         (ADVANCE_STACK_FRAME): Likewise.
1248
1249         * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1250         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1251         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1252
1253         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1254         to make it clear this file depends on __WORDSIZE.
1255         * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1256         Renamed from have_no_truncate64.
1257         * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1258         Likewise.
1259
1260 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1261
1262         * Makeconfig (rpath-dirs): Remove db2.
1263         (dbojdir): Remove variable.
1264
1265         * locale/programs/locfile.h (handle_copy): Take repertoire map
1266         name as parameter, not pointer to repertoire structure.
1267         * locale/programs/ld-address.c: Change caller.
1268         * locale/programs/ld-ctype.c: Likewise.
1269         * locale/programs/ld-identification.c: Likewise.
1270         * locale/programs/ld-measurement.c: Likewise.
1271         * locale/programs/ld-messages.c: Likewise.
1272         * locale/programs/ld-monetary.c: Likewise.
1273         * locale/programs/ld-name.c: Likewise.
1274         * locale/programs/ld-numeric.c: Likewise.
1275         * locale/programs/ld-paper.c: Likewise.
1276         * locale/programs/ld-telephone.c: Likewise.
1277         * locale/programs/ld-time.c: Likewise.
1278
1279 2000-01-13  Ulrich Drepper  <drepper@cygnus.com>
1280
1281         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1282         mmap2 is available when compiling but no at runtime.
1283
1284 2000-01-12  Ulrich Drepper  <drepper@cygnus.com>
1285
1286         * iconvdata/iso-ir-165.c: New file.
1287         * iconvdata/iso-ir-165.h: New file.
1288         * iconvdata/Makefile: Add rules to build libISOIR165.
1289
1290         * Makefile (install): Correct passing -r parameter to ldconfig.
1291
1292         * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1293         Reported by Bruno Haible <haible@ilog.fr>.
1294
1295 2000-01-11  Andreas Schwab  <schwab@suse.de>
1296
1297         * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1298
1299 2000-01-10  Thorsten Kukuk  <kukuk@suse.de>
1300
1301         * nss/getent.c: Add ipv6 support for hosts.
1302
1303 2000-01-05  Philip Blundell  <pb@futuretv.com>
1304
1305         * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1306         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1307         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1308         oldsetrlimit.
1309         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1310         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1311         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1312         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1313         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1314         * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1315
1316         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1317         (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1318         [subdir=misc] (sysdep_headers): Add sys/elf.h.
1319
1320 2000-01-09  Andreas Jaeger  <aj@suse.de>
1321
1322         * manual/install.texi (Tools for Compilation): Update required
1323         compiler version.
1324         (Configuring and compiling): Restore old comments about
1325         configparms; modify to reflect current usage.
1326
1327 2000-01-09  Philip Blundell  <philb@gnu.org>
1328
1329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1330         resolution if the hints included AI_NUMERICHOST.
1331
1332 2000-01-11  Andreas Schwab  <schwab@suse.de>
1333
1334         * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1335         infinite loop to avoid pulling in stdio in the dynamic linker.
1336         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1337
1338 2000-01-10  Andreas Jaeger  <aj@suse.de>
1339
1340         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1341         change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1342         EM_MIPS_RS3_LE.
1343         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1344
1345         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1346         gregset_t, fpregset_t, and NGREG definitions.
1347
1348         * sysdeps/mips/Implies: Add wordsize-32.
1349
1350         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1351         int's.
1352
1353         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1354         missing int's.
1355
1356         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1357         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1358         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1359         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1360         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1361         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1362         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1363
1364 2000-01-09  Philip Blundell  <philb@gnu.org>
1365
1366         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1367         (dl_platform_init): Allow _dl_platform to be NULL.
1368
1369         * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1370         last change.
1371
1372 2000-01-08  Ulrich Drepper  <drepper@cygnus.com>
1373
1374         * nscd/connections.c (handle_request): Handle systems without
1375         SO_PEERCRED.
1376         (nscd_run): Likewise.
1377
1378 2000-01-07  Andreas Jaeger  <aj@suse.de>
1379
1380         Add support for Berkeley db 3.0.x and merge db support:
1381         * nss/nss_db/dummy-db.h (struct db30): New.
1382         (struct dbc30): New.
1383         Added DB30* flags.
1384
1385         * nss/makedb.c: Move all database routines to db-open.c.
1386         (main): Adjust to interface changes.
1387         Load database early to initialize version dependend variables.
1388
1389         * nss/db-open.c: Merge database routines from makedb.c.
1390         Define version dependend constansts as variables.
1391         (load_db): Check also for db 3.
1392         (internal_setent): Call dbopen.
1393         (db_cursor): New function from makedb; handles db 3 now.
1394         (dbopen): New function from makedb; handles db 3.
1395
1396         * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1397         different in different DB versions.
1398
1399         * nss/nss_db/nss_db.h: Add version dependend constants as
1400         variables, add exportet interfaces from db-open.c.
1401
1402         * nss/Makefile ($(objpfx)makedb): Link against db-open.
1403
1404 2000-01-07  Ulrich Drepper  <drepper@cygnus.com>
1405
1406         * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1407         Reported by Jim Meyering.
1408
1409         * time/strftime.c: Pretty printing.
1410
1411 2000-01-07  Andreas Jaeger  <aj@suse.de>
1412
1413         * manual/socket.texi (Host Names): Fix example.
1414         Reported by Marco Budde <budde@telos.de>.
1415
1416 2000-01-06  Ulrich Drepper  <drepper@cygnus.com>
1417
1418         * localedata/Makefile (install-locales): Create locale directory
1419         if it does not exist.
1420
1421         * locale/programs/charmap.c (charmap_read): Call lr_open here and
1422         not in parse_charmap.  Try also the directories on the I18NPATH.
1423         (parse_charmap): Change accordingly.
1424
1425 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1426
1427         * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1428         and oldsetrlimit64.c.
1429
1430         * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1431         sys/procfs.h.
1432
1433         * manual/texinfo.tex: Updated from latest official version.
1434
1435         * debug/Makefile (distribute): Add frame.h.
1436
1437 2000-01-05  Philip Blundell  <philb@gnu.org>
1438
1439         * sysdeps/arm/frame.h: New file.
1440         * sysdeps/generic/frame.h: Likewise.
1441         * sysdeps/generic/segfault.c (struct layout): Delete definition;
1442         include the above file instead.
1443         * sysdeps/generic/backtrace.c (struct layout): Likewise.
1444         (__backtrace): Use ADVANCE_STACK_FRAME.
1445         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1446         (ADVANCE_STACK_FRAME): New macro.
1447         (GET_FRAME): Apply above to returned value.
1448
1449         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1450
1451 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1452
1453         * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1454         Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1455
1456         * io/ftw.c (process_entry): Cache object dev/inode only for
1457         directories (PR libc/1514).
1458
1459 2000-01-05  Andreas Schwab  <schwab@suse.de>
1460
1461         * locale/programs/charmap.c (charmap_read): Fix typo.
1462
1463 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1464
1465         * locale/programs/charset.c: Removed.
1466
1467         * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1468         * iconvdata/gconv-modules: Likewise.
1469         * iconvdata/iso8859-16.c: New file.
1470
1471 2000-01-05  Andreas Schwab  <schwab@suse.de>
1472
1473         * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1474
1475 2000-01-05  Andreas Jaeger  <aj@suse.de>
1476
1477         * intl/locale.alias: Add lithunian entry.
1478         Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1479
1480 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1481
1482         * locale/programs/stringtrans.c: Removed.
1483         * locale/programs/stringtrans.h: Removed.
1484         * locale/programs/linereader.c: Remove #include of stringtrans.h.
1485
1486         * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1487         _POSIX_MAPPED_FILES is not defined.
1488
1489         * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1490         for loc_name copy.
1491
1492         * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1493         _nl_POSIX_name instead of "C" and "POSIX" strings.
1494
1495         * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1496         (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1497         * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed.  We can
1498         reuse the _nl_C_LC_CTYPE_tolower table.
1499         (_nl_C_LC_CTYPE_toupper32): Likewise.
1500         (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1501         toupper32 entries.
1502
1503         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1504         characters >= 0x80.
1505         (_nl_C_LC_CTYPE_class32): Likewise.
1506
1507         * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1508         aio_idle_time.
1509         * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1510         after the operation is done.  Let them linger for a user-definable
1511         time.
1512         * rt/aio_cancel.c: Likewise.
1513         Patch by Willian M Shubert <william.m.shubert@intel.com>.
1514
1515         * sysdeps/i386/i686/add_n.S: New file.
1516
1517 2000-01-02  Philip Blundell  <philb@gnu.org>
1518
1519         * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1520         to obtain port mapping information.  Avoid use of mprotect.
1521
1522 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1523
1524         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1525         definition from 2.3.36.
1526
1527 2000-01-04  Andreas Jaeger  <aj@suse.de>
1528
1529         * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1530         (struct db27): Add missing fields byteswapped, join and flags;
1531         remove wrong member handleq.
1532         (struct dbc27): Correct lock field.
1533
1534         * nss/makedb.c: Remove __P.
1535
1536 2000-01-04  Andreas Jaeger  <aj@suse.de>
1537
1538         * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1539         success, fix a memory leak and clean up function.
1540
1541 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1542
1543         * Makefile (install): Pass $(install_root) to ldconfig.
1544         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1545
1546 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1547
1548         * soft-fp/op-1.h: Fix division for machines using not normalizing
1549         version of udiv_qrnnd in longlong.h.
1550         * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1551         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1552         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1553         Patch by Eddie C. Dost <ecd@skynet.be>.
1554
1555         * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1556
1557 2000-01-03  Andreas Schwab  <schwab@suse.de>
1558
1559         * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1560         needed for change in common symbol handing in newer binutils.
1561
1562 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1563
1564         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1565         kernel without mmap2 syscall.
1566
1567 2000-01-03  Philip Blundell  <philb@gnu.org>
1568
1569         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1570         __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1571         ARM for kernels >= 2.3.35.
1572
1573 2000-01-03  Philip Blundell  <philb@gnu.org>
1574
1575         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1576         Optimise error handling a little.
1577         * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1578
1579 2000-01-03  Andreas Jaeger  <aj@suse.de>
1580
1581         * include/resolv.h: Remove declarations for __ns_name_ntop and
1582         __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1583
1584 2000-01-03  Andreas Jaeger  <aj@suse.de>
1585
1586         * time/tst-strptime.c (test_tm): Add tests for all fields of
1587         struct tm.
1588
1589 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1590
1591         * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1592
1593 2000-01-03  Andreas Jaeger  <aj@suse.de>
1594
1595         * string/tester.c (test_strsep): Add one more test.
1596
1597 2000-01-03  Philip Blundell  <philb@gnu.org>
1598
1599         * string/tester.c (test_mempcpy): New function.
1600         (main): Call it.
1601         (test_memcpy): Test unaligned cases too.
1602
1603         * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1604
1605         * sysdeps/arm/fpu/bits/mathdef.h: New file.
1606
1607 2000-01-02  Ulrich Drepper  <drepper@cygnus.com>
1608
1609         * posix/Makefile (tests): Add tst-mmap.
1610         * posix/tst-mmap.c: New file.
1611
1612         * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1613         call before handling error.
1614
1615         * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1616         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1617
1618         * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1619         0xa2e6 and 0xa2e7.
1620         (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1621         * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1622         mappings.
1623         * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1624         * iconvdata/testdata/ISO-2022-KR: Likewise.
1625
1626         * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1627
1628         * iconvdata/gconv-modules: Remove BALTIC.  It's the same as
1629         ISO-8859-13.
1630         * iconvdata/Makefile (distribute): Remove baltic.c.
1631         (modules): Remove BALTIC.
1632         (gen-8bit-gap-modules): Remove baltic.
1633         * iconvdata/baltic.c: Removed.
1634
1635         * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1636
1637         * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1638
1639         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1640         typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1641         Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1642
1643         * nss/Makefile: Add rules to build makedb.
1644         * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1645         * nss/nss_db/dummy-db.h: Likewise.
1646         * nss/makedb.c: New file.  Copied from file in db2, modified to not
1647         depend on being linked against libdb.
1648
1649 2000-01-01  Ulrich Drepper  <drepper@cygnus.com>
1650
1651         * Makeconfig (all-subdirs): Remove db and db2.
1652         * db/*: Removed.
1653         * db2/*: Removed.
1654
1655         * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1656         functions from here...
1657         * nss/db-alias.c: ...and here...
1658         * nss/db-netgrp.c: ...and here...
1659         * nss/nss_db/db-open.c: ...to here.  New file.
1660         * nss/nss_db/dummy-db.h: New file.
1661         * nss/nss_db/nss_db.h: New file.
1662         * nss/Depend: Depend in dlfcn, not db2.
1663         * nss/Makefile (libnss_db-routines): Add db-open.
1664         (distribute): Add nss_db.h dummy-db.h.
1665         (libnss_db.so): Replace libdb dependency by $(libdl).
1666         Based on a patch by Zack Weinberg.
1667
1668         * locale/programs/ld-ctype.c: Implement rest of transliteration
1669         definition parsing.
1670         * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1671         * locale/programs/locfile-token.h: Add tok_translit_ignore.
1672
1673 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1674
1675         * locale/programs/ld-collate.c (collate_output): Emit correct
1676         information for collation elements.
1677         Don't write over end of array idx.
1678         * posix/regex.c: Handle also collation elements at end of range.
1679
1680         * posix/PTESTS: Fix a few typos.
1681
1682         * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
1683         no idea where this came from.
1684         * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1685
1686 1999-12-31  Andreas Jaeger  <aj@suse.de>
1687
1688         * libio/strfile.h: Remove K&R compatibility.
1689         * locale/langinfo.h: Likewise.
1690         * locale/localeconv.c (localeconv): Likewise.
1691         * locale/programs/simple-hash.h: Likewise.
1692         * nis/nis_xdr.h: Likewise.
1693         * nis/rpcsvc/nislib.h: Likewise.
1694         * nis/rpcsvc/nis_callback.h: Likewise.
1695         * nis/rpcsvc/nis.h: Likewise.
1696         * nis/ypclnt.c: Likewise.
1697         * nscd/nscd_proto.h: Likewise.
1698         * nscd/nscd.c: Likewise.
1699         * sysdeps/generic/inttypes.h: Likewise.
1700         * sysdeps/gnu/utmpx.h: Likewise.
1701
1702         * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1703         * sunrpc/rpcsvc/rusers.x: Likewise.
1704
1705         * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1706
1707         * elf/dl-misc.c: Remove __libc_write prototype since it's already
1708         in include/unistd.h.
1709         * elf/dl-profile.c: Likewise.
1710         * elf/dl-load.c: Likewise for __libc_read.
1711
1712         * elf/dl-profile.c: Remove __P.
1713         * elf/sprof.c: Likewise.
1714         * elf/sln.c: Likewise.
1715
1716 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1717
1718         * locale/langinfo.h: Add constants for wide character collation
1719         symbol table.
1720         * locale/categories.def: Add appropriate entries for collate symbol
1721         table entries.
1722         * locale/C-collate.c: Add initializers for new entries.
1723         Remove commented out code.
1724         * locale/elem-hash.h: New file.
1725         * locale/Makefile (distribute): Add elem-hash.h.
1726         * locale/programs/ld-collate.c: Implement output of collate symbol
1727         table.
1728
1729         * posix/regex.c: Implement collation class handling.
1730
1731 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1732
1733         * posix/regex.c (regex_compile): Implement equivalence class handling.
1734
1735 1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>
1736
1737         * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1738         (OPCODE_LWZU): New macro.
1739         (OPCODE_ADDIS_HI): New macro.
1740         (OPCODE_LIS_HI): New macro.
1741         (__elf_machine_runtime_setup): Change PLT code-generation scheme
1742         for thread safety even with very large PLTs, better efficiency,
1743         and to fix a cache-flushing bug.  Also support the Motorola
1744         8xx processors which have a different cache line size than all
1745         the others.
1746         (__elf_machine_fixup_plt): Likewise.
1747         (__process_machine_rela): Don't use elf_machine_fixup_plt.
1748
1749 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1750
1751         * wcsmbs/wcscoll.c: Use multibyte character version.
1752         * wcsmbs/wcsxfrm.c: Likewise.
1753         * string/strcoll.c: Prepare to be used for the wide character version.
1754         * string/strxfrm.c: Likewise.
1755         * locale/weightwc.h: New file.
1756
1757 1999-12-30  Geoff Keating  <geoffk@cygnus.com>
1758
1759         * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1760         the (void) casts as now feraiseexcept returns a value.
1761         (feclearexcept): Likewise.
1762
1763         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1764         it interferes with the macros for AIX.
1765
1766 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1767
1768         * locale/programs/ld-collate.c (collate_finish): Always define
1769         weight for UNDEFINED if not defined by the user but don't complain
1770         unless it is needed in the multibyte character table.
1771         (collate_output): Add extra dummy elements in wide char tables in the
1772         same way done for multibyte.  Always output undefined entry in
1773         wide character table.
1774
1775         * locale/Makefile (categories): Remove commented-out old definition.
1776
1777         * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1778         to new_element if the wide char is not valid.
1779         (handle_ellipsis): Likewise.
1780         (collate_read): It's no problem if the string in the collating element
1781         definition cannot be represented as multibyte or wide char string.
1782
1783 1999-12-13  Andreas Jaeger  <aj@suse.de>
1784
1785         * resolv/resolv.h: Remove K&R compatibility.
1786
1787         * resolv/res_libc.c: Move definition of _res after res_init,
1788         res_init should use the threaded specific context.
1789
1790         * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1791         needed anymore.
1792
1793 1999-12-29  Ulrich Drepper  <drepper@cygnus.com>
1794
1795         * locale/langinfo.h: Add constants for wide character collation data.
1796         * locale/categories.def: Add appropriate entries for collate entries.
1797         * locale/C-collate.c: Add initializers for new entries.
1798         * locale/programs/ld-collate.c: Implement output of wide character
1799         tables.
1800
1801         * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1802         compute wide character table size a bit: it now gives up a bit of
1803         total table size for fewer levels.
1804
1805         * soft-fp/*: Tons of new files to implement floating-point arithmetic
1806         in software.
1807         Contributed by Richard Henderson, Jakub Jelinek and others.
1808
1809 1999-12-29  Andreas Jaeger  <aj@suse.de>
1810
1811         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1812         <asm/io.h>; remove K&R compatibility; add missing ints.
1813
1814         * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1815         add missing ints.
1816
1817         * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1818
1819 1999-12-29  Andreas Jaeger  <aj@suse.de>
1820
1821         * manual/getopt.texi (Using Getopt): Document ordering of options.
1822
1823 1999-12-29  Andreas Jaeger  <aj@suse.de>
1824
1825         * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1826         Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1827
1828 1999-12-14  Andreas Jaeger  <aj@suse.de>
1829
1830         * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1831         2.3.32.
1832
1833 1999-12-28  Jakub Jelinek  <jakub@redhat.com>
1834
1835         * elf/sprof.c (load_shobj): Fix error message.
1836         (generate_call_graph): Cast %*s length argument to int.
1837         * locale/programs/localedef.c (construct_output_path): Likewise.
1838         * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1839         specifier.
1840         (ctype_class_new): Likewise.
1841         * locale/programs/ld-time.c (time_finish): Likewise.
1842         * sunrpc/svc_simple.c (register_rpc): Likewise.
1843         * nscd/connections.c (nscd_run, start_threads): Use long instead of
1844         int to avoid cast warnings.
1845         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1846         warning.
1847         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1848         variable se.
1849
1850         * time/strftime.c (my_strftime): Provide wide era string when
1851         requested.
1852
1853         * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1854         Separate into 32bit and 64bit versions.
1855
1856 1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
1857
1858         * iconvdata/Makefile (modules): Add ISO-2022-CN.
1859         Add link rules for this module.
1860         (distribute): Add iso-2022-cn.c and cns11643l2.h.
1861         * iconvdata/cns11643l2.h: New file.
1862         * iconvdata/iso-2022-cn.c: New file.
1863         * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1864
1865         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1866         unsigned.
1867         (ucs4_to_cns11643l1): Likewise.
1868         * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1869
1870         * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1871         loop to UCS4.
1872         Optimize recognition of escape sequences a bit.
1873
1874         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1875         and oldsetrlimit definitions.
1876
1877 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
1878
1879         * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1880         identifying errors more easily.
1881
1882         * iconvdata/testdata/EUC-CN..UTF8: New file.
1883         * iconvdata/testdata/GBK..UTF8: New file.
1884
1885         * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1886         mappings.  Fix last patch.
1887         * iconvdata/TESTS: Add GBK.
1888         * iconvdata/testdata/GBK: New file.
1889
1890         * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1891         0x2312, and 0x2500..0x254b.
1892         * iconvdata/TESTS: Add EUC-CN.
1893         * iconvdata/testdata/EUC-CN: New file.
1894
1895         * iconvdata/gbgbk.c: New file.
1896         * iconvdata/Makefile (modules): Add GBGBK.
1897         (distribute): Add gbgbk.c.
1898         * iconvdata/gconv-modules: Add entries for GBGBK modules.
1899
1900         * iconvdata/euc-cn.c: Fix comment.
1901
1902         * iconvdata/gbk.c: Optimize the switch statement in the conversion
1903         to GBK a bit.
1904
1905         * locale/programs/charmap.c (charmap_new_char): Recognize special
1906         character names Uxxxx and Pxxxx and initialize the UCS4 value from
1907         the value of xxxx.
1908
1909 1999-12-17  Andreas Jaeger  <aj@suse.de>
1910
1911         * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1912
1913 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
1914
1915         * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1916         * stdlib/exit.h (flavor): Add ef_cxa.
1917         (exit_function): Add cxa variant.
1918         * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1919         * stdlib/cxa_atexit.c: New file.
1920         * stdlib/cxa_finalize.c: New file.
1921
1922 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
1923
1924         * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1925         Unicode tables.
1926
1927 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
1928
1929         * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1930         __have_no_stat64.
1931         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1932         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1933
1934         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1935         of <asm/resource.h>.
1936
1937 1999-12-26  Philip Blundell  <philb@gnu.org>
1938
1939         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
1940         argument count for `syscall' to 7.
1941         * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1942         with more than five arguments.
1943         (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1944
1945 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
1946
1947         * locale/programs/ld-collate.c (collate_output): Don't start with empty
1948         extrapool and indirectpool obstacks since we need the offsets to be
1949         nonzero.
1950         (collate_read): Call load_locale, not find_locale.
1951         * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1952         wasn't defined in the file also initialize repertoire if possible.
1953         * locale/programs/ld-time.c (time_finish): Fix message string.
1954         * locale/programs/linereader.c: Cast parameters of lr_error to
1955         correct type to prevnet warning.
1956         * locale/programs/localedef.c (load_locale): New file.
1957         * locale/programs/localedef.h: Add its prototype.
1958         * locale/programs/repertoire.c (repertoire_new_char): Add missing
1959         parameters to lr_error call.
1960
1961         * localedata/Makefile: Enable running tests again.
1962         * localedata/tests/test2.def: Adjust syntax to new specification.
1963         * localedata/tests/test3.def: Likewise.
1964         * localedata/tst-trans.sh: Redirect output of program into file.
1965
1966         * string/strcoll.c: Fix many error in new implementation to make it
1967         pass (at least) the test suite.
1968
1969         * locale/Makefile: Don't link localedef statically anymore.
1970
1971         * locale/ld-collate.c (struct element_t): Add field is_character and
1972         use it to distinguish real character from collating elements and
1973         symbols.
1974         (new_element): Take new parameter to initialize is_character.  Change
1975         all callers.
1976         (handle_ellipsis): Use is_character field to make sure ellipsis is
1977         only used with characters.
1978         (collate_read): Fix reading of collating elements.
1979
1980         * string/strxfrm.c: Correct loop end detection and memory access
1981         in the little optimization at the end.
1982
1983         * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1984         emit warnings.  Provide default value for mon_decimal_point.
1985
1986         * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1987         category wasn't defined.
1988         (collate_output): Likewise.
1989
1990         * locale/programs/ld-address.c: Don't emit message about not defined
1991         category if be_quiet.
1992         * locale/programs/ld-ctype.c: Likewise.
1993         * locale/programs/ld-identification.c: Likewise.
1994         * locale/programs/ld-measurement.c: Likewise.
1995         * locale/programs/ld-messages.c: Likewise.
1996         * locale/programs/ld-monetary.c: Likewise.
1997         * locale/programs/ld-name.c: Likewise.
1998         * locale/programs/ld-numeric.c: Likewise.
1999         * locale/programs/ld-paper.c: Likewise.
2000         * locale/programs/ld-telephone.c: Likewise.
2001         * locale/programs/ld-time.c: Likewise.
2002
2003         * locale/programs/locfile.c (write_locale_data): Correct memory
2004         allocation for fname.
2005
2006 1999-12-25  Ulrich Drepper  <drepper@cygnus.com>
2007
2008         * locale/programs/ld-collate.c (read_directions): Fix a few messages.
2009         (collate_finish): Test that position is used in all sections for
2010         a level or in none.
2011
2012         * string/strxfrm.c: Optimize a bit.  We don't need the highest bit
2013         of the index returned by findidx.
2014
2015         * string/strcoll.c: Complete rewrite for new collate implementation.
2016         * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
2017         locally.
2018
2019         * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
2020         indirect table.
2021         * locale/langinfo.h: Likewise.
2022         * locale/categories.def: Likewise.  Remove reference to postload
2023         functions.
2024         * locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
2025         __collate_tablemb, __collate_weightmb, and __collate_extramb.
2026         * locale/localeinfo.h: Remove declaration for removed variables above.
2027         Remove prototype for _nl_get_era_entry.
2028         * locale/weight.h: Complete rewrite for new collate implementation.
2029         * locale/programs/ld-collate.c: Many changes to make output file
2030         usable in strxfrm/strcoll.
2031         * string/strxfrm.c: Complete rewrite for new collate implementation.
2032         * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
2033         locally.
2034
2035 1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2036
2037         * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
2038         transformation values for chars >255.
2039         * wctype/wctrans.c: Return pointer unmodified.
2040
2041 1999-12-24  Ulrich Drepper  <drepper@cygnus.com>
2042
2043         * sysdeps/posix/system.c (__libc_system): Check whether command
2044         processor is available if LINE is NULL.  Don't return immediately
2045         if wait call returned with EINTR.
2046         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
2047
2048 1999-12-23  Ulrich Drepper  <drepper@cygnus.com>
2049
2050         * locale/programs/ld-monetary.c (monetary_finish): Add cast to
2051         prevent warning.
2052
2053         * locale/programs/ld-collate.c: Implement writing out multibyte
2054         collation data.
2055
2056         * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
2057         * locale/localeinfo.h: Declare variables only for currently implemented
2058         collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
2059         * locale/lc-collate.c: Define variables only for currently implemented
2060         functionality.
2061         * locale/langinfo.h: Define symbols only for currently implemented
2062         functionality.
2063         * locale/categories.def: Define elements for currently implemented
2064         functionality.
2065         * locale/C-collate.c: Comment out definitions of arrays with symbol
2066         name definitions etc.
2067         (_nl_C_LC_COLLATE): Update for currently defined information.
2068
2069         * intl/libintl.h: Remove dcgettext macro definition.
2070         * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2071
2072         * locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.
2073
2074         * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2075         also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.
2076
2077 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
2078
2079         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2080         for __fenv_stfsr argument.
2081         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2082         truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2083         Remove ugetrlimit.
2084         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2085         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2086         (XSTAT_IS_XSTAT64): Define.
2087         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2088         __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2089         and __libc_pwrite64.
2090         Remove oldgetrlimit and oldsetrlimit.
2091         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2092         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2093         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2094
2095         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2096         pointer to the syscall, not address of that pointer.
2097         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2098         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2099         (__syscall_stat64): Provide proper prototype.
2100
2101         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2102         has_no_truncate64 between truncate64 and ftruncate64.
2103         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2104
2105         * sysdeps/unix/sysv/linux/kernel-features.h
2106         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2107         __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2108
2109 1999-12-22  Andreas Jaeger  <aj@suse.de>
2110
2111         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2112         __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2113
2114 1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2115
2116         * locale/lc-time.c: Extend structure era_entry.
2117         * locale/localeinfo.h: Likewise.
2118         * locale/lc-time.c: Handle '-' direction used in locale's era part
2119         properly.
2120         * time/strptime.c: Likewise.
2121         * time/strftime.c: Likewise.
2122         * locale/programs/ld-time.c: Consider negative values in era part
2123         of locale as B.C..
2124         * time/strptime.c (strptime_internal): Merged Yoshiyama's
2125         %E[CyY] implementation.
2126
2127 1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>
2128
2129         * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2130         of recursive() call.
2131         * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2132         parsing.
2133
2134 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2135
2136         * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2137         Patch by Scott Bambrough <scottb@netwinder.org>.
2138
2139 1999-12-21  Andreas Schwab  <schwab@suse.de>
2140
2141         * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2142
2143         * include/unistd.h: Declare __libc_lseek.
2144
2145 1999-12-21  Andreas Jaeger  <aj@suse.de>
2146
2147         * stdlib/longlong.h: Remove __P.
2148
2149 1999-12-21  Andreas Jaeger  <aj@suse.de>
2150
2151         * sysdeps/powerpc/fpu/libm-ulps: New file.
2152
2153 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2154
2155         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2156         and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2157
2158 1999-12-21  Andreas Jaeger  <aj@suse.de>
2159
2160         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2161         * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2162         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2163         * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2164         * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2165         * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2166         * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2167         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2168         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2169         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2170         * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2171         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2172
2173 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2174
2175         * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2176         * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2177         * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2178         * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2179         * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2180         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2181         * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2182         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2183         * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2184         * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2185         * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2186         * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2187         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2188         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2189         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2190         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2191         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2192         putpmsg.
2193
2194 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2195
2196         * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2197         before testing for __ASSUME_STAT64_SYSCALL.
2198         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2199         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2200
2201 1999-12-20  Andreas Schwab  <schwab@suse.de>
2202
2203         * manual/install.texi (Running make install): Clearify that
2204         install_root should be an absolute file name.
2205
2206 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2207
2208         * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2209
2210         * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2211         buffer is given to place conversion descriptor in initial state.
2212         * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2213         CSPC862LATINHEBREW.
2214         * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2215         (according to IANA registry).
2216         Reported by Bruno Haible <haible@ilog.fr>.
2217
2218         * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2219
2220         * locale/categories.def: Remove most of the collate definitions.
2221         * locale/langinfo.h: Comment out corresponding definitions.
2222         * locale/programs/locale-spec.c (locale_special): Don't recognize the
2223         collate names yet.
2224         * locale/programs/ld-collate.c: Correct and optimize computation of
2225         weights.  Set up list of all definitions correctly.  Start writing
2226         function to generate output file.
2227
2228         * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2229         loop to compute default mapping.
2230
2231 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2232
2233         * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2234         cancelation wrapper.
2235         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2236         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2237         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2238
2239 1999-12-19  Andreas Jaeger  <aj@suse.de>
2240
2241         * sysdeps/generic/libc-start.c: Remove declaration of
2242         __libc_open.  Move declaration of __libc_fcntl to ...
2243         * include/fcntl.h: ...here.
2244
2245         * include/unistd.h: Move __libc_open and __libc_open64 to ...
2246         * include/fcntl.h: ...here.
2247
2248         * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2249         happened yet.
2250
2251         * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2252         rename label.
2253
2254 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2255
2256         * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2257         inclusion.
2258
2259 1999-12-19  Andreas Jaeger  <aj@suse.de>
2260
2261         * include/string.h: Mark __strndup with __attribute_malloc__.
2262
2263 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2264
2265         * locale/langinfo.h: Always define CODESET.
2266         (CODESET): Define also as macro.
2267
2268         * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2269         generate mantissa output in using malloc if it is larger than
2270         20000 characters.
2271         Reported by Jim Meyering <meyering@ascend.com>.
2272
2273 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2274
2275         * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2276         available gcc version.
2277         * string/string.h: Mark strdup, __strdup, and strndup with
2278         __attribute_malloc__.
2279         * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2280         __attribute_malloc__.
2281         * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2282         and __default_morecore with __attribute_malloc__.
2283         Provide default definition for __attribute_malloc__.
2284         * libio/stdio.h: Make tempnam with __attribute_malloc__.
2285
2286         * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2287         __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2288         * io/Versions: Export __libc_open64 and __libc_lseek64.
2289         * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2290         and __libc_pwrite64.
2291         * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2292         wrapper.
2293         * sysdeps/generic/pread.c: Likewise.
2294         * sysdeps/generic/pread64.c: Likewise.
2295         * sysdeps/generic/pwrite.c: Likewise.
2296         * sysdeps/generic/pwrite64.c: Likewise.
2297         * sysdeps/posix/open64.c: Likewise.
2298         * sysdeps/posix/pread.c: Likewise.
2299         * sysdeps/posix/pread64.c: Likewise.
2300         * sysdeps/posix/pwrite.c: Likewise.
2301         * sysdeps/posix/pwrite64.c: Likewise.
2302         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2303         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2304         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2305         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2306         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2307         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2308         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2309         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2310         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2311
2312         * sysdeps/posix/open64.c: Help gcc generating better code.
2313
2314         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2315         instead of __open.
2316
2317 1999-12-11  H.J. Lu  <hjl@gnu.org>
2318
2319         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2320         instead of __fcntl.
2321
2322 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2323
2324         * iconvdata/isiri-3342.c: New file.
2325         * iconvdata/Makefile (modules): Add ISIRI-3342.
2326         (distribute): Add isiri-3342.c.
2327         (gen-8bit-gap-modules): Add isiri-3342.
2328         * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2329
2330         * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2331
2332         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2333         result if necessary.
2334
2335         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2336         unreliable kernel headers.
2337         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2338         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2339         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2340         * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2341
2342 1999-12-18  Andreas Jaeger  <aj@suse.de>
2343
2344         * config.make.in (datadir): Added.
2345         Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2346
2347 1999-12-18  Andreas Jaeger  <aj@suse.de>
2348
2349         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2350         set errno.
2351         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2352
2353 1999-12-18  Andreas Jaeger  <aj@suse.de>
2354
2355         * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2356         syscall if available.
2357         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2358         * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2359
2360         * sysdeps/unix/sysv/linux/kernel-features.h
2361         (__ASSUME_STAT64_SYSCALL): New.
2362
2363 1999-12-17  Scott Bambrough  <scottb@netwinder.org>
2364
2365         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2366         cache flush.
2367         * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2368         after .text segment fixups.
2369
2370 1999-12-16  Andreas Jaeger  <aj@suse.de>
2371
2372         * rt/aio.h: Remove erroneous __restrict declarations.
2373
2374 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2375
2376         * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2377         do the job if it is there neither.
2378         Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2379
2380 1999-12-16  Andreas Jaeger  <aj@suse.de>
2381
2382         * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2383         duplicate definition with function __nan.
2384         Closes PR libc/1487 reported by <diana@kai.com>.
2385
2386 1999-12-17  Ulrich Drepper  <drepper@cygnus.com>
2387
2388         * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2389
2390         * locale/programs/ld-collate.c: Implement handling of absolute
2391         ellipsis.  Parsing of file and constructing the internal data
2392         structures should now be complete.
2393         (collate_finish): Start adding support to generate the data
2394         structures which are written out to the file.
2395
2396         * intl/dcgettext.c: Rewrite to handle caching of previous results here
2397         instead of in the dcgettext macro.
2398         * intl/libintl.h (dcgettext): Don't define for systems using this
2399         glibc or systems with tsearch.
2400
2401         * sysdeps/generic/mathdef.h: Protect definitions for math.h
2402         against double inclusion.
2403         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2404         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2405         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2406         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2407
2408         * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2409         that different?).
2410
2411 1999-12-17  Andreas Jaeger  <aj@suse.de>
2412
2413         * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2414         struct with aiocb.
2415
2416         * rt/Makefile (tests): Added tst-aio64.
2417         Added dependency rules for tst-aio64.
2418
2419         * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2420         64bit tests.
2421
2422 1999-12-15  Thorsten Kukuk  <kukuk@suse.de>
2423
2424         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2425         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2426         * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2427         old value (signed long).
2428         * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2429         long RLIM_INFINITY.
2430         * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2431         * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2432         * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2433         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2434         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2435         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2436         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2437         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2438         * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2439         * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2440         * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2441         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2442         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2443         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2444         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2445
2446 1999-12-17  Andreas Jaeger  <aj@suse.de>
2447
2448         * elf/ldconfig.c: Add new option -l to manualy link shared
2449         libraries.
2450         (options): Added option.
2451         (parse_opt): Set option.
2452         (main): Handle option.
2453         (manual_link): New function.
2454
2455 1999-12-17  Thorsten Kukuk  <kukuk@suse.de>
2456
2457         * string/bits/string2.h: Fix patch from 1999-12-07.
2458
2459 1999-12-16  Ulrich Drepper  <drepper@cygnus.com>
2460
2461         * sysdeps/generic/strsep.c: If delim string has only one character
2462         don't run over end of string.
2463
2464         * locale/programs/ld-collate.c (insert_weights): Also update next
2465         pointer of last cursor element.
2466         (insert_value): Return nonzero value if nothing got inserted.
2467         (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2468
2469 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2470
2471         * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2472         where appropriate.
2473
2474 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2475
2476         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2477         Copy sa_flags into kernel sigaction structure.
2478
2479 1999-12-14  Andreas Jaeger  <aj@suse.de>
2480
2481         * string/tester.c (test_strsep): More tests for access beyond
2482         the final NUL.  The first two tests come from PR libc/1486 by
2483         martinea@iro.umontreal.ca.
2484
2485 1999-12-14  Thorsten Kukuk  <kukuk@suse.de>
2486
2487         * nis/ypclnt.c: Correct handling of cached client handles.
2488         (__xdr_ypresp_all): Call callback function for errors, too,
2489         like Solaris does.
2490         * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2491         * nis/nss_compat/compat-initgroups.c: Likewise.
2492         * nis/nss_compat/compat-spwd.c: Likewise.
2493         * nis/nss_nis/nis-alias.c: Likewise.
2494         * nis/nss_nis/nis-ethers.c: Likewise.
2495         * nis/nss_nis/nis-grp.c: Likewise.
2496         * nis/nss_nis/nis-hosts.c: Likewise.
2497         * nis/nss_nis/nis-netgrp.c: Likewise.
2498         * nis/nss_nis/nis-publickey.c: Likewise.
2499         * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2500         Map if available, optimize query if name/port and protocol is known.
2501
2502 1999-12-12  Ulrich Drepper  <drepper@cygnus.com>
2503
2504         * locale/programs/ld-collate.c (collate_read): Make symbolic
2505         ellipsis work.  Remove old and unused code.
2506
2507 1999-12-11  Ulrich Drepper  <drepper@cygnus.com>
2508
2509         * locale/programs/ld-collate.c (collate_read): Implement
2510         reorder-section handling.
2511
2512 1999-12-10  Ulrich Drepper  <drepper@cygnus.com>
2513
2514         * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2515
2516         * locale/programs/ld-collate.c (collate_read): Add handling of
2517         reorder-after.
2518
2519         * locale/programs/ld-collate.c: Many changes to implement parsing
2520         of collation definition (still not complete).
2521
2522 1999-12-09  Andreas Jaeger  <aj@suse.de>
2523
2524         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2525         errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2526         Reported by Christian Starkjohann <cs@obdev.at>.
2527
2528 1999-12-09  Andreas Jaeger  <aj@suse.de>
2529
2530         * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2531
2532 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
2533
2534         * stdlib/longlong.h: Update from latest egcs version.
2535
2536         * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2537
2538         * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2539         has to preceede __attribute__, otherwise g++ barfs.
2540
2541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2542         on sparc64-*-linux.
2543
2544         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2545         use sigcontext.
2546         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2547
2548 1999-12-05  Wolfram Gloger  <wg@malloc.de>
2549
2550         * malloc/malloc.c (arena_get2): If generating a new arena fails,
2551         try to generate a minimal one and hope for mmap_chunk() to succeed
2552         later.
2553
2554 1999-11-07  Wolfram Gloger  <wg@malloc.de>
2555
2556         * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2557         mutex_t work as an `in-use' flag even without threads.
2558         * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2559         for multiple arenas separately from NO_THREADS.
2560         (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2561         fall back to an mmap()ed arena when sbrk() has failed.
2562
2563 1999-12-09  Ulrich Drepper  <drepper@cygnus.com>
2564
2565         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2566         getrlimit64, setrlimit64 for GLIBC_2.1.3.
2567         * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2568         getrlimit64, setrlimit64 for GLIBC_2.1.3.
2569         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2570         oldgetrlimit and oldsetrlimit.
2571         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2572         oldsetrlimit.
2573         * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2574         oldsetrlimit rules into 32-bit arch subdirs.
2575         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2576
2577         * locale/programs/ld-collate.c (insert_value): If this is the
2578         first symbol the cursor can be the same as the next pointer.
2579
2580 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
2581
2582         * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2583         arrays.
2584         (allocate_arrays): Allocate memory for map32.  Correctly install
2585         default values in it and install defined mappings.
2586
2587         * locale/programs/ld-monetary.c (monetary_finish): Provide default
2588         value for mon_grouping.
2589
2590         * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2591         headers are not clean enough.
2592
2593         * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2594
2595         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2596         __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2597         on x86.
2598         * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2599         * sysdeps/unix/sysv/linux/truncate64.c: New file.
2600         * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2601         * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2602
2603         * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2604         * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2605         * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2606         _nl_C_LC_CTYPE_tolower32 tables.
2607         Don't compile it names of 14652 classes and maps.
2608         * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2609         _NL_CTYPE_TOLOWER32.
2610         * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2611         and __ctype32_tolower.
2612         * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2613         (ctype_output): Write out map32 values.
2614         (allocate_arrays): Compute mapping tables correctly.
2615         * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2616         (towupper): Use __ctype32_toupper.
2617         * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2618
2619         * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2620         determine tolower mapping for 8bit table if the tolower keyword is
2621         not given.
2622
2623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2624         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
2625
2626 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
2627
2628         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2629         __stpcpy_small): Cast switch expressions to int to shut up compiler
2630         warnings.
2631
2632 1999-12-07  Scott Bambrough <scottb@netwinder.org>
2633
2634         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2635         relocs if possible.
2636
2637 1999-12-06  Andreas Schwab  <schwab@suse.de>
2638
2639         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2640         ugetrlimit syscall exists.
2641
2642         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2643         exported symbols.
2644         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2645
2646 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
2647
2648         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2649         pointers if character is illegal.
2650         Reported by Bruno Haible <haible@ilog.fr>.
2651
2652         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2653         (increment_counter): New function.  Broken out of find_derivation.
2654         (find_derivation): No need for a lock.  Increment counter only when
2655         the derivation was already available.
2656         * iconv/gconv_dl.c: Add debugging functions.
2657         (known_compare): We have to use strcmp.
2658         Reported by Bruno Haible <haible@ilog.fr>.
2659
2660 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
2661
2662         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2663         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2664         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2665         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
2666         SHIFT_JIS alias.
2667         Reported by Bruno Haible <haible@ilog.fr>.
2668
2669         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2670
2671 1999-12-03  Andreas Jaeger  <aj@suse.de>
2672
2673         * nss/getXXbyYY.c: Include <resolv.h>
2674         (FUNCTION_NAME): Use res_ninit instead of res_init.
2675
2676         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2677         declaration and prototypes.
2678         Remove extra _res declaration.
2679         (INTERNAL): Use thread aware res_ninit function.
2680
2681         * inet/gethstbyad_r.c: Include <resolv.h>.
2682
2683         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
2684         res_libc.c.  Disabled unneeded functions.
2685
2686         * resolv/res_libc.c: New file.
2687
2688         * Versions.def: Add version GLIBC_2.2 for libpthread.
2689         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2690
2691         * include/resolv.h: Add internal interfaces.
2692
2693         * resolv/Makefile (routines): Add new files.
2694         (libresolv-routines): Likewise.
2695         (distribute): Likewise.
2696
2697         * resolv/gethnamaddr.c: Use thread safe resolver functions.
2698         * resolv/nss_dns/dns-host.c: Likewise.
2699         * resolv/nss_dns/dns-network.c: Likewise.
2700
2701         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2702         * resolv/nsap_addr.c: Likewise.
2703         * resolv/res_comp.c: Likewise.
2704         * resolv/res_debug.c: Likewise.
2705         * resolv/res_init.c: Likewise.
2706         * resolv/res_mkquery.c: Likewise.
2707         * resolv/res_query.c: Likewise.
2708         * resolv/res_send.c: Likewise.
2709         * resolv/resolv.h: Likewise.
2710
2711         * resolv/Versions: Add __res_state and __res_ninit with version
2712         GLIBC_2.2 to libc.
2713         Add new interfaces with version GLIBC_2.2 to libresolv.
2714
2715         * resolv/Banner: Update.
2716
2717         * include/arpa/nameser_compat.h: New file.
2718
2719         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2720         * resolv/ns_netint.c: Likewise.
2721         * resolv/ns_parse.c: Likewise.
2722         * resolv/ns_print.c: Likewise.
2723         * resolv/ns_samedomain.c: Likewise.
2724         * resolv/ns_ttl.c: Likewise.
2725         * resolv/arpa/nameser_compat.h: Likewise.
2726         * resolv/res_debug.h: Likewise.
2727
2728         Some patches are based on work done by Adam D. Bradley
2729         <artdodge@cs.bu.edu>.
2730
2731 1999-11-30  Andreas Jaeger  <aj@suse.de>
2732
2733         Add ldconfig:
2734         * elf/Makefile (extra-objs): Added ldconfig-modules.
2735         (ldconfig-modules): New.
2736         Added vpath for xstrdup and xmalloc.
2737         Check for use-ldconfig instead of has-ldconfig.
2738         ($(objpfx)ldconfig): New rule with dependencies.
2739         (distribute): Add new files.
2740
2741         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2742         developed together with Jakub Jelinek <jakub@redhat.com>.
2743         * sysdeps/generic/readelflib.c: Likewise.
2744
2745         * elf/cache.c: New file.
2746         * elf/ldconfig.c: New file.
2747         * elf/ldconfig.h: New file.
2748         * elf/readlib.c: New file.
2749
2750         * Makefile (install): Remove flag -d in ldconfig call.
2751
2752         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2753         by default.
2754
2755         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2756         comment.
2757
2758         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2759         set always use_ldconfig instead.
2760
2761 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
2762
2763         * sysdeps/generic/bits/stropts.h: Update with LiS types and
2764         values.  Patch by David Grothe <dave@gcom.com>.
2765
2766         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2767         Make long types.
2768         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2769         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2770         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2771
2772 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
2773
2774         * locale/lc-time.c (_nl_get_era_entry): Separate eras
2775         initialization as _nl_init_era_entry().
2776         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2777         * locale/lc-time.c (_nl_get_era_year_offset): New function.
2778         * locale/lc-time.c (_nl_get_era_year_start): New function.
2779         * locale/localeinfo.h: Declare new functions.
2780         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2781         and ERA_W_FORMAT.
2782
2783 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
2784
2785         * posix/regex.c (SYNTAX): Make more portable.
2786         Patch by Aharon Robbins <arnold@skeeve.com>.
2787
2788 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
2789
2790         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2791         nonzero, use cthread_fork to create the signal thread.
2792         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2793         _hurd_msgport_thread here (to self).
2794         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2795         is zero, instead compute child signal thread's starting SP from parent
2796         signal thread's current SP and the threadvar_stack variables.
2797         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2798         These are now referenced weakly by _hurdsig_init.
2799
2800         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2801         &_hurd_itimer_thread not &_hurd_msgport_thread.
2802
2803 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
2804
2805         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2806         without HURD_DPORT_USE to clean up warnings.
2807         * hurd/dtable.c (get_dtable_port): Likewise.
2808
2809         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2810         (install_ctty): Do the changing of the cttyid port cell here, inside
2811         the critical section while we holding the dtable lock.
2812         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2813         the port cell and calling rectty_dtable.
2814         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2815         (install_ctty): Use it inside a critical section, with the lock held.
2816         * sysdeps/mach/hurd/setsid.c (__setsid): Use
2817         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2818         after proc_setsid, having held the dtable lock throughout.
2819         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2820         cttyid port for null and bail out early if so.  The dtable lock
2821         serializes us after any cttyid change and its associated dtable update.
2822
2823 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
2824
2825         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2826         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
2827         We don't install this file for users.
2828         * sysdeps/mach/hurd/Dist: Add it.
2829         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2830         Append nfs/nfs.h here.
2831
2832 1999-12-01  Andreas Jaeger  <aj@suse.de>
2833
2834         * sysdeps/generic/if_index.c (__protocol_available): Add missing
2835         int for parameter.
2836
2837         * stdio/stdio.h: Fix typo.
2838         Patches by Marcus G. Daniels <mgd@santafe.edu>.
2839
2840 1999-12-01  Andreas Jaeger  <aj@suse.de>
2841
2842         * scripts/test-installation.pl (installation_problem): Filter out
2843         libpthread_db.
2844
2845 1999-12-01  Andreas Schwab  <schwab@suse.de>
2846
2847         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2848         __rlim_t and __rlim64_t.
2849         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2850         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2851
2852 1999-12-01  Andreas Schwab  <schwab@suse.de>
2853
2854         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2855         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2856         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2857         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2858         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2859         new kernel version.  Add symbol versions.
2860         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2861         oldgetrlimit.
2862         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2863         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2864         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2865         and s_ugetrlimit.
2866         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2867         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2868         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2869         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2870         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2871         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2872         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2873         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2874         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2875         file.
2876         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2877         file.
2878
2879 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
2880
2881         * sysdeps/generic/usleep.c: Fix typo.
2882
2883         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2884
2885         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2886         itself.
2887
2888         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2889         _UTSNAME_H.
2890
2891         * malloc/set-freeres.c: Really use already_called variable.
2892
2893         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2894         function call directly.
2895         * libio/iosetvbuf.c: Likewise.
2896
2897 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
2898
2899         * configure.in: Add AIX 4.3 support.
2900
2901         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
2902         standard was issued in 1992.
2903         Reported by Bruno Haible <haible@ilog.fr>.
2904
2905 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
2906
2907         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2908         SIGCLD als SIGCHLD.
2909
2910 1999-11-29  Andreas Jaeger  <aj@suse.de>
2911
2912         * manual/time.texi (Basic CPU Time): Better describe wrap around.
2913         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2914
2915 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
2916
2917         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2918         Patch by Bruno Haible <haible@ilog.fr>.
2919
2920 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
2921
2922         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2923
2924 1999-11-29  Andreas Schwab  <schwab@suse.de>
2925
2926         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2927         __v to __bswap_32_v.
2928         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2929         and __bswap_64_r to avoid clash with __bswap_32 macro.
2930
2931 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
2932
2933         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2934         gconv-modules.
2935
2936 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
2937
2938         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2939         patch.  Use wch instead of idx to compute index.
2940         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2941
2942         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2943
2944         * locale/iso-3166.def: Update from latest official list.
2945
2946 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
2947
2948         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2949         asm/ptrace.h, since this will not be done with 2.3.xx automatically
2950         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2951
2952 1999-11-26  Andreas Jaeger  <aj@suse.de>
2953
2954         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2955
2956 1999-11-26  Andreas Jaeger  <aj@suse.de>
2957
2958         * inet/rcmd.c: Include stdlib for declaration of free.
2959         Declare iruserok.
2960
2961 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2962
2963         * iconv/gconv.c (__gconv): Always initialize
2964         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2965
2966         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2967         written bytes.
2968         * iconvdata/iso-2022-jp.c: Likewise.
2969
2970 1999-11-25  H.J. Lu  <hjl@gnu.org>
2971
2972         * stdlib/exit.c (exit): Run funtions only if
2973         __exit_funcs->idx > 0.
2974
2975 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2976
2977         * manual/charset.texi (iconv Examples): Add iconv call to flush
2978         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
2979
2980 1999-11-25  Andreas Jaeger  <aj@suse.de>
2981
2982         * manual/install.texi (Running make install): Better describe
2983         update from libc5.
2984         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2985
2986 1999-11-25  Andreas Jaeger  <aj@suse.de>
2987
2988         * include/sys/mman.h: Remove K&R compatibility.
2989
2990 1999-11-15  Andreas Jaeger  <aj@suse.de>
2991
2992         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2993         use __off64_t.
2994
2995 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2996
2997         * iconv/iconv_prog.c (process_block): For stateful charsets write
2998         out byte sequence to get to initial state at the end of the file.
2999
3000 1999-11-25  Andreas Schwab  <schwab@suse.de>
3001
3002         * Makeconfig: Include sys-dirs and sys-sorted earlier.
3003         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
3004         ($(common-objpfx)sysd-sorted): Emit marker when this file is
3005         complete.
3006
3007 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
3008
3009         * manual/setjmp.texi: Many changes to correct bad English introduced
3010         mainly by me.
3011         * manual/time.texi: Likewise.
3012         Patches by Neil Booth <neil@rosenet.ne.jp>.
3013
3014         * include/string.h: Remove K&R compatibility.
3015
3016 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3017
3018         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
3019
3020         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
3021
3022         * string/stratcliff.c: Add one more strchr test for something
3023         which was reported to not work (which proofed to be wrong).
3024
3025         * iconv/skeleton.c: It's __is_last, not is_last.
3026
3027         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
3028         the UCS value.
3029         (allocate_arrays): Likewise.
3030         (find_idx): Correctly increase array size.
3031         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3032
3033 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
3034
3035         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
3036         is true.
3037
3038 1999-11-23  Andreas Jaeger  <aj@suse.de>
3039
3040         * include/sys/select.h: Remove K&R compatibility.
3041         * include/sys/statfs.h: Likewise.
3042         * include/gnu/libc-version.h: Likewise.
3043         * include/db_185.h: Likewise.
3044         * include/dlfcn.h: Likewise.
3045         * include/search.h: Likewise.
3046         * include/setjmp.h: Likewise.
3047         * include/signal.h: Likewise.
3048         * include/stdio.h: Likewise.
3049         * include/unistd.h: Likewise.
3050
3051 1999-11-23  Andreas Jaeger  <aj@suse.de>
3052
3053         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
3054         is only need in external header files that might be compiled by a
3055         C++ compiler.
3056         * include/alloca.h: Likewise.
3057         * include/db.h: Likewise.
3058         * include/dirent.h: Likewise.
3059         * include/execinfo.h: Likewise.
3060         * include/fpu_control.h: Likewise.
3061         * include/glob.h: Likewise.
3062         * include/grp.h: Likewise.
3063         * include/libintl.h: Likewise.
3064         * include/math.h: Likewise.
3065         * include/math.h: Likewise.
3066         * include/mntent.h: Likewise.
3067         * include/mntent.h: Likewise.
3068         * include/netdb.h: Likewise.
3069         * include/pwd.h: Likewise.
3070         * include/sched.h: Likewise.
3071         * include/shadow.h: Likewise.
3072         * include/stdlib.h: Likewise.
3073         * include/sys/file.h: Likewise.
3074         * include/sys/gmon.h: Likewise.
3075         * include/sys/ioctl.h: Likewise.
3076         * include/sys/socket.h: Likewise.
3077         * include/sys/stat.h: Likewise.
3078         * include/sys/sysinfo.h: Likewise.
3079         * include/sys/time.h: Likewise.
3080         * include/sys/times.h: Likewise.
3081         * include/sys/uio.h: Likewise.
3082         * include/sys/wait.h: Likewise.
3083         * include/termios.h: Likewise.
3084         * include/time.h: Likewise.
3085         * include/ulimit.h: Likewise.
3086         * include/utmp.h: Likewise.
3087         * include/wchar.h: Likewise.
3088
3089 1999-11-22  Andreas Jaeger  <aj@suse.de>
3090
3091         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3092         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
3093         libc/1456+1457.
3094
3095 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
3096
3097         * sysdeps/generic/siglist.h: Avoid declaring the same field
3098         twice if SIGPWR is defined to SIGLOST.
3099         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3100         not signed, so we should not special case it for negative args.
3101         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3102         memmove, use the one provided in memcpy.S.
3103         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3104         copies like memmove, while the previous version worked like memcpy.
3105         Implement optimized assembly memmove.
3106         * sysdeps/sparc/sparc64/memmove.c: New file.
3107
3108 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3109
3110         * po/cs.po: Update from translators.
3111
3112 1999-11-23  Andreas Jaeger  <aj@suse.de>
3113
3114         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3115         (elf_machine_got): Removed, not needed anymore.
3116         (ELF_MACHINE_RELOC_NOPLT): Removed.
3117         (ELF_MACHINE_JMP_SLOT): Added.
3118         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3119         (_RTLD_EPILOGUE): Likewise.
3120         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3121         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3122         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3123         Ralf Baechle <baechle@uni-koblenz.de>.
3124
3125         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3126
3127 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
3128
3129         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3130         name from the locale name.  Only use the value in the LC_CTYPE
3131         locale data file.
3132
3133         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3134         file be equal to file size.
3135
3136         * stdlib/longlong.h: Add count_trailing_zeros back.
3137
3138         * stdlib/longlong.h: Update from latest egcs version.
3139
3140 1999-11-22  Andreas Jaeger  <aj@suse.de>
3141
3142         * locale/programs/ld-collate.c (insert_value): Correct order of
3143         arguments for lr_error call.
3144
3145         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3146         __syscall_setrlimit.
3147
3148         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3149         for key_t.
3150         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3151
3152 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
3153
3154         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3155         gcc version.
3156
3157         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3158         14652-style definition of new maps and classes.
3159
3160 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
3161
3162         * locale/programs/ld-monetary.c (monetary_finish): Don't print
3163         individual error message if nothing is defined.
3164
3165         * locale/programs/ld-time.c (time_startup): Test for lr being
3166         nonzero, not time.
3167
3168         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3169         decimal_point is not defined.
3170
3171         * wctype/wctrans.c (wctrans): Use correct base index to access
3172         extra mapping tables.
3173
3174         * locale/loadlocale.c (_nl_load_locale): Use actual number of
3175         entries from file and not the fixed (minimal number from the
3176         langinfo.h list.
3177
3178         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3179         values in charmaps.
3180
3181 1999-11-18  Paul Eggert  <eggert@twinsun.com>
3182
3183         * time/strftime.c (my_strftime): Some old compilers object to
3184         '\a', so don't bother optimizing for it.
3185
3186 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3187
3188         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3189         the rlimits structure passed in.
3190
3191 1999-11-19  Andreas Jaeger  <aj@suse.de>
3192
3193         * include/sys/resource.h (__setrlimit): Add prototype.
3194
3195 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3196
3197         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3198         entries for rtld_search_dirs[0].
3199         Patch by David Mosberger <davidm@hpl.hp.com>.
3200
3201 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3202
3203         * locale/programs/ld-ctype.c: Don't predefine the character
3204         classes and mappings of ISO 14652.
3205
3206         * locale/programs/ld-ctype.c: Punt if character class definitions
3207         to not consists of tok_bsymbol (for now).
3208
3209         * time/strptime.c (day_of_the_week): Make sure result is never
3210         negative.
3211         (strptime_internal): Allow %C without %y.
3212
3213 1999-11-18  Andreas Jaeger  <aj@suse.de>
3214
3215         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3216         comments.
3217
3218         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3219         of defining *_SUPER_MAGIC.
3220         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3221
3222 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3223
3224         * locale/programs/locale.c: Don't handle LC_ALL together with the
3225         other categories when printing the value.
3226         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3227
3228         * locale/locale.h: Correct comment about LC_ALL.
3229
3230 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3231
3232         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3233         nelems.  Correctly compute index for additional character classes.
3234         (ctype_read): Handle charclass and charconv definitions.  Also
3235         recognize arbitrary strings as mapping names.
3236         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3237         character era strings.
3238         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3239         and format for wide characters.
3240         * time/strftime.c: Correctly determine era information for wide
3241         wcsftime.
3242         * wctype/wctrans.c: Fix after removal of second endianess table.
3243         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3244         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3245
3246         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3247         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3248
3249         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3250         gregset_t, fpregset_t, and NGREG definitions.
3251
3252         * locale/programs/ld-ctype.c: Implement character width information
3253         handling.
3254
3255 1999-11-09  Andreas Jaeger  <aj@suse.de>
3256
3257         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3258
3259         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3260         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3261
3262         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3263
3264 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3265
3266         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3267
3268 1999-11-07  Andreas Jaeger  <aj@suse.de>
3269
3270         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3271         defines from Linux scsi_ioctl.h header.
3272
3273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3274         scsi_ioctl.h.
3275         * sysdeps/unix/sysv/linux/Dist: Likewise.
3276
3277         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3278         pretty printed.
3279
3280         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3281         sync with Linux 2.3.26.
3282
3283 1999-11-17  Andreas Jaeger  <aj@suse.de>
3284
3285         * shlib-versions: Allow mipsel for libm.
3286         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3287
3288 1999-11-16  Andreas Jaeger  <aj@suse.de>
3289
3290         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
3291
3292 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
3293
3294         * locale/programs/ld-ctype.c (set_class_defaults): Set default
3295         value for alpha and alnum correctly.
3296
3297         * locale/programs/ld-address.c (address_output): Fix output of
3298         country_num.
3299
3300 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
3301
3302         * timezone/asia: Update from tzdata1999j.
3303         * timezone/australasia: Likewise.
3304         * timezone/europe: Likewise.
3305         * timezone/northamerica: Likewise.
3306         * timezone/southamerica: Likewise.
3307         * timezone/zone.tab: Likewise.
3308
3309 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3310
3311         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3312         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3313         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3314         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3315         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3316
3317 1999-11-15  Andreas Jaeger  <aj@suse.de>
3318
3319         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3320         __syscall_setrlimit.
3321         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3322
3323 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3324
3325         * scripts/versions.awk: Don't expect to read predecessor versions,
3326         compute them.
3327         * Versions.def: Remove predecessors.  They now get computed.
3328
3329 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3330
3331         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3332         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3333         prototype.
3334         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3335         * sysdeps/powerpc/stackinfo.h: New file.
3336         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3337
3338 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3339
3340         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3341         GLIBC_2.1.3.
3342
3343 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3344
3345         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3346         hurd_directory_name_split.
3347         * Versions.def (libc): Add GLIBC_2.1.3.
3348
3349 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
3350
3351         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3352         to return the location of the null byte written into the string.
3353         (describe_number): Likewise.
3354         (describe_number): Remove assert, not always used with #.
3355         If FLAVOR is null, don't use it.
3356         (describe_number): Take signed argument and print a - if negative.
3357         (_S_msg_report_wait): Report system call number for system calls that
3358         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
3359         matches SS->intr_port, bracket port description with [...] to indicate
3360         a Hurd interruptible RPC; if destination port is null, examine the
3361         receive port and report that state; if receive port is also null,
3362         check for timeout and report its value.
3363         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3364         zero iff we managed to examine the stack; take new args RCV_NAME,
3365         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3366
3367         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3368         MACH_PORT_DEAD specially.
3369
3370 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3371
3372         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3373         (__directory_name_split): New function.
3374         * hurd/hurd.h: Declare them.
3375         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3376         __file_name_split, so we ignore trailing slashes properly.
3377         * sysdeps/mach/hurd/rename.c: Likewise.
3378
3379 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
3380
3381         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3382         from current kernel headers.
3383
3384         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3385         SO_PASSCRED defined.
3386
3387 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3388
3389         * locale/C-ctype.c: Fix typo in char class name.
3390
3391         * configure.in: Allow user so specify --enable-kernel=current.
3392
3393 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
3394
3395         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3396
3397         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3398         i386 version.
3399         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3400         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3401         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3402         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3403
3404 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3405
3406         * intl/locale.alias: Add Estonian entries.
3407         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3408
3409 1999-11-02  Andreas Jaeger  <aj@suse.de>
3410
3411         * Versions.def: Add version GLIBC_2.2 for libm.
3412         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3413         fedisableexcept.
3414         * sysdeps/generic/feenablxcpt.c: Stub file.
3415         * sysdeps/generic/fedisblxcpt.c: Stub file.
3416         * sysdeps/generic/fegetexcept.c: Stub file.
3417         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3418         * sysdeps/i386/fpu/feenablxcpt.c: New file.
3419         * sysdeps/i386/fpu/fegetexcept.c: New file.
3420         * math/Makefile (libm-support): Add new files.
3421         * math/Versions: Add new functions with version GLIBC_2.2.
3422         * manual/arith.texi (Control Functions): Document fegetexcept,
3423         feenableexcept and fedisableexcept.
3424
3425 1999-11-01  Wolfram Gloger  <wg@malloc.de>
3426
3427         * malloc/malloc.h: Describe __malloc_initialize_hook.
3428         * manual/memory.texi: Document __malloc_initialize_hook.
3429
3430 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
3431
3432         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3433
3434 1999-11-09  Andreas Jaeger  <aj@suse.de>
3435
3436         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3437         implementation for ttyname_r call; fix inverted condition; return
3438         ut_user.
3439         Closes PR libc/1438.
3440
3441 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3442
3443         * math/fenv.h: Include bits/fenvinline.h if optimizing.
3444         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
3445         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
3446         * sysdeps/generic/bits/fenv.h: New file.
3447
3448 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3449
3450         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3451         printf call.
3452
3453 1999-11-10  Andreas Jaeger  <aj@suse.de>
3454
3455         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3456
3457 1999-11-10  Andreas Jaeger  <aj@suse.de>
3458
3459         * string/strsignal.c (strsignal): Correct check for snprintf
3460         return value.
3461         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3462
3463         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3464         according to changed snprintf return value.
3465         Reported by Lawrence K. Chen <lchen@opentext.com>.
3466
3467         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3468         for ecvt_r and fcvt_r.
3469
3470 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3471
3472         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3473         directory with the reference since this is as secure as using the
3474         object with the dependency.
3475         (_dl_dst_substitute): Likewise.
3476
3477         * elf/dl-load.c (_dl_dst_count): Change strings in first two
3478         strncmp calls to allow reuse.
3479         (_dl_dst_substitute): Likewise.
3480
3481 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
3482
3483         * posix/regex.c (init_syntax_once): move below definition of
3484         ISALNUM etc., then use ISALNUM to init the table, so that
3485         the word ops will work if i18n'ed.
3486         (SYNTAX): And subscript with 0xFF for 8bit character sets.
3487
3488 1999-11-09  Andreas Jaeger  <aj@suse.de>
3489
3490         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3491         implementation for ttyname_r call; fix inverted condition; return
3492         ut_user.  Closes PR libc/1438.
3493
3494 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3495
3496         * timezone/checktab.awk: Update from tzcode1999h.
3497         * timezone/africa: Update from tzdata1999i.
3498         * timezone/asia: Likewise.
3499         * timezone/australasia: Likewise.
3500         * timezone/backward: Likewise.
3501         * timezone/europe: Likewise.
3502         * timezone/northamerica: Likewise.
3503         * timezone/southamerica: Likewise.
3504         * timezone/iso3166.tab: Likewise.
3505         * timezone/zone.tab: Likewise.
3506
3507         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3508         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
3509
3510 1999-11-09  Andreas Jaeger  <aj@suse.de>
3511
3512         * posix/Makefile (tests): Added tst-getlogin.
3513
3514         * posix/tst-getlogin.c: New file, contains simple tests for
3515         getlogin and getlogin_r.
3516
3517 1999-11-09  Andreas Schwab  <schwab@suse.de>
3518
3519         * misc/syslog.c: For LOG_PERROR only append a newline if
3520         necessary.
3521
3522 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
3523
3524         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3525         definitions.
3526
3527 1999-11-08  Andreas Jaeger  <aj@suse.de>
3528
3529         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3530         this fixes a memory leak (closes PR libc/1435).
3531
3532         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3533         reflect memory allocation.
3534
3535         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3536         allocation in _nl_explode_name.
3537
3538 1999-11-06  Andreas Jaeger  <aj@suse.de>
3539
3540         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3541         to initialize it.
3542         Reported by wes@surety.com, closes PR libc/1432.
3543
3544 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
3545
3546         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3547         enumerator lists (-pedantic complains).
3548         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
3549         test for 'one bit set'.
3550         (feclearexcept): Likewise.
3551
3552 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
3553
3554         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3555
3556         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3557         for kernel changes.
3558         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3559         unsigned.
3560
3561 1999-10-04  Tim Waugh  <twaugh@redhat.com>
3562
3563         * posix/wordexp-test.c: More tests.
3564
3565         * posix/wordexp.c (wordexp): Explicit null words should be kept.
3566
3567 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
3568
3569         * locale/programs/linereader.c (get_string): Correct type of buf2
3570         variable.
3571         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3572         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3573         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3574         _NL_CTYPE_OUTDIGIT*_WC.
3575         (allocate_arrays): Completely initialize mapping tables.
3576         * locale/programs/ld-time.c (time_startup): We need the wide car
3577         string.
3578         (time_finish): Correct handling of era.
3579         (time_output): Fix a few array indeces.
3580         (time_read): Pass the repertoire map to lr_token.
3581
3582 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
3583
3584         * Versions.def: Add version for libthread_db.
3585
3586 1999-11-02  Andreas Jaeger  <aj@suse.de>
3587
3588         * manual/header.texi (Library Summary): The command @indexfonts
3589         doesn't exist anymore, use @smallfonts instead.
3590
3591 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
3592
3593         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3594         instead of duplicating definitions.
3595
3596 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
3597
3598         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3599         by the debugger.
3600         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3601         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3602         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3603         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3604         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3605
3606 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
3607
3608         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3609
3610         * sysdeps/unix/sysv/linux/kernel-features.h
3611         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3612         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3613
3614         * manual/texinfo.tex: Updated.
3615
3616 1999-11-01  Andreas Jaeger  <aj@suse.de>
3617
3618         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3619
3620         * inet/gethstbynm2_r.c: Reorder addresses.
3621
3622 1999-09-11  Paul Eggert  <eggert@twinsun.com>
3623
3624         * posix/glob.h (glob): If #defining to glob64, do this before
3625         declaring it, so that all declarations and uses match, and do not
3626         declare glob64, to avoid a declaration clash.
3627         (globfree): Likewise with globfree64.
3628
3629 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
3630
3631         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3632         Keep the trailing slash unless DIRNAME is just "x:/".
3633
3634 1999-10-11  Andreas Jaeger  <aj@suse.de>
3635
3636         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3637         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3638         Closes PR libc/1384.
3639
3640 1999-10-20  Andreas Schwab  <schwab@suse.de>
3641
3642         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3643         (generated): Add it here.
3644         (before-compile): Add libm-test.c.
3645         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3646         libm-test.stmp.
3647         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3648         $(objdir)/math/.
3649
3650 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3651
3652         * Makefile (pdf): New goal.
3653         * manual/Makefile: Add definitions and rules for PDF generation.
3654
3655         * Versions.def (libm): Add GLIBC_2.1.3.
3656
3657         ISO C99 TR1 changes various fe* functions to return an error value.
3658         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3659         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3660         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3661         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3662         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3663         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3664         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3665         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3666         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3667         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3668         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3669         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3670         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3671         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3672         * sysdeps/generic/fclrexcpt.c: Likewise.
3673         * sysdeps/generic/fegetenv.c: Likewise.
3674         * sysdeps/generic/fesetenv.c: Likewise.
3675         * sysdeps/generic/feupdateenv.c: Likewise.
3676         * sysdeps/generic/fgetexcptflg.c: Likewise.
3677         * sysdeps/generic/fraiseexcpt.c: Likewise.
3678         * sysdeps/generic/fsetexcptflg.c: Likewise.
3679         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3680         * sysdeps/i386/fpu/fegetenv.c: Likewise.
3681         * sysdeps/i386/fpu/fesetenv.c: Likewise.
3682         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3683         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3684         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3685         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3686         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3687         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3688         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3689         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3690         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3691         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3692         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3693         * sysdeps/mips/fclrexcpt.c: Likewise.
3694         * sysdeps/mips/fegetenv.c: Likewise.
3695         * sysdeps/mips/fesetenv.c: Likewise.
3696         * sysdeps/mips/feupdateenv.c: Likewise.
3697         * sysdeps/mips/fgetexcptflg.c: Likewise.
3698         * sysdeps/powerpc/fclrexcpt.c: Likewise.
3699         * sysdeps/powerpc/fegetenv.c: Likewise.
3700         * sysdeps/powerpc/fesetenv.c: Likewise.
3701         * sysdeps/powerpc/feupdateenv.c: Likewise.
3702         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3703         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3704         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3705         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3706         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3707         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3708         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3709         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3710         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3711         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3712         * math/fenv.h: Adjust prototypes.: Likewise.
3713         * manual/arith.texi: Adjust documentation for these changes.
3714
3715         * manual/arith.texi: Document feraiseexcept.
3716
3717         * sysdeps/powerpc/fegetenv.c: Moved to...
3718         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3719         * sysdeps/powerpc/fegetround.c: Moved to...
3720         * sysdeps/powerpc/fpu/fegetround.c: ...here.
3721         * sysdeps/powerpc/feholdexcpt.c: Moved to...
3722         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3723         * sysdeps/powerpc/fesetenv.c: Moved to...
3724         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3725         * sysdeps/powerpc/fenv_libc.h: Moved to...
3726         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3727         * sysdeps/powerpc/feupdateenv.c: Moved to...
3728         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3729         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3730         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3731         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3732         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3733         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3734         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3735         * sysdeps/powerpc/ftestexcept.c: Moved to...
3736         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3737         * sysdeps/powerpc/fesetround.c: Moved to...
3738         * sysdeps/powerpc/fpu/fesetround.c: ...here
3739         * sysdeps/powerpc/fenv_const.c: Moved to...
3740         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3741
3742         * sysdeps/mips/fclrexcpt.c: Moved to...
3743         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3744         * sysdeps/mips/fegetenv.c: Moved to...
3745         * sysdeps/mips/fpu/fegetenv.c: ...here.
3746         * sysdeps/mips/fegetround.c: Moved to...
3747         * sysdeps/mips/fpu/fegetround.c: ...here.
3748         * sysdeps/mips/fesetenv.c: Moved to...
3749         * sysdeps/mips/fpu/fesetenv.c: ...here.
3750         * sysdeps/mips/fesetround.c: Moved to...
3751         * sysdeps/mips/fpu/fesetround.c: ...here.
3752         * sysdeps/mips/feupdateenv.c: Moved to...
3753         * sysdeps/mips/fpu/feupdateenv.c: ...here.
3754         * sysdeps/mips/fgetexcptflg.c: Moved to...
3755         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3756         * sysdeps/mips/ftestexcept.c: Moved to...
3757         * sysdeps/mips/fpu/ftestexcept.c: ...here.
3758
3759 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
3760
3761         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3762         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3763         libraries from statically linked programs.
3764         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3765         fix for sigaction on SPARC.
3766         Patches by David S. Miller <davem@redhat.com>.
3767
3768         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3769         gregset_t and other required structures and defines for SPARC 64bit
3770         ABI as well, not only 32bit ABI.
3771
3772 1999-10-31  Andreas Jaeger  <aj@suse.de>
3773
3774         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3775         by __USE_ISOC99 and update comments.
3776
3777         * math/complex.h: Update comments for ISO C99.
3778         * math/fenv.h: Likewise.
3779         * math/test-fenv.c: Likewise.
3780         * math/tgmath.h: Likewise.
3781         * libio/stdio.h: Likewise.
3782         * posix/sys/types.h: Likewise.
3783         * sysdeps/generic/inttypes.h: Likewise.
3784         * sysdeps/generic/stdint.h: Likewise.
3785
3786 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3787
3788         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3789
3790         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3791         recognize _ISOC99_SOURCE.
3792         * libio/stdio.h: Likewise.
3793         * math/math.h: Likewise.
3794         * math/bits/mathcalls.h: Likewise.
3795         * math/stdio.h: Likewise.
3796         * stdlib/stdlib.h: Likewise.
3797         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3798         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3799         * sysdeps/arm/bits/huge_val.h: Likewise.
3800         * sysdeps/generic/bits/mathdef.h: Likewise.
3801         * sysdeps/i386/bits/huge_val.h: Likewise.
3802         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3803         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3804         * sysdeps/ieee754/bits/huge_val.h: Likewise.
3805         * sysdeps/m68k/bits/huge_val.h: Likewise.
3806         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3807         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3808         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3809         * sysdeps/powerpc/bits/mathinline.h: Likewise.
3810         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3811         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3812         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3813         * wcsmbs/wchar.h: Likewise.
3814
3815         * sysdeps/powerpc/bits/mathdef.h: Moved to...
3816         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3817         * sysdeps/powerpc/bits/mathinline.h: Moved to...
3818         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3819         * sysdeps/powerpc/bits/fenv.h: Moved to...
3820         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3821
3822 1999-10-31  Andreas Jaeger  <aj@suse.de>
3823
3824         * manual/math.texi (Errors in Math Functions): Correct TeX code.
3825
3826 1999-10-31  Andreas Jaeger  <aj@suse.de>
3827
3828         * math/libm-test.inc:  Change comments to use ISO C99 instead of
3829         ISO C9x.
3830         * math/w_lgamma.c: Likewise.
3831         * math/w_lgammaf.c: Likewise.
3832         * math/w_lgammal.c: Likewise.
3833         * math/test-fenv.c: Likewise.
3834         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3835         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3836         * sysdeps/generic/printf_fphex.c: Likewise.
3837
3838 1999-10-31  Andreas Jaeger  <aj@suse.de>
3839
3840         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3841
3842         * manual/math.texi: Change ISO C9x to ISO C99.
3843         * manual/startup.texi: Likewise.
3844         * manual/stdio.texi: Likewise.
3845
3846 1999-10-31  Andreas Jaeger  <aj@suse.de>
3847
3848         * manual/arith.texi: Change ISO C9x to ISO C99.
3849         * manual/time.texi (Low-Level Time String Parsing): Likewise.
3850
3851 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
3852
3853         * socket/Makefile (distribute): Add ifreq.h.
3854
3855         * manual/time.texi (Formatting Date and Time): Revise comments about
3856         origins of the formats with ISO C99 references.
3857
3858 1999-10-30  Andreas Jaeger  <aj@suse.de>
3859
3860         * sysdeps/unix/sysv/linux/ifreq.h: New file.
3861
3862 1999-10-29  Andreas Jaeger  <aj@suse.de>
3863
3864         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3865         input format; mention that strtof and strtold are part of ISO C99.
3866
3867 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
3868
3869         * manual/math.texi (Errors in Math Functions): New section.
3870         * math/libm-err-tab.pl: Moved to...
3871         * manual/libm-err-tab.pl: ...here.
3872         * manual/Makefile: Add rules for math function error table generation.
3873
3874         * stdlib/tst-strtod.c: Add more hexadecimal tests.
3875
3876         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3877         != 1 correctly and more than one digit before decimal point..
3878
3879 1999-10-27  Andreas Jaeger  <aj@suse.de>
3880
3881         * sysdeps/generic/ifreq.h: New file.
3882
3883         * resolv/res_hconf.c: Add missing includes to get all prototypes.
3884         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
3885         Reported by John DiMarco <jdd@cs.toronto.edu>.
3886
3887         (_res_hconf_reorder_addrs): Made thread safe.
3888         (free_mem): New function, needed for malloc debugging.
3889
3890 1999-10-29  Andreas Jaeger  <aj@suse.de>
3891
3892         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3893         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3894         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3895         opensock to use __opensock.
3896
3897         * socket/Makefile (routines): Add opensock.
3898
3899         * include/sys/socket.h (__opensock): Add prototype declaration.
3900
3901 1999-10-29  Andreas Jaeger  <aj@suse.de>
3902
3903         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3904         N_* constants.
3905         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3906
3907         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3908         new constant from Linux 2.3.25pre1.
3909
3910         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3911
3912 1999-10-29  Andreas Jaeger  <aj@suse.de>
3913
3914         * math/libm-err-tab.pl: New file to generate a table of
3915         libm-test-ulps values.
3916
3917 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
3918
3919         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3920         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3921         struct sigcontext* object as second parameter for profil_counter.
3922         Patches by Jakub Jelinek <jakub@redhat.com>.
3923
3924 1999-10-29  Andreas Jaeger  <aj@suse.de>
3925
3926         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3927         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3928
3929         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3930         efs, qnx4 and reiser file systems.
3931
3932 1999-10-29  Andreas Jaeger  <aj@suse.de>
3933
3934         * locale/Makefile (others): Set to localedef and locale for make
3935         clean.
3936
3937         * debug/Makefile (generated): Add xtrace for make clean to work.
3938
3939 1999-10-29  Andreas Jaeger  <aj@suse.de>
3940
3941         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3942
3943 1999-10-25  Andreas Jaeger  <aj@suse.de>
3944
3945         * math/libm-test.inc: Added code to ignore the given max ulps.
3946         (print_max_error): Check for ignore_max_ulp.
3947         (check_float_internal): Likewise.
3948         (parse_opt): Parse --ignore-max-ulp.
3949         (main): Initialize ignore_max_ulp.
3950
3951 1999-10-26  Andreas Jaeger  <aj@suse.de>
3952
3953         * stdlib/msort.c: Include <alloca.h> for prototype.
3954         Remove K&R compatibility and _quicksort prototype.
3955
3956         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3957         some comments.
3958         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3959         Remove K&R compatibility.
3960         Move prototype declaration to include/stdlib.h.
3961         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3962
3963         * include/stdlib.h: Prototype declaration for _quicksort.
3964
3965 1999-10-27  Andreas Jaeger  <aj@suse.de>
3966
3967         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3968         shifted a bit too much.
3969         Reported by Eugen Dedu <dedu@ese-metz.fr>.
3970
3971 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
3972
3973         * resolv/gethnamaddr.c: Account bytes needed for alignment in
3974         buflen.  Patch by Olaf Kirch <okir@lst.de>.
3975
3976         * md5-crypt/md5test.c: Correct names of MD5 functions after
3977         removing of public names.
3978
3979         * configure.in: Don't allow --enable-kernel without parameter.
3980
3981 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
3982
3983         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3984         problems.
3985
3986 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
3987
3988         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
3989         only used internally.
3990         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3991         remove weak alias for public names.
3992         * md5-crypt/md5.c: Remove weak aliase.
3993
3994 1999-10-25  Andreas Jaeger  <aj@suse.de>
3995
3996         * math/README.libm-test: New file, documents libm-test.inc.
3997
3998 1999-10-25  Andreas Jaeger  <aj@suse.de>
3999
4000         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
4001         given.
4002         (print_ulps_file): Fix loops to not read @tests and @functions
4003         since those are not initialized with -n now.
4004         (parse_ulps): Set $results{..}{"kind"}.
4005
4006 1999-10-25  Andreas Jaeger  <aj@suse.de>
4007
4008         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
4009
4010         * math/libm-test.inc (check_float_internal): Don't print ulps for
4011         wrong sign of zero.
4012
4013 1999-10-20  Andreas Jaeger  <aj@suse.de>
4014
4015         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
4016         versus AF_LOCAL.
4017         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
4018
4019 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
4020
4021         * math/libm-test.inc: Disable some boundary case tests for inline
4022         function testing.
4023
4024         * math/math.h: Pretty printing.
4025
4026         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
4027         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4028         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4029         * sysdeps/i386/fpu/e_log10.S: Likewise.
4030         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4031         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4032         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4033         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4034         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4035         * sysdeps/i386/fpu/s_log2.S: Likewise.
4036         * sysdeps/i386/fpu/s_log2f.S: Likewise.
4037         * sysdeps/i386/fpu/s_log2l.S: Likewise.
4038
4039         * sysdeps/i386/fpu/libm-test-ulps: New file.
4040
4041         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
4042         value for x == 0.
4043         (pow): Correct case x == 0.
4044         (__sgn1l): Correct handling of -0.0.
4045
4046 1999-10-22  Andreas Jaeger  <aj@suse.de>
4047
4048         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
4049         (atan_test): Likewise.
4050         (atanh_test): Likewise.
4051         (atan2_test): Likewise.
4052         (carg_test): Likewise.
4053         (ceil_test): Likewise.
4054         (cos_test): Likewise.
4055         (cosh_test): Likewise.
4056         (cpow_test): Likewise.
4057         (erf_test): Likewise.
4058         (erfc_test): Likewise.
4059         (exp_test): Likewise.
4060         (exp10_test): Likewise.
4061         (exp2_test): Likewise.
4062         (expm1_test): Likewise.
4063         (fabs_test): Likewise.
4064         (floor_test): Likewise.
4065         (fmod_test): Likewise.
4066         (gamma_test): Likewise.
4067         (lgamma_test): Likewise.
4068         (log10_test): Likewise.
4069         (log1p_test): Likewise.
4070         (log2_test): Likewise.
4071         (logb_test): Likewise.
4072         (nearbyint_test): Likewise.
4073         (remainder_test): Likewise.
4074         (remquo_test): Likewise.
4075         (sin_test): Likewise.
4076         (sincos_test): Likewise.
4077         (sinh_test): Likewise.
4078         (sqrt_test): Likewise.
4079         (tan_test): Likewise.
4080         (tanh_test): Likewise.
4081         (tgamma_test): Likewise.
4082
4083 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
4084
4085         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4086
4087         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4088
4089         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4090         for -Inf and return NaN.
4091
4092         * configure.in: Correct test for Cygnus gcc versions.
4093
4094 1999-10-21  Andreas Jaeger  <aj@suse.de>
4095
4096         * math/libm-test.inc (cimag_test): New function, tests cimag.
4097         (creal_test): New function, tests creal.
4098         (conj_test): New function, tests conj.
4099         (main): Add new functions.
4100
4101 1999-10-20  Andreas Jaeger  <aj@suse.de>
4102
4103         * math/libm-test.inc: Rewrite to allow different deltas for real
4104         and imaginary part of complex functions.
4105         * math/gen-libm-test.pl: Likewise.
4106
4107 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
4108
4109         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4110         aliases.
4111
4112         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4113
4114         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4115         for -Inf and return NaN.
4116
4117         * math/gen-libm-test.pl: Fix program name in help message.
4118
4119         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4120
4121         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4122
4123         * sysdeps/i386/Implies: Correct order of libm directories.
4124
4125 1999-10-19  Andreas Jaeger  <aj@suse.de>
4126
4127         * include/bits/ipc.h: Remove K&R compatibility.
4128         * include/libintl.h: Likewise.
4129         * include/math.h: Likewise.
4130         * include/mntent.h: Likewise
4131         * include/netdb.h: Likewise.
4132         * include/pwd.h: Likewise.
4133         * include/sched.h: Likewise.
4134         * include/shadow.h: Likewise
4135         * include/stdlib.h: Likewise.
4136         * include/sys/file.h: Likewise.
4137         * include/sys/gmon.h: Likewise.
4138         * include/sys/ioctl.h: Likewise.
4139         * include/sys/mman.h: Likewise.
4140         * include/sys/resource.h: Likewise.
4141         * include/sys/socket.h: Likewise.
4142         * include/sys/stat.h: Likewise.
4143         * include/sys/sysinfo.h: Likewise.
4144         * include/sys/time.h: Likewise.
4145         * include/sys/times.h: Likewise.
4146         * include/sys/uio.h: Likewise.
4147         * include/sys/wait.h: Likewise.
4148         * include/termios.h: Likewise.
4149         * include/time.h: Likewise.
4150         * include/ulimit.h: Likewise.
4151         * include/utmp.h: Likewise.
4152         * include/wchar.h: Likewise.
4153         * include/wctype.h: Likewise.
4154
4155 1999-10-19  Andreas Jaeger  <aj@suse.de>
4156
4157         * math/libm-test.inc: Remove one K&R compatibility.
4158         (main): Enable nexttoward_test.
4159
4160         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4161         libm-test-ulps.h; pretty print output a bit.
4162
4163 1999-10-19  Andreas Jaeger  <aj@suse.de>
4164
4165         * iconv/iconv_prog.c (main): Set exit value in case that reading
4166         from stdin failed [PR libc/1404].
4167
4168 1999-10-18  Andreas Jaeger  <aj@suse.de>
4169
4170         Added improved math testsuite:
4171         * math/libm-test.inc: New file, contains all tests from
4172         libm-test.c but in a different form.
4173         * math/libm-test.c: Removed.
4174         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4175         * math/gen-libm-test.pl: New file: Preprocessor.
4176         * math/test-double.c: Adopted to new testsuite.
4177         * math/test-idouble.c: Likewise.
4178         * math/test-float.c: Likewise.
4179         * math/test-ifloat.c: Likewise.
4180         * math/test-ldouble.c: Likewise.
4181         * math/test-ildoubl.c: Likewise.
4182         * math/Makefile: Added rules to generate new suite.
4183
4184 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4185
4186         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4187         Patch by J. Richard Sladkey <jrs@world.std.com>.
4188
4189         * scripts/config.sub: Update from latest autoconf version.
4190         * scripts/config.guess: Likewise.
4191
4192 1999-10-18  Andreas Jaeger  <aj@suse.de>
4193
4194         * inet/arpa/inet.h: Remove K&R compatibility.
4195         * math/fenv.h: Likewise.
4196
4197 1999-10-18  Andreas Jaeger  <aj@suse.de>
4198
4199         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4200         kernel_sigaction): Remove K&R compatibility.
4201         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4202         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4203         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4204         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4205         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4206         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4207         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4208         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4209         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4210         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4211         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4212         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4213         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4214         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4215         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4216         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4217         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4218
4219 1999-10-18  Andreas Jaeger  <aj@suse.de>
4220
4221         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4222         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4223
4224 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4225
4226         * po/gl.po: New file.
4227
4228 1999-10-18  Andreas Schwab  <schwab@suse.de>
4229
4230         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4231         namespace selection.
4232
4233 1999-10-18  Andreas Schwab  <schwab@suse.de>
4234
4235         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4236         clash with the TERM environment variable.
4237
4238 1999-10-18  Andreas Jaeger  <aj@suse.de>
4239
4240         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4241         returns now NaN + i NaN.
4242         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4243         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4244
4245 1999-10-18  Andreas Jaeger  <aj@suse.de>
4246
4247         * include/aio.h: Remove K&R compatiblity.
4248         * include/alloca.h: Likewise.
4249         * include/db.h: Likewise.
4250         * include/dirent.h: Likewise.
4251         * include/fcntl.h: Likewise.
4252         * include/fpu_control.h: Likewise.
4253         * include/glob.h: Likewise.
4254         * include/grp.h: Likewise.
4255         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4256         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4257         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4258         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4259
4260         * include/execinfo.h: Add __THROW.
4261
4262 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4263
4264         * sysdeps/mips/Implies: Remove wordsize-32 reference.
4265         * sysdeps/mips/mips3/Implies: Add it here.
4266
4267 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
4268
4269         * elf/elf.h: Add various platform and architecture extensions.
4270
4271         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4272         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4273         LC_ALL.
4274
4275         * socket/sys/socket.h: Remove K&R compatibility.
4276
4277 1999-10-16  Andreas Jaeger  <aj@suse.de>
4278
4279         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4280
4281 1999-10-15  Andreas Jaeger  <aj@suse.de>
4282
4283         * stdlib/Makefile (tests): Added tst-xpg-basename.
4284
4285         * stdlib/tst-xpg-basename.c: New test file.
4286
4287 1999-10-14  Cristian Gafton  <gafton@redhat.com>
4288
4289         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4290
4291 1999-10-14  Andreas Jaeger  <aj@suse.de>
4292
4293         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
4294         endian version works for both endiannesses.
4295
4296         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4297         seconds.
4298
4299 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4300
4301         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4302         register names unconditionally, only if __USE_GNU.
4303
4304         * debug/Makefile: Fix rules to generate pcprofiledump.
4305
4306         * include/ucontext.h: New file.
4307
4308         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4309
4310 1999-10-12  Andreas Jaeger  <aj@suse.de>
4311
4312         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4313
4314         * math/basic-test.c: Fix typo.
4315
4316         * locale/programs/xstrdup.c: Include string.h for glibc
4317         compilation to get string prototypes.
4318
4319         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4320         gregset_t and fpregset_t.
4321
4322         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4323         warnings.  Correct value for x == 0.
4324
4325         * argp/argp-help.c: Remove broken definition of flockfile and
4326         funlockfile.
4327
4328 1999-10-12  Andreas Schwab  <schwab@suse.de>
4329
4330         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4331         generic Linux version.
4332
4333 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4334
4335         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4336
4337 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4338
4339         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4340         and fpregset_t definitions.
4341
4342         * malloc/memprof.c (GETSP): Define for PowerPC.
4343         (GETTIME): Fix generic version.
4344
4345 1999-10-10  Philip Blundell  <philb@gnu.org>
4346
4347         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4348         __BYTE_ORDER.
4349
4350 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4351
4352         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4353         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4354         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4355         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4356
4357         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4358
4359         * sysdeps/powerpc/e_sqrt.c: Moved to...
4360         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4361         * sysdeps/powerpc/e_sqrtf.c: Moved to...
4362         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4363
4364         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4365         * sysdeps/powerpc/sub_n.S: Likewise.
4366         * sysdeps/powerpc/strlen.S: Likewise.
4367         * sysdeps/powerpc/strcpy.S: Likewise.
4368         * sysdeps/powerpc/strcmp.S: Likewise.
4369         * sysdeps/powerpc/strchr.S: Likewise.
4370         * sysdeps/powerpc/stpcpy.S: Likewise.
4371         * sysdeps/powerpc/setjmp.S: Likewise.
4372         * sysdeps/powerpc/rshift.S: Likewise.
4373         * sysdeps/powerpc/ppc-mcount.S: Likewise.
4374         * sysdeps/powerpc/mul_1.S: Likewise.
4375         * sysdeps/powerpc/memset.S: Likewise.
4376         * sysdeps/powerpc/lshift.S: Likewise.
4377         * sysdeps/powerpc/dl-start.S: Likewise.
4378         * sysdeps/powerpc/bzero.S: Likewise.
4379         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4380         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4381         * sysdeps/powerpc/addmul_1.S: Likewise.
4382         * sysdeps/powerpc/add_n.S: Likewise.
4383         * sysdeps/powerpc/__longjmp.S: Likewise.
4384         * sysdeps/powerpc/elf/start.S: Likewise.
4385
4386 1999-10-11  Cristian Gafton  <gafton@redhat.com>
4387
4388         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4389         SA_SIGINFO.
4390
4391 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
4392
4393         * stdlib/atexit.c (initial): New variable.  Use to initialize
4394         __exit_funcs.
4395         * stdlib/exit.c (exit): Beware to not free statically allocated
4396         list element [PR libc/1305].
4397
4398         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4399         slash before the basename [PR libc/1383].
4400
4401         * argp/argp.h: Fix typo in last patch.
4402
4403         * sysdeps/powerpc/sysdep.h: New file.
4404         * sysdeps/unix/powerpc/sysdep.h: New file.
4405         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4406         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4407         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4408         instead of bare numbers.
4409         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4410         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4411         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4412
4413         * sysdeps/hppa/sysdep.h: New file.
4414
4415 1999-10-10  Andreas Jaeger  <aj@suse.de>
4416
4417         * misc/sgtty.h: Fix typo in last patch.
4418
4419 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
4420
4421         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4422         * sysdeps/powerpc/s_copysign.S: Move to...
4423         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
4424         * sysdeps/powerpc/s_copysignf.S: Move to...
4425         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4426         * sysdeps/powerpc/s_fabs.S: Move to...
4427         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
4428         * sysdeps/powerpc/s_fabsf.S: Move to...
4429         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4430         * sysdeps/powerpc/s_fdim.c: Move to...
4431         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4432         * sysdeps/powerpc/s_fdimf.c: Move to...
4433         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4434         * sysdeps/powerpc/s_fmax.S: Move to...
4435         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
4436         * sysdeps/powerpc/s_fmaxf.S: Move to...
4437         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4438         * sysdeps/powerpc/s_fmin.S: Move to...
4439         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
4440         * sysdeps/powerpc/s_fminf.S: Move to...
4441         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4442         * sysdeps/powerpc/s_isnan.S: Move to...
4443         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4444         * sysdeps/powerpc/s_isnanf.S: Move to...
4445         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4446         * sysdeps/powerpc/s_llrint.c: Move to...
4447         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4448         * sysdeps/powerpc/s_llrintf.c: Move to...
4449         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4450         * sysdeps/powerpc/s_llround.c: Move to...
4451         * sysdeps/powerpc/fpu/s_llround.c: ...here.
4452         * sysdeps/powerpc/s_llroundf.c: Move to...
4453         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4454         * sysdeps/powerpc/s_lrint.c: Move to...
4455         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4456         * sysdeps/powerpc/s_lrintf.S: Move to...
4457         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4458         * sysdeps/powerpc/s_lround.c: Move to...
4459         * sysdeps/powerpc/fpu/s_lround.c: ...here.
4460         * sysdeps/powerpc/s_lroundf.c: Move to...
4461         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4462         * sysdeps/powerpc/s_rint.c: Move to...
4463         * sysdeps/powerpc/fpu/s_rint.c: ...here.
4464         * sysdeps/powerpc/s_rintf.c: Move to...
4465         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4466         * sysdeps/powerpc/t_sqrt.c: Move to...
4467         * sysdeps/powerpc/fpu/t_sqrt: ...here.
4468         * sysdeps/powerpc/w_sqrt.c: Move to...
4469         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4470         * sysdeps/powerpc/w_sqrtf.c: Move to...
4471         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4472         * configure.in: Support platforms which have no .text pseudo-op.
4473         Patches partly by Jimi X <jimix@pobox.com>.
4474
4475         * Makeconfig: Look also in all subdirs for shlib-versions files.
4476
4477         * malloc/memprof.sh: Fix --help string a bit.
4478
4479         * argp/argp.h: Remove K&R compatiblity.
4480         * assert/assert.h: Likewise.
4481         * catgets/nl_types.h: Likewise.
4482         * ctype/ctype.h: Likewise.
4483         * db/db.h: Likewise.
4484         * db/ndbm.h: Likewise.
4485         * db2/db.h: Likewise.
4486         * db2/db_185.h: Likewise.
4487         * debug/execinfo.h: Likewise.
4488         * dirent/dirent.h: Likewise.
4489         * dlfcn/dlfcn.h: Likewise.
4490         * gmon/sys/gmon.h: Likewise.
4491         * grp/grp.h: Likewise.
4492         * iconv/gconv.h: Likewise.
4493         * iconv/iconv.h: Likewise.
4494         * include/execinfo.h: Likewise.
4495         * inet/aliases.h: Likewise.
4496         * inet/netinet/ether.h: Likewise.
4497         * inet/netinet/in.h: Likewise.
4498         * intl/libintl.h: Likewise.
4499         * io/fcntl.h: Likewise.
4500         * io/fts.h: Likewise.
4501         * io/ftw.h: Likewise.
4502         * io/utime.h: Likewise.
4503         * io/sys/poll.h: Likewise.
4504         * io/sys/stat.h: Likewise.
4505         * io/sys/statfs.h: Likewise.
4506         * io/sys/statvfs.h: Likewise.
4507         * libio/libio.h: Likewise.
4508         * libio/stdio.h: Likewise.
4509         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4510         * locale/locale.h: Likewise.
4511         * login/pty.h: Likewise.
4512         * login/utmp.h: Likewise.
4513         * malloc/mcheck.h: Likewise.
4514         * math/complex.h: Likewise.
4515         * math/math.h: Likewise.
4516         * math/math_private.h: Likewise.
4517         * misc/err.h: Likewise.
4518         * misc/fstab.h: Likewise.
4519         * misc/libgen.h: Likewise.
4520         * misc/mntent.h: Likewise.
4521         * misc/regexp.h: Likewise.
4522         * misc/search.h: Likewise.
4523         * misc/sgtty.h: Likewise.
4524         * misc/ttyent.h: Likewise.
4525         * misc/sys/cdefs.h: Likewise.
4526         * misc/sys/file.h: Likewise.
4527         * misc/sys/ioctl.h: Likewise.
4528         * misc/sys/mman.h: Likewise.
4529         * misc/sys/select.h: Likewise.
4530         * misc/sys/syslog.h: Likewise.
4531         * misc/sys/uio.h: Likewise.
4532         * misc/sys/ustat.h: Likewise.
4533         * nss/nss.h: Likewise.
4534         * posix/sched.h: Likewise.
4535         * posix/unistd.h: Likewise.
4536         * posix/wordexp.h: Likewise.
4537         * posix/sys/times.h: Likewise.
4538         * posix/sys/utsname.h: Likewise.
4539         * posix/sys/wait.h: Likewise.
4540         * pwd/pwd.h: Likewise.
4541         * resolv/netdb.h: Likewise.
4542         * resolv/resolv.h: Likewise.
4543         * resource/ulimit.h: Likewise.
4544         * resource/sys/resource.h: Likewise.
4545         * resource/sys/vlimit.h: Likewise.
4546         * resource/sys/vtimes.h: Likewise.
4547         * rt/aio.h: Likewise.
4548         * setjmp/setjmp.h: Likewise.
4549         * shadow/shadow.h: Likewise.
4550         * signal/signal.h: Likewise.
4551         * socket/socket.h: Likewise.
4552         * stdio/stdio.h: Likewise.
4553         * stdio-common/_itoa.h: Likewise.
4554         * stdio-common/_itowa.h: Likewise.
4555         * stdio-common/printf.h: Likewise.
4556         * stdlib/alloca.h: Likewise.
4557         * stdlib/fmtmsg.h: Likewise.
4558         * stdlib/monetary.h: Likewise.
4559         * stdlib/stdlib.h: Likewise.
4560         * stdlib/ucontext.h: Likewise.
4561         * streams/stropts.h: Likewise.
4562         * string/argz.h: Likewise.
4563         * string/envz.h: Likewise.
4564         * string/string.h: Likewise.
4565         * string/strings.h: Likewise.
4566         * string/bits/string2.h: Likewise.
4567         * sunrpc/rpc/auth.h: Likewise.
4568         * sunrpc/rpc/auth_des.h: Likewise.
4569         * sunrpc/rpc/auth_unix.h: Likewise.
4570         * sunrpc/rpc/clnt.h: Likewise.
4571         * sunrpc/rpc/des_crypt.h: Likewise.
4572         * sunrpc/rpc/netdb.h: Likewise.
4573         * sunrpc/rpc/pmap_clnt.h: Likewise.
4574         * sunrpc/rpc/pmap_prot.h: Likewise.
4575         * sunrpc/rpc/pmap_rmt.h: Likewise.
4576         * sunrpc/rpc/rpc_msg.h: Likewise.
4577         * sunrpc/rpc/svc.h: Likewise.
4578         * sunrpc/rpc/svc_auth.h: Likewise.
4579         * sunrpc/rpc/xdr.h: Likewise.
4580         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4581         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4582         * sysvipc/sys/ipc.h: Likewise.
4583         * sysvipc/sys/msg.h: Likewise.
4584         * sysvipc/sys/sem.h: Likewise.
4585         * sysvipc/sys/shm.h: Likewise.
4586         * termios/termios.h: Likewise.
4587         * time/time.h: Likewise.
4588         * time/sys/time.h: Likewise.
4589         * time/sys/timeb.h: Likewise.
4590         * wcsmbs/wchar.h: Likewise.
4591         * wctype/wctype.h: Likewise.
4592
4593 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
4594
4595         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4596         _GNU_SOURCE be defined.
4597
4598 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
4599
4600         * ctype/ctype.h: Pretty print.
4601
4602         * po/cs.po: Fix typos.
4603
4604         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4605         handling of empty entries.  [PR libc/1345]
4606         Patch by Thorsten Kukuk <kukuk@suse.de>.
4607
4608 1999-10-08  Andreas Schwab  <schwab@suse.de>
4609
4610         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
4611
4612 1999-10-08  Andreas Schwab  <schwab@suse.de>
4613
4614         * debug/pcprofiledump.c: Fix typos.
4615
4616 1999-10-07  Andreas Jaeger  <aj@suse.de>
4617
4618         * math/Makefile (tests): Added basic-tests.
4619
4620         * math/basic-test.c: New file.  Contains function basic_tests from
4621         libm-test.
4622
4623 1999-10-07  Andreas Schwab  <schwab@suse.de>
4624
4625         * malloc/memprof.sh: Fix quoting bugs.
4626
4627 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
4628
4629         * timezone/europe: Update from tzdata1999h.
4630
4631 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
4632
4633         * elf/elf.h: Update from last gABI draft.
4634
4635         * elf/elf.h: Remove EM_486 entry.
4636         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4637         test for EM_486.
4638
4639 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
4640
4641         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4642         Add rules for both programs.
4643         * debug/pcprofiledump.c: New file.
4644         * debug/xtrace.sh: New file.
4645         * debug/pcprofile.c: Allow creating output file.  Add magic signature
4646         to let reader recognize file format.
4647
4648 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
4649
4650         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4651
4652 1999-10-05  Andreas Jaeger  <aj@suse.de>
4653
4654         * locale/programs/ld-identification.c: Fix typo in comment.
4655         * locale/programs/ld-messages.c: Likewise.
4656         * locale/programs/ld-monetary.c: Likewise.
4657         * locale/programs/ld-name.c: Likewise.
4658
4659         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4660         (collate_read): Remove unnecessary comparisons with ignore_content.
4661
4662         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4663         assigned elements.
4664         (ctype_read): Remove unnecessary comparisons with ignore_content.
4665         Fix typos in comments.
4666
4667         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4668         comparisons with ignore_content.
4669
4670 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
4671
4672         * po/cs.po: Update.
4673
4674         * time/time.h: Move __gmtime_r declaration to ...
4675         * include/time.h: ...here.
4676
4677 1999-10-05  Andreas Jaeger  <aj@suse.de>
4678
4679         * manual/message.texi (The message catalog files): Fix description
4680         to match gencat implementation and Unix98: Message fields are
4681         separated by a single blank space.
4682
4683 1999-10-05  Andreas Jaeger  <aj@suse.de>
4684
4685         * manual/string.texi (Search Functions): Add missing end for
4686         memrchr description.
4687
4688 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4689
4690         * malloc/memprof.sh: Various small cleanups.  Add short options.
4691         Write error messages to stderr.
4692
4693         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4694
4695         * malloc/memprof.sh: Take options to control memprofstat.
4696
4697         * malloc/Makefile: Add rule to generate memprof script.
4698         * malloc/memprof.sh: New file.
4699
4700         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4701         GNU standard.
4702
4703 1999-10-04  Andreas Jaeger  <aj@suse.de>
4704
4705         * configure.in: Allow makeinfo 4.*.
4706
4707 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4708
4709         * stdio-common/vfprintf.c: Correct last patch and use outchar
4710         instead of PUTC to output single characters.
4711         * stdio-common/Makefile (tests): Add bug13.
4712         * stdio-common/bug13.c: New file.
4713
4714         * configure.in: Add additional options --with-gd-include and
4715         --with-gd-lib to help people with strange installations.
4716
4717         * malloc/Makefile: Add libdl dependency to libmemprof.so.
4718         * malloc/Depend: New file.
4719
4720 1999-10-04  Andreas Jaeger  <aj@suse.de>
4721
4722         * timezone/README: Change wording to not mention the current
4723         version.  This way we can't forget to update the file.
4724
4725 1999-10-04  Andreas Jaeger  <aj@suse.de>
4726
4727         * manual/time.texi (Basic CPU Time): Fix typo.
4728         Reported by Ben Pfaff <pfaffben@msu.edu>.
4729
4730 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4731
4732         * string/string.h: Move __memrchr declaration to ...
4733         * include/string.h: ...here.
4734
4735 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4736
4737         * string/Makefile (routines): Add memrchr.
4738
4739         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4740         Correct order of tests for matching bytes.
4741
4742         * string/tester.c: Add tests for memrchr.
4743
4744         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4745         Start from the last character and take decrement not increment
4746         into account for correction in return line.  Add memrchr alias.
4747         * sysdeps/i386/bits/string.h: Likewise.
4748
4749 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4750
4751         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4752
4753 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4754
4755         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4756
4757         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4758         conventions.
4759
4760         * string/Versions: Export memrchr.
4761
4762 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4763
4764         * misc/Versions (GLIBC_2.2): Add getloadavg.
4765         * misc/Makefile (routines): Add getloadavg.
4766         * sysdeps/generic/getloadavg.c: New file.
4767         * sysdeps/mach/getloadavg.c: New file.
4768         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4769
4770         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4771         * sysdeps/i386/bits/string.h (__memrchr): New function.
4772         * string/string.h: Declare memrchr, __memrchr.
4773         * manual/string.texi (Search Functions): Document memrchr.
4774
4775 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4776
4777         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4778         CFLAGS-memprofstat.c, and LIBGD variables.
4779         * config.make.in: Add LIBGD.
4780         * malloc/Makefile: Add rules to generate libmemprof.so and
4781         memprofstat.
4782         * malloc/memprof.c: New file.
4783         * malloc/memprofstat.c: New file.
4784
4785 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
4786
4787         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4788
4789         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4790         (inet_ntop6): Likewise.
4791
4792         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4793         overruns.
4794
4795         * resolv/tst-aton.c (main): Add more tests.
4796
4797         * resolv/inet_addr.c (inet_aton): Correct some problems with to
4798         large numbers.  Optimize a bit.
4799
4800 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4801
4802         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4803         account for added '0'.
4804
4805         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4806         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
4807         len argument to be greater than needed address size.
4808
4809 1999-10-01  Andreas Jaeger  <aj@suse.de>
4810
4811         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4812         warning.
4813         * intl/finddomain.c (_nl_find_domain): Likewise.
4814
4815 1999-09-30  Andreas Schwab  <schwab@suse.de>
4816
4817         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4818
4819 1999-09-30  Andreas Jaeger  <aj@suse.de>
4820
4821         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4822         * sysdeps/i386/rshift.S: Likewise.
4823         * sysdeps/i386/strchrnul.S: Likewise.
4824         * sysdeps/i386/strchr.S: Likewise.
4825         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4826         PR libc/1339.
4827
4828 1999-09-30  Andreas Jaeger  <aj@suse.de>
4829
4830         * manual/examples/pipe.c: Close other end of pipe to make example work.
4831
4832 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4833
4834         * timezone/checktab.awk: Update from tzcode1999g.
4835         * timezone/tzselect.ksh: Likewise.
4836         * timezone/africa: Update from tzdata1999g.
4837         * timezone/asia: Likewise.
4838         * timezone/australasia: Likewise.
4839         * timezone/europe: Likewise.
4840         * timezone/northamerica: Likewise.
4841         * timezone/southamerica: Likewise.
4842         * timezone/iso3166.tab: Likewise.
4843         * timezone/zone.tab: Likewise.
4844
4845 1999-09-27  Andreas Jaeger  <aj@suse.de>
4846
4847         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
4848         been renamed to getipnodebyname.  Move flags around.
4849
4850 1999-09-27  Andreas Schwab  <schwab@suse.de>
4851
4852         * manual/message.texi (Locating gettext catalog): Fix typos.
4853
4854 1999-09-27  Andreas Jaeger  <aj@suse.de>
4855
4856         * manual/socket.texi (Out-of-Band Data): Correct example program,
4857         rename some variables for clarity.
4858         Reported by James Antill <james@and.org>, close PR libc/1329.
4859
4860 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
4861
4862         * locale/programs/ld-collate.c (insert_value): Add hack to not
4863         crash in incomplete collate implementation.
4864
4865         * locale/programs/ld-collate.c (read_directions): Read new token
4866         after accepting sorting rule.
4867
4868 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
4869
4870         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4871         error message printing.  Correctly test whether all characters of
4872         current token are used.
4873         (ctype_read): NUL terminate last_str.
4874
4875 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
4876
4877         * nscd/connections.c: Invalidate caches on request.
4878         * nscd/nscd-client.h: Add INVALIDATE to request_type.
4879         * nscd/nscd.c: Add invalidate cache option.
4880         * nscd/nscd.conf: Change log directory to /var/log (FHS).
4881
4882 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
4883
4884         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4885         not ovverwrite last group member with NULL pointer.
4886         Reported by Thomas Winder <thomas.winder@newlogic.at>.
4887
4888 1999-09-24  Andreas Jaeger  <aj@suse.de>
4889
4890         * stdio-common/tst-printf.c (main): Add a testcase for large
4891         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4892
4893 1999-09-24  Andreas Schwab  <schwab@suse.de>
4894
4895         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
4896
4897 1999-09-24  Andreas Jaeger  <aj@suse.de>
4898
4899         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4900         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
4901
4902 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
4903
4904         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4905         variable.  Define MORECORE_CLEARS to 2.
4906
4907         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4908         doesn't clear the contents of memory that is reallocated after
4909         decrementing the break value first.  Update comment about
4910         MORECORE_CLEARS, explaining the meaning of the values it can be
4911         set to.
4912
4913 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
4914
4915         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4916         one more case.
4917
4918         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4919         (log): Likewise.
4920         (log10): Likewise.
4921         (log1p): Likewise.
4922         (log2): Likewise.
4923
4924 1999-09-22  Andreas Jaeger  <aj@suse.de>
4925
4926         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4927         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4928
4929 1999-09-22  Andreas Schwab  <schwab@suse.de>
4930
4931         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4932
4933 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4934
4935         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4936         the source directory.  Fixes PR libc/1059.
4937
4938 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
4939
4940         * locale/programs/repertoire.c (repertoire_find_value): Abort if
4941         rep parameter is NULL.
4942         (repertoire_find_symbol): Likewise.
4943         (repertoire_find_seq): Likewise.
4944
4945 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
4946
4947         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4948         returned errno value in some cases.
4949
4950 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
4951
4952         * iconvdata/Makefile (modules): Add GBK.
4953         (distribute): Add gbk.c.
4954         * iconvdata/gbk.c: New file.
4955         * iconvdata/gconv-modules: Add GBK entry.
4956         Contributed by Sean Chen <sean.chen@turbolinux.com>.
4957
4958         * locale/programs/ld-monetary.c (monetary_output): Remove
4959         byte-order code.
4960
4961         * locale/programs/ld-time.c (time_output): Correct expected number
4962         of iov entries.
4963
4964         * manual/filesys.texi (Testing File Access): Correct description of
4965         SUID.
4966
4967 1999-080-25  H.J. Lu  <hjl@gnu.org>
4968
4969         * csu/defs.awk (.end): Only match with leading white spaces.
4970         (.align): Likewise.
4971
4972 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
4973
4974         * stdlib/isomac.c: Add va_copy to allowed macros.
4975
4976         * po/pl.po: Updated.
4977
4978 1999-09-17  Andreas Schwab  <schwab@suse.de>
4979
4980         * Makefile (clean): Also remove $(postclean) files.
4981
4982 1999-09-15  Andreas Jaeger  <aj@suse.de>
4983
4984         * pwd/Makefile (otherlibs): Add for building with static-nss.
4985         * inet/Makefile (otherlibs): Likewise.
4986
4987 1999-09-15  Andreas Jaeger  <aj@suse.de>
4988
4989         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4990         function definition to avoid a compilation failure.
4991
4992 1999-09-15  Andreas Jaeger  <aj@suse.de>
4993
4994         * stdlib/tst-environ.c (main): Add getenv regression test for
4995         environment variable that's one character long.
4996
4997 1999-09-15  Andreas Jaeger  <aj@suse.de>
4998
4999         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
5000         signal definitions to let glibc compile with older Linux versions
5001         (2.0.10 to 2.1.100 or so).
5002
5003 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
5004
5005         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
5006         return zero to indicate no children died yet (assuming WNOHANG).
5007
5008         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
5009
5010 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
5011
5012         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
5013
5014         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
5015         Return _hurd_pgrp instead of 0.
5016
5017 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
5018
5019         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
5020         pages rather than just reprotecting them.  This way we don't hold on
5021         to the backing space.
5022
5023         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
5024         Use __munmap instead of __vm_deallocate.
5025
5026 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
5027
5028         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
5029         returned errno value in some cases.
5030
5031 1999-09-17  Andreas Jaeger  <aj@suse.de>
5032
5033         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
5034         to override user settings.
5035
5036 1999-09-17  Andreas Schwab  <schwab@suse.de>
5037
5038         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
5039         using a pointer to it.
5040
5041 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
5042
5043         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
5044         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
5045
5046 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
5047
5048         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
5049
5050         * elf/elf.h (PF_MASKOS): New definition.
5051         (EM_VAX): New definition.
5052
5053 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
5054
5055         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
5056         'unsigned char ftype[8]', and 'unsigned int init_flag' to
5057         struct user_fp.  These were added in version 2.2.12 of the
5058         ARM Linux kernel.
5059         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
5060         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
5061         The generic procfs.h included <asm/elf.h>.  This causes
5062         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5063         are included in the same source file.  Found when building GDB.
5064
5065 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
5066
5067         * locale/langinfo.h: Remove byte-order dependent names.
5068         * locale/categories.def: Update after removal of byte-order dependent
5069         names.
5070         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5071         with magic number in other byte order.
5072         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5073         * locale/C-collate.c: Remove initializers for other byte-order.
5074         * locale/C-ctype.c: Likewise.
5075         * locale/C-monetary.c: Likewise.
5076         * locale/C-paper.c: Likewise.
5077         * locale/C-time.c: Likewise.
5078         * locale/lc-collate.c: Remove byte-order oriented initialization.
5079         * locale/lc-ctype.c: Likewise.
5080         * locale/lc-monetary.c: Likewise.
5081         * locale/lc-time.c: Likewise.
5082         * locale/programs/ld-address.c: Don't generate output in both
5083         byte-orders.
5084         * locale/programs/ld-ctype.c: Likewise.
5085         * locale/programs/ld-paper.c: Likewise.
5086         * locale/programs/ld-time.c: Likewise.
5087         * time/strftime.c (NLW): Don't use different byte-orders.
5088         * wctype/cname-lookup.h (cname_lookup): Likewise.
5089
5090         * Makeconfig (localedir): Define using libdir, not datadir.
5091         (msgcatdir): New variable.
5092         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5093         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5094         msgcatdir.
5095         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5096         (CPPFLAGS): Define paths using msgcatdir.
5097         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5098         * po/Makefile (mo-installed): Define using msgcatdir.
5099
5100         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5101
5102 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
5103
5104         * stdio-common/vfprintf.c: Remove limitation on size of precision
5105         for integers.
5106
5107         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5108         glibc by defining internal_function if it isn't already.
5109
5110         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5111         fails don't rely on errno value.
5112         (getanswer_r): Set *ERRNOP in error cases.
5113
5114         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5115         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5116         associated data.  Test for matching numeric address and family.
5117         (getaddrinfo): Remember EAI_NODATA result and return this in case
5118         everything fails.
5119         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5120
5121         * locale/programs/ld-address.c: Fix handling of non-existing
5122         definitions for this category.  Correctly ignore content of this
5123         category is this is necessary.
5124         * locale/programs/ld-collate.c: Likewise.
5125         * locale/programs/ld-ctype.c: Likewise.
5126         * locale/programs/ld-identification.c: Likewise.
5127         * locale/programs/ld-measurement.c: Likewise.
5128         * locale/programs/ld-messages.c: Likewise.
5129         * locale/programs/ld-monetary.c: Likewise.
5130         * locale/programs/ld-name.c: Likewise.
5131         * locale/programs/ld-numeric.c: Likewise.
5132         * locale/programs/ld-paper.c: Likewise.
5133         * locale/programs/ld-telephone.c: Likewise.
5134         * locale/programs/ld-time.c: Likewise.
5135         * locale/programs/locfile.h (handle_copy): Take extra parameter
5136         with result pointer.  Fill in name of locale from which to copy.
5137         Correctly read token after `END'.
5138
5139         * locale/programs/localedef.c (main): Correct handling copy.
5140         (add_to_readlist): Take extra parameter which says whether we
5141         are supposed to read the file or not.
5142         (find_locale): Call add_to_readlist with extra parameter set to 0.
5143
5144         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5145         instead of wrong number in array definitions.
5146         (add_to_readlist): Update prototype.
5147
5148         * locale/programs/locfile.c (locfile_read): Mark categories not
5149         available in source file as read.
5150         (write_all_categories): Fix typo.
5151
5152         * locale/programs/locales.h: Removed.
5153
5154 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5155
5156         * elf/elf.h (SHF_MASKOS): Added.
5157
5158         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5159
5160 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5161
5162         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5163
5164 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5165
5166         * configure.in: Fix make version test for make 3.77.95 and later
5167         versions.
5168         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5169
5170 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5171
5172         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5173
5174         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5175         WINT_MAX values.
5176
5177         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5178
5179 1999-09-09  Andreas Schwab  <schwab@suse.de>
5180
5181         * elf/link.h: Fix comment.
5182
5183 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5184
5185         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5186
5187         * math/math.h: Pretty print.
5188
5189 1999-09-10  Andreas Schwab  <schwab@suse.de>
5190
5191         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5192         character variable on bigendian platforms without unaligned memory
5193         access.
5194
5195 1999-09-07  Cristian Gafton  <gafton@redhat.com>
5196
5197         * sysdeps/unix/sysv/linux/sys/raw.h: New file
5198         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5199         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5200
5201 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5202
5203         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5204
5205         * time/ap.c: Removed.  It was not used.
5206         * time/date.c: Likewise.
5207         * sysdeps/unix/nlist.c: Likewise.
5208         * sysdeps/generic/nlist.c: Likewise.
5209         * sysdeps/generic/varargs.h: Likewise.
5210         * stdio-common/scanf11.c: Likewise.
5211         * stdio-common/scanf6.c: Likewise.
5212         * scripts/=__ify: Likewise.
5213         * scripts/printsources: Likewise.
5214         * resolv/getnetnamadr.c: Likewise.
5215         * posix/id.c: Likewise.
5216         * misc/ioctltst.c: Likewise.
5217         * misc/nlist.h: Likewise.
5218         * math/test-math.h: Likewise.
5219         * include/nlist.h: Likewise.
5220
5221 1999-09-06  Andreas Schwab  <schwab@suse.de>
5222
5223         * time/tzset.c (compute_change): Replace slow loop to compute T by
5224         simple algorithm.
5225
5226 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5227
5228         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5229         escape sequences out even if the character itself does not fit
5230         into the buffer.
5231
5232         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5233
5234 1999-08-31  H.J. Lu  <hjl@gnu.org>
5235
5236         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5237
5238 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
5239
5240         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5241         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5242         (_hurd_priority_which_map):
5243
5244 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
5245
5246         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5247
5248 1999-09-03  Andreas Schwab  <schwab@suse.de>
5249
5250         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5251         fork from __syscall_fork to __libc_fork.
5252         * posix/Versions: Add __libc_fork and __vfork to version
5253         GLIBC_2.1.2.
5254
5255 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5256
5257         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5258         dependencies in sort.
5259
5260 1999-09-01  H.J. Lu  <hjl@gnu.org>
5261
5262         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5263
5264         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5265         <sys/user.h> instead of <asm/user.h>.
5266
5267 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
5268
5269         * elf/elf.h: Update PARISC-specific flags and symbolic names.
5270
5271 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
5272
5273         * elf/elf.h: Update PARISC relocations.
5274
5275 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
5276
5277         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5278         #ifdef statement to prevent it from being included twice.
5279         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5280         #include <bits/armsigctx.h>.
5281
5282 1999-08-31  Andreas Schwab  <schwab@suse.de>
5283
5284         * locale/C-collate.c: Add missing initialisations.
5285         * locale/C-ctype.c: Likewise.
5286
5287 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
5288
5289         * time/strftime.c (my_strftime): Remove unneeded variable len.
5290
5291         * time/strptime.c: Undo last change.
5292
5293 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
5294
5295         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5296         Change charset.h to charmap.h.
5297         (categories): Add new categories.  Leave out collate for now.
5298         Update build rules.
5299         * locale/categories.def: Add definitions for new categories.
5300         * locale/langinfo.h: Likewise.
5301         * locale/locale.h: Likewise.
5302         * locale/C-address.c: New file.
5303         * locale/C-identification.c: New file.
5304         * locale/C-measurement.c: New file.
5305         * locale/C-name.c: New file.
5306         * locale/C-paper.c: New file.
5307         * locale/C-telephone.c: New file.
5308         * locale/lc-address.c: Likewise.
5309         * locale/lc-identification.c: Likewise.
5310         * locale/lc-measurement.c: Likewise.
5311         * locale/lc-name.c: Likewise.
5312         * locale/lc-paper.c: Likewise.
5313         * locale/lc-telephone.c: Likewise.
5314         * locale/C-ctype.c: Update for locale rewrite.
5315         * locale/C-messages.c: Likewise.
5316         * locale/C-monetary.c: Likewise.
5317         * locale/C-time.c: Likewise.
5318         * locale/lc-collate.c: Likewise.
5319         * locale/lc-ctype.c: Likewise.
5320         * locale/lc-monetary.c: Likewise.
5321         * locale/lc-time.c: Likewise.
5322         * locale/localeinfo.h: Likewise.
5323         * locale/newlocale.c: Likewise.
5324         * locale/setlocale.c: Likewise.
5325         * locale/weight.h: Likewise.
5326         * locale/findlocale.c: Unconditionally use mmap.
5327         Handle new categories.
5328         * locale/loadlocale.c: Likewise.
5329         * locale/iso-3166.def: New file.
5330         * locale/iso-639.def: New file.
5331         * locale/programs/charmap-kw.gperf: Add new keywords.
5332         * locale/programs/locfile-kw.gperf: Likewise.
5333         * locale/programs/locfile-token.h: Define new tokens.
5334         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5335         * locale/programs/charmap.h: New file.
5336         * locale/programs/charset.h: Removed.
5337         * locale/programs/config.h: Add __LC_LAST.
5338         * locale/programs/lc-address.c: New file.
5339         * locale/programs/lc-identification.c: New file.
5340         * locale/programs/lc-measurement.c: New file.
5341         * locale/programs/lc-name.c: New file.
5342         * locale/programs/lc-paper.c: New file.
5343         * locale/programs/lc-telephone.c: New file.
5344         * locale/programs/lc-collate.c: Update for locale rewrite.
5345         * locale/programs/lc-ctype.c: Likewise.
5346         * locale/programs/lc-messages.c: Likewise.
5347         * locale/programs/lc-monetary.c: Likewise.
5348         * locale/programs/lc-numeric.c: Likewise.
5349         * locale/programs/lc-time.c: Likewise.
5350         * locale/programs/locale.c: Likewise.
5351         * locale/programs/localedef.c: Likewise.
5352         * locale/programs/locfile.c: Likewise.
5353         * locale/programs/repertoire.c: Likewise.
5354         * locale/programs/repertoire.h: Likewise.
5355         * locale/programs/locfile.c: Update prototypes.
5356         Update handle_copy definition.
5357         * locale/programs/linereader.c: Add handling of wide char strings and
5358         new definition file syntax.
5359         * locale/programs/linereader.h (struct token): Add elements for wide
5360         character strings.
5361         * locale/programs/locale-spec.c: Disable handling of collation
5362         elements for now.
5363         * locale/programs/simple-hash.h: Cleanup.
5364         * locale/programs/stringtrans.h: Handle quite of end of line.
5365         * string/strcoll.c: Fall back on strcmp for now.
5366         * string/strxfrm.c: Fall back on strncpy/strlen for now.
5367         * time/strftime.c: Use new wide character data for wcsftime.
5368         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5369         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5370
5371         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5372         compiling for i386 to avoid i686-like GOT pointer computation.
5373
5374         * db2/db_int.h: Change tsl_t type to u_int32_t.
5375         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5376         * db2/mutex/alpha.h: New file.
5377         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
5378         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5379         known.
5380         Patches by Richard Henderson.
5381
5382         * stdlib/tst-environ.c: Add cast to avoid warning.
5383         * timezone/test-tz.c: Use setenv instead of putenv.
5384
5385 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5386
5387         * manual/libc.texinfo: Update version and date.
5388
5389         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5390
5391         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5392         (File System Interface): Correct entry.
5393         (Permission Bits): Add missing commata after @xref.
5394
5395 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5396
5397         * timezone/tst-timezone.c (main): Don't pass const strings to
5398         putenv to avoid warnings.
5399
5400         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5401
5402 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
5403
5404         * nis/Versions: Add _nss_*_getipnodebyname_r.
5405         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5406         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5407         * nss/Versions: Add _nss_files_getipnodebyname_r.
5408
5409 1999-08-28  H.J. Lu  <hjl@gnu.org>
5410
5411         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5412         memory for buffer.
5413
5414 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5415
5416         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5417         kernel.
5418         * inet/netinet/in.h: Likewise.
5419         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5420         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5421
5422 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
5423
5424         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5425         thresholds for SUID binaries.  [PR libc/1277]
5426
5427         * posix/regexbug1.c: Add one more similar case.
5428
5429 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5430
5431         * manual/install.texi (Running make install): Give examples for
5432         timezone and locale installation.
5433
5434 1999-08-28  Zack Weinberg  <zack@bitmover.com>
5435
5436         * glibcbug.in: Get CCVERSION from autoconf substitution.
5437         * configure.in: Calculate and substitute CCVERSION.
5438
5439 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5440
5441         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5442         partially reverting a patch from 1998-12-29.  We just can't change
5443         the flags, kernels with different flags lead to
5444         incompatibilities.
5445
5446 1999-08-26  Andreas Schwab  <schwab@suse.de>
5447
5448         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5449
5450 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5451
5452         * inet/rexec.c (rexec): Free memory if strings were allocated in
5453         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
5454
5455 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5456
5457         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5458
5459         * manual/argp.texi: Fixing language and typos.
5460         * manual/conf.texi: Likewise.
5461         * manual/contrib.texi: Likewise.
5462         * manual/ctype.texi: Likewise.
5463         * manual/filesys.texi: Likewise.
5464         * manual/install.texi: Likewise.
5465         * manual/job.texi: Likewise.
5466         * manual/lang.texi: Likewise.
5467         * manual/llio.texi: Likewise.
5468         * manual/locale.texi: Likewise.
5469         * manual/math.texi: Likewise.
5470         * manual/nss.texi: Likewise.
5471         * manual/pipe.texi: Likewise.
5472         * manual/signal.texi: Likewise.
5473         * manual/socket.texi: Likewise.
5474         * manual/stdio.texi: Likewise.
5475         * manual/sysinfo.texi: Likewise.
5476         * manual/users.texi: Likewise.
5477         Patches by Neil Booth <NeilB@earthling.net>.
5478
5479 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
5480
5481         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5482         unsigned to avoid warning.  [PR libc/1271].
5483
5484         * conform/conformtest.pl: Allow testing regex.h which requires
5485         sys/types.h being included.
5486
5487         * conform/data/regex.h-data: Allow *_t types.
5488         * conform/data/pwd.h-data: Likewise.
5489         * conform/data/sched.h-data: Likewise.
5490         * conform/data/pthread.h-data: Likewise.
5491         * conform/data/search.h-data: Likewise.
5492
5493         * misc/search.h: Avoid namespace pollution.
5494
5495         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5496         pwd.h, and pthread.h.
5497         * conform/data/pthread.h-data: New file.
5498         * conform/data/pwd.h-data: New file.
5499         * conform/data/regex.h-data: New file.
5500         * conform/data/sched.h-data: New file.
5501         * conform/data/search.h-data: New file.
5502
5503         * NAMESPACE: Add REG_ for regex.h.
5504
5505         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5506         they are removed.
5507
5508         * configure.in (libc_cv_asm_global_directive): Indent .text in
5509         test code so that the lame HPUX compiler recognizes it.
5510         * sysdeps/hppa/bits/endian.h: New file.
5511         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5512         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5513         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5514         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5515
5516         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5517         Patch by John Tobey <jtobey@banta-im.com>.
5518
5519         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5520
5521         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5522         old_siocfifconf definition to toplevel.
5523         (__protocol_available): Remove old_siocfifconf definition.
5524
5525 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
5526
5527         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5528         really dealing with a master pseudo terminal, and really returning
5529         the name of the associated slave pseudo terminal by checking the
5530         device number.
5531         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5532         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5533
5534 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5535
5536         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5537         underscore in _llseek entry.
5538
5539         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5540         entry.
5541
5542         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5543         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5544
5545         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5546         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5547
5548 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
5549
5550         * inet/Makefile (routines): Add getipnodebynm.
5551         * inet/getipnodebynm.c: New file.
5552         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5553         interface type.
5554         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5555         EXTRA_ARGS_VALUE is not already done.
5556         (internal_getent): Allow extra parameters and pass them to parse_line.
5557         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5558         (_nss_files_get##name##_r): Likewise.
5559         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5560         and EXTRA_ARGS_VALUE to pass flags and type to parser.
5561         Add getipnodebyname function.
5562         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5563         EXTRA_ARGS_VALUE is not already done.
5564         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5565         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5566         to parse_line.
5567         (_nss_db_get##name##_r): Pass extra parameters to lookup.
5568         (_nss_db_get,ENTNAME_r): Likewise.
5569         * sysdeps/generic/if_index.c (__protocol_available): New function.
5570         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5571
5572 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
5573
5574         * login/pty-private.h: Move to...
5575         * sysdeps/generic/pty-private.h: ...here.
5576         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
5577         version.
5578         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5579         available.
5580
5581         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5582         of __overflow.
5583
5584         * conform/conformtest.pl (@headers): Add monetary.h-data,
5585         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5586         * conform/data/monetary.h-data: New file.
5587         * conform/data/mqueue.h-data: New file.
5588         * conform/data/ndbm.h-data: New file.
5589         * conform/data/nl_types.h.h-data: New file.
5590         * conform/data/poll.h-data: New file.
5591
5592         * stdio-common/Makefile (test): Add tst-cookie.
5593         * stdio-common/tst-cookie.c: New file.
5594
5595         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5596         changed in last patch.  Reported by Ralf Baechle.
5597
5598 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5599
5600         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5601
5602         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5603         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5604
5605 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5606
5607         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5608         Linux 2.3.15.
5609
5610 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
5611
5612         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5613         syscall.
5614         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5615
5616         * misc/libgen.h: Don't take basename macro as taking arguments.
5617
5618         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5619         for gcc >= 2.95.
5620         * sysdeps/i386/bits/huge_val.h: Likewise.
5621         * sysdeps/i386/bits/huge_val.h: Likewise.
5622         * sysdeps/ieee754/bits/huge_val.h: Likewise.
5623         * sysdeps/m68k/bits/huge_val.h: Likewise.
5624         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5625         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5626
5627         * conform/Makefile: New file.
5628         * conform/conformtest.pl: New file.
5629         * conform/data/aio.h-data: New file.
5630         * conform/data/assert.h-data: New file.
5631         * conform/data/cpio.h-data: New file.
5632         * conform/data/ctype.h-data: New file.
5633         * conform/data/dirent.h-data: New file.
5634         * conform/data/dlfcn.h-data: New file.
5635         * conform/data/errno.h-data: New file.
5636         * conform/data/fcntl.h-data: New file.
5637         * conform/data/float.h-data: New file.
5638         * conform/data/fmtmsg.h-data: New file.
5639         * conform/data/fnmatch.h-data: New file.
5640         * conform/data/ftw.h-data: New file.
5641         * conform/data/glob.h-data: New file.
5642         * conform/data/grp.h-data: New file.
5643         * conform/data/iconv.h-data: New file.
5644         * conform/data/inttypes.h-data: New file.
5645         * conform/data/iso646.h-data: New file.
5646         * conform/data/langinfo.h-data: New file.
5647         * conform/data/libgen.h-data: New file.
5648         * conform/data/locale.h-data: New file.
5649         * conform/data/math.h-data: New file.
5650
5651 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5652
5653         * posix/execvp.c (execvp): Correct copying of file name.
5654
5655 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
5656
5657         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5658
5659 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5660
5661         * stdio-common/Makefile: Move addition to routines to the right place.
5662
5663 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5664
5665         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
5666         since mips*-linux has ECANCELED.
5667
5668 1999-08-23  Andreas Schwab  <schwab@suse.de>
5669
5670         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5671         SIGCONTEXT_EXTRA_ARGS.
5672         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5673         * sysdeps/generic/sigcontextinfo.h: Likewise.
5674         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5675         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5676         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5677         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5678         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5679         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5680
5681 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5682
5683         * posix/regexbug1.c: Make it an error if the test fails.
5684
5685 1999-08-23  Andreas Schwab  <schwab@suse.de>
5686
5687         * posix/regex.c (re_match_2_internal): Correct check for charset
5688         after exactn in loop.
5689
5690 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
5691
5692         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5693         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5694         Patch by Joel Klecker.
5695
5696         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5697         (__gconv_find_transform): Update prototype.
5698         (__gconv_open): Likewise.
5699         * iconv/gconv_open.c: Take extra parameter and pass it to
5700         __gconv_find_transform.
5701         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5702         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
5703         transformation.
5704         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5705         * wcsmbs/wcsmbsload.c: Likewise.
5706         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5707         iconv for glibc.
5708         * intl/gettextP.h: Likewise.
5709         * intl/loadmsgcat.c: Likewise.
5710
5711         * posix/regexbug1.c: New file.
5712         * posix/Makefile (tests): Add regexbug1.
5713
5714 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
5715
5716         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5717         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5718         installing PORT in the descriptor cell.
5719
5720 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
5721
5722         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5723         TIMEOUT as outputs of the asm to indicate that the signal thread
5724         might mutate them.
5725         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5726         mach_msg if only sending or only receiving (i.e., not an RPC).  When
5727         making an RPC that might get interrupted, save OPTION and the portion
5728         of the message buffer that gets clobbered by an EINTR reply message,
5729         and properly restore them before attempting to retry the request
5730         message send.
5731
5732 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5733
5734         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5735         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5736         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5737         stdio is used instead of libio.
5738         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5739         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5740         to make the code compile again when stdio is used instead of
5741         libio.
5742         (vfprintf): Only check for correct orientation if ORIENT is
5743         defined.
5744         * stdio-common/Makefile (routines): Only add vfwprintf and
5745         vfwscanf if we're using libio.
5746
5747 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5748
5749         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5750         any additional prototype just as we do for libio.
5751
5752 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5753
5754         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5755         TZNAME_MAX.  These limits are not X/Open specific.
5756         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5757         is defined.
5758
5759 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5760
5761         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5762         UIO_MAXIOV is left undefined in sys/uio.h.
5763         * stdio-common/stdio_lim.h.in: Adapt for change above.
5764
5765 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5766
5767         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5768         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5769         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5770
5771 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
5772
5773         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5774
5775 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
5776
5777         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5778
5779         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5780         call.  It should not be necessary andis harmful for Alpha.
5781
5782         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5783         type.  [PR libc/1269]
5784
5785         * posix/execvp.c (execvp): Allocate array name of correct size.
5786         Optimize inner loop.  Use execve directly, not execv.
5787
5788         * elf/elf.h: Corrected SHT_ values from new draft.
5789
5790         * intl/gettextP.h (struct loaded_domain): Add conv element.
5791         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5792         Instead of returning found message directly convert it using iconv
5793         if a conversion was found when opening the file.
5794         * intl/loadinfo.h: Protect against multiple inclusion.
5795         Declare _nl_find_msg.
5796         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5797         in the message file and if necessary find approrpiate
5798         conversion to match currently selected charset.
5799         * include/libintl.h: Declare __dgettext and __dcgettext.
5800         * include/iconv.h: New file.
5801
5802 1999-08-20  Andreas Schwab  <schwab@suse.de>
5803
5804         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5805
5806 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
5807
5808         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
5809         all threads [PR libc/1223].
5810
5811         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5812         [PR libc/1165].
5813
5814         * configure.in: Search for programs with prefix gnu* and g* first.
5815         [PR libc/1104].
5816
5817         * dirent/Makefile (routines): Add getdents64.
5818         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5819         Remove getdents64.
5820         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5821         compiled with _FILE_OFFSET_BITS=64.
5822         * sysdeps/generic/getdents64.c: New file.
5823         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5824         __lseek for getdirentries64 definition.
5825
5826         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5827
5828         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5829         _FILE_OFFSET_BITS=64.
5830
5831         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5832         parameter.
5833
5834         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5835         after we have the lock.
5836
5837         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5838         Patch by Richard Henderson.
5839
5840 1999-08-19  Andreas Schwab  <schwab@suse.de>
5841
5842         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5843         and call _IO_fwide, to get the wide stream state initialized
5844         correctly.  Don't set _IO_JUMPS.
5845         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5846         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
5847         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5848         directly.
5849
5850 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5851
5852         * math/libm-test.c (jn_test): Fix typo in description.
5853         (erfc_test): Add some more tests.
5854         (erf_test): Add some more tests.
5855
5856 1999-08-19  Andreas Schwab  <schwab@suse.de>
5857
5858         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5859         expression using $(exceptions).
5860
5861 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
5862
5863         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5864
5865         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5866         allocated so far.  [PR libc/1261].
5867
5868         * math/libm-test.c (j0_test): Adjust deltas for m68k.
5869         (jn_test): Likewise.
5870
5871         * dirent/dirent.h: Only define ino64_t if not already done.
5872         * posix/sys/types.h: Likewise.
5873
5874         * ctype/ctype.h: Avoid useless #endif #if pairs.
5875
5876         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5877         (seekdir): Fix type of second parameter.
5878         * sysdeps/generic/seekdir.c: Likewise.
5879         * sysdeps/mach/hurd/seekdir.c: Likewise.
5880         * sysdeps/unix/seekdir.c: Likewise.
5881
5882         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5883
5884 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5885
5886         * manual/install.texi (Configuring and compiling): Clarify ix86
5887         situation.
5888
5889 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
5890
5891         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5892         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5893         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5894         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
5895
5896         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5897
5898         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5899
5900         * misc/search.h: Don't define NULL.
5901
5902         * posix/sys/types.h: Define blksize_t if it hasn't happened.
5903         Only define key_t and blkcnt_t if it hasn't happened before.
5904         Define blksize_t if not happened before.
5905         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
5906         * sysdeps/generic/bits/types.h: Define __blksize_t.
5907         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5908         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5909         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5910         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5911         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5912         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5913         st_blksize member.
5914         (struct stat64): Likewise.
5915         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5916         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5917         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5918         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5919         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5920         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5921         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5922
5923         * stdlib/getsubopt.c: Correct type of second argument.
5924         * stdlib/stdlib.h: Likewise.
5925
5926         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
5927         and ssize_t.
5928
5929         * sysdeps/generic/putenv.c: Correct type of parameter.
5930         * stdlib/stdlib.h: Likewise.
5931
5932         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5933         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5934         * sysvips/sys/msg.h: Likewise.
5935
5936         * sysdeps/generic/semop.c: Correct type of third parameter.
5937         * sysdeps/unix/sysv/linux/semop.c: Likewise.
5938         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
5939         size_t.
5940
5941         * sysdeps/generic/shmget.c: Correct type of second parameter.
5942         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5943         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
5944         Declare __getpagesize here.
5945
5946         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5947         sys/types.h.
5948         * sysdeps/gnu/bits/ipc.h: Likewise.
5949         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5950         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5951         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5952         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5953         already done.
5954
5955         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5956
5957         * debug/versions: Export __cyg_profile_func_enter and
5958         __cyg_profile_func_exit.
5959
5960         * math/bits/mathcalls.h: Pretty print.
5961
5962 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
5963
5964         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5965         case for new tzdata.
5966
5967         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5968         unsigned.
5969         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5970         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5971         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5972         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5973
5974         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5975
5976         * sysdeps/generic/ualarm.c (ualarm): Change return value and
5977         parameter type to useconds_t.
5978         * sysdeps/unix/bsd/ualarm.c: Likewise.
5979
5980         * sysdeps/generic/usleep.c (usleep): Change parameter type to
5981         useconds_t.
5982         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5983         * sysdeps/mach/usleep.c: Likewise.
5984
5985         * locale/weight.h: Include <errno.h>.
5986
5987         * posix/sys/types.h: Define type useconds_t if not done already.
5988         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
5989         declarations.
5990         * sysdeps/generic/bits/types.h: Define type __useconds_t.
5991         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5992         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5993         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5994         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5995         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5996
5997         * dirent/dirent.h (telldir): Change return type to long int.
5998         * sysdeps/generic/telldir.c: Likewise.
5999         * sysdeps/mach/hurd/telldir.c: Likewise.
6000         * sysdeps/unix/telldir.c: Likewise.
6001         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
6002
6003         * locale/weight.h: Set errno if an invalid character is found.
6004
6005 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6006
6007         * math/libm-test.c (erfc_test): Add test for example from PR
6008         libc/1259.
6009         (erf_test): Likewise.
6010
6011 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
6012
6013         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
6014         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
6015
6016         * timezone/private.h: Update from tzcode1999e.
6017         * timezone/zic.c: Likewise.
6018
6019         * timezone/africa: Update from tzdata1999e.
6020         * timezone/antarctica: Likewise.
6021         * timezone/asia: Likewise.
6022         * timezone/australasia: Likewise.
6023         * timezone/europe: Likewise.
6024         * timezone/leapseconds: Likewise.
6025         * timezone/northamerica: Likewise.
6026         * timezone/southamerica: Likewise.
6027
6028         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
6029         and write correct number of bytes in case of %ls with precision.
6030         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6031
6032 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
6033
6034         * nscd/nscd.init: Test for kernel version and make LSB compliant.
6035         Patch by Christian Gafton.
6036
6037         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
6038         O_RSYNC.  Patch by Christian Gafton.
6039
6040         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
6041         possibly unterminated strings for %ls when a precision is
6042         specified.
6043         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6044
6045         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
6046         update_conversion_ptrs.
6047         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6048
6049 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6050
6051         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
6052         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6053
6054         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
6055         * wcsmbs/tst-wcsnlen.c: New file.
6056
6057 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6058
6059         * libio/ioputs.c (_IO_puts): Add missing brace.
6060
6061 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
6062
6063         * math/libm-test.c: Tweak deltas for a clean run on ppc.
6064
6065 1999-08-10  H.J. Lu  <hjl@gnu.org>
6066
6067         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6068         (vfprintf): Likewise.
6069         * stdio-common/vfscanf.c (ORIENT): Likewise.
6070         * libio/genops.c (__underflow): Likewise.
6071         (__uflow): Likewise.
6072         * libio/iofputs.c (_IO_fputs): Likewise.
6073         * libio/ioftell.c (_IO_ftell): Likewise.
6074         * libio/iofwrite.c (_IO_fwrite): Likewise.
6075         * libio/ioputs.c (_IO_puts): Likewise.
6076         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6077         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6078
6079 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6080
6081         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6082
6083 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6084
6085         * manual/job.texi (Process Group Functions): Document getpgid,
6086         getsid.
6087
6088 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6089
6090         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6091         initialize si_pid from it.
6092         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6093         parameter.
6094         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6095         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6096         (struct requestlist): Likewise.
6097         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6098         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
6099         to __aio_sigqueue.
6100         (__aio_notify): Pass caller PID to __aio_notify_only.
6101         * rt/aio_suspend.c: Initialize caller_pid.
6102         * rt/lio_listio.c: Likewise.
6103         * rt/lio_listio64.c: Likewise.
6104
6105         * rt/lio_listio.c: If nothing has to be done free mutex before
6106         signalling.
6107         * rt/lio_listio64.c: Likewise.
6108
6109 1999-08-10  H.J. Lu  <hjl@gnu.org>
6110
6111         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6112         handling.
6113
6114 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6115
6116         * elf/elf.h: Define ElfXX_Versym.
6117         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6118         definition.
6119
6120         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6121         for string output correctly in the wide character case.
6122         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6123
6124         * intl/locale.alias: Add catalan.
6125
6126 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6127
6128         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6129
6130 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6131
6132         * po/pt_BR.po: New file.
6133
6134 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6135
6136         * math/libm-test.c (yn_test): Adjust deltas for i386.
6137         (ccosh_test): Likewise.
6138         (jn_test): Likewise.
6139
6140 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6141
6142         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6143
6144 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6145
6146         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6147         problem.
6148
6149 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6150
6151         * configure.in: install-sh lives now in scripts subdir.
6152         PR libc/1255 (bug 4).
6153
6154 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6155
6156         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6157         version.
6158
6159         * po/fr.po: Update.
6160
6161 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
6162
6163         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6164
6165 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6166
6167         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6168         exponent.
6169
6170 1999-08-10  Andreas Schwab  <schwab@suse.de>
6171
6172         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6173         header.
6174
6175 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
6176
6177         * elf/elf.h: Added definition of ELFOSABI_ARM.
6178         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6179         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6180         object's header and ABI values are acceptable.
6181         (VALID_ELF_HEADER): New macro; provide default definition.
6182         (VALID_ELF_OSABI): New macro; provide default definition.
6183         (VALID_ELF_ABIVERSION): New macro; provide default definition.
6184         * sysdeps/arm/dl-machine.h Define ARM specific versions of
6185         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6186
6187 1999-08-09  Andreas Schwab  <schwab@suse.de>
6188
6189         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6190
6191 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
6192
6193         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6194
6195 1999-08-09  Andreas Schwab  <schwab@suse.de>
6196
6197         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6198
6199 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
6200
6201         * sysdeps/ieee754/ieee754.h: Handle platforms with special
6202         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
6203
6204         * string/bits/string2.h: Mark void* operations as extensions.
6205         * sysdeps/i386/i486/bits/string.h: Likewise.
6206
6207         * debug/Makefile (routines): Add noophooks.
6208         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
6209         * debug/noophooks.c: New file.
6210         * debug/pcprofile.c: New file.
6211
6212 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6213
6214         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6215         systems which allow using the functions also on non-seekable
6216         devices.
6217
6218         * resolv/res_send.c (res_send): Recompute timeout for poll for
6219         each jump to `wait'.
6220
6221         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6222         braces to avoid warnings.
6223         (IN6ADDR_LOOPBACK_INIT): Likewise.
6224
6225         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6226         MSG_DONTWAIT).
6227
6228 1999-08-06  H.J. Lu  <hjl@gnu.org>
6229
6230         * malloc/malloc.c: Initialize __libc_pagesize early.
6231
6232 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6233
6234         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6235         defining it.
6236
6237         * inet/Makefile (tests): Add tst-ipnode.
6238         * inet/tst-ipnode.c: New file.
6239
6240 1999-08-06  Andreas Schwab  <schwab@suse.de>
6241
6242         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6243         New definitions.
6244         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6245         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6246         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6247         New definitions.
6248         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6249         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6250
6251 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
6252
6253         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6254         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6255         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6256
6257 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6258
6259         * resolv/res_send.c (res_send): Don't test file descriptor for
6260         range, we use poll now.  [PR libc/1240]
6261
6262 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
6263
6264         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6265         2.0 defined if they are not available.
6266
6267 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
6268
6269         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6270         Define.
6271
6272 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
6273
6274         * rt/aio_read.c: Fix return value.
6275         * rt/aio_read64.c: Likewise.
6276         Reported by Christian Gafton.
6277
6278         * rt/aio_write.c: Fix return value.
6279         * rt/aio_write64.c: Likewise.
6280         * rt/aio_fsync.c: Likewise.
6281
6282         * rt/aio_misc.c: Set errno at correct place.
6283
6284         * rt/aio_fsync.c: Test OP parameter for correct values.
6285
6286         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6287
6288 1999-08-04  Andreas Schwab  <schwab@suse.de>
6289
6290         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6291         Initialize result to one.
6292         (GET_NPROCS_CONF_PARSER): Likewise.
6293
6294 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
6295
6296         * inet/ether_hton.c: Pass errno pointer to NSS function.
6297         * inet/getnetgrent_r.c: Likewise.
6298         Reported by Marty Leisner <leisner@rochester.rr.com>.
6299
6300 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6301
6302         * nis/nis_callback.c: Fix port problem on big-endian machines
6303         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6304         fields are always 32 bit.
6305         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6306
6307         * nis/nss_nis/nis-service.c: Remove htons, port is always in
6308         network-byte-order.
6309         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6310
6311 1999-08-03  Andreas Schwab  <schwab@suse.de>
6312
6313         * sysdeps/posix/sigset.c: Unblock the signal after setting its
6314         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6315         avoid two calls to sigprocmask.
6316
6317 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6318
6319         * sysdeps/generic/s_nexttowardf.c: Fix typo.
6320
6321 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
6322
6323         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6324         Only allow rt signal frames. No SA_SIGINFO signals will have the
6325         siginfo_t just not filled out with SI_NOINFO code.
6326         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6327         (register_dump): Take the above change into account.
6328         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6329         (rt_signal_frame): Likewise.
6330
6331         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6332
6333 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6334
6335         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6336         instead of select().
6337
6338 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6339
6340         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6341         nexttoward so something else so that aliasing works.
6342
6343 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6344
6345         * sysdeps/generic/math_ldbl.h: Fix typo.
6346         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6347         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6348
6349 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6350
6351         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
6352
6353 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
6354
6355         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
6356         program.
6357         * elf/resolvfail.c: New file.
6358
6359         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6360         pass it to _dl_lookup_symbol.
6361
6362         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6363         bit.  Reword message.
6364
6365         * dlfcn/dlerror.c: Make code thread-safe.
6366
6367 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
6368
6369         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6370         initializer in CHECK: a bit size, not the type code repeated!
6371
6372 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6373
6374         * string/tester.c: Add tests with constant arguments for strcpy
6375         and stpcpy.
6376
6377 1999-07-31  H.J. Lu  <hjl@gnu.org>
6378
6379         * string/bits/string2.h (__strcpy_small): Fix a typo.
6380
6381 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6382
6383         * Makeconfig (link-libc): Always define it, not only for shared
6384         builds.
6385
6386         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6387         * sysdeps/i386/fpu/e_powf.S: Likewise.
6388         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
6389
6390         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6391         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
6392
6393 1999-07-30  Andreas Schwab  <schwab@suse.de>
6394
6395         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6396         definition.
6397         (__get_nprocs): Use it.
6398         (__get_nprocs_conf): Define as separate function if
6399         GET_NPROCS_CONF_PARSER is defined.
6400         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6401
6402         * include/sys/sysinfo.h: New file.
6403         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6404         interface.
6405         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6406
6407 1999-07-30  H.J. Lu  <hjl@gnu.org>
6408
6409         * libio/iofflush.c (fflush_unlocked): Weak aliase if
6410         _IO_MTSAFE_IO is not defined.
6411         * libio/clearerr.c (clearerr_unlocked): Likewise.
6412         * libio/feof.c (feof_unlocked): Likewise.
6413         * libio/ferror.c (ferror_unlocked): Likewise.
6414         * libio/fputc.c (fputc_unlocked): Likewise.
6415         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6416         * libio/getchar.c (getchar_unlocked): Likewise.
6417         * libio/putc.c (putc_unlocked): Likewise.
6418         * libio/putchar.c (putchar_unlocked): Likewise.
6419
6420 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
6421
6422         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6423           svc_max_pollfd and svc_pollfd to GLIBC_2.2
6424         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6425           for svc_run/poll interface.
6426         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6427         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6428           global variable.
6429         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6430           rewrite other svc_getreq* functions to use svc_getreq_common.
6431         * sunrpc/svc_run.c: Use poll().
6432
6433 1999-07-30  Andreas Schwab  <schwab@suse.de>
6434
6435         * Makerules: Put sysd-versions and Versions.all on
6436         postclean-generated instead of common-generated.
6437
6438 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6439
6440         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6441         around and CLOCKS_PER_SEC is 1e6.
6442
6443 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
6444
6445         * configure.in: Add test for local label subtraction.
6446         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6447         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6448         labels to reduce number of runtime relocations and move jump
6449         tables in read-only seciton.
6450
6451         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
6452         assignment cannot be moved.
6453
6454 1999-07-29  H.J. Lu  <hjl@gnu.org>
6455
6456         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6457         if no threads are used.
6458
6459         * libio/iofwrite.c: Add weak alias for _unlocked function if not
6460         _IO_MTSAFE_IO.
6461         * libio/iofread.c: Likewise.
6462         * libio/iofgets.c: Likewise.
6463         * libio/iofputs.c: Likewise.
6464
6465         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6466         definition.
6467
6468         * stdlib/mbtowc.c: Include <string.h>.
6469         * stdlib/wctomb.c: Likewise.
6470         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6471         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6472
6473         * misc/mntent_r.c: Include <alloca.h>.
6474         * elf/dl-runtime.c: Likewise.
6475
6476 1999-07-29  Andreas Schwab  <schwab@suse.de>
6477
6478         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6479         all floating point formats supported by gcc.  Error out for
6480         unhandled precisions.
6481         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6482         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6483         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6484
6485 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
6486
6487         * sysdeps/generic/setenv.c: Move setenv code in new function
6488         __add_to_environ.  Add new parameter specifying already
6489         constructed string for the environment.
6490         (setenv): Call __add_to_environ with new parameter set to NULL.
6491         (unsetenv): Really test all elements for duplicated name.  Missed those
6492         cases where the two are following each other.
6493         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6494         * include/stdlib.h: Add prototype of __add_to_environ.
6495         * stdlib/tst-environ.c: New file.
6496         * stdlib/Makefile (tests): Add tst-environ.
6497
6498         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6499
6500         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6501         argument in realloc call.
6502         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6503         Likewise.
6504         Reported by Danny Braniss <danny@cs.huji.ac.il>.
6505
6506 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
6507
6508         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6509         to print.
6510         * misc/efgcvt_r.c: Likewise.
6511         * misc/qefgcvt.c: Likewise.
6512         * misc/qefgcvt_r.c: Likewise.
6513         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6514         anymore.
6515
6516 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6517
6518         * manual/math.texi (FP Function Optimization): Mention drawbacks.
6519
6520 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
6521
6522         * stdlib/mblen.c: Use static state.
6523         Reported by Bruno Haible <haible@ilog.fr>.
6524
6525         * stdlib/mbtowc.c: Reset state for s == NULL.
6526         * stdlib/wctomb.c: Likewise.
6527         Reported by Bruno Haible <haible@ilog.fr>.
6528
6529         * stdlib/mbstowcs.c: Do not use global state.
6530         Reported by Bruno Haible <haible@ilog.fr>.
6531
6532 1999-07-28  Andeas Schwab  <schwab@suse.de>
6533
6534         * iconvdata/Makefile: Don't try to run iconv tests when cross
6535         compiling.
6536
6537 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
6538
6539         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6540         assembler code to switch stacks and call init1 outside this
6541         function.  Inside `init' the code was optimized away by gcc
6542         2.95 since it was "clearly" unreachable.
6543         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6544         Do something similar for the trampoline code.
6545
6546 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
6547
6548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6549         for the hinted protocol.
6550
6551 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6552
6553         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6554
6555 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6556
6557         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6558         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6559         * elf/dl-load.c (_dl_map_object): Likewise.
6560         * elf/do-lookup.h (do_lookup*): Likewise.
6561         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6562         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6563         as uint64_t.
6564         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6565
6566 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6567
6568         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6569         * sysdeps/generic/getpgrp.c: Likewise.
6570         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6571         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6572         Patch by John Tobey <jtobey@banta-im.com>.
6573
6574         * sysdeps/posix/wait3.c: Help compiling in presence of
6575         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
6576
6577 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6578
6579         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6580         as much as possible. Declare them using .register pseudo-op if they
6581         are still used.
6582         * sysdeps/sparc/sparc64/lshift.S: Likewise.
6583         * sysdeps/sparc/sparc64/memchr.S: Likewise.
6584         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6585         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6586         * sysdeps/sparc/sparc64/memset.S: Likewise.
6587         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6588         * sysdeps/sparc/sparc64/rshift.S: Likewise.
6589         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6590         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6591         * sysdeps/sparc/sparc64/strcat.S: Likewise.
6592         * sysdeps/sparc/sparc64/strchr.S: Likewise.
6593         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6594         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6595         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6596         * sysdeps/sparc/sparc64/strlen.S: Likewise.
6597         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6598         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6599         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6600         * sysdeps/sparc/sparc64/strspn.S: Likewise.
6601         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6602         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6603         Optimize trampoline code for .plt4-.plt32767.
6604         Fix trampolines for .plt32768+.
6605
6606 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6607
6608         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6609         -mcpu=v8.
6610         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6611         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6612         libc's private use (as assembly routine clobber it anyway).
6613
6614 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6615
6616         * README.template (configurations): The crypt add-on has a new
6617         ftp site.
6618         * manual/install.texi (Installation): Likewise.
6619
6620 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6621
6622         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
6623         requires to have a full definition but we wait for a bug report
6624         based on the test suite.
6625
6626         * sysdeps/generic/clock_getres.c: New file.
6627         * sysdeps/generic/clock_gettime.c: New file.
6628         * sysdeps/generic/clock_settime.c: New file.
6629         * sysdeps/generic/timer_create.c: New file.
6630         * sysdeps/generic/timer_delete.c: New file.
6631         * sysdeps/generic/timer_getoverr.c: New file.
6632         * sysdeps/generic/timer_gettime.c: New file.
6633         * sysdeps/generic/timer_settime.c: New file.
6634
6635         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6636         CLOCK_REALTIME, and TIMER_ABSTIME.
6637         * sysdeps/mach/hurd/bits/time.h: Likewise.
6638         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6639         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6640
6641         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6642
6643         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6644         si_timer2.
6645
6646         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6647
6648         * time/Makefile (routines): Add clock_getres, clock_gettime,
6649         clock_setres, timer_create, timer_delete, timer_getoverr,
6650         timer_gettime, and timer_settime.
6651
6652         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6653         POSIX.1b.  Add prototypes for clock and timer functions.
6654
6655 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
6656
6657         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6658         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6659
6660 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6661
6662         * stdlib/wcstombs.c: Do not use global state.
6663         Reported by Bruno Haible <haible@ilog.fr>.
6664
6665         * wcsmbs/wctob.c: Avoid sign extension when returning character.
6666         Reported by Bruno Haible <haible@ilog.fr>.
6667
6668         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6669         of wide characters to convert do it right and don't overestimate
6670         by multiplying with MB_CUR_MAX.
6671         Reported by Bruno Haible <haible@ilog.fr>.
6672
6673 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
6674
6675         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6676         (__stpcpy_small): Likewise.
6677         Union has no __uc member but __c.
6678
6679 1999-07-26  Andreas Schwab  <schwab@suse.de>
6680
6681         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6682
6683 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6684
6685         * libio/iofclose.c (_IO_new_fclose): Only fall back on
6686         _IO_old_fclose if doing versioning.
6687
6688         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6689         them appropriately.
6690         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6691
6692         * misc/mntent_r.c: Allow spaces and tabs in entry names by
6693         encoding these characters.
6694         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6695
6696         * string/bits/string2.h: Fix aliasing problems.
6697         * sysdeps/i386/i486/bits/string.h: Likewise.
6698         * sysdeps/i386/bits/string.h: Likewise.
6699
6700 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
6701
6702         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6703         * elf/rtld.c (dl_main): Don't call malloc() between
6704         re-relocating the dynamic linker and running the application's crt0.
6705
6706 1999-07-21  Paul D. Smith  <psmith@gnu.org>
6707
6708         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6709         glob.h to get __P() macro.
6710
6711         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6712         not ANSI.
6713         (__strchrnul): This won't exist outside GLIBC, so create one.
6714
6715 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
6716
6717         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6718         __ino64_t should be 32bit unsigned type on sparc32.
6719         Define __off64_t to __quad_t instead of __int64_t.
6720         Make __pic_pid_t unsigned on sparc32.
6721
6722 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6723
6724         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6725         in bash 2.03.
6726
6727 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6728
6729         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6730         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
6731
6732 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
6733
6734         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6735         accesses.
6736
6737         * resolv/res_send.c: Add locks for res_send and res_close use.
6738
6739         * elf/Makefile (dl-routines): Add preinit.
6740         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6741         * elf/link.h (struct link_map): Add new field l_preinitcount.
6742         * elf/dl-preinit.c: New file.
6743         * elf/dynamic-link.h: Initialize l_preinitcount.
6744         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6745
6746         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6747         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
6748         and l_initcount.
6749         * elf/dl-init.c: Handle DT_INIT_ARRAY.
6750         * elf/dynamic-link.h: Change parameters.  Now only get link_map
6751         pointer.  Calculate l_initcount.
6752
6753         * elf/link.h (struct link_map): Add l_runpath_dirs.
6754         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6755         * elf/dl-load.c: Pretty print.
6756         (decompose_rpath): Take new parameter with info from where the path
6757         comes.  Pass it the fillin_rpath.
6758         (_dl_init_paths): Initialize l_runpath_dirs.
6759         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6760         Search using RUNPATH after LD_LIBRARY_PATH.
6761         * elf/dl-support.c: Adjust comment.
6762         * elf/rtld.c: Adjust help message.
6763
6764 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6765
6766         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6767         interface.
6768
6769 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
6770
6771         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6772         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
6773         ever used this, so I'm not going to worry about compatibility.
6774         [__USE_GNU] (IUCLC, OLCUC): New macros.
6775
6776 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
6777
6778         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6779
6780         * elf/elf.h: Add ET_LOOS and ET_HIOS.
6781         Add various EM_* constants.
6782         Add SHN_LOOS and SHN_HIOS.
6783         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6784         Add SHF_MERGE and SHF_STRINGS.
6785         (ElfXX_Sym): Update description of st_other field.
6786         Add STT_COMMON.
6787         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6788         Add STV_* macros.
6789         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6790         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6791         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6792
6793         * posix/unistd.h: Move declaration of __libc_enable_secure to...
6794         * include/unistd.h: ...here.
6795
6796         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6797         * elf/dl-deps.c (expand_dst): Likewise.
6798
6799         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6800         based on DT_FLAGS value.
6801
6802         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6803         Add test for symbols marked STV_HIDDEN.
6804         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6805         add undef_map.  Compute reference_name locally.  Update call to
6806         do_lookup.
6807         (_dl_lookup_symbol_skip): Likewise.
6808         (_dl_lookup_versioned_symbol): Likewise.
6809         (_dl_lookup_versioned_symbol_skip): Likewise.
6810         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6811         * elf/dl-runtime.c: Likewise.
6812         * elf/dl-sym.c: Likewise.
6813         * elf/dl-symbol.c: Likewise.
6814         * elf/ldsodefs.h: Adjust prototypes.
6815
6816         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6817         handle appropriately.  Add comment about DT_TEXTREL.
6818         * elf/dl-runtime.c: Likewise.
6819
6820 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
6821
6822         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6823         * elf/ldsodefs.h: Declare it.
6824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6825         instead of assert.
6826         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
6827         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6828         (elf_machine_lazy_rel): Likewise.
6829         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6830         (elf_machine_lazy_rel): Likewise.
6831         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6832         (elf_machine_lazy_rel): Likewise.
6833         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6834         (elf_machine_lazy_rel): Likewise.
6835         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6836         (elf_machine_lazy_rel): Likewise.
6837         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6838         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6839         (elf_machine_lazy_rel): Likewise.
6840         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6841         (elf_machine_lazy_rel): Likewise.
6842         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6843         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6844         _dl_reloc_bad_type instead of _dl_signal_error.
6845         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6846
6847 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
6848
6849         * sysdeps/mach/_strerror.c: Include <libintl.h>.
6850
6851 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
6852
6853         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6854         hurd_signal_preemptor matches but its `preemptor' field is null, use
6855         its `handler' field directly.  This is to comply with behavior
6856         documented in <hurd/sigpreempt.h>.
6857
6858 1999-07-21  Andreas Schwab  <schwab@suse.de>
6859
6860         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6861         when reading from write-only stream.
6862         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6863         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6864
6865 1999-07-21  Andreas Schwab  <schwab@suse.de>
6866
6867         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6868         NULL.
6869
6870 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
6871
6872         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6873         <hurd/fd.h>.
6874         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6875         <hurd/fd.h>.
6876         (__libc_write): Call __pwrite instead of __pread.
6877
6878 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
6879
6880         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6881         __vm_allocate calls.
6882
6883         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
6884         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6885
6886         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6887         _hurd_fd_read with new OFFSET argument set to -1.
6888         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6889         to -1.
6890
6891 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
6892
6893         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6894         descriptor table sent in the RPC.
6895
6896 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6897
6898         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
6899         bill@taniwha.org [PR libc/1211].
6900
6901 1999-07-19  Andreas Schwab  <schwab@suse.de>
6902
6903         * libio/Makefile (routines): Add fwprintf.
6904
6905         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6906         * math/w_sqrt.c: Moved to ...
6907         * sysdeps/generic/w_sqrt.c: ... here.
6908         * math/w_sqrtf.c: Moved to ...
6909         * sysdeps/generic/w_sqrtf.c: ... here.
6910
6911         * Make-dist (generic-dirs): New variable.
6912         (try-sysdeps, +sysdep-names): Use it.
6913         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
6914         instead of $(lib)-routines.
6915         * elf/Makefile (distribute): Add dl-cache.h.
6916         * db2/Makefile (distribute): Add all new files.
6917         * iconvdata/Makefile (distribute): Don't distribute CVS
6918         directory.
6919         * math/Makefile (distribute): Remove machine/endian.h, add
6920         math_ldbl.h.
6921         * stdio-common/Makefile (distribute): Add _itowa.h.
6922         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6923         * sysdeps/gnu/Dist: Add eval.c
6924         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6925         dlfcn]: Add to this instead of libdl-routines.
6926         * sysdeps/ieee754/ldbl-128/Dist: New file.
6927         * sysdeps/mach/hurd/Dist: Add siglist.h
6928         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6929
6930 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
6931
6932         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6933
6934         * inet/Makefile (routines): Add getipnodebyad and freehostent.
6935         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6936         * inet/freehostent.c: New file.
6937         * inet/getipnodebyad.c: New file.
6938         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6939         and getipnodebyname.  The latter comes soon.
6940         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6941         Add support for getipnode* functions.
6942
6943         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6944         Set h_aliases to NULL and not to a pointer to an array with a NULL
6945         pointer following XNS 5.2.
6946
6947         * posix/sched.h: Remove internal interfaces.
6948         * include/sched.h: Add internal interfaces.
6949
6950         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6951
6952         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6953
6954         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6955         and return an error in this case.
6956         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6957         available.
6958
6959 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6960
6961         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6962         1999-07-17 and adjust len parameter.
6963         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6964         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6965         * manual/socket.texi (Host Names): Likewise.
6966         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6967         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6968         Likewise.
6969         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6970         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6971         (ht_gethostbyaddr): Likewise.
6972         (_gethtbyaddr): Likewise.
6973
6974 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
6975
6976         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6977         gethostbyaddr_r.
6978         * include/netdb.h: Likewise.
6979         * inet/gethstbyad.c: Correct type of len parameter.
6980         * inet/gethstbyad_r.c: Likewise.
6981
6982         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6983
6984 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
6985
6986         * include/libc-symbol.h: Clean up definitions of weak_alias,
6987         strong_alias, symbol_version, etc. etc.
6988         * posix/getopt.h: Use ctype.h to get features.h included, and don't
6989         include it at all if __GNU_LIBRARY__ is already defined.
6990
6991 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
6992
6993         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6994
6995         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6996
6997         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6998         type for tv_usec element.
6999         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7000         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
7001         * sysdeps/generic/bits/time.h: Likewise.
7002         * sysdeps/mach/hurd/bits/time.h: Likewise.
7003         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7004         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7005         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7006         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7007         * sysdeps/generic/bits/types.h: Likewise.
7008         * posix/sys/types.h: Define suseconds_t for X/Open.
7009
7010 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7011
7012         * stdio-common/bug1.c: Avoid memory leak.
7013
7014         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
7015         program deterministic.
7016         * sysdeps/i386/fpu/e_powf.S: Likewise.
7017         * sysdeps/i386/fpu/e_powl.S: Likewise.
7018
7019 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
7020
7021         * math/Makefile: Add t_sincosl and k_sincosl support routines.
7022         * math/math_private.h (__kernel_sincosl): New declaration.
7023         * sysdeps/generic/t_sincosl.c: New file.
7024         * sysdeps/generic/k_sincosl.c: New file.
7025         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
7026         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
7027         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
7028         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
7029         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
7030         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
7031         __kernel_sincosl.
7032         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
7033         definition.
7034
7035 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7036
7037         * posix/unistd.h: Use __PMT for exit.
7038
7039 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
7040
7041         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
7042         _outw, _outl): Added to GLIBC_2.1.2.
7043
7044 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7045
7046         * posix/fnmatch.h: Use __name instead of __string in prototype to
7047         allow use outside glibc.
7048
7049 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
7050
7051         * time/tst-strptime.c (main): Add one more test case.  Produce
7052         output even when result is ok.
7053
7054         * time/strptime.c (get_number): Handle number parsing more
7055         consistent with strftime.  Only parse a given number of digits.
7056         (get_alt_number):  Fix implementation.  Was broken.
7057         (strptime_internal): Add third parameter to get_number and
7058         get_alt_number calls.
7059
7060 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7061
7062         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7063         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7064         try both 32bit and 64bit dynamic linker.
7065         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7066         script on all sparc targets.
7067
7068 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7069
7070         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7071         to int.
7072
7073 1999-07-13  Andreas Schwab  <schwab@suse.de>
7074
7075         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7076         inlining.  Fixes PR libc/1198.
7077
7078 1999-07-14  Andreas Schwab  <schwab@suse.de>
7079
7080         * Makerules (common-generated): Don't prepend $(common-objpfx).
7081
7082 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
7083
7084         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7085         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7086         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7087         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7088         macro.
7089         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7090         instead of ieee754.
7091         * sysdeps/arm/Implies: Likewise.
7092         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7093         ieee754/ldbl-96 instead of ieee754.
7094         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7095         * sysdeps/generic/e_atanhl.c: New file.
7096         * sysdeps/generic/e_coshl.c: New file.
7097         * sysdeps/generic/e_sinhl.c: New file.
7098         * sysdeps/generic/e_gammal_r.c: New file.
7099         * sysdeps/generic/e_hypotl.c: New file.
7100         * sysdeps/generic/s_cbrtl.c: New file.
7101         * sysdeps/generic/s_asinhl.c: New file.
7102         * sysdeps/generic/s_tanhl.c: New file.
7103         * sysdeps/generic/w_expl.c: New file.
7104         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7105         instead of ieee754.
7106         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7107         ieee754/ldbl-96 instead of ieee754.
7108         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7109         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7110         printf_fphex.
7111         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7112         instead of ieee754.
7113         * sysdeps/mips/mips64/Implies: Likewise.
7114         * sysdeps/powerpc/Implies: Likewise.
7115         * sysdeps/sparc/Implies: Remove.
7116         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7117         ieee754/dbl-64.
7118         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7119         and ieee754/ldbl-128.
7120
7121         * sysdeps/sparc/bits/wordsize.h: Remove.
7122         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7123         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7124         only for sparc32.
7125         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7126         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7127         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7128         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7129         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7130         support.
7131
7132         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7133         of carries. Optimize.
7134
7135         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7136         * sysdeps/generic/e_exp10.c: ...here.
7137         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7138         * sysdeps/generic/e_exp10f.c: ...here.
7139         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7140         * sysdeps/generic/e_exp10l.c: ...here.
7141         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7142         * sysdeps/generic/e_scalb.c: ...here.
7143         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7144         * sysdeps/generic/e_scalbf.c: ...here.
7145         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7146         * sysdeps/generic/e_scalbl.c: ...here.
7147         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7148         * sysdeps/generic/s_cacos.c: ...here.
7149         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7150         * sysdeps/generic/s_cacosf.c: ...here.
7151         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7152         * sysdeps/generic/s_cacosh.c: ...here.
7153         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7154         * sysdeps/generic/s_cacoshf.c: ...here.
7155         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7156         * sysdeps/generic/s_cacoshl.c: ...here.
7157         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7158         * sysdeps/generic/s_cacosl.c: ...here.
7159         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7160         * sysdeps/generic/s_casin.c: ...here.
7161         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7162         * sysdeps/generic/s_casinf.c: ...here.
7163         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7164         * sysdeps/generic/s_casinh.c: ...here.
7165         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7166         * sysdeps/generic/s_casinhf.c: ...here.
7167         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7168         * sysdeps/generic/s_casinhl.c: ...here.
7169         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7170         * sysdeps/generic/s_casinl.c: ...here.
7171         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7172         * sysdeps/generic/s_catan.c: ...here.
7173         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7174         * sysdeps/generic/s_catanf.c: ...here.
7175         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7176         * sysdeps/generic/s_catanh.c: ...here.
7177         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7178         * sysdeps/generic/s_catanhf.c: ...here.
7179         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7180         * sysdeps/generic/s_catanhl.c: ...here.
7181         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7182         * sysdeps/generic/s_catanl.c: ...here.
7183         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7184         * sysdeps/generic/s_ccos.c: ...here.
7185         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7186         * sysdeps/generic/s_ccosf.c: ...here.
7187         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7188         * sysdeps/generic/s_ccosh.c: ...here.
7189         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7190         * sysdeps/generic/s_ccoshf.c: ...here.
7191         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7192         * sysdeps/generic/s_ccoshl.c: ...here.
7193         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7194         * sysdeps/generic/s_ccosl.c: ...here.
7195         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7196         * sysdeps/generic/s_cexp.c: ...here.
7197         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7198         * sysdeps/generic/s_cexpf.c: ...here.
7199         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7200         * sysdeps/generic/s_cexpl.c: ...here.
7201         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7202         * sysdeps/generic/s_clog.c: ...here.
7203         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7204         * sysdeps/generic/s_clog10.c: ...here.
7205         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7206         * sysdeps/generic/s_clog10f.c: ...here.
7207         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7208         * sysdeps/generic/s_clog10l.c: ...here.
7209         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7210         * sysdeps/generic/s_clogf.c: ...here.
7211         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7212         * sysdeps/generic/s_clogl.c: ...here.
7213         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7214         * sysdeps/generic/s_cpow.c: ...here.
7215         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7216         * sysdeps/generic/s_cpowf.c: ...here.
7217         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7218         * sysdeps/generic/s_cpowl.c: ...here.
7219         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7220         * sysdeps/generic/s_cproj.c: ...here.
7221         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7222         * sysdeps/generic/s_cprojf.c: ...here.
7223         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7224         * sysdeps/generic/s_cprojl.c: ...here.
7225         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7226         * sysdeps/generic/s_csin.c: ...here.
7227         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7228         * sysdeps/generic/s_csinf.c: ...here.
7229         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7230         * sysdeps/generic/s_csinh.c: ...here.
7231         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7232         * sysdeps/generic/s_csinhf.c: ...here.
7233         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7234         * sysdeps/generic/s_csinhl.c: ...here.
7235         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7236         * sysdeps/generic/s_csinl.c: ...here.
7237         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7238         * sysdeps/generic/s_csqrt.c: ...here.
7239         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7240         * sysdeps/generic/s_csqrtf.c: ...here.
7241         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7242         * sysdeps/generic/s_csqrtl.c: ...here.
7243         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7244         * sysdeps/generic/s_ctan.c: ...here.
7245         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7246         * sysdeps/generic/s_ctanf.c: ...here.
7247         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7248         * sysdeps/generic/s_ctanh.c: ...here.
7249         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7250         * sysdeps/generic/s_ctanhf.c: ...here.
7251         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7252         * sysdeps/generic/s_ctanhl.c: ...here.
7253         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7254         * sysdeps/generic/s_ctanl.c: ...here.
7255         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7256         * sysdeps/generic/s_fdim.c: ...here.
7257         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7258         * sysdeps/generic/s_fdimf.c: ...here.
7259         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7260         * sysdeps/generic/s_fdiml.c: ...here.
7261         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7262         * sysdeps/generic/s_fma.c: ...here.
7263         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7264         * sysdeps/generic/s_fmaf.c: ...here.
7265         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7266         * sysdeps/generic/s_fmal.c: ...here.
7267         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7268         * sysdeps/generic/s_fmax.c: ...here.
7269         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7270         * sysdeps/generic/s_fmaxf.c: ...here.
7271         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7272         * sysdeps/generic/s_fmaxl.c: ...here.
7273         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7274         * sysdeps/generic/s_fmin.c: ...here.
7275         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7276         * sysdeps/generic/s_fminf.c: ...here.
7277         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7278         * sysdeps/generic/s_fminl.c: ...here.
7279         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7280         * sysdeps/generic/s_ldexp.c: ...here.
7281         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7282         * sysdeps/generic/s_ldexpf.c: ...here.
7283         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7284         * sysdeps/generic/s_ldexpl.c: ...here.
7285         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7286         * sysdeps/generic/s_nan.c: ...here.
7287         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7288         * sysdeps/generic/s_nanf.c: ...here.
7289         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7290         * sysdeps/generic/s_nanl.c: ...here.
7291         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7292         * sysdeps/generic/s_significand.c: ...here.
7293         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7294         * sysdeps/generic/s_significandf.c: ...here.
7295         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7296         * sysdeps/generic/s_significandl.c: ...here.
7297         Avoid conversion from int to double and then to long double.
7298         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7299         * math/w_acos.c: ...here.
7300         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7301         * math/w_acosf.c: ...here.
7302         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7303         * math/w_acosh.c: ...here.
7304         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7305         * math/w_acoshf.c: ...here.
7306         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7307         * math/w_acoshl.c: ...here.
7308         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7309         * math/w_acosl.c: ...here.
7310         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7311         * math/w_asin.c: ...here.
7312         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7313         * math/w_asinf.c: ...here.
7314         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7315         * math/w_asinl.c: ...here.
7316         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7317         * math/w_atan2.c: ...here.
7318         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7319         * math/w_atan2f.c: ...here.
7320         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7321         * math/w_atan2l.c: ...here.
7322         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7323         * math/w_atanh.c: ...here.
7324         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7325         * math/w_atanhf.c: ...here.
7326         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7327         * math/w_atanhl.c: ...here.
7328         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7329         * math/w_cosh.c: ...here.
7330         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7331         * math/w_coshf.c: ...here.
7332         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7333         * math/w_coshl.c: ...here.
7334         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7335         * math/w_drem.c: ...here.
7336         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7337         * math/w_dremf.c: ...here.
7338         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7339         * math/w_dreml.c: ...here.
7340         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7341         * math/w_exp10.c: ...here.
7342         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7343         * math/w_exp10f.c: ...here.
7344         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7345         * math/w_exp10l.c: ...here.
7346         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7347         * math/w_exp2.c: ...here.
7348         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7349         * math/w_exp2f.c: ...here.
7350         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7351         * math/w_exp2l.c: ...here.
7352         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7353         * math/w_fmod.c: ...here.
7354         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7355         * math/w_fmodf.c: ...here.
7356         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7357         * math/w_fmodl.c: ...here.
7358         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7359         * math/w_hypot.c: ...here.
7360         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7361         * math/w_hypotf.c: ...here.
7362         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7363         * math/w_hypotl.c: ...here.
7364         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7365         * math/w_j0.c: ...here.
7366         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7367         * math/w_j0f.c: ...here.
7368         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7369         * math/w_j0l.c: ...here.
7370         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7371         * math/w_j1.c: ...here.
7372         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7373         * math/w_j1f.c: ...here.
7374         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7375         * math/w_j1l.c: ...here.
7376         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7377         * math/w_jn.c: ...here.
7378         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7379         * math/w_jnf.c: ...here.
7380         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7381         * math/w_jnl.c: ...here.
7382         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7383         * math/w_lgamma.c: ...here.
7384         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7385         * math/w_lgamma_r.c: ...here.
7386         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7387         * math/w_lgammaf.c: ...here.
7388         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7389         * math/w_lgammaf_r.c: ...here.
7390         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7391         * math/w_lgammal.c: ...here.
7392         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7393         * math/w_lgammal_r.c: ...here.
7394         * sysdeps/libm-ieee754/w_log.c: Moved to ...
7395         * math/w_log.c: ...here.
7396         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7397         * math/w_log10.c: ...here.
7398         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7399         * math/w_log10f.c: ...here.
7400         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7401         * math/w_log10l.c: ...here.
7402         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7403         * math/w_logf.c: ...here.
7404         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7405         * math/w_logl.c: ...here.
7406         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7407         * math/w_pow.c: ...here.
7408         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7409         * math/w_powf.c: ...here.
7410         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7411         * math/w_powl.c: ...here.
7412         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7413         * math/w_remainder.c: ...here.
7414         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7415         * math/w_remainderf.c: ...here.
7416         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7417         * math/w_remainderl.c: ...here.
7418         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7419         * math/w_scalb.c: ...here.
7420         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7421         * math/w_scalbf.c: ...here.
7422         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7423         * math/w_scalbl.c: ...here.
7424         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7425         * math/w_sinh.c: ...here.
7426         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7427         * math/w_sinhf.c: ...here.
7428         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7429         * math/w_sinhl.c: ...here.
7430         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7431         * math/w_sqrt.c: ...here.
7432         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7433         * math/w_sqrtf.c: ...here.
7434         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7435         * math/w_sqrtl.c: ...here.
7436         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7437         * math/w_tgamma.c: ...here.
7438         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7439         * math/w_tgammaf.c: ...here.
7440         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7441         * math/w_tgammal.c: ...here.
7442         * sysdeps/libm-i387/e_acos.S: Moved to ...
7443         * sysdeps/i386/fpu/e_acos.S: ...here.
7444         * sysdeps/libm-i387/e_acosf.S: Moved to ...
7445         * sysdeps/i386/fpu/e_acosf.S: ...here.
7446         * sysdeps/libm-i387/e_acosh.S: Moved to ...
7447         * sysdeps/i386/fpu/e_acosh.S: ...here.
7448         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7449         * sysdeps/i386/fpu/e_acoshf.S: ...here.
7450         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7451         * sysdeps/i386/fpu/e_acoshl.S: ...here.
7452         * sysdeps/libm-i387/e_acosl.S: Moved to ...
7453         * sysdeps/i386/fpu/e_acosl.S: ...here.
7454         * sysdeps/libm-i387/e_asin.S: Moved to ...
7455         * sysdeps/i386/fpu/e_asin.S: ...here.
7456         * sysdeps/libm-i387/e_asinf.S: Moved to ...
7457         * sysdeps/i386/fpu/e_asinf.S: ...here.
7458         * sysdeps/libm-i387/e_asinl.S: Moved to ...
7459         * sysdeps/i386/fpu/e_asinl.S: ...here.
7460         * sysdeps/libm-i387/e_atan2.S: Moved to ...
7461         * sysdeps/i386/fpu/e_atan2.S: ...here.
7462         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7463         * sysdeps/i386/fpu/e_atan2f.S: ...here.
7464         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7465         * sysdeps/i386/fpu/e_atan2l.S: ...here.
7466         * sysdeps/libm-i387/e_atanh.S: Moved to ...
7467         * sysdeps/i386/fpu/e_atanh.S: ...here.
7468         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7469         * sysdeps/i386/fpu/e_atanhf.S: ...here.
7470         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7471         * sysdeps/i386/fpu/e_atanhl.S: ...here.
7472         * sysdeps/libm-i387/e_exp.S: Moved to ...
7473         * sysdeps/i386/fpu/e_exp.S: ...here.
7474         * sysdeps/libm-i387/e_exp10.S: Moved to ...
7475         * sysdeps/i386/fpu/e_exp10.S: ...here.
7476         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7477         * sysdeps/i386/fpu/e_exp10f.S: ...here.
7478         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7479         * sysdeps/i386/fpu/e_exp10l.S: ...here.
7480         * sysdeps/libm-i387/e_expf.S: Moved to ...
7481         * sysdeps/i386/fpu/e_expf.S: ...here.
7482         * sysdeps/libm-i387/e_expl.S: Moved to ...
7483         * sysdeps/i386/fpu/e_expl.S: ...here.
7484         * sysdeps/libm-i387/e_fmod.S: Moved to ...
7485         * sysdeps/i386/fpu/e_fmod.S: ...here.
7486         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7487         * sysdeps/i386/fpu/e_fmodf.S: ...here.
7488         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7489         * sysdeps/i386/fpu/e_fmodl.S: ...here.
7490         * sysdeps/libm-i387/e_hypot.S: Moved to ...
7491         * sysdeps/i386/fpu/e_hypot.S: ...here.
7492         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7493         * sysdeps/i386/fpu/e_hypotf.S: ...here.
7494         * sysdeps/libm-i387/e_log.S: Moved to ...
7495         * sysdeps/i386/fpu/e_log.S: ...here.
7496         * sysdeps/libm-i387/e_log10.S: Moved to ...
7497         * sysdeps/i386/fpu/e_log10.S: ...here.
7498         * sysdeps/libm-i387/e_log10f.S: Moved to ...
7499         * sysdeps/i386/fpu/e_log10f.S: ...here.
7500         * sysdeps/libm-i387/e_log10l.S: Moved to ...
7501         * sysdeps/i386/fpu/e_log10l.S: ...here.
7502         * sysdeps/libm-i387/e_logf.S: Moved to ...
7503         * sysdeps/i386/fpu/e_logf.S: ...here.
7504         * sysdeps/libm-i387/e_logl.S: Moved to ...
7505         * sysdeps/i386/fpu/e_logl.S: ...here.
7506         * sysdeps/libm-i387/e_pow.S: Moved to ...
7507         * sysdeps/i386/fpu/e_pow.S: ...here.
7508         * sysdeps/libm-i387/e_powf.S: Moved to ...
7509         * sysdeps/i386/fpu/e_powf.S: ...here.
7510         * sysdeps/libm-i387/e_powl.S: Moved to ...
7511         * sysdeps/i386/fpu/e_powl.S: ...here.
7512         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7513         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7514         * sysdeps/libm-i387/e_remainder.S: Moved to ...
7515         * sysdeps/i386/fpu/e_remainder.S: ...here.
7516         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7517         * sysdeps/i386/fpu/e_remainderf.S: ...here.
7518         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7519         * sysdeps/i386/fpu/e_remainderl.S: ...here.
7520         * sysdeps/libm-i387/e_scalb.S: Moved to ...
7521         * sysdeps/i386/fpu/e_scalb.S: ...here.
7522         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7523         * sysdeps/i386/fpu/e_scalbf.S: ...here.
7524         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7525         * sysdeps/i386/fpu/e_scalbl.S: ...here.
7526         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7527         * sysdeps/i386/fpu/e_sqrt.S: ...here.
7528         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7529         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7530         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7531         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7532         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7533         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7534         * sysdeps/libm-i387/s_asinh.S: Moved to ...
7535         * sysdeps/i386/fpu/s_asinh.S: ...here.
7536         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7537         * sysdeps/i386/fpu/s_asinhf.S: ...here.
7538         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7539         * sysdeps/i386/fpu/s_asinhl.S: ...here.
7540         * sysdeps/libm-i387/s_atan.S: Moved to ...
7541         * sysdeps/i386/fpu/s_atan.S: ...here.
7542         * sysdeps/libm-i387/s_atanf.S: Moved to ...
7543         * sysdeps/i386/fpu/s_atanf.S: ...here.
7544         * sysdeps/libm-i387/s_atanl.S: Moved to ...
7545         * sysdeps/i386/fpu/s_atanl.S: ...here.
7546         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7547         * sysdeps/i386/fpu/s_cbrt.S: ...here.
7548         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7549         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7550         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7551         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7552         * sysdeps/libm-i387/s_ceil.S: Moved to ...
7553         * sysdeps/i386/fpu/s_ceil.S: ...here.
7554         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7555         * sysdeps/i386/fpu/s_ceilf.S: ...here.
7556         * sysdeps/libm-i387/s_ceill.S: Moved to ...
7557         * sysdeps/i386/fpu/s_ceill.S: ...here.
7558         * sysdeps/libm-i387/s_cexp.S: Moved to ...
7559         * sysdeps/i386/fpu/s_cexp.S: ...here.
7560         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7561         * sysdeps/i386/fpu/s_cexpf.S: ...here.
7562         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7563         * sysdeps/i386/fpu/s_cexpl.S: ...here.
7564         * sysdeps/libm-i387/s_copysign.S: Moved to ...
7565         * sysdeps/i386/fpu/s_copysign.S: ...here.
7566         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7567         * sysdeps/i386/fpu/s_copysignf.S: ...here.
7568         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7569         * sysdeps/i386/fpu/s_copysignl.S: ...here.
7570         * sysdeps/libm-i387/s_cos.S: Moved to ...
7571         * sysdeps/i386/fpu/s_cos.S: ...here.
7572         * sysdeps/libm-i387/s_cosf.S: Moved to ...
7573         * sysdeps/i386/fpu/s_cosf.S: ...here.
7574         * sysdeps/libm-i387/s_cosl.S: Moved to ...
7575         * sysdeps/i386/fpu/s_cosl.S: ...here.
7576         * sysdeps/libm-i387/s_exp2.S: Moved to ...
7577         * sysdeps/i386/fpu/s_exp2.S: ...here.
7578         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7579         * sysdeps/i386/fpu/s_exp2f.S: ...here.
7580         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7581         * sysdeps/i386/fpu/s_exp2l.S: ...here.
7582         * sysdeps/libm-i387/s_expm1.S: Moved to ...
7583         * sysdeps/i386/fpu/s_expm1.S: ...here.
7584         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7585         * sysdeps/i386/fpu/s_expm1f.S: ...here.
7586         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7587         * sysdeps/i386/fpu/s_expm1l.S: ...here.
7588         * sysdeps/libm-i387/s_fdim.S: Moved to ...
7589         * sysdeps/i386/fpu/s_fdim.S: ...here.
7590         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7591         * sysdeps/i386/fpu/s_fdimf.S: ...here.
7592         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7593         * sysdeps/i386/fpu/s_fdiml.S: ...here.
7594         * sysdeps/libm-i387/s_finite.S: Moved to ...
7595         * sysdeps/i386/fpu/s_finite.S: ...here.
7596         * sysdeps/libm-i387/s_finitef.S: Moved to ...
7597         * sysdeps/i386/fpu/s_finitef.S: ...here.
7598         * sysdeps/libm-i387/s_finitel.S: Moved to ...
7599         * sysdeps/i386/fpu/s_finitel.S: ...here.
7600         * sysdeps/libm-i387/s_floor.S: Moved to ...
7601         * sysdeps/i386/fpu/s_floor.S: ...here.
7602         * sysdeps/libm-i387/s_floorf.S: Moved to ...
7603         * sysdeps/i386/fpu/s_floorf.S: ...here.
7604         * sysdeps/libm-i387/s_floorl.S: Moved to ...
7605         * sysdeps/i386/fpu/s_floorl.S: ...here.
7606         * sysdeps/libm-i387/s_fma.S: Moved to ...
7607         * sysdeps/i386/fpu/s_fma.S: ...here.
7608         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7609         * sysdeps/i386/fpu/s_fmaf.S: ...here.
7610         * sysdeps/libm-i387/s_fmal.S: Moved to ...
7611         * sysdeps/i386/fpu/s_fmal.S: ...here.
7612         * sysdeps/libm-i387/s_fmax.S: Moved to ...
7613         * sysdeps/i386/fpu/s_fmax.S: ...here.
7614         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7615         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7616         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7617         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7618         * sysdeps/libm-i387/s_fmin.S: Moved to ...
7619         * sysdeps/i386/fpu/s_fmin.S: ...here.
7620         * sysdeps/libm-i387/s_fminf.S: Moved to ...
7621         * sysdeps/i386/fpu/s_fminf.S: ...here.
7622         * sysdeps/libm-i387/s_fminl.S: Moved to ...
7623         * sysdeps/i386/fpu/s_fminl.S: ...here.
7624         * sysdeps/libm-i387/s_frexp.S: Moved to ...
7625         * sysdeps/i386/fpu/s_frexp.S: ...here.
7626         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7627         * sysdeps/i386/fpu/s_frexpf.S: ...here.
7628         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7629         * sysdeps/i386/fpu/s_frexpl.S: ...here.
7630         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7631         * sysdeps/i386/fpu/s_ilogb.S: ...here.
7632         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7633         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7634         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7635         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7636         * sysdeps/libm-i387/s_llrint.S: Moved to ...
7637         * sysdeps/i386/fpu/s_llrint.S: ...here.
7638         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7639         * sysdeps/i386/fpu/s_llrintf.S: ...here.
7640         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7641         * sysdeps/i386/fpu/s_llrintl.S: ...here.
7642         * sysdeps/libm-i387/s_log1p.S: Moved to ...
7643         * sysdeps/i386/fpu/s_log1p.S: ...here.
7644         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7645         * sysdeps/i386/fpu/s_log1pf.S: ...here.
7646         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7647         * sysdeps/i386/fpu/s_log1pl.S: ...here.
7648         * sysdeps/libm-i387/s_log2.S: Moved to ...
7649         * sysdeps/i386/fpu/s_log2.S: ...here.
7650         * sysdeps/libm-i387/s_log2f.S: Moved to ...
7651         * sysdeps/i386/fpu/s_log2f.S: ...here.
7652         * sysdeps/libm-i387/s_log2l.S: Moved to ...
7653         * sysdeps/i386/fpu/s_log2l.S: ...here.
7654         * sysdeps/libm-i387/s_logb.S: Moved to ...
7655         * sysdeps/i386/fpu/s_logb.S: ...here.
7656         * sysdeps/libm-i387/s_logbf.S: Moved to ...
7657         * sysdeps/i386/fpu/s_logbf.S: ...here.
7658         * sysdeps/libm-i387/s_logbl.S: Moved to ...
7659         * sysdeps/i386/fpu/s_logbl.S: ...here.
7660         * sysdeps/libm-i387/s_lrint.S: Moved to ...
7661         * sysdeps/i386/fpu/s_lrint.S: ...here.
7662         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7663         * sysdeps/i386/fpu/s_lrintf.S: ...here.
7664         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7665         * sysdeps/i386/fpu/s_lrintl.S: ...here.
7666         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7667         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7668         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7669         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7670         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7671         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7672         * sysdeps/libm-i387/s_remquo.S: Moved to ...
7673         * sysdeps/i386/fpu/s_remquo.S: ...here.
7674         * sysdeps/libm-i387/s_remquof.S: Moved to ...
7675         * sysdeps/i386/fpu/s_remquof.S: ...here.
7676         * sysdeps/libm-i387/s_remquol.S: Moved to ...
7677         * sysdeps/i386/fpu/s_remquol.S: ...here.
7678         * sysdeps/libm-i387/s_rint.S: Moved to ...
7679         * sysdeps/i386/fpu/s_rint.S: ...here.
7680         * sysdeps/libm-i387/s_rintf.S: Moved to ...
7681         * sysdeps/i386/fpu/s_rintf.S: ...here.
7682         * sysdeps/libm-i387/s_rintl.S: Moved to ...
7683         * sysdeps/i386/fpu/s_rintl.S: ...here.
7684         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7685         * sysdeps/i386/fpu/s_scalbn.S: ...here.
7686         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7687         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7688         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7689         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7690         * sysdeps/libm-i387/s_significand.S: Moved to ...
7691         * sysdeps/i386/fpu/s_significand.S: ...here.
7692         * sysdeps/libm-i387/s_significandf.S: Moved to ...
7693         * sysdeps/i386/fpu/s_significandf.S: ...here.
7694         * sysdeps/libm-i387/s_significandl.S: Moved to ...
7695         * sysdeps/i386/fpu/s_significandl.S: ...here.
7696         * sysdeps/libm-i387/s_sin.S: Moved to ...
7697         * sysdeps/i386/fpu/s_sin.S: ...here.
7698         * sysdeps/libm-i387/s_sincos.S: Moved to ...
7699         * sysdeps/i386/fpu/s_sincos.S: ...here.
7700         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7701         * sysdeps/i386/fpu/s_sincosf.S: ...here.
7702         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7703         * sysdeps/i386/fpu/s_sincosl.S: ...here.
7704         * sysdeps/libm-i387/s_sinf.S: Moved to ...
7705         * sysdeps/i386/fpu/s_sinf.S: ...here.
7706         * sysdeps/libm-i387/s_sinl.S: Moved to ...
7707         * sysdeps/i386/fpu/s_sinl.S: ...here.
7708         * sysdeps/libm-i387/s_tan.S: Moved to ...
7709         * sysdeps/i386/fpu/s_tan.S: ...here.
7710         * sysdeps/libm-i387/s_tanf.S: Moved to ...
7711         * sysdeps/i386/fpu/s_tanf.S: ...here.
7712         * sysdeps/libm-i387/s_tanl.S: Moved to ...
7713         * sysdeps/i386/fpu/s_tanl.S: ...here.
7714         * sysdeps/libm-i387/s_trunc.S: Moved to ...
7715         * sysdeps/i386/fpu/s_trunc.S: ...here.
7716         * sysdeps/libm-i387/s_truncf.S: Moved to ...
7717         * sysdeps/i386/fpu/s_truncf.S: ...here.
7718         * sysdeps/libm-i387/s_truncl.S: Moved to ...
7719         * sysdeps/i386/fpu/s_truncl.S: ...here.
7720         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7721         * sysdeps/ieee754/k_standard.c: ...here.
7722         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7723         * sysdeps/ieee754/s_lib_version.c: ...here.
7724         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7725         * sysdeps/ieee754/s_matherr.c: ...here.
7726         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7727         * sysdeps/ieee754/s_signgam.c: ...here.
7728         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7729         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7730         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7731         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7732         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7733         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7734         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7735         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7736         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7737         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7738         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7739         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7740         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7741         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7742         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7743         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7744         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7745         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7746         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7747         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7748         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7749         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7750         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7751         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7752         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7753         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7754         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7755         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7756         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7757         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7758         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7759         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7760         * sysdeps/libm-ieee754/e_log.c: Moved to ...
7761         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7762         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7763         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7764         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7765         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7766         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7767         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7768         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7769         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7770         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7771         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7772         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7773         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7774         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7775         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7776         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7777         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7778         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7779         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7780         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7781         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7782         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7783         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7784         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7785         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7786         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7787         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7788         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7789         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7790         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7791         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7792         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7793         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7794         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7795         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7796         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7797         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7798         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7799         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7800         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7801         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7802         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7803         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7804         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7805         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7806         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7807         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7808         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7809         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7810         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7811         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7812         (__isnan): Comment above function says it returns 0 or 1, but it
7813         used to return 0 or -1.
7814         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7815         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7816         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7817         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7818         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7819         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7820         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7821         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7822         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7823         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7824         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7825         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7826         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7827         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7828         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7829         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7830         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7831         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7832         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7833         * sysdeps/generic/s_nextafter.c: ...here.
7834         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7835         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7836         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7837         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7838         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7839         * sysdeps/libm-ieee754/s_round.c: Moved to ...
7840         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7841         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7842         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7843         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7844         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7845         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7846         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7847         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7848         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7849         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7850         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7851         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7852         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7853         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7854         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7855         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7856         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7857         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7858         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7859         * sysdeps/ieee754/mpn2flt.c: Moved to ...
7860         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7861         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7862         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7863         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7864         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7865         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7866         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7867         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7868         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7869         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7870         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7871         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7872         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7873         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7874         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7875         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7876         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7877         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7878         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7879         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7880         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7881         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7882         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7883         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7884         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7885         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7886         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7887         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7888         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7889         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7890         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7891         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7892         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7893         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7894         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7895         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7896         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7897         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7898         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7899         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7900         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7901         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7902         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7903         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7904         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7905         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7906         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7907         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7908         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7909         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7910         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7911         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7912         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7913         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7914         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7915         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7916         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7917         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7918         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7919         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7920         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7921         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7922         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7923         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7924         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7925         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7926         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7927         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7928         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7929         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7930         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7931         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7932         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7933         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7934         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7935         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7936         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7937         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7938         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7939         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7940         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7941         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7942         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7943         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7944         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7945         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7946         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7947         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7948         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7949         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7950         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7951         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7952         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7953         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7954         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7955         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7956         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7957         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7958         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7959         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7960         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7961         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7962         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7963         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7964         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7965         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7966         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7967         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7968         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7969         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7970         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7971         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7972         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7973         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7974         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7975         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7976         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7977         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7978         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7979         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7980         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7981         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7982         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7983         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7984         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7985         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7986         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7987         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7988         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7989         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7990         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7991         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7992         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7993         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7994         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7995         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7996         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7997         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7998         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7999         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
8000         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
8001         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
8002         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
8003         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
8004         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
8005         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
8006         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
8007         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
8008         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
8009         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
8010         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
8011         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
8012         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
8013         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
8014         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
8015         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
8016         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
8017         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
8018         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
8019         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
8020         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
8021         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
8022         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
8023         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
8024         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
8025         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
8026         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
8027         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
8028         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
8029         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
8030         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
8031         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
8032         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
8033         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
8034         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
8035         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
8036         INSERT_WORDS.
8037         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
8038         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
8039         (__nearbyintl): Fix for exponents 2^30.
8040         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
8041         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
8042         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
8043         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
8044         (__rintl): Fix for exponents 2^30.
8045         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
8046         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
8047         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
8048         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
8049         (__scalbnl): Fix exponent for subnormal result.
8050         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
8051         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
8052         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
8053         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
8054         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
8055         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
8056         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
8057         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
8058         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
8059         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
8060         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
8061         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8062         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8063         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8064         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8065         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8066         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8067         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8068         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8069         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8070         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8071         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8072         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8073         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8074         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8075         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8076         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8077         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8078         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8079         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8080         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8081         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8082         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8083         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8084         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8085         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8086         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8087         * sysdeps/i386/fpu/s_scalbln.c: ...here.
8088         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8089         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8090         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8091         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8092         * sysdeps/libm-i387/t_exp.c: Moved to ...
8093         * sysdeps/i386/fpu/t_exp.c: ...here.
8094         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8095         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8096         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8097         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8098         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8099         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8100         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8101         * sysdeps/i386/fpu/s_isinfl.c: ...here.
8102         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8103         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8104         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8105         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8106         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8107         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8108         Fix exponent for subnormal result.
8109         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8110         * sysdeps/generic/s_nexttowardl.c: ...here.
8111         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8112         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8113         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8114         * sysdeps/i386/fpu/s_isnanl.c: ...here.
8115         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8116         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8117         Comment above function says it returns 0 or 1, but it used to return
8118         0 or -1.
8119         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8120         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8121         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8122         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8123         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8124         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8125         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8126         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8127         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8128         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8129         Cannot compare exponents with different biases without adjusting.
8130         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8131         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8132         Cannot compare exponents with different biases without adjusting.
8133         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8134         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8135         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8136         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8137         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8138         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8139         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8140         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8141         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8142         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8143         * sysdeps/libm-ieee754/Dist: Split into ...
8144         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8145         * sysdeps/ieee754/flt-32/Dist: ...this file.
8146
8147         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8148         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8149         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8150         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8151         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8152         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8153         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8154         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8155         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8156         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8157         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8158         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8159         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8160         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8161         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8162         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8163         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8164         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8165         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8166         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8167         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8168         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8169         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8170         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8171         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8172         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8173         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8174         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8175         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8176         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8177         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8178         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8179         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8180         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8181         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8182         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8183         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8184         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8185         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8186         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8187         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8188         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8189         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8191         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8192         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8193         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8194
8195         * sysdeps/generic/math_ldbl.h: New file.
8196         * sysdeps/generic/s_nexttowardf.c: New file.
8197         * sysdeps/generic/strtold.c: New file.
8198         * sysdeps/generic/ldbl2mpn.c: New file.
8199
8200         * math/machine/endian.h: Remove.
8201         * sysdeps/i386/fpu/Implies: Remove.
8202         * sysdeps/ieee754/Implies: Remove.
8203
8204         * math/math_private.h: Move long double macros to math_ldbl.h
8205         header.
8206
8207 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8208
8209         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8210         connections without a hostname set address to localhost address.
8211
8212 1999-07-11  H.J. Lu  <hjl@gnu.org>
8213
8214         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8215         nscd's own strong version of the get[a-z]*_r function.
8216         * nscd/hstcache.c: Likewise.
8217         * nscd/pwdcache.c: Likewise.
8218
8219 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8220
8221         * configure.in: Recognize 2.95 as gcc version number.
8222         Patch by Joel Klecker <jk@espy.org>.
8223
8224 1999-07-12  Andreas Schwab  <schwab@suse.de>
8225
8226         * elf/rtld.c (dl_main): When putting back the interpreter object
8227         handle the case where a missing object might occur in the list of
8228         objects but not in the search list when in trace mode.
8229
8230 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
8231
8232         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8233         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8234         _nss_hesiod_initgroups.
8235
8236 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8237
8238         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8239         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8240         Initialize it from &__data_start if defined, or else &_end.
8241
8242 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8243
8244         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8245         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8246
8247 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8248
8249         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8250
8251 1999-07-09  H.J. Lu  <hjl@gnu.org>
8252
8253         * Versions.def (GLIBC_2.1.2): Added.
8254
8255         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8256         old one as GLIBC_2.0.
8257         * nss/getXXbyYY_r.c: Likewise.
8258
8259         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8260         GLIBC_2.1.2.
8261         * inet/Versions (getaliasbyname_r, getaliasent_r,
8262         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8263         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8264         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8265         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8266         getservbyname_r): Likewise.
8267         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8268         * shadow/Versions (getspent_r, getspnam_r): Likewise.
8269
8270 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8271
8272         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8273         compilers.
8274         (__memset_cc): Likewise.
8275
8276         * sysdeps/generic/libc-start.c: For SUID binaries check whether
8277         the standard file descriptors are open.
8278         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8279
8280         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8281         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8282         range of mmap.  If not fail.
8283         Patches by Daniel Jacobowitz <dan@debian.org>.
8284
8285         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8286         before the relocation happened.
8287         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8288
8289         * Versions.def (libnsl): Add GLIBC_2.2.
8290         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8291
8292 1999-07-08  Cristian Gafton  <gafton@redhat.com>
8293
8294         * nis/yp_xdr.c (xdr_ypall): New function.
8295
8296 1999-07-09  Andreas Schwab  <schwab@suse.de>
8297
8298         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8299
8300         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8301
8302 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8303
8304         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8305         * hesiod/hesiod-grp.c: Add initgroups support.
8306         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8307
8308 1999-07-08  Andreas Schwab  <schwab@suse.de>
8309
8310         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8311
8312         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8313         negative numbers.
8314
8315         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8316         EOF.
8317         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8318
8319 1999-07-08  Andreas Schwab  <schwab@suse.de>
8320
8321         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8322
8323 1999-07-08  Andreas Schwab  <schwab@suse.de>
8324
8325         * libio/fileno.c: Return -1 instead of EOF and set errno if the
8326         stream is not a real file stream.
8327
8328 1999-07-08  Andreas Schwab  <schwab@suse.de>
8329
8330         * manual/charset.texi: Fix typos.
8331
8332 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8333
8334         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8335
8336 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
8337
8338         * dlfcn: New directory.  Move the following files from elf:
8339         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8340         dlopenold.c, dlsym.c, dlvsym.c.
8341         * dlfcn/Makefile: New file.
8342         * dlfcn/Versions: New file.
8343         * dlfcn/dlsym.c: All ELF-specific code split out to new
8344         function _dl_sym.
8345         * dlfcn/dlvsym.c: All ELF-specific code split out to new
8346         function _dl_vsym.
8347         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
8348         implemented here.
8349
8350         * dlfcn/dladdr.c: Remove all references to ELF data structures
8351         or headers.
8352         * dlfcn/dlclose.c: Likewise.
8353         * dlfcn/dlerror.c: Likewise.
8354         * dlfcn/dlopen.c: Likewise.
8355         * dlfcn/dlopenold.c: Likewise.
8356
8357         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8358         yes, empty otherwise.
8359         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8360         depending on build-shared.
8361         (subdirs): Add $(dlfcn).
8362         (rpath-dirs): Add dlfcn.
8363         * elf/Makefile: Remove all references to libdl or its
8364         components, except the ones relating to the test cases.
8365         (routines): Add dl-sym.
8366         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8367         (libdl): Delete.
8368
8369         * elf/dl-close.c (_dl_close): Change argument to void *.
8370         * elf/dl-open.c (_dl_open): Change return type to void *.
8371         * elf/eval.c: Removed.
8372         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8373         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8374         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
8375         _CALL_DL_FCT macro.
8376         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8377         Include real header from dlfcn directory.
8378         * include/ldsodefs.h: Removed.
8379
8380         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8381         * nss/getXXbyYY_r.c: Likewise.
8382         * nss/getXXent_r.c: Likewise.
8383         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
8384         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
8385         * iconv/skeleton.c: Don't include ldsodefs.h.
8386         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
8387
8388 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8389
8390         * sysdeps/generic/setenv.c: Describe problem.
8391
8392         * malloc/malloc.c (request2size): Also set errno if failing.
8393
8394         * malloc/malloc.c (request2size): Take care of overflow in
8395         addition.
8396
8397         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
8398         (NULL, != 0) correctly.
8399
8400         * elf/dl-load.c: Use a few more __builtin_expect.
8401
8402         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8403         is large enough.
8404
8405 1999-07-07  Andreas Schwab  <schwab@suse.de>
8406
8407         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8408         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8409         (_PATH_DEVPTMX): Use _PATH_DEV.
8410
8411 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8412
8413         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
8414         * malloc/Makefile (tests): Add tst-malloc.
8415
8416 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8417
8418         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8419         convention.
8420
8421         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8422         motherboards.
8423         Patch by Jay Estabrook.
8424
8425         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8426         ldd for SPARC.
8427         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8428         Patch by Cristian Gafton.
8429
8430 1999-07-02  Cristian Gafton  <gafton@redhat.com>
8431
8432         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8433         instead of "return NULL" to make C++ happy.
8434
8435 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
8436
8437         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8438         allowed by the file access mode of the open file.
8439
8440 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8441
8442         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8443         macros defined.
8444
8445 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
8446
8447         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8448         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8449         * sysdeps/sparc/sparc64/rshift.S: Likewise.
8450         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8451
8452 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8453
8454         * malloc/malloc.c (request2size): Check for overflow and return
8455         NULL whenever it is encountered.
8456
8457 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
8458
8459         * sysdeps/posix/tempname.c (__gen_tempname):   Add
8460         ability to create directories.  Replace OPENIT and LARGEFILE
8461         args with a single flags parameter.
8462         * sysdeps/generic/tempname.c: Likewise.
8463         * include/stdio.h: Adjust prototype of __gen_tempname to
8464         match.  Define symbolic constants for second argument.
8465
8466         * misc/mkdtemp.c: New file, provides new function mkdtemp().
8467         * stdlib/stdlib.h: Prototype it.
8468         * misc/Versions: Export it.
8469         * misc/Makefile (routines): Add mktemp.
8470         * manual/filesys.texi: Document it.
8471
8472         * misc/mktemp.c: Adjust call of __gen_tempname to match new
8473         convention.
8474         * misc/mkstemp.c: Likewise.
8475         * stdio-common/tempnam.c: Likewise.
8476         * stdio-common/tmpfile.c: Likewise.
8477         * stdio-common/tmpfile64.c: Likewise.
8478         * stdio-common/tmpnam.c: Likewise.
8479         * stdio-common/tmpnam_r.c: Likewise.
8480
8481 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
8482
8483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8484         R_SPARC_OLO10 relocations.
8485         * elf/elf.h (R_SPARC_OLO10): Fix comment.
8486
8487 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
8488
8489         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
8490         doesn't belong in the tests, but in the wordexp implementation.
8491
8492         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8493         split fields.
8494
8495 1999-07-01  Cristian Gafton  <gafton@redhat.com>
8496
8497         * time/strptime.c (strptime): Initialize the tm struct first to avoid
8498         returning bogus results on incomplete data.
8499         (strptime_internal): day_of_the_week() requres both tm_mon and
8500         tm_mday to be initialized.
8501         Compute them first if they are not given.
8502         (strptime_internal): (have_mon, have_mday): New variables.
8503
8504 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8505
8506         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8507
8508 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8509
8510         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8511         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8512
8513 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8514
8515         * posix/wordexp.c (parse_tilde): Handle failing call to
8516         get.*_r functions correctly for non-existing entry.
8517         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8518         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8519
8520 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8521
8522         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8523         getxxbyYY_r functions correctly for non-existing entry.
8524         * sunrpc/getrpcport.c: Likewise.
8525         * sunrpc/clnt_simp.c: Likewise.
8526         * inet/rexec.c: Likewise.
8527         * sunrpc/clnt_gen.c: Likewise.
8528         * inet/rcmd.c: Likewise.
8529         * sysdeps/generic/glob.c: Likewise.
8530
8531 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8532
8533         * pwd/Makefile (tests): Add rules for tst-getpw.
8534
8535         * pwd/tst-getpw.c: New program to test getpw.
8536
8537 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8538
8539         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8540         correctly.
8541
8542 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8543
8544         * manual/arith.texi (System V Number Conversion): Fix the
8545         description which confused pointer and value to pointer.
8546         Reported by Andries.Brouwer@cwi.nl.
8547
8548 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8549
8550         * pwd/getpw.c (__getpw): Check for NULL result pointer.
8551
8552 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8553
8554         * manual/users.texi (Lookup User): Document POSIX return
8555         semantics for getpwuid_r and getgrgid_r.
8556
8557         * manual/socket.texi (Host Names): Document that the result
8558         pointer is null in case of error or host not found and fix a
8559         typo.  Give a small example.
8560
8561 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8562
8563         * pwd/getpw.c: Add warning since no buffer size is given and
8564         therefore no overrun tests are possible.
8565
8566 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8567
8568         * pwd/pwd.h: Add getpw prototype declaration.
8569
8570 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8571
8572         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8573         * wcsmbs/wcschr.c: Likewise.
8574
8575 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
8576
8577         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8578         returns.
8579         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8580         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8581         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8582
8583         * elf/dl-dst.h: Fix typo.
8584         * elf/dl-open.c: Likewise.
8585
8586 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
8587
8588         * elf/dl-libc.c: New file, provides three functions:
8589         __libc_dlopen, __libc_dlclose, __libc_dlsym.
8590         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
8591         * elf/Makefile (routines): Add dl-libc.c.
8592         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8593         argument to void *.
8594         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8595
8596         * iconv/gconv.c: Include dlfcn.h.
8597         * iconv/gconv_db.c: Likewise.
8598         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
8599
8600         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8601         `handle' to a void *.
8602         (__gconv_find_func): Delete prototype.
8603
8604         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
8605         dlerror_run and related functions and structs.  Use
8606         __libc_dlopen, __libc_dlsym, __libc_dlclose.
8607         * nss/nsswitch.c: Likewise.
8608
8609 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
8610
8611         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8612         function correctly.
8613
8614         * sunrpc/getrpcport.c: Test for gethostbyname_r function
8615         correctly.
8616
8617         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8618
8619         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8620         functions correctly.
8621
8622         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8623
8624         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
8625         file reading a bit.
8626
8627         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8628
8629 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8630
8631         * manual/string.texi (Copying and Concatenation): Mention that
8632         strndup is a GNU extension.
8633
8634 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8635
8636         * pwd/getpw.c (__getpw): Fix check for error return.
8637
8638 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8639
8640         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8641         occurence of the aux object start with the current list entry, not
8642         the new one.  Adjust tail pointer in the unique list.  Explain how
8643         the meaning of the variables changes [PR libc/1168].
8644
8645 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8646
8647         * sysdeps/m68k/fpu/Dist: New file.
8648
8649 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8650
8651         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8652         definitions...
8653         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
8654         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8655         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8656         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8657         * sysdeps/m68k/fpu/e_pow.c: Likewise.
8658         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8659         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8660         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8661         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8662         * sysdeps/m68k/fpu/s_csin.c: Likewise.
8663         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8664         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8665         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8666         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8667         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8668         * sysdeps/m68k/fpu/s_modf.c: Likewise.
8669
8670 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
8671
8672         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8673         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8674         _EXTERN_INLINE, use a macro specific to each file,
8675         _HURD_FD_H_EXTERN_INLINE and the like.
8676         * hurd/Makefile (inline-headers): New variable.
8677         (routines): Remove hurdinline.  Add $(inlines).
8678         (inlines): New variable.
8679         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8680         (generated): Append those here.
8681         * hurd/hurdinline.c: File removed.
8682
8683         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8684
8685         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8686
8687 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8688
8689         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8690
8691 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
8692
8693         * string/bits/string2.h (strnlen): Remove extra prototype.
8694
8695 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8696
8697         * manual/filesys.texi (Working on Directory Trees): Fix typos.
8698         Reported by Andries.Brouwer@cwi.nl.
8699
8700 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
8701
8702         * nscd/connections.c (handle_request): Use correct type for optlen
8703         variable.
8704
8705         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8706         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8707
8708 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
8709
8710         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8711         * nscd/pwdcache.c: Likewise.
8712         * nscd/hstcache.c: Likewise.
8713
8714 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8715
8716         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8717
8718         * posix/getopt.h: Include stdio.h.
8719
8720         * manual/arith.texi: Document restriction of ndigit parameter of
8721         ecvt and friends.
8722         * misc/efgcvt.c: Define NDIGIT_MAX.
8723         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8724         Do not dynamically allocate the static buffers.  They are small enough.
8725         * misc/efgcvt_r.c: Define NDIGIT_MAX.
8726         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8727         * misc/qefgcvt.c: Define NDIGIT_MAX.
8728         * misc/qefgcvt_r.c: Likewise.
8729         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8730
8731 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
8732
8733         * libio/stdio.h: Define stdin, stdout, stderr as macros.
8734         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8735         These are *pragmas* not macros.
8736         * wcsmbs/wchar.h: Fix comment.
8737
8738         * grp/grp.h: Use __foo_t_defined convention to typedef things
8739         only once.
8740         * io/sys/stat.h: Likewise.
8741         * libio/stdio.h: Likewise.
8742         * posix/unistd.h: Likewise.
8743         * posix/sys/types.h: Likewise.
8744         * posix/sys/wait.h: Likewise.
8745         * pwd/pwd.h: Likewise.
8746         * signal/signal.h: Likewise.
8747         * sysdeps/generic/stdint.h: Likewise.
8748         * sysdeps/gnu/utmpx.h: Likewise.
8749         * termios/termios.h: Likewise.
8750
8751 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8752
8753         * stdio/fputc.c: Don't define alias if fputc is defined as a
8754         macro.
8755         * stdio/putc.c: Define weak alias here since it is not done
8756         anymore in fputc.c.
8757
8758 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8759
8760         * assert/assert.h: Don't produce `defined' as part of macro
8761         expansion.
8762
8763 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
8764
8765         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8766         OFFSET argument of (off_t) -1.
8767         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8768         OFFSET argument of (off_t) -1.
8769
8770         * sysdeps/mach/hurd/pwrite.c: New file.
8771         * sysdeps/mach/hurd/pread.c: New file.
8772
8773         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8774         pass it in the RPC instead of always -1.
8775         * hurd/fd-write.c (_hurd_fd_write): Likewise.
8776         * hurd/hurd/fd.h: Update decls.
8777
8778 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8779
8780         * libio/wscanf.c: Include <wchar.h> for prototype.
8781
8782 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
8783
8784         * manual/io.texi. Fix typos.
8785         * manual/stdio.texi: Likewise.
8786         Patches by Brian Youmans <3diff@gnu.org>.
8787
8788 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
8789
8790         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8791         bits of two words differ.
8792
8793 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8794
8795         * libio/Makefile (routines): Add putwchar and putwchar_u.
8796
8797         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8798         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
8799         stdout.  Fix parameter name.
8800
8801         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8802         * libio/getchar_u.c: Likewise.
8803
8804         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8805
8806 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8807
8808         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8809         macro expansion---it's undefined.  Properly parenthesize
8810         substituted parameters.
8811         (__GLIBC_PREREQ): Likewise.
8812
8813 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
8814
8815         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
8816         weird effects.
8817
8818         * stdlib/longlong.h: Provide __P definition if not already
8819         defined.
8820
8821         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8822
8823 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
8824
8825         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8826
8827 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8828
8829         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8830
8831 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8832
8833         * stdio-common/vfprintf.c (group_member): Make parameters and
8834         return types pointers to CHAR_T instead of UCHAR_T.
8835         (vfprintf): Change type of work_buffer, workend and string to
8836         CHAR_T pointer/array.
8837         (process_arg, process_string_arg): Adjust/remove casts.  Add
8838         missing use of L_ macro.
8839         (printf_unknown): Add missing uses of L_ macro.
8840
8841 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8842
8843         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8844         warning.
8845
8846 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8847
8848         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
8849         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8850         (__wunderflow): Likewise.
8851         (_IO_switch_to_wget_mode): Likewise.
8852         (_IO_init_wmarker): Likewise.
8853
8854         * libio/wfileops.c (_IO_wfile_seekoff): Call
8855         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8856         (_IO_wfile_jumps): Fix pbackfail entry.
8857
8858         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8859         function if the stream is currently unoriented.
8860
8861 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
8862
8863         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8864         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
8865         __gnuc_va_list in v*w(printf|scanf) prototypes.
8866
8867 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8868
8869         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8870         1999-03-29 to iopopen also here.
8871         Reported by Richard Braakman <dark@xs4all.nl>.
8872
8873 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8874
8875         * include/features.h: Use __GNUC_PREREQ.
8876         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8877
8878 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8879
8880         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8881         Change EOF to WEOF and remove cast.
8882         (UNGETC): Remove macro.
8883         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8884         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8885         Change ISASCII to isascii and MBRLEN to mbrlen.
8886         (parse_one_spec): Compare info.spec always against wchar_t
8887         values.
8888         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8889         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8890         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8891
8892 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8893
8894         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8895         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8896         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8897         oldiofsetpos64 only if doing versioning.
8898
8899 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
8900
8901         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8902
8903 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8904
8905         * libio/libio.h: Fix last patch.
8906
8907 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
8908
8909         * libio/libio.h (_IO_putwc): Correct type of first argument.
8910         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8911         putwc_unlocked, putwchar_unlocked): Likewise.
8912         * libio/fputwc.c: Likewise.
8913         * libio/fputwc_unlocked.c: Likewise.
8914         * libio/putwc.c: Likewise.
8915         * libio/putwc_unlocked.c: Likewise.
8916         * libio/putwchar.c: Likewise.
8917         * libio/putwchar_unlocked.c: Likewise.
8918
8919 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
8920
8921         * sysdeps/gnu/siglist.h: File moved to ...
8922         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
8923         any platform, since it just associates the SIG* macros with text names
8924         and descriptions. For any signal macros do not exist on every
8925         platform, we can use #ifdef tests here and still use this single
8926         common file for all platforms.
8927         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
8928         should be usable for all platforms after the binary compatibility
8929         stuff in the current sysdeps/gnu version is no longer required.
8930         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8931         * sysdeps/generic/make_siglist.c: File removed.
8932         * sysdeps/mach/hurd/siglist.h: Use #include_next.
8933         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8934
8935 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
8936
8937         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8938         * sysdeps/gnu/siglist.c: ... here.
8939         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8940         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8941         * sysdeps/gnu/siglist.h: New file, contents from linux version.
8942         Add entry for SIGLOST protected by #ifdef.
8943         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8944         and define OLD_SIGLIST_SIZE_STR.
8945         * sysdeps/mach/hurd/siglist.h: New file, likewise.
8946
8947 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
8948
8949         * include/features.h: Define new macros __GNUC_PREREQ and
8950         __GLIBC_PREREQ which can be used to test the version of gcc
8951         and glibc respectively.
8952
8953         * assert/assert.h: Use __GNUC_PREREQ.
8954         * intl/libintl.h: Likewise.
8955         * math/complex.h: Likewise.
8956         * math/tgmath.h: Likewise.
8957         * misc/sys/cdefs.h: Likewise.
8958         * posix/sys/types.h: Likewise.
8959         * socket/sys/socket.h: Likewise.
8960         * string/bits/string2.h: Likewise.
8961         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8962         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8963
8964 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
8965
8966         * include/libintl.h: Declare _libc_intl_domainname here.
8967         Define _ and N_ here.
8968         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
8969         define _ and N_.  Don't declare _libc_intl_domainname.
8970         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8971
8972         * db2/config.h: Don't include sys/stat.h or define
8973         HAVE_ST_BLKSIZE here...
8974         * db2/compat.h: ...do it here.
8975
8976         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8977         other headers.
8978         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8979         * iconv/iconv.c: Include stddef.h for NULL.
8980         * malloc/malloc.h: Include features.h.
8981         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8982
8983         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8984         into the generated file.
8985         * sysdeps/gnu/errlist.awk: Likewise.
8986         * sysdeps/gnu/errlist.c: Rebuilt.
8987
8988         * assert/assert-perr.c: Include libintl.h.
8989         * assert/assert.c: Likewise.
8990         * elf/dl-open.c: Likewise.
8991         * elf/dlsym.c: Likewise.
8992         * elf/dlvsym.c: Likewise.
8993         * iconv/iconv_prog.c: Likewise.
8994         * inet/rcmd.c: Likewise.
8995         * inet/ruserpass.c: Likewise.
8996         * locale/programs/charset.c: Likewise.
8997         * locale/programs/ld-collate.c: Likewise.
8998         * locale/programs/ld-ctype.c: Likewise.
8999         * locale/programs/ld-messages.c: Likewise.
9000         * locale/programs/ld-monetary.c: Likewise.
9001         * locale/programs/ld-numeric.c: Likewise.
9002         * locale/programs/ld-time.c: Likewise.
9003         * locale/programs/locfile.c: Likewise.
9004         * locale/programs/repertoire.c: Likewise.
9005         * login/programs/database.c: Likewise.
9006         * login/programs/request.c: Likewise.
9007         * malloc/mcheck.c: Likewise.
9008         * misc/error.c: Likewise.
9009         * nis/nis_call.c: Likewise.
9010         * nis/nis_callback.c: Likewise.
9011         * nis/nis_error.c: Likewise.
9012         * nis/nis_local_names.c: Likewise.
9013         * nis/nis_print.c: Likewise.
9014         * nis/nis_print_group_entry.c: Likewise.
9015         * nis/ypclnt.c: Likewise.
9016         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9017         * nscd/cache.c: Likewise.
9018         * nscd/connections.c: Likewise.
9019         * nscd/grpcache.c: Likewise.
9020         * nscd/hstcache.c: Likewise.
9021         * nscd/nscd_conf.c: Likewise.
9022         * nscd/nscd_stat.c: Likewise.
9023         * nscd/pwdcache.c: Likewise.
9024         * posix/id.c: Likewise.
9025         * resolv/herror.c: Likewise.
9026         * stdio-common/psignal.c: Likewise.
9027         * string/strsignal.c: Likewise.
9028         * sunrpc/auth_unix.c: Likewise.
9029         * sunrpc/clnt_perr.c: Likewise.
9030         * sunrpc/clnt_raw.c: Likewise.
9031         * sunrpc/clnt_tcp.c: Likewise.
9032         * sunrpc/clnt_udp.c: Likewise.
9033         * sunrpc/clnt_unix.c: Likewise.
9034         * sunrpc/get_myaddr.c: Likewise.
9035         * sunrpc/pm_getmaps.c: Likewise.
9036         * sunrpc/pmap_clnt.c: Likewise.
9037         * sunrpc/pmap_rmt.c: Likewise.
9038         * sunrpc/rpc_main.c: Likewise.
9039         * sunrpc/rpc_scan.c: Likewise.
9040         * sunrpc/svc_run.c: Likewise.
9041         * sunrpc/svc_simple.c: Likewise.
9042         * sunrpc/svc_tcp.c: Likewise.
9043         * sunrpc/svc_udp.c: Likewise.
9044         * sunrpc/svc_unix.c: Likewise.
9045         * sunrpc/xdr_rec.c: Likewise.
9046         * sunrpc/xdr_ref.c: Likewise.
9047         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
9048         * sysdeps/posix/gai_strerror.c: Likewise.
9049         * sysdeps/unix/siglist.c: Likewise.
9050         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
9051         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9052         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
9053         * timezone/zic.c: Likewise.
9054
9055 1999-06-18  H.J. Lu  <hjl@gnu.org>
9056
9057         * localedata/Makefile (charmaps): Exclude SCCS.
9058         (locales): Likewise.
9059         (repertoiremaps): Likewise.
9060
9061 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
9062
9063         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9064         * sysdeps/generic/bsd-setjmp.c: Likewise.
9065
9066         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9067
9068         * iconv/gconv_open.c: Include string.h for memset prototype.
9069
9070         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9071         definitions.
9072
9073         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9074         assignment to avoid warning on 64bit platforms.
9075
9076 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9077
9078         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9079
9080         * nss/getXXbyYY_r.c: Return error code not -1.
9081         * nss/getXXent_r.c: Likewise.
9082         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9083         small.
9084         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9085         value > 0 for error.
9086         * nscd/nscd_gethst_r.c: Likewise.
9087         * nscd/nscd_getpw_r.c: Likewise.
9088
9089 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9090
9091         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9092         disciplines.
9093
9094 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9095
9096         * nscd/nscd_nischeck.c: Fix typos.
9097
9098 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9099
9100         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9101         always when oact is NULL.
9102         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9103
9104 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9105
9106         * math/libm-test.c (jn_test): Adjust delta.
9107
9108 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9109
9110         * libio/vwprintf.c: Include <wchar.h> for prototypes.
9111         * libio/wprintf.c: Likewise.
9112
9113 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9114
9115         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9116         to not write beyond allocated memory.
9117         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9118
9119 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9120
9121         * malloc/mtrace.c: Keep lock while printing output lines.
9122         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9123
9124 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
9125
9126         * configure.in: Add warnings about broken code.
9127
9128         * Versions.def: Add GLIBC_2.2 for libc.
9129
9130         * iconv/gconv.h: Make header suitable for inclusion in public header
9131         by protecting all names with __.
9132         * iconv/gconv.c: Adapt for symbol name changes.
9133         * iconv/gconv.h: Likewise.
9134         * iconv/gconv_builtin.c: Likewise.
9135         * iconv/gconv_close.c: Likewise.
9136         * iconv/gconv_db.c: Likewise.
9137         * iconv/gconv_dl.c: Likewise.
9138         * iconv/gconv_int.h: Likewise.
9139         * iconv/gconv_open.c: Likewise.
9140         * iconv/gconv_simple.c: Likewise.
9141         * iconv/iconv.c: Likewise.
9142         * iconv/iconv_close.c: Likewise.
9143         * iconv/iconv_open.c: Likewise.
9144         * iconv/loop.c: Likewise.
9145         * iconv/skeleton.c: Likewise.
9146         * iconvdata/8bit-gap.c: Likewise.
9147         * iconvdata/8bit-generic.c: Likewise.
9148         * iconvdata/ansi_x3.110.c: Likewise.
9149         * iconvdata/big5.c: Likewise.
9150         * iconvdata/cns11643.h: Likewise.
9151         * iconvdata/cns11643l1.h: Likewise.
9152         * iconvdata/euc-cn.c: Likewise.
9153         * iconvdata/euc-jp.c: Likewise.
9154         * iconvdata/euc-kr.c: Likewise.
9155         * iconvdata/euc-tw.c: Likewise.
9156         * iconvdata/gb2312.h: Likewise.
9157         * iconvdata/iso-2022-jp.c: Likewise.
9158         * iconvdata/iso-2022-kr.c: Likewise.
9159         * iconvdata/iso646.c: Likewise.
9160         * iconvdata/iso8859-1.c: Likewise.
9161         * iconvdata/iso_6937-2.c: Likewise.
9162         * iconvdata/iso_6937.c: Likewise.
9163         * iconvdata/jis0201.h: Likewise.
9164         * iconvdata/jis0208.h: Likewise.
9165         * iconvdata/jis0212.h: Likewise.
9166         * iconvdata/johab.c: Likewise.
9167         * iconvdata/ksc5601.h: Likewise.
9168         * iconvdata/sjis.c: Likewise.
9169         * iconvdata/t.61.c: Likewise.
9170         * iconvdata/uhc.c: Likewise.
9171         * stdlib/mblen.c: Likewise.
9172         * stdlib/mbtowc.c: Likewise.
9173         * stdlib/wctomb.c: Likewise.
9174         * wcsmbs/btowc.c: Likewise.
9175         * wcsmbs/mbrtowc.c: Likewise.
9176         * wcsmbs/mbsnrtowcs.c: Likewise.
9177         * wcsmbs/mbsrtowcs.c: Likewise.
9178         * wcsmbs/wchar.h: Likewise.
9179         * wcsmbs/wcrtomb.c: Likewise.
9180         * wcsmbs/wcsmbsload.c: Likewise.
9181         * wcsmbs/wcsmbsload.h: Likewise.
9182         * wcsmbs/wcsnrtombs.c: Likewise.
9183         * wcsmbs/wcsrtombs.c: Likewise.
9184         * wcsmbs/wctob.c: Likewise.
9185
9186         * include/limits.h (MB_LEN_MAX): Increase to 16.
9187
9188         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
9189         _G_iconv_t.
9190         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9191         * include/wchar.h: Change mbstate_t to __mbstate_t.
9192
9193         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9194         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9195         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9196         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9197         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9198         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9199         and iofwide.
9200         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9201         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9202         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9203         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9204         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9205         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9206         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9207         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9208         GLIBC_2.2 for libc.
9209         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
9210         Extend _IO_file contain pointer to codecvt, widedata and mode.
9211         (_IO_getwc_unlocked): New macro.
9212         (_IO_putwc_unlocked): New macro.
9213         (_IO_fwide): New macro.
9214         * libio/libioP.h: Add new prototypes and adjust existing declarations.
9215         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9216         buffers based on mode.
9217         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9218         oriented.
9219         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9220         flag to be enough to signal unallocated buffer.  For wide oriented
9221         stream don't make it linebuffered.  Don't use _IO_do_flush, use
9222         _IO_new_do_write directly.
9223         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9224         (_IO_file_seek): Likewise.
9225         * libio/genops.c (_IO_least_marker): Make global.
9226         (__underflow): Orient stream if not already done.
9227         (__uflow): Likewise.
9228         (_IO_default_seekpos): Change to type _IO_off64_t.
9229         (_IO_default_seekoff): Likewise.
9230         (_IO_default_seek): Likewise.
9231         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
9232         in initialization.
9233         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
9234         to use _IO_off64_t.
9235         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
9236         char stream.
9237         * libio/ftello64.c: Likewise.
9238         * libio/ioftell.c: Likewise.
9239         * libio/iofopncook.c: Likewise.
9240         * libio/ioseekoff.c: Likewise.
9241         * libio/ioseekpos.c: Likewise.
9242         * libio/oldfileops.c: Likewise.
9243         * libio/iofgetpos.c: Store state of conversion if necessary.
9244         * libio/iofgetpos64.c: Likewise.
9245         * libio/iofsetpos.c: Restore conversion state if necessary.
9246         * libio/iofsetpos64.c: Likewise.
9247         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9248         * libio/iofopen.c: Likewise.
9249         * libio/iofopen64.c: Likewise.
9250         * libio/iopopen.c: Likewise.
9251         * libio/iovdprintf.c: Likewise.
9252         * libio/iovsprintf.c: Likewise.
9253         * libio/iovsscanf.c: Likewise.
9254         * libio/memstream.c: Likewise.
9255         * libio/obprintf.c: Likewise.
9256         * libio/iofputs.c: Orient stream if not already happened.
9257         * libio/iofputs_u.c: Likewise.
9258         * libio/iofwrite.c: Likewise.
9259         * libio/iofwrite_u.c: Likewise.
9260         * libio/ioputs.c: Likewise.
9261         * libio/iosetbuffer.c: Handle not yet oriented stream.
9262         * libio/iosetvbuf.c: Likewise.
9263         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9264         * libio/stdfiles.c: Likewise.
9265         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9266         failed allocation.
9267         (_IO_str_seekoff): Use _IO_off64_t.
9268         * libio/vasprintf.c: Pre-orient stream.
9269         * libio/vsnprintf.c: Likewise.
9270         * libio/fputwc.c: New file.
9271         * libio/fputwc_u.c: New file.
9272         * libio/fwprintf.c: New file.
9273         * libio/fwscanf.c: New file.
9274         * libio/getwc.c: New file.
9275         * libio/getwc_u.c: New file.
9276         * libio/getwchar.c: New file.
9277         * libio/getwchar_u.c: New file.
9278         * libio/iofgetws.c: New file.
9279         * libio/iofgetws_u.c: New file.
9280         * libio/iofputws.c: New file.
9281         * libio/iofputws_u.c: New file.
9282         * libio/iofwide.c: New file.
9283         * libio/iogetwline.c: New file.
9284         * libio/ioungetwc.c: New file.
9285         * libio/iovswscanf.c: New file.
9286         * libio/iowpadn.c: New file.
9287         * libio/oldiofgetpos.c: New file.
9288         * libio/oldiofgetpos64.c: New file.
9289         * libio/oldiofsetpos.c: New file.
9290         * libio/oldiofsetpos64.c: New file.
9291         * libio/putwc.c: New file.
9292         * libio/putwc_u.c: New file.
9293         * libio/putwchar.c: New file.
9294         * libio/putwchar_u.c: New file.
9295         * libio/swprintf.c: New file.
9296         * libio/swscanf.c: New file.
9297         * libio/tst_swprintf.c: New file.
9298         * libio/tst_swscanf.c: New file.
9299         * libio/tst_wprintf.c: New file.
9300         * libio/tst_wscanf.c: New file.
9301         * libio/tst_wscanf.input: New file.
9302         * libio/vswprintf.c: New file.
9303         * libio/vwprintf.c: New file.
9304         * libio/vwscanf.c: New file.
9305         * libio/wfiledoalloc.c: New file.
9306         * libio/wfileops.c: New file.
9307         * libio/wgenops.c: New file.
9308         * libio/wprintf.c: New file.
9309         * libio/wscanf.c: New file.
9310         * libio/wstrops.c: New file.
9311         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9312         vfwprintf, and vfwscanf.
9313         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9314         make global.
9315         * stdio-common/_itowa.c: New file.
9316         * stdio-common/_itowa.h: New file.
9317         * stdio-common/itoa-digits.c: Minimal optimization.
9318         * stdio-common/itowa-digits.c: New file.
9319         * stdio-common/printf-parse.h: Allow use in wide character context.
9320         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9321         * stdio-common/printf.h (printf_info): Add wide bit.
9322         * stdio-common/printf_fp.c: Determine from wide bit whether stream
9323         is wide oriented or not.
9324         * stdio-common/printf_size.c: Likewise.
9325         * sysdeps/generic/printf_fphex.c: Likewise.
9326         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9327         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9328         context.
9329         * stdio-common/vfscand.c: Likewise.
9330         * stdio-common/vfwprintf.c: New file.
9331         * stdio-common/vfwscanf.c: New file.
9332
9333         * time/Makefile (routines): Add wcsftime.
9334         (tests): Add tst_wcsftime.
9335         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9336         * time/strftime.c: Make usable as wcsftime.
9337         * time/wcsftime.c: New file.
9338         * time/tst_wcsftime.c: New file.
9339
9340         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9341         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9342         * wcsmbs/wcschrnul.c: New file.
9343         * wcsmbs/wmemcpy.c: New file.
9344         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9345         * wcsmbs/wmemmove.c: Likewise for wmemmove.
9346
9347         * manual/stdio.texi: Document is_char and wide element if printf_info.
9348
9349         * manual/time.texi: Document wcsftime.
9350
9351         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9352         __wmemmove, __wcschrnul, and __vfwscanf.
9353
9354         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9355         * locale/C-time.c: Adapt for above change.
9356         * locale/categories.def: Likewise.
9357         * locale/localeinfo.h: Likewise.
9358         * localedata/Makefile: Don't run tests for now.
9359
9360         * manual/errno.texi: Fix typos.
9361         * manual/memory.texi: Likewise.
9362         * manual/ctype.texi: Likewise.
9363         Patches by Brian Youmans <3diff@gnu.org>.
9364
9365 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9366
9367         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9368
9369 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9370
9371         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9372         word order.
9373         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9374         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9375
9376 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9377
9378         * db2/db/db.c: Restore __nss_db_open alias.
9379         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9380         include.
9381         * db2/os/os_rw.c (__os_write): Maintain const correctness.
9382         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9383
9384 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9385
9386         * stdio-common/printf-parse.h (parse_one_spec): Don't set
9387         is_longlong if not necessary.
9388
9389 1999-06-15  H.J. Lu  <hjl@gnu.org>
9390
9391         * Make-dist (sysdep_dirs): Exclude SCCS.
9392         * MakeTAGS (sysdep_dirs): Likewise.
9393
9394 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9395
9396         * posix/regex.c (re_error_msgid): Remove extra commas.
9397
9398 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
9399
9400         * stdlib/tst-strtoll.c: New file.
9401         * stdlib/Makefile (tests): Add tst-strtoll.c
9402         * stdlib/strtol.c: It is not generally true that if
9403         (unsigned)a*(unsigned)b overflows, then the result is
9404         less than 'a'.
9405
9406 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
9407
9408         * nscd/connections.c (handle_request): Only root is allowed to
9409         send GETSTAT request in non secure mode.
9410         * nscd/nscd.c: Print error message if other then root try to
9411         use getstat.
9412
9413 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9414
9415         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9416
9417 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9418
9419         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9420         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9421
9422 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9423
9424         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9425         for character to search, to help the compiler.
9426         * sysdeps/generic/strchrnul.c: Likewise.
9427         * sysdeps/generic/memchr.c: Likewise.
9428         * sysdeps/generic/memccpy.c: Likewise.
9429         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
9430
9431 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9432
9433         * sysdeps/m68k/memchr.S: New file.
9434         * sysdeps/m68k/rawmemchr.S: New file.
9435         * sysdeps/m68k/strchr.S: New file.
9436         * sysdeps/m68k/strchrnul.S: New file.
9437
9438 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
9439
9440         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9441         add `memory' clobber; optimise for constant `val'.
9442         (atomic_add): Likewise.
9443         (test_and_set): Remove `volatile'; add `memory' clobber; be more
9444         like the original `test_and_set'.
9445         (compare_and_swap): Remove `volatile'; add `memory' clobber;
9446         optimise for constant `oldval'.
9447         (always_swap): Remove `volatile'; add `memory' clobber.
9448
9449 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9450
9451         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9452         functions for gcc <= 2.7.x.
9453
9454 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
9455
9456         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9457         change.
9458
9459 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
9460
9461         * db2/Makefile (distribute): Remove files which do not exist
9462         anymore.
9463
9464         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9465         definitions to calm down gcc.
9466
9467         * db2/db.h: Update from db 2.7.5.
9468         * db2/db_185.h: Likewise.
9469         * db2/db_int.h: Likewise.
9470         * db2/btree/bt_compare.c: Likewise.
9471         * db2/btree/bt_conv.c: Likewise.
9472         * db2/btree/bt_curadj.c: Likewise.
9473         * db2/btree/bt_cursor.c: Likewise.
9474         * db2/btree/bt_delete.c: Likewise.
9475         * db2/btree/bt_open.c: Likewise.
9476         * db2/btree/bt_page.c: Likewise.
9477         * db2/btree/bt_put.c: Likewise.
9478         * db2/btree/bt_rec.c: Likewise.
9479         * db2/btree/bt_recno.c: Likewise.
9480         * db2/btree/bt_rsearch.c: Likewise.
9481         * db2/btree/bt_search.c: Likewise.
9482         * db2/btree/bt_split.c: Likewise.
9483         * db2/btree/bt_stat.c: Likewise.
9484         * db2/btree/btree_auto.c: Likewise.
9485         * db2/common/db_appinit.c: Likewise.
9486         * db2/common/db_apprec.c: Likewise.
9487         * db2/common/db_err.c: Likewise.
9488         * db2/common/db_region.c: Likewise.
9489         * db2/common/db_salloc.c: Likewise.
9490         * db2/db/db.c: Likewise.
9491         * db2/db/db.src: Likewise.
9492         * db2/db/db_am.c: Likewise.
9493         * db2/db/db_auto.c: Likewise.
9494         * db2/db/db_dispatch.c: Likewise.
9495         * db2/db/db_dup.c: Likewise.
9496         * db2/db/db_iface.c: Likewise.
9497         * db2/db/db_join.c: Likewise.
9498         * db2/db/db_overflow.c: Likewise.
9499         * db2/db/db_pr.c: Likewise.
9500         * db2/db/db_rec.c: Likewise.
9501         * db2/db/db_ret.c: Likewise.
9502         * db2/db185/db185.c: Likewise.
9503         * db2/dbm/dbm.c: Likewise.
9504         * db2/hash/hash.c: Likewise.
9505         * db2/hash/hash_auto.c: Likewise.
9506         * db2/hash/hash_dup.c: Likewise.
9507         * db2/hash/hash_page.c: Likewise.
9508         * db2/hash/hash_rec.c: Likewise.
9509         * db2/hash/hash_stat.c: Likewise.
9510         * db2/include/btree.h: Likewise.
9511         * db2/include/btree_ext.h: Likewise.
9512         * db2/include/clib_ext.h: Likewise.
9513         * db2/include/common_ext.h: Likewise.
9514         * db2/include/db_am.h: Likewise.
9515         * db2/include/db_auto.h: Likewise.
9516         * db2/include/db_cxx.h: Likewise.
9517         * db2/include/db_ext.h: Likewise.
9518         * db2/include/db_join.h: Likewise.
9519         * db2/include/db_page.h: Likewise.
9520         * db2/include/hash.h: Likewise.
9521         * db2/include/hash_ext.h: Likewise.
9522         * db2/include/lock.h: Likewise.
9523         * db2/include/lock_ext.h: Likewise.
9524         * db2/include/log.h: Likewise.
9525         * db2/include/log_ext.h: Likewise.
9526         * db2/include/mp.h: Likewise.
9527         * db2/include/mp_ext.h: Likewise.
9528         * db2/include/os.h: Likewise.
9529         * db2/include/os_ext.h: Likewise.
9530         * db2/include/os_func.h: Likewise.
9531         * db2/include/txn.h: Likewise.
9532         * db2/include/txn_auto.h: Likewise.
9533         * db2/include/txn_ext.h: Likewise.
9534         * db2/include/xa.h: Likewise.
9535         * db2/include/xa_ext.h: Likewise.
9536         * db2/lock/lock.c: Likewise.
9537         * db2/lock/lock_conflict.c: Likewise.
9538         * db2/lock/lock_deadlock.c: Likewise.
9539         * db2/lock/lock_region.c: Likewise.
9540         * db2/lock/lock_util.c: Likewise.
9541         * db2/log/log.c: Likewise.
9542         * db2/log/log_archive.c: Likewise.
9543         * db2/log/log_auto.c: Likewise.
9544         * db2/log/log_findckp.c: Likewise.
9545         * db2/log/log_get.c: Likewise.
9546         * db2/log/log_put.c: Likewise.
9547         * db2/log/log_rec.c: Likewise.
9548         * db2/log/log_register.c: Likewise.
9549         * db2/mp/mp_bh.c: Likewise.
9550         * db2/mp/mp_fget.c: Likewise.
9551         * db2/mp/mp_fopen.c: Likewise.
9552         * db2/mp/mp_fput.c: Likewise.
9553         * db2/mp/mp_fset.c: Likewise.
9554         * db2/mp/mp_open.c: Likewise.
9555         * db2/mp/mp_pr.c: Likewise.
9556         * db2/mp/mp_region.c: Likewise.
9557         * db2/mp/mp_sync.c: Likewise.
9558         * db2/mutex/mutex.c: Likewise.
9559         * db2/mutex/uts4_cc.s: Likewise.
9560         * db2/os/os_abs.c: Likewise.
9561         * db2/os/os_alloc.c: Likewise.
9562         * db2/os/os_config.c: Likewise.
9563         * db2/os/os_dir.c: Likewise.
9564         * db2/os/os_fid.c: Likewise.
9565         * db2/os/os_fsync.c: Likewise.
9566         * db2/os/os_map.c: Likewise.
9567         * db2/os/os_oflags.c: Likewise.
9568         * db2/os/os_open.c: Likewise.
9569         * db2/os/os_rw.c: Likewise.
9570         * db2/os/os_seek.c: Likewise.
9571         * db2/os/os_sleep.c: Likewise.
9572         * db2/os/os_spin.c: Likewise.
9573         * db2/os/os_stat.c: Likewise.
9574         * db2/os/os_tmpdir.c: Likewise.
9575         * db2/os/os_unlink.c: Likewise.
9576         * db2/progs/db_archive/db_archive.c: Likewise.
9577         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9578         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9579         * db2/progs/db_dump/db_dump.c: Likewise.
9580         * db2/progs/db_load/db_load.c: Likewise.
9581         * db2/progs/db_printlog/README: Likewise.
9582         * db2/progs/db_printlog/commit.awk: Likewise.
9583         * db2/progs/db_printlog/count.awk: Likewise.
9584         * db2/progs/db_printlog/db_printlog.c: Likewise.
9585         * db2/progs/db_printlog/pgno.awk: Likewise.
9586         * db2/progs/db_printlog/range.awk: Likewise.
9587         * db2/progs/db_printlog/status.awk: Likewise.
9588         * db2/progs/db_printlog/txn.awk: Likewise.
9589         * db2/progs/db_recover/db_recover.c: Likewise.
9590         * db2/progs/db_stat/db_stat.c: Likewise.
9591         * db2/txn/txn.c: Likewise.
9592         * db2/txn/txn.src: Likewise.
9593         * db2/txn/txn_auto.c: Likewise.
9594         * db2/txn/txn_rec.c: Likewise.
9595         * db2/xa/xa.c: Likewise.
9596         * db2/xa/xa_db.c: Likewise.
9597         * db2/xa/xa_map.c: Likewise.
9598
9599         * db2/btree/bt_close.c: Removed.
9600         * db2/db/db_thread.c: Likewise.
9601         * db2/hash/hash_debug.c: Likewise.
9602         * db2/include/db.h.src: Likewise.
9603         * db2/include/db_int.h.src: Likewise.
9604         * db2/include/os_jump.h: Likewise.
9605         * db2/mutex/alpha.dec: Likewise.
9606         * db2/mutex/alpha.gcc: Likewise.
9607         * db2/mutex/parisc.hp: Likewise.
9608         * db2/mutex/uts4.cc.s: Likewise.
9609
9610         * db2/Makefile: Add new routines, remove old for 2.7.5.
9611         * db2/Versions: Add internal function names for the helper programs.
9612         * db2/makedb.c: Update for new cursor callback.
9613         * Versions.def: Define versions for libdb.
9614
9615 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
9616
9617         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9618         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9619         * nscd/nscd_nischeck.c: New file.
9620         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9621
9622 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9623
9624         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9625         MSG_* flags from Linux 2.2.9.
9626
9627 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
9628
9629         * Makeconfig (static-start-installed-name): Set to
9630         $(start-installed-name) if not defined.
9631         (+link-static): Use $(static-start-installed-name) instead of
9632         $(start-installed-name).
9633         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9634         Set to crt0.o.
9635
9636 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
9637
9638         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9639         inserting a send right into the child instead of unconditionally
9640         copying the send right.
9641
9642 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
9643
9644         * locale/lc-time.c: Add free_mem function to free if necessary
9645         statically allocated memory.
9646
9647 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
9648
9649         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9650         bias from the raw exponent.
9651
9652 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
9653
9654         * inet/arpa/tftp.h: Move attribute declaration in right position.
9655
9656 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
9657
9658         * nscd/nscd.c: Add -S options for separate caching of data for
9659         every user. So one user couldn't see the data another user
9660         has gotten with his credentials.
9661         * nscd/nscd.h: Add new prototypes.
9662         * nscd/cache.c: Compare owner of cache entry if in secure mode.
9663         * nscd/connections.c: Check on shutdown if caller really was root.
9664         In secure mode get uid of caller.
9665         * nscd/grpcache.c: Add support for new secure group mode.
9666         * nscd/hstcache.c: Add support for new secure hosts mode.
9667         * nscd/pwdcache.c: Add support for new secure passwd mode.
9668
9669 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
9670
9671         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9672         of user-provided buffer.
9673
9674 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
9675
9676         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9677         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9678
9679 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
9680
9681         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9682         and A format.
9683
9684         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9685         returning after last entry.
9686         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9687
9688 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
9689
9690         * misc/sysexits.h: Remove advertising clause of copyright.
9691         * resolv/getnetnamadr.c: Likewise.
9692         * sysdeps/vax/bcopy.s: Likewise.
9693         * sysdeps/vax/bzero.s: Likewise.
9694         * sysdeps/vax/ffs.s: Likewise.
9695         * sysdeps/vax/memchr.s: Likewise.
9696         * sysdeps/vax/memcmp.s: Likewise.
9697         * sysdeps/vax/memmove.s: Likewise.
9698         * sysdeps/vax/memset.s: Likewise.
9699         * sysdeps/vax/strcat.s: Likewise.
9700         * sysdeps/vax/strchr.s: Likewise.
9701         * sysdeps/vax/strcmp.s: Likewise.
9702         * sysdeps/vax/strcpy.s: Likewise.
9703         * sysdeps/vax/strcspn.s: Likewise.
9704         * sysdeps/vax/strlen.s: Likewise.
9705         * sysdeps/vax/strncat.s: Likewise.
9706         * sysdeps/vax/strncmp.s: Likewise.
9707         * sysdeps/vax/strncpy.s: Likewise.
9708         * sysdeps/vax/strpbrk.s: Likewise.
9709         * sysdeps/vax/strrchr.s: Likewise.
9710         * sysdeps/vax/strsep.s: Likewise.
9711         * sysdeps/vax/strspn.s: Likewise.
9712         * sysdeps/vax/strstr.s: Likewise.
9713
9714         * libio/iofopncook.c: Adjust for renaming of structure elements.
9715         * libio/libio.h: Define cookie functions with all the names.
9716
9717         * pwd/fgetpwent_r.c: Set errno in the correct way.
9718         * shadow/fgetspent_r.c: Likewise.
9719         * pwd/fgetpwent.c: Handle long lines correctly.  Little
9720         optimizations.  Free static buffer when debugging memory handling.
9721         * shadow/fgetspent.c: Likewise.
9722
9723         * grp/fgetgrent.c: Little optimization in loop.
9724
9725 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9726
9727         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9728         in a different way.
9729
9730 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
9731
9732         * stdlib/longlong.h: gas changed sethi handling when without
9733         %hi(). Fix assembly.
9734         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9735         port specific cache id checks.
9736         * sysdeps/generic/dl-cache.h: New file.
9737         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9738
9739 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9740
9741         * gmon/gmon.c: Remove advertising clause of copyright.
9742         * gmon/mcount.c: Likewise.
9743         * gmon/sys/gmon.h: Likewise.
9744         * inet/arpa/ftp.h: Likewise.
9745         * inet/arpa/telnet.h: Likewise.
9746         * inet/arpa/tftp.h: Likewise.
9747         * inet/inet_lnaof.c: Likewise.
9748         * inet/inet_mkadr.c: Likewise.
9749         * inet/inet_net.c: Likewise.
9750         * inet/inet_netof.c: Likewise.
9751         * inet/protocols/routed.h: Likewise.
9752         * inet/protocols/rwhod.h: Likewise.
9753         * inet/protocols/talkd.h: Likewise.
9754         * inet/protocols/timed.h: Likewise.
9755         * inet/rcmd.c: Likewise.
9756         * inet/rexec.c: Likewise.
9757         * inet/ruserpass.c: Likewise.
9758         * io/fts.c: Likewise.
9759         * io/fts.h: Likewise.
9760         * login/login_tty.c: Likewise.
9761         * misc/fstab.h: Likewise.
9762         * misc/getttyent.c: Likewise.
9763         * misc/getusershell.c: Likewise.
9764         * misc/sys/queue.h: Likewise.
9765         * misc/sys/syslog.h: Likewise.
9766         * misc/syslog.c: Likewise.
9767         * misc/ttyent.h: Likewise.
9768         * misc/ttyslot.c: Likewise.
9769         * resolv/arpa/nameser.h: Likewise.
9770         * resolv/gethnamaddr.c: Likewise.
9771         * resolv/herror.c: Likewise.
9772         * resolv/inet_addr.c: Likewise.
9773         * resolv/mapv4v6addr.h: Likewise.
9774         * resolv/mapv4v6hostent.h: Likewise.
9775         * resolv/nss_dns/dns-host.c: Likewise.
9776         * resolv/nss_dns/dns-network.c: Likewise.
9777         * resolv/res_comp.c: Likewise.
9778         * resolv/res_data.c: Likewise.
9779         * resolv/res_debug.c: Likewise.
9780         * resolv/res_init.c: Likewise.
9781         * resolv/res_mkquery.c: Likewise.
9782         * resolv/res_query.c: Likewise.
9783         * resolv/res_send.c: Likewise.
9784         * resolv/resolv.h: Likewise.
9785         * sysdeps/generic/div.c: Likewise.
9786         * sysdeps/generic/netinet/ip.h: Likewise.
9787         * sysdeps/generic/netinet/tcp.h: Likewise.
9788         * sysdeps/generic/paths.h: Likewise.
9789         * sysdeps/generic/prof-freq.c: Likewise.
9790         * sysdeps/generic/sys/ttydefaults.h: Likewise.
9791         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9792         * sysdeps/gnu/netinet/tcp.h: Likewise.
9793         * sysdeps/ieee754/support.c: Likewise.
9794         * sysdeps/mach/hurd/sys/param.h: Likewise.
9795         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9796         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9797         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9798         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9799         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9800         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9801         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9802         * sysdeps/unix/sysv/linux/paths.h: Likewise.
9803         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9804         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9805         * sysdeps/vax/DEFS.h: Likewise.
9806         * termios/sys/ttychars.h: Likewise.
9807         * misc/daemon.c: Likewise.  Call fork.
9808
9809         * grp/fgetgrent.c (buffer): Make file local variable.
9810         (free_mem): New function.  Call for malloc debugging.
9811
9812         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9813
9814 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9815
9816         * grp/Makefile: Add rules for tst_fgetgrent.
9817
9818         * grp/tst_fgetgrent.c: Rewritten to read only one file.
9819
9820         * grp/tst_fgetgrent.sh: New file.
9821
9822 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9823
9824         * grp/Makefile (tests): Add tst_fgetgrent.
9825         * grp/tst_fgetgrent.c: New file.
9826         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9827
9828 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
9829
9830         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9831         be POSIX compliant.  Prior definition was broken for Hurd.
9832         Reported by Mark Kettenis <kettenis@gnu.org>.
9833
9834 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9835
9836         * ctype/ctype.h: Protect __tobody code by __extension__.
9837
9838 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9839
9840         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9841         reading and reset in case the buffer was too small.
9842
9843         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9844         of EOF.
9845
9846 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9847
9848         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9849         another SIOGIFNAME typo.
9850
9851 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9852
9853         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9854
9855         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9856         bit.
9857
9858 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9859
9860         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9861         the precision if the mantissa is zero.
9862
9863 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9864
9865         * manual/lang.texi (Floating Point Parameters): GCC already
9866         supports long double for a long time.
9867
9868 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9869
9870         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9871         yn_test): Increase some epsilons.
9872
9873 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9874
9875         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9876         parameters.
9877
9878 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
9879
9880         * sysdeps/unix/sysv/linux/kernel-features.h: Define
9881         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9882         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9883         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9884
9885         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9886         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9887         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9888         * sysdeps/libm-ieee754/w_j1.c: Likewise.
9889         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9890         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9891         * sysdeps/libm-ieee754/w_jn.c: Likewise.
9892         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9893         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9894
9895         * stdio-common/vfprintf.c: Correct typos.
9896
9897         * math/libm-test.c (jn_test): Adjust delta.
9898         (y1_test): Likewise.
9899         (yn_test): Likewise.
9900
9901         * elf/do-lookup.h: It should never happen that if we expect a versioned
9902         symbol from a file the file has no version table.  This should have
9903         been checked in dl-version.c.
9904         * elf/dl-lookup.c: Include assert.h.
9905
9906         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9907         function handling.
9908
9909         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9910
9911 1999-06-06  Andi Kleen  <ak@muc.de>
9912
9913         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9914         SA_RESTORER flag.
9915
9916 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9917
9918         * math/libm-test.c (yn_test): Change one delta.
9919         (jn_test): Likewise.
9920         (j1_test): Likewise.
9921         (y0_test): Likewise.
9922
9923 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
9924
9925         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9926         avoid multiple calls to getpagesize() which might be a syscall.
9927
9928 1999-06-06  Philip Blundell  <philb@gnu.org>
9929
9930         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9931
9932 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9933
9934         * manual/install.texi (Running make install): Correct typo in
9935         dynamic linker invocation.
9936
9937 1999-06-05  Philip Blundell  <philb@gnu.org>
9938
9939         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9940         problems with GOT addressing.
9941
9942 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
9943
9944         * malloc/malloc.c (check_action): Change into bitmap so that both
9945         diagnostic and abort can be requested by setting it to 3.
9946         (mALLOC_SET_STATe): Disable malloc checking if necessary.
9947
9948 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
9949
9950         * configure.in: Few changes for HPUX.
9951
9952         * scripts/config.guess: Update from latest version.
9953         * scripts/config.sub: Likewise.
9954
9955 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9956
9957         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9958         map files.  Closes PR libc/1147.
9959
9960 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9961
9962         * math/libm-test.c (main): Add new test functions.
9963         (jn_test): New tests.
9964         (j1_test): Add some more tests.
9965         (j0_test): Add some more tests.
9966         (y0_test): Add some more tests.
9967         (y1_test): Add some more tests.
9968
9969 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9970
9971         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9972         Patch by mhagger@dera.gov.uk [PR libc/1145].
9973
9974         * math/libm-test.c (y1_test): New tests.
9975         (y0_test): Likewise.
9976         (j1_test): Likewise.
9977         (j0_test): Likewise.
9978         (main): Added new tests.
9979
9980 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
9981
9982         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9983         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9984         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9986         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9987         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9988
9989 1999-06-02  David S. Miller  <davem@redhat.com>
9990
9991         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9992         pointers properly.
9993
9994 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
9995
9996         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9997         and elide compatibility code if possible.
9998
9999 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
10000
10001         * manual/llio.texi: Remove menu entry for removed section.
10002
10003 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10004
10005         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
10006         variables.
10007
10008 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10009
10010         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
10011         (from Linux 2.3.4).
10012
10013 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
10014
10015         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
10016
10017 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10018
10019         * manual/stdio.texi: Fix some typos.
10020
10021 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10022
10023         * malloc/malloc.h: Properly handle future GCC versions.
10024
10025 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10026
10027         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
10028         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
10029         text of error message.
10030
10031         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
10032
10033 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
10034
10035         * manual/filesys.texi: Extend (f)truncate documentation.
10036         * manual/llio.texi: Remove duplicate (f)truncate definition.
10037
10038 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10039
10040         * manual/stdio.texi (Formatted Output Functions): Mention
10041         semantics of snprintf in glibc 2.0.
10042         Reported by Ben Pfaff <pfaffben@msu.edu>.
10043
10044 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
10045
10046         * include/features.h (__GLIBC_MINOR__): Bump to 2.
10047
10048 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
10049
10050         * math/libm-test.c: Adjust a few more deltas for the poor ARM
10051         FPU emulator.
10052
10053 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10054
10055         * configure.in: Fix typo.
10056
10057 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10058
10059         * manual/socket.texi (Host Names): Remove statement that h_errno
10060         needs to be declared since this isn't true anymore.
10061         Closes PR libc/1138.
10062
10063 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
10064
10065         * config.h.in: Add __LINUX_KERNEL_VERSION.
10066         * configure.in: Recognize --enable-kernel.
10067         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10068         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10069         appropriately.
10070         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10071         given perform runtime test.
10072
10073         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10074         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10075         minimal supported kernel is known to have the feature.
10076         * sysdeps/unix/sysv/linux/poll.c: Likewise.
10077         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10078         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10079         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10080         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10081         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10082         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10083         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10084         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10085         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10086         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10087         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10088         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10089         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10090         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10091
10092         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10093
10094 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10095
10096         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10097
10098 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
10099
10100         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10101         Optimized sparc64 routines.
10102
10103 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10104
10105         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10106         they are the same as ints.
10107         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10108
10109         * version.h (VERSION): Bump to 2.1.90.
10110         (RELEASE): Mark as development.
10111
10112         * stdio-common/vfprintf.c (vfprintf): Don't implement special
10113         handling for long long if it is the same as long.
10114         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10115
10116         * stdlib/strtol.c: Moved to ...
10117         * sysdeps/generic/strtol.c: ...here.
10118         * stdlib/strtoul.c: Moved to ...
10119         * sysdeps/generic/strtoul.c: ...here.
10120         * stdlib/strtoll.c: Moved to ...
10121         * sysdeps/generic/strtoll.c: ...here.
10122         * stdlib/strtoull.c: Moved to ...
10123         * sysdeps/generic/strtoull.c: ...here.
10124         * stdlib/strtol_l.c: Moved to ...
10125         * sysdeps/generic/strtol_l.c: ...here.
10126         * stdlib/strtoul_l.c: Moved to ...
10127         * sysdeps/generic/strtoul_l.c: ...here.
10128         * stdlib/strtoll_l.c: Moved to ...
10129         * sysdeps/generic/strtoll_l.c: ...here.
10130         * stdlib/strtoull_l.c: Moved to ...
10131         * sysdeps/generic/strtoull_l.c: ...here.
10132
10133         * sysdeps/wordsize-64/strtol.c: New file.
10134         * sysdeps/wordsize-64/strtoul.c: New file.
10135         * sysdeps/wordsize-64/strtoll.c: New file.
10136         * sysdeps/wordsize-64/strtoull.c: New file.
10137         * sysdeps/wordsize-64/strtol_l.c: New file.
10138         * sysdeps/wordsize-64/strtoul_l.c: New file.
10139         * sysdeps/wordsize-64/strtoll_l.c: New file.
10140         * sysdeps/wordsize-64/strtoull_l.c: New file.
10141
10142         * wcsmbs/wcstol.c: Moved to ...
10143         * sysdeps/generic/wcstol.c: ...here.
10144         * wcsmbs/wcstoul.c: Moved to ...
10145         * sysdeps/generic/wcstoul.c: ...here.
10146         * wcsmbs/wcstoll.c: Moved to ...
10147         * sysdeps/generic/wcstoll.c: ...here.
10148         * wcsmbs/wcstoull.c: Moved to ...
10149         * sysdeps/generic/wcstoull.c: ...here.
10150         * wcsmbs/wcstol_l.c: Moved to ...
10151         * sysdeps/generic/wcstol_l.c: ...here.
10152         * wcsmbs/wcstoul_l.c: Moved to ...
10153         * sysdeps/generic/wcstoul_l.c: ...here.
10154         * wcsmbs/wcstoll_l.c: Moved to ...
10155         * sysdeps/generic/wcstoll_l.c: ...here.
10156         * wcsmbs/wcstoull_l.c: Moved to ...
10157         * sysdeps/generic/wcstoull_l.c: ...here.
10158
10159         * sysdeps/wordsize-64/wcstol.c: New file.
10160         * sysdeps/wordsize-64/wcstoul.c: New file.
10161         * sysdeps/wordsize-64/wcstoll.c: New file.
10162         * sysdeps/wordsize-64/wcstoull.c: New file.
10163         * sysdeps/wordsize-64/wcstol_l.c: New file.
10164         * sysdeps/wordsize-64/wcstoul_l.c: New file.
10165         * sysdeps/wordsize-64/wcstoll_l.c: New file.
10166         * sysdeps/wordsize-64/wcstoull_l.c: New file.
10167
10168 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
10169
10170         * sysdeps/sparc/bits/wordsize.h: New file.
10171         * sysdeps/sparc/fpu/bits/fenv.h: New file.
10172         * sysdeps/sparc/fpu/fpu_control.h: New file.
10173         * sysdeps/sparc/gmp-mparam.h: New file.
10174
10175         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10176         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10177         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10178         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10179         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10180         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10181
10182         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10183         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10184         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10185         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10186
10187         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10188         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10189         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10190         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10191         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10192
10193 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
10194
10195         * login/openpty.c (openpty): Make sure pty does not because
10196         controlling TTY.
10197
10198         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10199
10200 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
10201
10202         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10203         Do proper error return.
10204
10205 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10206
10207         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10208         of __P in the rest of glibc; define __MALLOC_PMT and use it.
10209         Reported by Stephan Kulow <coolo@kde.org>.
10210
10211 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
10212
10213         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10214
10215         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10216
10217 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10218
10219         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10220         names to protect from user's macro namespace.
10221         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10222         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10223         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10224         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10225         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10226         Adapted.
10227         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10228         sysdeps/arm/fpu/fesetenv.c: Likewise.
10229         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10230         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10231         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10232         * sysdeps/mips/fesetenv.c: Likewise.
10233
10234 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
10235
10236         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10237
10238 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
10239
10240         * configure.in: Recognize and allow gcc 2.95.
10241
10242 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10243
10244         * sysdeps/generic/bits/elfclass.h: Version common to
10245         wordsize-32 and wordsize-64.
10246         * sysdeps/generic/bits/environments.h: Ditto.
10247         * sysdeps/generic/stdint.h: Ditto.
10248         * sysdeps/generic/inttypes.h: Ditto.
10249
10250         * sysdeps/generic/bits/wordsize.h: New file.
10251         * stdlib/Makefile: Add bits/wordsize.h to headers.
10252
10253         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10254
10255         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10256         headers to be used for 32bit and 64bit ABI compilations.
10257         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10258         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10259         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10260         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10261         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10262
10263         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10264         * sysdeps/wordsize-64/bits/environments.h: Remove.
10265         * sysdeps/wordsize-64/stdint.h: Remove.
10266         * sysdeps/wordsize-64/inttypes.h: Remove.
10267         * sysdeps/wordsize-64/bits/wordsize.h: New file.
10268
10269         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10270         * sysdeps/wordsize-32/bits/environments.h: Remove.
10271         * sysdeps/wordsize-32/stdint.h: Remove.
10272         * sysdeps/wordsize-32/inttypes.h: Remove.
10273         * sysdeps/wordsize-32/bits/wordsize.h: New file.
10274
10275 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10276
10277         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10278         __align_cpy_16): New functions.
10279         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10280
10281         * sysdeps/sparc/sparc32/Versions: New file.
10282         * sysdeps/sparc/sparc64/Versions: New file.
10283         * sysdeps/sparc/Versions: Remove.
10284
10285 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10286
10287         * sysdeps/unix/sysv/linux/configure.in:
10288         On sparc64-*-linux*, set slibdir to /lib64 if prefix
10289         is /usr, plus set libdir to ${exec_prefix}/lib64.
10290         * sysdeps/unix/sysv/linux/configure: Regenerated.
10291         * config.make.in: Propagate libdir settings from configure
10292         to the Makefiles.
10293         * shlib-versions: sparc64-*-linux* dynamic linker is
10294         /lib64/ld-linux.so.2.
10295
10296 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
10297
10298         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10299         RPC connection.
10300
10301 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
10302
10303         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10304         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10305
10306         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10307         contains garbage in bits 8-63.
10308         * sysdeps/sparc/sparc64/memset.S: Ditto.
10309         * sysdeps/sparc/sparc64/strchr.S: Ditto.
10310
10311 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
10312
10313         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10314
10315 1999-05-17  David S. Miller  <davem@redhat.com>
10316
10317         * sysdeps/sparc/sparc32/atomicity.h: New file.
10318         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10319         * sysdeps/sparc/sparc64/atomicity.h: New file.
10320         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10321         sysdep-CFLAGS.
10322
10323 1999-05-18  Richard Henderson  <rth@twiddle.net>
10324
10325         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
10326
10327 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10328
10329         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10330         posix/sys/types.h: Handle the case of __GNUC__=3,
10331         __GNUC_MINOR__=(anything).
10332
10333 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10334
10335         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10336         if _FORCE_INLINES.
10337
10338 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10339
10340         * elf/Makefile (distribute): Remove dl-origin.h.
10341         Add dl-dst.h and gen-trusted-dirs.awk.
10342
10343 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10344
10345         * sysdeps/i386/i486/Versions: New file with inline functions from
10346         sysdeps/i386/i486/bits/string.h for now.
10347
10348         * sysdeps/i386/Versions: Add inline functions from
10349         sysdeps/i386/bits/string.h.
10350
10351         * string/Versions: Add inline functions from <bits/string2.h>.
10352
10353         * string/Makefile (routines): Add string-inlines.
10354         * string/string-inlines.c: New file, used for implementation of
10355         extern inline functions.
10356
10357         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10358         non inlined versions of functions.
10359         * string/bits/string2.h: Likewise.
10360         * sysdeps/i386/bits/string.h: Likewise.
10361
10362 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10363
10364         * inet/arpa/tftp.h: Add second packed attribute.
10365
10366 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10367
10368         * malloc/malloc.c: Cleanup to bring in line with released
10369         stand-alone version `ptmalloc'.  Update some comments.
10370         (internal_function): Move fallback definition so that the source
10371         compiles outside of libc, and use it in more places.
10372         (malloc_atfork): Fix when malloc_check is in use.
10373
10374 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10375
10376         * stdlib/tst-strtod.c: Fix typo.
10377
10378 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10379
10380         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10381         const incorrectness.
10382
10383 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10384
10385         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10386
10387 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
10388
10389         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10390         * sunrpc/key_call.c: Fix memory leak, close file handle.
10391         * nis/nis_creategroup.c: Use malloc instead of calloc,
10392         set ctime and mtime.
10393         * nis/nis_subr.c: Check for realloc result.
10394         * nis/nis_file.c: Fix memory leak.
10395         * nis/nis_table.c: Pretty print.
10396         * nis/nis_getservlist.c: Likewise.
10397         * nis/nis_ismember.c: Likewise.
10398         * nis/nis_lookup.c: Likewise.
10399         * nis/nis_ping.c: Likewise.
10400         * nis/nis_removemember.c: Likewise.
10401         * nis/nis_util.c: Likewise, check calloc result.
10402
10403 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10404
10405         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10406         * sysdeps/generic/sys/socketvar.h: ... here.
10407         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10408         * sysdeps/generic/netinet/in_systm.h: ... here.
10409         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10410         sys/socketvar.h.
10411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10412         * inet/Makefile (headers): Add netinet/in_systm.h here.
10413         * socket/Makefile (headers): Add sys/socketvar.h here.
10414
10415 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
10416
10417         * stdlib/strtol.c: Optimize inner loop of long long versions.
10418
10419         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10420         Unix98.  Add forward declaration of struct utmp.
10421
10422 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10423
10424         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10425         calloc.
10426
10427         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10428         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
10429         memory allocation results.
10430
10431 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
10432
10433         * sysdeps/generic/getutmp.c: Include <string.h>
10434         (getutmp): Rewrite to only copy those members that are really
10435         present in `struct utmp'.
10436         * sysdeps/generic/getutmpx.c: Likewise.
10437
10438 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10439
10440         * nss/getXXbyYY.c: Add free_mem function which disposes all
10441         statically allocated memory when debugging.
10442         * nss/getXXent.c: Likewise.
10443         * nss/nsswitch.c: Likewise.
10444
10445 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
10446
10447         * sysdeps/gnu/getutmpx.c: New file.
10448         * sysdeps/gnu/getutmp.c: New file.
10449
10450 1999-05-13  H.J. Lu  <hjl@gnu.org>
10451
10452         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10453         (getutmp): Likewise.
10454
10455         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10456         getutmpx for login.
10457
10458         * sysdeps/gnu/utmpx.h (getutmp): Added.
10459         (getutmpx): Likewise.
10460
10461         * sysdeps/generic/getutmp.c: New file.
10462
10463         * sysdeps/generic/getutmpx.c: New file.
10464
10465 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10466
10467         * glibcbug.in (BUGGLIBC): Change address to
10468         libc-alpha@sourceware.cygnus.com.
10469
10470 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10471
10472         * resolv/arpa/nameser.h: Add C++ protectors.
10473
10474 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10475
10476         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
10477         Elad Tsur <eladts@post.tau.ac.il>.
10478
10479 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
10480
10481         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10482         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10483         lazily if LD_BIND_NOW is not set.
10484         * elf/dl-support.c (_dl_lazy): New variable.
10485         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10486         * elf/rtld.c (_dl_lazy): new global variable.
10487         ( dl_main): Remove lazy, replace it by _dl_lazy.
10488
10489 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10490
10491         * locale/setlocale.c (new_composite_name): Check also whether the
10492         first category name differs.
10493
10494 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10495
10496         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10497         the generic one.
10498
10499 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
10500
10501         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10502         structure; storage suitable for any socket address.
10503         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10504         Likewise.
10505         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10506         sockaddr_storage): Likewise.
10507
10508         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10509         platform.
10510
10511 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
10512
10513         * hesiod/Versions: Change _nss_hesiod_getpwuid and
10514         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10515         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
10516
10517 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
10518
10519         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10520         if the file is empty.
10521
10522 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
10523
10524         * elf/do-lookup.h: Fix typo in comment.
10525
10526         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10527         f_bsize to help some broken programs.
10528
10529         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10530
10531         * stdio-common/vfprintf.c: Fix typo.
10532
10533 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
10534
10535         * elf/link.h (struct link_map): New field l_phdr_allocated.
10536         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10537         the program header being part of any loaded segment.  If it is not
10538         allocate memory and set l_phdr_allocated flag.
10539         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10540
10541         * nss/digits_dots.c: Correct return value interpretation of
10542         inet_ntoa.  Fix PR libc/1109.
10543
10544 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
10545
10546         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10547
10548 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
10549
10550         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10551         * stdlib/fpioconst.c: Move #endif before end of struct.
10552
10553 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
10554
10555         * Versions.def (ld.so): Add GLIBC_2.1.1.
10556         * elf/Makefile (routines): Add dl-origin.
10557         (tests): Add origtest.  Add dependencies for the program.
10558         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10559         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10560         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
10561         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10562         DT_AUXILIARY, and DT_FILTER filenames.
10563         * elf/dl-load.c (expand_dynamic_string_token): Explode into
10564         two functions and three macros.
10565         (_dl_dst_count, _dl_dst_substitute): New functions.
10566         * elf/dl-dst.h: New file.
10567         * elf/dl-open.c (_dl_open): Take extra parameter with address of
10568         caller.  Pass address in args structure.
10569         (dl_open_worker): Recognize and expand DSTs in filename.
10570         * elf/ldsodefs.h (_dl_open): Adapt prototype.
10571         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10572         (__dlopen_check): Pass caller address to dlopen_doit in args.
10573         * elf/dlopendoit.c: Likewise.
10574         * iconv/gconv_dl.c: Adapt call of _dl_open.
10575         * nss/nsswitch.c: Likewise.
10576         * elf/origtest.c: New file.
10577         * sysdeps/generic/dl-origin.h: Moved to...
10578         * sysdeps/generic/dl-origin.c: ...here.
10579         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10580         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10581
10582         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10583         with specific bases and only few bits set in second word.
10584
10585         * timezone/Makefile (install-others): Create target directory
10586         before creating tzfiles.
10587
10588 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
10589
10590         * nis/nis_file.c (readColdStartFile): Allocate memory only after
10591         the file is opened successfully.
10592
10593         * nis/nis_table.c: Fix some memory leaks.
10594
10595 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
10596
10597         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10598         variable.
10599
10600         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10601         around DST.  Correctly ignore ORIGIN IN SUID binaries.
10602
10603 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
10604
10605         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10606         * sysdeps/generic/strtok.c: Likewise.
10607
10608         * string/tester.c: Add test of rawmemchr.
10609
10610         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10611         specification.  It's not necessary.
10612
10613         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10614         * elf/gen-trusted-dirs.awk: New file.
10615         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
10616         from SYSTEM_DIRS macro.
10617         (system_dirs_len): New variable.  Contains lengths of system_dirs
10618         strings.
10619         (fillin_rpath): Rewrite for systems_dirs being a simple string.
10620         Improve string comparisons.  Change parameter trusted to be a flag.
10621         Change all callers.
10622         (_dt_init_paths): Improve using new format for system_dirs.
10623
10624         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10625         $ORIGIN for SUID binaries.
10626
10627         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10628
10629 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10630
10631         * sunrpc/Makefile: Generate dependencies for all flavors of
10632         librpcsvc objects.
10633         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10634         invocations.
10635
10636 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10637
10638         * elf/dlopenold.c: Move #if down after includes to get
10639         dependencies right.
10640
10641 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10642
10643         * sysdeps/generic/bzero.c: Undefine __bzero.
10644
10645 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
10646
10647         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10648         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10649         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10650         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10651
10652         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10653         parameter to struct gaih_servtuple *.  Adapt appropriately.
10654         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10655         This fixes a memory leak.
10656         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10657
10658         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10659         and fpregset_t definition.  They are defined in ucontext.h.
10660
10661 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10662
10663         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10664         and struct ether_header must be packed on the ARM.  The default
10665         alignment constraints add padding to the end of the structures.
10666
10667 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10668
10669         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
10670         default alignment constraints add padding to the end of the
10671         structure and between members.
10672
10673 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
10674
10675         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10676         _dl_cache_libcmp instead of strcmp.
10677
10678         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10679         fails on a file.
10680         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10681
10682 1998-03-30  Joel Klecker  <espy@debian.org>
10683
10684         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10685         (sysdep-others,install-bin): Add lddlibc4.
10686
10687 1999-05-02  H.J. Lu  <hjl@gnu.org>
10688
10689         * timezone/zic.c (dolink): Remove the symlink destination first.
10690
10691         * catgets/open_catalog.c (__open_catalog): Set catalog->status
10692         to "nonexisting" if failed to open the file.
10693
10694 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
10695
10696         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10697         gcc3.
10698
10699         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10700         Prevent warnings from multiplication with 0x01010101 by another cast.
10701
10702 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10703
10704         * string/bits/string2.h (memset): Revert to previous version if
10705         unaligned writes are not available.
10706
10707 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10708
10709         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10710         better code in presence of the asm.
10711
10712 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10713
10714         * stdlib/fmtmsg.c (keywords): Increase array size for faster
10715         indexing.
10716
10717         * locale/localeinfo.h (_nl_category_names): Increase array element
10718         size for faster indexing.
10719         * locale/setlocale.c (_nl_category_names): Adjusted.
10720
10721 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10722
10723         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10724
10725 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10726
10727         * sysdeps/m68k/stackinfo.h: New file.
10728
10729 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10730
10731         * string/tester.c (test_strchrnul): New function.
10732         (test_memset): Test one more special case.
10733
10734         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10735         25% of all cases.
10736
10737         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10738         base types.
10739
10740         * string/bits/string2.h: Fix bugs I introduced in last change.
10741
10742         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10743         register stall.
10744         Extend memset optimization.
10745         Correct i686 version of memchr.
10746
10747 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
10748
10749         * sysdeps/i386/bzero.c: Add #undef __bzero.
10750
10751         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10752         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10753         exec server simulated a SIGTRAP before we even started up, so gdb is
10754         already happy.
10755
10756 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10757
10758         * nss/digits_dots.c: Always initialize not_ok.
10759
10760 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
10761
10762         * string/bits/string2.h (memset): Avoid arithmetic overflow at
10763         compile time, which produces obnoxious warnings.  If GCCv2 is
10764         in use, map __bzero to __builtin_memset to enable that
10765         optimization.
10766
10767 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10768
10769         * string/bits/string2.h: Add more memset optimizations.
10770
10771         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10772
10773         * resolv/inet_pton.c (inet_pton4): Little optimizations.
10774         (inet_pton6): Likewise.
10775
10776         * nss/getXXbyYY_r.c: Include assert.h.
10777         * nss/getXXbyYY.c: Likewise.
10778
10779 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10780
10781         * termios/tcgetsid.c (tcgetsid): Rename variable to
10782         tiocgsid_does_not_work.
10783
10784 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10785
10786         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10787
10788 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10789
10790         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10791         This allows e.g. gethostbyname to accept "10.1234".
10792         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10793
10794         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10795         non quad IPv4 numbers.
10796
10797 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10798
10799         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10800
10801 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10802
10803         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10804         * argp/argp-parse.c (_argp_hang): Likewise.
10805         * argp/argp-pv.c (argp_program_version): Likewise.
10806         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10807         * inet/ether_hton.c (ether_hton, startp): Likewise.
10808         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10809         * inet/getnetgrent_r.c (setup, startp): Likewise.
10810         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10811         * intl/localealias.c (string_space, string_space_act, string_space_max,
10812         nmap, maxmap): Likewise.
10813         * libio/iopopen.c (proc_file_chain): Likewise.
10814         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10815         * locale/lc-collate.c (__collate_table, __collate_extra,
10816         __collate_element_hash, __collate_element_strings,
10817         __collate_element_values): Likewise.
10818         * malloc/mcheck.c (mcheck_used): Likewise.
10819         * malloc/mtrace.c (added_atexit_handler): Likewise.
10820         * malloc/set-freeres.c (already_called): Likewise.
10821         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10822         * misc/syslog.c (LogStat, LogTag): Likewise.
10823         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10824         * nss/getXXbyYY_r.c (startp): Likewise.
10825         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10826         * posix/regex.c (init_syntax_once) [done]: Likewise.
10827         (debug): Likewise.
10828         * string/strfry.c (init): Likewise.
10829         * sunrpc/svc_run.c (svc_top): Likewise.
10830         * posix/euidaccess.c (have_ids): Likewise.
10831         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10832         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10833         * time/getdate.c (getdate_err): Likewise.
10834         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10835         Likewise.
10836         * time/tzset.c (old_tz, is_initialized): Likewise.
10837
10838         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10839         of static data with zero.
10840         * signal/allocrtsig.c (init): Likewise.
10841
10842         * string/Makefile (routines): Add strchrnul.
10843         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10844         * string/string.c: Add strchrnul prototype.
10845         * include/string.h: Add __strchrnul prototype.
10846         * sysdeps/generic/strchrnul.c: New file.
10847         * sysdeps/i386/strchrnul.S: New file.
10848         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10849         * sysdeps/i386/i486/bits/string.c: Likewise.
10850         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10851         * inet/ether_line.c (ether_line): Likewise.
10852         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10853         * nss/nsswitch.c (nss_parse_file): Likewise.
10854         * posix/execvp.c (execvp): Likewise.
10855         * posix/fnmatch.c (internal_fnmatch): Likewise.
10856         * resolv/res_hconf.c (_res_hconv_init): Likewise.
10857         * resolv/res_init.c (res_init): Likewise.
10858         * stdlib/fmtmsg.c (init): Likewise.
10859         * stdlib/getsubopt.c (getsubopt): Likewise.
10860
10861         * catgets/catgets.c (catopen): Only allocate one memory block.
10862         (catclose): Only one free call necessary.
10863
10864         * catgets/open_catalog.c (__open_catalog): Simplify handling of
10865         file descriptor.
10866
10867         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10868         of real functions.  Simplify _tolower and _toupper.
10869
10870         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10871         variable.
10872
10873         * iconv/gconv.h (struct gconv_info): Change data element from pointer
10874         to array of size 0.
10875         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10876         * iconv/gconv_close.c (__gconv_close): Don't free data.
10877
10878         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10879         insert new alias.
10880
10881         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
10882         for error while inserting in tree.
10883
10884         * include/time.h: Pretty print.
10885
10886         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10887         in table and lots of relocations.
10888         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10889         string pointers in table and lots of relocations.
10890
10891         * intl/finddomain.c: Remove definition of strchr macro.
10892
10893         * io/ftw.c (nftw_arr, ftw_arr): Make const.
10894
10895         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10896
10897         * locale/localeinfo.h (_nl_category_names): Change into an array with
10898         fixed width char string elements.
10899         * locale/setlocale.c (_nl_category_names): Likewise.
10900         (_nl_current): Make global.
10901         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
10902
10903         * malloc/Makefile (distribute): Add stackinfo.h.
10904         * sysdeps/generic/stackinfo.h: New file.
10905         * sysdeps/i386/stackinfo.h: New file.
10906         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10907         * posix/execle.c: Likewise.
10908         * posix/execlp.c: Likewise.
10909
10910         * nis/nis_table.c (__create_ib_request): Always use realloc.
10911
10912         * posix/execvp.c (execute): Rename to script_execute and keep only
10913         code to execute using shell.
10914         (execvp): Call execv directly and only fall back on script_execute.
10915
10916         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10917         and always use xdigits instead.
10918
10919         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10920         where appropriate.
10921
10922         * stdlib/fpioconst.h (__tens): New declaration.
10923         (struct mp_power): Remove array, add arrayoff element.
10924         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10925         __tens array and add in _fpioconst_pow10 offsets into __tens.
10926         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10927         * stdlib/strtod.c: Likewise.
10928
10929         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10930
10931         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10932         of the list.
10933         * stdlib/atexit.c (__exit_funcs): Don't initialize.
10934
10935         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10936
10937         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10938         a single and an array with offsets.
10939
10940         * sunrpc/des_soft.c (partab): Make it const.
10941
10942         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10943         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10944         (__key_decryptsession_pk_LOCAL): Likewise.
10945         (__key_gendes_LOCAL): Likewise.
10946         (MESSENGER): Mark const.
10947         (key_call_private_main): Don't initialize with 0.
10948         (use_keyenvoy): Don't initialize with 0.
10949         (key_call): Rewrite to reverse logic of use_doors variable.
10950
10951         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10952         (startp): Don't initialize with zero.
10953
10954         * sunrpc/openchild.c (_openchild): Make first argument const.
10955
10956         * sunrpc/pmap_rmt.c (timeout): Mark const.
10957         * sunrpc/xcrypt.c (hex): Likewise.
10958
10959         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10960         initialization of global variables.
10961         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10962         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10963         * termios/tcgetsid.c: Likewise.
10964
10965         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10966         fxsr to osfxsr.
10967
10968         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10969         block.  Add function to free memory if wanted.
10970         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10971
10972         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10973
10974         * wcsmbs/wmemset.c: Little code optimization.
10975
10976 1999-04-23  Paul Eggert  <eggert@twinsun.com>
10977
10978         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10979         ifdef _LIBC.
10980
10981 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
10982
10983         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10984         implementation and just always fail with ENOSYS.  This entry point is
10985         obsolete.  Add link warning to that effect.
10986
10987 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
10988
10989         * hurd/get-host.c: Include <hurd/lookup.h>.
10990
10991 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10992
10993         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10994         is != NULL.
10995
10996 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10997
10998         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10999         ISO C9x and Unix98.
11000
11001 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11002
11003         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
11004         Patch by Peter Miller <millerp@canb.auug.org.au>.
11005
11006 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
11007
11008         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
11009         prefers loopback device.
11010
11011 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11012
11013         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
11014         no_leading_period change.
11015
11016         * posix/testfnm.c: More test cases.
11017
11018 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
11019
11020         * include/dirent.h: Remove __getdirentries declaration, add __getdents
11021         and __getdents64.
11022         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
11023         * sysdeps/unix/readdir_r.c: Likewise.
11024         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11025         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11026         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
11027         __getdirentries.  Remove fourth argument.
11028         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
11029         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
11030         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
11031         Add getdirentries and getdirentries64.
11032         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
11033
11034         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
11035         pointer in case of an invalid [[: expression.
11036
11037         * posix/testfnm.c: Add more test cases.
11038
11039 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
11040
11041         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
11042         set, pass EXEC_SIGTRAP flag in exec RPC.
11043
11044 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11045
11046         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
11047         extra parameter.  Fix several more bugs involving wildcard and
11048         ranges.
11049         (fnmatch): New function.  Call internal_fnmatch.
11050
11051         * posix/testfnm.c: More test cases.
11052
11053 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11054
11055         * manual/install.texi (Configuring and compiling): Explain that
11056         files are changed in the source directory.
11057         Closes PR libc/981.
11058         (Configuring and compiling): Explain situation with PARALLELMFLAGS
11059         in the source directory.
11060
11061 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11062
11063         * locale/programs/ld-ctype.c: Spelling fixes.
11064         (ctype_finish): Fix argument of error message format.
11065         * locale/programs/ld-messages.c: Spelling fixes.
11066         * locale/programs/ld-monetary.c: Spelling fixes.
11067         * locale/programs/ld-time.c (time_finish): Make sure that name and
11068         format of era_entries are adjacent.
11069         (time_output): Reduce the size of the io vector.
11070
11071 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11072
11073         * manual/filesys.texi (Attribute Meanings): Move a misplaced
11074         paragraph.
11075
11076 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11077
11078         * locale/programs/ld-collate.c (collate_output): Convert
11079         undefined_offset to an array index.  Fix computation of other
11080         endian extra table.
11081
11082 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
11083
11084         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11085         return success with empty value.
11086
11087 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11088
11089         * posix/fnmatch.c: Include string.h also for glibc.
11090         (fnmatch, case '?'): Optimize if cascades a bit.
11091         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11092
11093         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11094
11095 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
11096
11097         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11098         * iconv/gconv_int.h: Declare UTF16 functions.
11099         * iconv/gconv_simple.c: Add UTF16 conversion functions.
11100
11101 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11102
11103         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11104         be used correctly as parameter for parse_dollars/parse_tilde.
11105
11106 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11107
11108         * manual/conf.texi (Utility Limits): Remove duplicate description
11109         of BC_DIM_MAX.
11110
11111 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
11112
11113         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11114         outbufend for dst==NULL.
11115
11116 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11117
11118         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11119         for dst==NULL.
11120         Fixes PR libc/1084.
11121
11122         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11123         Fixes PR libc/1083.
11124
11125 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
11126
11127         * sunrpc/Makefile: Remove special handling of bootparam.x,
11128         add rpcsvc/bootparam.h to headers.
11129         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11130         * sunrpc/rpcsvc/bootparam.x: Renamed to...
11131         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11132
11133 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11134
11135         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11136         detect and handle invalid descriptors.
11137
11138 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
11139
11140         * timezone/zic.c (dolink): Append complete path not only filename
11141         to ../ list.
11142
11143 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11144
11145         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11146
11147 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
11148
11149         * iconvdata/gconv-modules: Rename CP874 to IBM874.
11150         * iconvdata/Makefile: Likewise.
11151         * iconvdata/cp874.h: Removed.
11152         * iconvdata/cp874.c: Renamed to...
11153         * iconvdata/ibm874.c: ...this.
11154
11155 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11156
11157         * sysdeps/unix/sysv/linux/bits/types.h: Correct
11158         signed/unsigned-ness of blkcnt and fsblkcnt.
11159         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11160         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11161
11162         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11163         SOL_AAL, and SOL_IRDA.
11164
11165 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11166
11167         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
11168         include "linux_fsinfo.h".
11169         Based on a patch by H.J. Lu <hjl@gnu.org>.
11170
11171 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
11172
11173         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11174
11175 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11176
11177         * nscd/cache.c (prune_cache): Only disable file checking for
11178         future if the file does not exist.
11179         Update file_mtime if cache was flushed.
11180
11181 1999-04-15  David S. Miller  <davem@redhat.com>
11182
11183         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11184         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11185
11186 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
11187
11188         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11189         compilation of file.
11190
11191 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11192
11193         * Versions.def: Add GLIBC_2.1.1 to libpthread.
11194
11195         * iconvdata/Makefile (modules): Add KOI8-U.
11196         (distribute): Add koi8-u.c.
11197         (gen-8bit-gap-modules): Add koi8-u.
11198         * iconvdata/gconv-modules: Add KOI8-U entries.
11199         * iconvdata/koi8-u.c: New file.
11200
11201 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
11202
11203         * sunrpc/auth_des.c: 64bit fixes, security fixes.
11204         * sunrpc/auth_none.c: Pretty print.
11205         * sunrpc/auth_unix.c: Likewise.
11206         * sunrpc/authdes_prot.c: Likewise.
11207         * sunrpc/authuxprot.c: Likewise.
11208         * sunrpc/bindrsvprt.c: Likewise.
11209         * sunrpc/clnt_gen.c: Likewise.
11210         * sunrpc/rpc/xdr.h: Likewise.
11211         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11212         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11213         * sunrpc/rtime.c: Use new rpc_timeval.
11214         * sunrpc/svc_authux.c: Don't use *long pointers.
11215         * sunrpc/svcauth_des.c: Likewise + security fixes.
11216         * sunrpc/xdr_mem.c: Don't use *long pointers.
11217         * sunrpc/xdr_rec.c: Likewise.
11218         * sunrpc/xdr_sizeof.c: Likewise.
11219         * sunrpc/xdr_stdio.c: Likewise.
11220
11221 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11222
11223         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11224         so that it is redone for each sending.
11225
11226 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11227
11228         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11229
11230 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11231
11232         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11233         known to not exist don't try to load shared objects.
11234         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11235
11236         * nscd/cache.c (prune_cache): The table might not be unused.  In
11237         this case do nothing.
11238
11239         * catgets/gencat.c (read_input_file): Don't drop white spaces
11240         between number/identifier and string.
11241         Patch by Dima Barsky <dima@pwd.hp.com>.
11242         If no white space at all follows number/identifier remove existing
11243         message with the number/identifier.
11244
11245 1999-04-14  H.J. Lu  <hjl@gnu.org>
11246
11247         * sunrpc/clnt_udp.c (is_network_up): New function.
11248         (clntudp_call): Call is_network_up () to check if any network
11249         interface is up in case of timeout.
11250
11251 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11252
11253         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11254         * wctype/Makefile (tests): Add test_wcfuncs.
11255
11256 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
11257
11258         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11259         architectures.
11260         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11261         instead of CFLAGS.
11262         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11263         instead of CFLAGS. For gnulib and string directories use
11264         -Wa,-Av9a gcc ASFLAGS.
11265         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11266         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11267         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11268         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11269         the same way as sparc-*.
11270
11271 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
11272
11273         * locale/programs/locfile.c (locfile_read): Fix typo.
11274         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11275
11276 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
11277
11278         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11279         restarted after being interrupted by a signal.  The parameters on
11280         the stack were corrupted by the signal handler.
11281
11282         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11283         restarted after being interrupted by a signal.  The parameters on
11284         the stack were corrupted by the signal handler.
11285
11286 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11287
11288         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11289         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11290
11291 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
11292
11293         * posix/wordexp-test.c: In field-splitting test cases where
11294         subshells were involved, unset IFS first: some shells (ash) use
11295         IFS even when no expansion is performed.
11296
11297 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11298
11299         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11300         the real end of the chunk, not some random point inbetween.
11301         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
11302         obstack when growing.  Use fast version of obstack_blank when
11303         shrinking.
11304         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11305         allocating the vtable pointer.
11306         (_IO_obstack_vprintf): Adjust for above change and avoid
11307         unnecessary casts.  Use fast version of obstack_blank when
11308         shrinking.
11309         Fixes PR libc/1075.
11310
11311 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
11312
11313         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
11314         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11315
11316 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
11317
11318         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11319         is seen, as well as fixing semantics.  Don't reset the word count
11320         to zero when an invalid character is seen, but leave it as it was
11321         (this makes a difference with WRDE_APPEND).
11322
11323         * posix/wordexp-test.c: More test cases.
11324
11325         * posix/wordexp.c (parse_param): In words like ${var#pattern},
11326         always expand pattern when it is needed.  Also, handle quoting in
11327         pattern properly.
11328
11329 1999-04-12  Philip Blundell  <philb@gnu.org>
11330
11331         * elf/elf.h: Update ARM definitions to match current gas2.
11332
11333         * sysdeps/arm/bits/endian.h: Support big endian operation.
11334
11335         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11336         Don't bother range checking the port number.
11337
11338         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11339
11340         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11341         the syscall name in assembler output for ease of debugging.
11342
11343         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11344         compiler behaviour.
11345         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11346         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11347         (sysdep_routines): Add sigrestorer.
11348
11349         * string/tester.c (test_strcpy): Add new tests for unaligned
11350         arguments.
11351         * sysdeps/arm/bits/string.h: Delete inline implementations of
11352         strcpy and stpcpy.
11353
11354 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
11355
11356         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11357
11358 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
11359
11360         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11361
11362 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11363
11364         * iconvdata/Makefile (modules): Add TIS-620.
11365         (distribute): Add tis-620.c.
11366         (gen-8bit-gap-modules): tis-620.
11367         * iconvdata/tis-620.c: New file.
11368         * iconvdata/gconv-modules: Add TIS-620 entries.
11369
11370         * iconvdata/asmo_449.c: Correct comment.
11371
11372 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11373
11374         * manual/install.texi (Configuring and compiling): Comment out
11375         description of --disable-static since this doesn't work currently
11376         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11377
11378 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11379
11380         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11381         use binary search.
11382         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11383
11384 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11385
11386         * scripts/test-installation.pl (installation_problem): Skip
11387         libnss1_* libraries from glibc-compat add-on.
11388
11389 1999-04-07  H.J. Lu  <hjl@gnu.org>
11390
11391         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11392         libstdc++ 2.7.2.
11393         * posix/Versions (__waitpid): Likewise.
11394
11395 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11396
11397         * manual/install.texi (Reporting Bugs): Add section about reported
11398         bugs and correct email address of glibcbug script.
11399
11400 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
11401
11402         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11403         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11404         xdr_u_longlong_t. Based on patch from Dan Shechter
11405         <damageboy@isdn.net.il>.
11406         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11407         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11408
11409         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11410
11411 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11412
11413         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11414         directly if getdents returns with error set.
11415
11416 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11417
11418         * locale/langinfo.h (THOUSEP): Rename second occurence of
11419         THOUSANDS_SEP to THOUSEP.
11420         Reported by Roman Belenov <roman@nstl.nnov.ru>.
11421
11422 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
11423
11424         * hurd/STATUS: File removed.  Moved items that are still relevant into
11425         TODO list in hurd source.
11426
11427 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11428
11429         * sysdeps/mach/hurd/bits/time.h: New file.
11430         * sysdeps/mach/hurd/getrusage.c: New file.
11431         * sysdeps/mach/hurd/clk_tck.c: New file.
11432         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11433         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11434         (sysdep_routines): Add clk_tck.
11435         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11436         implemented.
11437
11438 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
11439
11440         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11441         (closelog): But instead here.
11442         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11443
11444 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11445
11446         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11447         the source directory.  Fixes PR libc/1059.
11448
11449 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11450
11451         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11452         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11453
11454 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
11455
11456         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11457         * iconvdata/testdata/ISO-8859-14: New file.
11458         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11459         * iconvdata/testdata/ISO-8859-15: New file.
11460         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11461
11462 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11463
11464         * iconvdata/testdata/CP1258: New file.
11465         * iconvdata/testdata/CP1258..UTF8: New file.
11466         * iconvdata/TESTS: Add CP1258 entry.
11467
11468         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11469
11470         * timezone/africa: Update from tzdata1999d.
11471         * timezone/europe: Likewise.
11472         * timezone/northamerica: Likewise.
11473
11474 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
11475
11476         * login/programs/pt_chown.c (main): Save effective user ID before
11477         dropping priviliges and use this to check if the program is
11478         properly installed.
11479
11480 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11481
11482         * iconvdata/testdata/CP1254: Update for charmap changes.
11483         * iconvdata/testdata/CP1254..UTF8: Likewise.
11484         * iconvdata/testdata/CP1255: Likewise.
11485         * iconvdata/testdata/CP1255..UTF8: Likewise.
11486         * iconvdata/testdata/CP1256: Likewise.
11487         * iconvdata/testdata/CP1256..UTF8: Likewise.
11488         * iconvdata/testdata/CP1257: Likewise.
11489         * iconvdata/testdata/CP1257..UTF8: Likewise.
11490
11491         * iconvdata/Makefile (distribute): Remove cp1258.h.
11492         (gen-8bit-gap-modules): Add cp1258.
11493         * iconvdata/cp1258.h: Removed.
11494
11495 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
11496
11497         * timezone/tst-timezone.c (tests): Add more cases.
11498         (check_tzvars): Mark errors clearer.
11499         (main): Likewise.
11500
11501 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11502
11503         * login/programs/pt_chown.c: Drop privileges if invoked with
11504         arguments.  Don't close the master pty.
11505
11506 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
11507
11508         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11509         Minor optimization.
11510
11511 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
11512
11513         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11514         relocation for SUID binaries.
11515
11516 1999-03-29  Paul Eggert  <eggert@twinsun.com>
11517
11518         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11519         while in child process.
11520
11521 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
11522
11523         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11524         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11525         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11526         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11527         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11528
11529         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11530         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11531         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11532         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11533         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11534         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11535         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11536         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11537         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11538         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11539         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11540         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11541         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11542         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11543         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11544         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11545         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11546         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11547         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11548         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11549         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11550         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11551         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11552         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11553         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11554         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11555
11556         * sysdeps/sparc/sparc32/bcopy.c: New file.
11557         * sysdeps/sparc/sparc32/bzero.c: New file.
11558         * sysdeps/sparc/sparc32/memchr.S: New file.
11559         * sysdeps/sparc/sparc32/memcpy.S: New file.
11560         * sysdeps/sparc/sparc32/memmove.c: New file.
11561         * sysdeps/sparc/sparc32/memset.S: New file.
11562         * sysdeps/sparc/sparc32/stpcpy.S: New file.
11563         * sysdeps/sparc/sparc32/strchr.S: New file.
11564         * sysdeps/sparc/sparc32/strrchr.c: New file.
11565         * sysdeps/sparc/sparc32/strcpy.S: New file.
11566         * sysdeps/sparc/sparc32/strlen.S: New file.
11567         * sysdeps/sparc/sparc32/strcat.S: New file.
11568         * sysdeps/sparc/sparc32/strcmp.S: New file.
11569
11570         * sysdeps/sparc/sparc64/bcopy.c: New file.
11571         * sysdeps/sparc/sparc64/bzero.c: New file.
11572         * sysdeps/sparc/sparc64/memchr.S: New file.
11573         * sysdeps/sparc/sparc64/memcmp.S: New file.
11574         * sysdeps/sparc/sparc64/memcpy.S: New file.
11575         * sysdeps/sparc/sparc64/memset.S: New file.
11576         * sysdeps/sparc/sparc64/stpcpy.S: New file.
11577         * sysdeps/sparc/sparc64/strcat.S: New file.
11578         * sysdeps/sparc/sparc64/strchr.S: New file.
11579         * sysdeps/sparc/sparc64/strcmp.S: New file.
11580         * sysdeps/sparc/sparc64/strcpy.S: New file.
11581         * sysdeps/sparc/sparc64/strcspn.S: New file.
11582         * sysdeps/sparc/sparc64/strlen.S: New file.
11583         * sysdeps/sparc/sparc64/strncpy.S: New file.
11584         * sysdeps/sparc/sparc64/strpbrk.S: New file.
11585         * sysdeps/sparc/sparc64/strrchr.c: New file.
11586         * sysdeps/sparc/sparc64/strspn.S: New file.
11587         * sysdeps/sparc/sparc64/stpncpy.S: New file.
11588         * sysdeps/sparc/sparc64/strncmp.S: New file.
11589
11590         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11591         Append -fPIC, don't replace.
11592
11593         * configure.in: Recognize sparcv8plus / sparcv9.
11594
11595 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11596
11597         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11598         char * to avoid C++ warning.
11599         Patch by yasushi@cs.washington.edu [PR libc/1035].
11600
11601 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11602
11603         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11604         declared in stdlib.h, correct return value of mkstemp.
11605         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11606
11607         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11608         from Linux 2.2.5.
11609
11610 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11611
11612         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11613         C++ warning.
11614
11615         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11616         inline functions.  Closes PR libc/1049.
11617
11618 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11619
11620         * timezone/README: Update from tzdata1999c and tzcode1999c.
11621
11622         * timezone/africa: Update from tzdata1999c.
11623         * timezone/antarctica: Likewise.
11624         * timezone/asia: Likewise.
11625         * timezone/australasia: Likewise.
11626         * timezone/europe: Likewise.
11627         * timezone/northamerica: Likewise.
11628         * timezone/southamerica: Likewise.
11629         * timezone/zone.tab: Likewise.
11630
11631         * timezone/zic.c: Update from tzcode1999c.
11632
11633 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11634
11635         * Makerules: Add $(common-objpfx)Versions.all to common-generated
11636         outside of ifndef avoid-generated.
11637
11638         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11639         in iofdopen.c.
11640         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11641         iofopen.c.
11642         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11643         in iofclose.c.
11644         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11645         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11646
11647 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11648
11649         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11650         if we build the profiled library.
11651
11652 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11653
11654         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
11655         Jaeger <aj@arthur.rhein-neckar.de>
11656
11657 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
11658
11659         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11660         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11661         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11662
11663 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
11664
11665         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11666         works properly in subdirs.
11667
11668 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
11669
11670         * sysdeps/mach/hurd/Makefile: Undo last change.
11671         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11672         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11673
11674         * mach/Machrules (+preinit, +postinit, +interp,
11675         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
11676         linked just like other shared libraries.
11677         (interface.so): Fix typo in defn, so it works.
11678         ($(objpfx)$(interface.so)): Make it depend on libc.so.
11679
11680 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
11681
11682         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11683         $(link-rpcuserlibs).
11684
11685 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11686
11687         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11688         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11689         targets if not building shared libraries.
11690
11691 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11692
11693         * configure.in: Also look in $PATH when searching for
11694         install-info.  Remove autoconf bug workaround and require autoconf
11695         2.13.
11696
11697 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11698
11699         * db/Makefile: Don't try to install shared library link if not
11700         building with shared libs.
11701
11702 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11703
11704         * rt/Makefile: Link against static library if no shared lib is
11705         available.
11706
11707         * localedata/Makefile: The shells scripts implementing the test
11708         require the dynamic linker which is not available with
11709         --disable-shared.  Skip the test if --disable-shared is given.
11710
11711         * linuxthreads/Makefile: Link test against static libpthread if no
11712         shared lib is available.
11713
11714         * iconvdata/Makefile (tests): Run iconv-test only if we're
11715         building shared libraries.
11716         * elf/Makefile (tests): Likewise for elf tests.
11717
11718         * posix/Makefile: The test frameworks globtest and wordexp-test
11719         require the dynamic linker which is not available with
11720         --disable-shared.  Skip the test if --disable-shared is given.
11721
11722         * grp/Makefile (otherlibs): For static nss build link against
11723         necessary libs.
11724
11725 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11726
11727         * debug/Makefile (install-bin): Install and build catchsegv only
11728         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
11729         libc/965].
11730
11731 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11732
11733         * time/tzfile.c (__tzfile_read): Handle the case where there are
11734         transitions but no DST.
11735
11736 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
11737
11738         * mach/Machrules (extra-libs-others): Add $(interface-library) here
11739         too, so it gets built in the others pass rather than the lib pass.
11740         This is necessary since the RPC libraries need to be linked against
11741         libc.
11742
11743 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
11744
11745         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11746         _itoa_word decl.
11747
11748         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11749         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11750         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11751         versions of lib{mach,hurd}user.so without reference to libc.so,
11752         then link libc.so against that to get deps and symbol versions, then
11753         finally link real lib*user.so against libc.so.
11754
11755         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11756         Support whole-file locking (only) by using the file_lock RPC.  This
11757         has very wrong semantics, but is better than nothing for the time
11758         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
11759         protocols that will be somewhat hairy to specify.)
11760
11761 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
11762
11763         * sysdeps/mach/hurd/ptsname.c: New file.
11764
11765 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11766
11767         * timezone/asia: Fix rule in Asia/Nicosia entry.
11768
11769 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11770
11771         * manual/getopt.texi (Using Getopt): Explain "::" in option
11772         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
11773
11774 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
11775
11776         * sunrpc/clnt_unix.c: Fix creation of parameters for
11777         sendmsg/recvmsg on non intel platforms.
11778         * sunrpc/svc_unix.c: Likewise.
11779
11780 1999-03-18  Philip Blundell  <philb@gnu.org>
11781
11782         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
11783         implementation.
11784
11785 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11786
11787         * timezone/africa: Update from tzdata1999b.
11788         * timezone/asia: Likewise.
11789         * timezone/australasia: Likewise.
11790         * timezone/europe: Likewise.
11791         * timezone/northamerica: Likewise.
11792         * timezone/southamerica: Likewise.
11793         * timezone/zone.tab: Likewise.
11794
11795         * timezone/README: Mention tzdata1999b.
11796
11797 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
11798
11799         * sysdeps/generic/segfault.c (write_strsignal): New function.
11800         (catch_segfault): Use it instead of calling strsignal.
11801
11802 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11803
11804         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11805         char to avoid warning.
11806
11807 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11808
11809         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11810
11811         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11812         outbuf to unsigned char to avoid warning.
11813
11814 1999-03-11  David S. Miller  <davem@redhat.com>
11815
11816         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11817         masks.
11818         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11819
11820 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11821
11822         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11823         `unsigned char'.
11824         (gconv_step_data): Likewise.
11825         * iconv/gconv_int.h (__gconv): Likewise.
11826         (__BUILINT_TRANS): Likewise.
11827         * iconv/gconv.c (__gconv): Likewise.
11828         * iconv/iconv.c (iconv): Add casts for call of __gconv.
11829         * iconv/skeleton.c: Change local parameters and variable from `char' to
11830         `unsigned char'.  Remove casts from calls into modules.
11831         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11832         `char' to `unsigned char'.
11833         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11834         * wcsmbs/mbrtowc.c: Likewise.
11835         * wcsmbs/mbsnrtowcs.c: Likewise.
11836         * wcsmbs/mbsrtowcs.c: Likewise.
11837         * wcsmbs/wcrtomb.c: Likewise.
11838         * wcsmbs/wcsnrtombs.c: Likewise.
11839         * wcsmbs/wcsrtombs.c: Likewise.
11840         * wcsmbs/wctob.c: Likewise.
11841
11842 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11843
11844         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11845         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11846         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11847         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11848         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11849         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11850
11851 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11852
11853         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11854         _hurd_select if TIMEMOUT is -1.
11855
11856 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11857
11858         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11859
11860 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11861
11862         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11863         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11864
11865 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11866
11867         * manual/libc.texinfo: Undo last change for now.
11868
11869 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11870
11871         * intl/locale.alias: Add entries for Croatian.
11872         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11873
11874 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
11875
11876         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11877         if the opened master pty really is a pty.  `isatty' checks for
11878         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
11879         if we are out of pty's.
11880
11881 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
11882
11883         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11884         opened file is closed on exec.
11885         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11886         opened socket.
11887
11888 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11889
11890         * manual/llio.texi (File Position Primitive): Reformat @end
11891         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11892
11893 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
11894
11895         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11896         entry is found.
11897         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11898         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11899
11900         * locale/programs/localedef.c (main): Initialize `cat' to please
11901         the compiler.
11902
11903 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
11904
11905         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11906         check for root-owned symlinks and reject them too.
11907
11908 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11909
11910         * stdio-common/printf_fphex.c: Move to ...
11911         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
11912         extended precision number.
11913         * sysdeps/m68k/printf_fphex.c: New file.
11914
11915 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11916
11917         * manual/stdio.texi: Fix typos.
11918
11919 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
11920
11921         * version.h (VERSION): Bump to 2.1.1.
11922
11923 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
11924
11925         * nis/ypclnt.c: Try only twice to connect to NIS server.
11926
11927 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11928
11929         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11930
11931 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11932
11933         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11934         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
11935         * stdlib/strtold.c: Moved to ...
11936         * sysdeps/generic/strtold.c: ... here.
11937         * sysdeps/m68k/strtold.c: New file.
11938
11939 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11940
11941         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11942         point if the precision is zero, even if the mantissa is non-zero.
11943
11944 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11945
11946         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11947         arguments into the request message buffer inside `send_rpc'
11948         subfunction.  We must repeat the marshalling when retrying the RPC
11949         after a SIGTTOU delivery.
11950
11951         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11952         path when there is no ctty port.
11953         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11954         Move sigstate check inside loop so we recheck after handling a signal.
11955
11956 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11957
11958         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11959         O_EXLOCK are BSD extensions.
11960         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11961
11962 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
11963
11964         * manual/signal.texi (Termination in Handler): Correct example.
11965         Install default handler before reraising the signal.
11966         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11967
11968 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
11969
11970         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11971         null, in which case send an empty string.
11972
11973 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
11974
11975         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11976         backward compatibility EH functions to be linked when using
11977         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11978
11979 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11980
11981         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11982         /dev/pts status may change during runtime.
11983
11984 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11985
11986         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11987         change.  /dev/pts status can change during runtime.
11988
11989 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
11990
11991         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11992         poll reports error.
11993         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11994         add some more sanity checks.
11995         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11996         parser prototype.
11997
11998 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
11999
12000         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
12001         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
12002         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
12003         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
12004         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
12005         for x_getint32.
12006         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
12007         * nis/nis_print.c: Fix ctime argument for platforms where
12008         sizeof (time_t) != sizeof (int).
12009
12010 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
12011
12012         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
12013         CLOCKS_PER_SEC instead of CLK_TCK.
12014
12015 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
12016
12017         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
12018         whether /dev/pts is available.
12019         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
12020         dev_pts_available.
12021
12022         * posix/globtest.sh: Make common_objpfx path absolute and and db2
12023         and hesiod directory to library path [PR libc/1007].
12024
12025 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12026
12027         * resolv/inet_addr.c (inet_aton): Don't allow componets >
12028         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
12029
12030 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
12031
12032         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
12033         DT_PLTGOT has already been relocated.
12034         (__elf_machine_fixup_plt): Likewise.
12035         Minor cleanups.
12036
12037 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
12038
12039         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
12040
12041 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
12042
12043         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
12044         and fold string to uppercase [PR libc/1005].
12045
12046 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12047
12048         * elf/dl-load.c (lose): Fix return type.
12049
12050 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
12051
12052         * sysdeps/mach/hurd/bits/fcntl.h
12053         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
12054         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
12055         set O_NOTRANS as well.
12056         (__hurd_file_name_lookup_retry): At successful end of lookup,
12057         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
12058         it is a translated node not owned by root.
12059         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
12060         on the file name passed to LOOKUP.
12061
12062 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
12063
12064         * manual/time.texi (High Resolution Timer): Correct computation in
12065         example.  Reported by jjf@devel.cemsys.com.
12066
12067 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
12068
12069         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12070         entry is already relocated.
12071
12072 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12073
12074         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
12075         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12076
12077 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12078
12079         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12080         uc_link which is the right name according to Unix98.
12081         Reported by Craig Metz [PR libc/1001].
12082         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12083         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12084         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12085         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12086         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12087         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12088
12089 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12090
12091         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12092         @ifinfo.
12093
12094 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12095
12096         * iconvdata/Makefile: Always include iconv-rules, but disable rule
12097         to regenerate it if avoid-generated.
12098
12099         * Makeconfig: Always include sys-dirs, but disable rule to
12100         regenerate it when avoid-generated.
12101
12102         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12103         rule to generate sysd-syscalls.
12104
12105         * elf/Makefile (generated): Remove $(objpfx) from names.
12106
12107 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
12108
12109         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12110         actual length if the adress length is smaller than the input
12111         value.  Change type of *LEN paramater to socklen_t.
12112         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12113         * sysdeps/mach/hurd/accept.c (accept): Likewise.
12114         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12115         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12116         paramater to socklen_t.
12117
12118 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
12119
12120         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12121         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12122         with the RPC.
12123
12124 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12125
12126         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12127         __get_phys_pages): Cast &HBI to silence warning.
12128
12129         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12130         * hurd/hurdchdir.c: New file.
12131         * hurd/hurdfchdir.c: New file.
12132         * sysdeps/mach/hurd/chroot.c: Call
12133         _hurd_change_directory_port_from_name to do the work.
12134         * sysdeps/mach/hurd/chdir.c: Likewise.
12135         * sysdeps/mach/hurd/fchdir.c: Call
12136         _hurd_change_directory_port_from_fd to do the work.
12137         * hurd/fchroot.c: Likewise.
12138         * hurd/hurd.h: Declare them.
12139
12140 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
12141
12142         * elf/dl-load.c (lose): Add more comments to explain the `why'.
12143         (_dl_map_object): Remove redundant test.
12144
12145 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12146
12147         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12148         try to _hurd_port_free a lower-numbered descriptor that was not in any
12149         fd_set.
12150
12151 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12152
12153         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12154         declaration for ____wcstod_l_internal.
12155
12156         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12157         __strtod_internal prototype.
12158         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12159         (____strtold_l_internal): Add prototype declaration.
12160         (__strtold_l): Call correct function.
12161
12162 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
12163
12164         * elf/elf.h: Add 32bit HPPA definitions.
12165
12166 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12167
12168         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12169         non-checked heap is restored when malloc checking was requested by
12170         the user.
12171         (struct malloc_state): Add using_malloc_checking.
12172         (MALLOC_STATE_VERSION): Increment minor.
12173         (using_malloc_checking, disallow_malloc_check): New variables.
12174         (__malloc_check_init): Use them.
12175         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12176         that it can the chunk is properly instrumented when malloc
12177         checking is enabled.  Set the new using_malloc_checking field.
12178         (malloc_hook_ini): Correct signature when _LIBC is not defined.
12179
12180 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12181
12182         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12183         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12184         time.
12185
12186         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12187         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12188         if ld.so is the main program.
12189
12190 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
12191
12192         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12193         large for work_buffer, allocate new buffer.
12194         (printf_unknown): Likewise.  [PR libc/988]
12195
12196 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12197
12198         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12199         instead of stat and fstat.
12200         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12201
12202 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12203
12204         * elf/dl-error.c (_dl_signal_cerror): New function.
12205         (_dl_signal_error): Don't call receiver function.
12206         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12207         instead of _dl_signal_error when reporting references to undefined
12208         symbols or versions.
12209         (_dl_lookup_versioned_symbol): Likewise.
12210         (_dl_lookup_versioned_symbol_skip): Likewise.
12211         * elf/dl-version.c (match_symbol): Likewise.
12212
12213         * elf/ldsodefs.h: Declare _dl_signal_cerror.
12214
12215 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12216
12217         * misc/getttyent.c (getttyent): Release lock on stream later to
12218         also protect global variable zapchar.
12219
12220         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12221         __times [PR libc/990].
12222
12223 1999-02-21  David S. Miller  <davem@redhat.com>
12224
12225         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12226         parentheses in Feb 2 changes.
12227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12228
12229 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12230
12231         * sysdeps/generic/glob.c (glob): Save previous errno.
12232
12233 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
12234
12235         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12236         lookup functions if it is too small.
12237
12238 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
12239
12240         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12241         for tracing to the scope lists.
12242         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12243         DT_SYMTAB is always available according to ELF spec.
12244
12245         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12246         call test whether there is any scope left.
12247         (_dl_lookup_versioned_symbol_skip): Likewise.
12248
12249         * elf/Makefile (distribute): Add do-lookup.h.
12250         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
12251         * elf/dl-lookup.c: Move do_lookup function in separate file and
12252         include the file twice, for handling versioning and without it.
12253
12254         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12255         entry is already relocated.
12256         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12257         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12258         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12260         Likewise.
12261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12262         Likewise.
12263         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12264         Likewise.
12265
12266         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12267         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12268         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12269         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12270         rel and rela relocations can both happen and skip one test if this
12271         is not possible.
12272         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12273         appropriately.
12274         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12275         already relocated.
12276         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12277         relocated.
12278         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12279         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12280         (_dl_map_object): DT_STRTAB entry is already relocated.
12281         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12282         already relocated.
12283         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12284         relocated.
12285         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12286         DT_VERSYM entries are already relocated.
12287         (profile_fixup): Likewise.
12288         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
12289         all users.
12290         (match_symbol): DT_STRTAB entry is already relocated.
12291         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
12292         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12293         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
12294         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12295         (find_needed): DT_STRTAB entry is already relocated.
12296         (dl_main): Pass extra argument to elf_get_dynamic_info.
12297         DT_STRTAB entry is already relocated.
12298         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12299         DT_PLTGOT entries are already relocated.
12300         (elf_machine_rela): Likewise for DT_SYMTAB.
12301         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12302         relocated.
12303         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12304         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12305         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12306         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12307         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12308         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12309         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12310         * sysdeps/mips/mips64/dl-machine.h: Likewise.
12311
12312         * grp/initgroups.c (initgroups): If function in current module was
12313         successful don't stop but continue to process to get all the groups.
12314
12315         * elf/dl-load.c (_dl_map_object_from_fd): Use global
12316         _dl_pf_to_proot array to convert p_flags value.
12317         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12318
12319         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12320         loop to clear `info'.
12321
12322         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12323         do the work and don't use inline assembler.
12324
12325 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
12326
12327         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12328         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12329         noreturn, and prevent it from being inlined.
12330         Define LOSE appropriately.
12331         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12332         Optimize decoding of p_flags for certain platforms.
12333
12334 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
12335
12336         * Makeconfig (link-libc): When doing a static link, make sure that
12337         libgcc.a is included both before and after libc.a.
12338
12339 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
12340
12341         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12342         sp_warn, sp_inact, sp_expire and sp_flag.
12343
12344 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
12345
12346         * elf/link.h (link_map): Add l_dev and l_ino.
12347         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12348         loaded shared object with all loaded objects.  Initialize l_ino
12349         and l_dev in case it's new.
12350         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12351         object.
12352         * elf/Makefile: Compile and run new test.
12353         * elf/multiload.c: New file.
12354
12355         * nss/nsswitch.h (service_user): Change name field from const char *
12356         to char[0].
12357         (name_database_entry): Likewise.
12358         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12359         for change of `service_user'.
12360         (nss_getline): Adjust memory allocation for change of
12361         `name_database_entry'.
12362
12363         * catgets/catgets.c: Correctly handle NLSPATH from environment
12364         [PR libc/980].
12365
12366         * io/Makefile (routines): Add lock64.
12367         * io/Versions: Add lockf64 for GLIBC_2.1.1.
12368         * sysdeps/generic/lockf64.c: New file.
12369
12370 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12371
12372         * string/bits/string2.h: Only use strncmp optimization if count
12373         argument is constant.
12374
12375 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
12376
12377         * sysdeps/mach/hurd/revoke.c: New file.
12378
12379 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12380
12381         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12382         int to avoid warning about `ISO C restricts enumerator values to
12383         range of `int''.
12384
12385 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12386
12387         * elf/dlfcn.h: Fix typo.
12388         * sysdeps/generic/bits/dlfcn.h: Likewise.
12389         * sysdeps/mips/bits/dlfcn.h: Likewise.
12390
12391 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12392
12393         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12394         for the case N == 0.
12395
12396         * db2/Makefile (distribute): Add LICENSE.
12397
12398 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
12399
12400         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12401         generated files.
12402
12403         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12404
12405 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12406
12407         * time/mktime.c: Use ISO C form for function definitions and
12408         remove unnecessary prototypes.
12409
12410         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12411
12412         * time/time.h: Avoid unneccesary #ifdef.
12413
12414 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
12415
12416         * stdio-common/_itoa.c (_itoa): Correct parameters to
12417         udiv_qrnnd_preinv.
12418
12419 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12420
12421         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12422         before (e.g. in glob.h).
12423         Closes PR libc/959.
12424
12425 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12426
12427         * sysdeps/mips/fpu_control.h: Fix typo.
12428         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12429         Remove __setfpucw.
12430
12431 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
12432
12433         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12434         the "unused" ends of the sockets.  Let pipes be bidirectional.
12435
12436 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12437
12438         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12439         invalid ai_flags.
12440
12441 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12442
12443         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
12444         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12445
12446         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12447         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12448
12449 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12450
12451         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12452
12453 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12454
12455         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
12456         check for priority mask.
12457
12458 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
12459
12460         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12461         Reported by Craig Metz <cmetz@inner.net> .
12462
12463 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12464
12465         * stdio-common/Makefile (tests): tllformat added.
12466
12467         * stdio-common/tllformat.c: New program, based on tiformat.c with
12468         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12469
12470 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12471
12472         * posix/test-vfork.c: Fix exit status test.
12473
12474 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12475
12476         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12477         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12478
12479 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12480
12481         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12482         of separare explicit comparisons.
12483
12484 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12485
12486         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12487         defined.
12488
12489         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12490         defined.
12491
12492 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
12493
12494         * po/el.po: Update from translation team.
12495
12496 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12497
12498         * intl/locale.alias: Fix slovenian entry [PR libc/948].
12499
12500 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12501
12502         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12503         * inet/ruserpass.c: Likewise.
12504         * locale/programs/stringtrans.c: Likewise.
12505         * locale/programs/localedef.c: Likewise.
12506         * nscd/grpcache.c: Likewise.
12507         * nss/nss_files/files-XXX.c: Likewise.
12508         * stdlib/canonicalize.c: Likewise.
12509         * sysdeps/posix/sigwait.c: Likewise.
12510
12511 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12512
12513         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12514         even on 64 bit platforms.
12515
12516         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12517         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12518
12519 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
12520
12521         * intl/dcgettext.c: Include locale.h is available.
12522
12523 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
12524
12525         * po/nl.po: Update from translation team.
12526
12527         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12528
12529         * Makefile: Allow calling goals for po subdir.
12530
12531         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12532         signal definitions.
12533
12534         * po/el.po: New file.
12535
12536 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12537
12538         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12539         when processing DT_SYMBOLIC objects.
12540
12541 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12542
12543         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12544         program headers without PT_PHDR only require that they are
12545         contained within one of the loaded segments.  Don't use assert,
12546         since that would be a bug in the object, not the dynamic linker.
12547
12548 1999-02-08  Richard Henderson  <rth@cygnus.com>
12549
12550         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12551         restore all call-clobbered fp regs.
12552
12553 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
12554
12555         * po/cs.po: New file.
12556
12557         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12558         SUID binaries.
12559
12560 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
12561
12562         * signal/signal.h: Don't declare __libc_allocate_rtsig.
12563         * include/signal.h: Declare __libc_allocate_rtsig here.
12564
12565         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12566         point functions, not do_lookup since the later can be called more
12567         than once.
12568
12569 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
12570
12571         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12572         macro, so that architectures which need to add some special
12573         offset to stack pointer can share this file.
12574
12575         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12576         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12577         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12578         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12579
12580         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12581         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12582         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12583         between sparc32 and sparc64.
12584
12585         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12586         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12587         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12588         between sparc32 and sparc64.
12589
12590         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12591         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12592         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12593         between sparc32 and sparc64.
12594
12595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12597         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12598         between sparc32 and sparc64.
12599
12600 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
12601
12602         * Versions.def: New version GLIBC_2.1.1 for libc.
12603         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12604         * stdlib/labs.c: Moved to...
12605         * sysdeps/generic/labs.c: ...here.
12606         * stdlib/llabs.c: Moved to...
12607         * sysdeps/generic/llabs.c: ...here.
12608         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12609         header.  Declare _Exit.
12610         * sysdeps/generic/_exit.c: Add alias _Exit.
12611         * sysdeps/mach/hurd/_exit.c: Likewise.
12612         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12613         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12614         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12615         * sysdeps/unix/_exit.c: Likewise.
12616         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12617         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
12618         * sysdeps/wordsize-64/inttypes.h: Likewise.
12619         * sysdeps/wordsize-32/llabs.c: New file.
12620         * sysdeps/wordsize-32/lldiv.c: New file.
12621         * sysdeps/wordsize-64/labs.c: New file.
12622         * sysdeps/wordsize-64/ldiv.c: New file.
12623         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12624         * manual/startup.texi: Document _Exit.
12625
12626 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12627
12628         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12629
12630 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
12631
12632         * Versions.def: Add versions for ld.so.
12633         * csu/Versions: Remove __libc_stack_end here.
12634         * elf/Versions: Split libc definitions in libc and ld.so definitions.
12635         * elf/Makefile (ld-map): Change to ld.so.map.
12636         * scripts/versions.awk: Recognize dot in library names.
12637
12638         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12639         Don't use __tolower and __toupper in inline functions.
12640         Add optimizing macros for tolower and toupper.
12641         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12642         (_toupper): Don't use __toupper.
12643         * ctype/ctype.c (tolower): Don't use __tolower.
12644         (toupper): Don't use toupper.
12645
12646         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12647
12648         * resolv/Versions (libresolv): Export __ns_name_unpack and
12649         __ns_name_ntop.
12650         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12651         make it global.  Change all users.  Similar for ns_name_ntop.
12652         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12653         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
12654         directly to detect too small buffer.
12655         * resolv/nss_dns/dns-network.c: Likewise.
12656
12657         * stdio-common/Makefile (tests): Add scanf12.
12658         * stdio-common/scanf12.c: New file.
12659         * stdio-common/scanf12.input: New file.
12660         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12661         floating-point correctly if the number is invalid.
12662
12663         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12664         functions.
12665         * stdio-common/printf_fp.c: Likewise.
12666         * stdio-common/printf_fphex.c: Likewise.
12667         * stdio-common/vfprintf.c: Likewise.
12668
12669
12670 See ChangeLog.9 for earlier changes.