Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
2
3         * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
4         not exist.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
5
6         * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
7         enable it.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
8         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
9         * sysdeps/i386/fpu/s_nearbyintf.l: Likewise.
10
11 2000-02-14  Andreas Jaeger  <aj@suse.de>
12
13         * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
14
15 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
16
17         * manual/job.texi: Fix typos.
18         * manual/process.texi: Likewise.
19         * manual/signal.texi: Likewise.
20
21         * sysdeps/powerpc/atomicity.h: Remove white space to avoid
22         compiler warning.
23
24 2000-02-14  Scott Bambrough <scottb@netwinder.org>
25
26         * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm):  Add
27         Rebel-NetWinder to platform table so _ioperm platform lookup via
28         /proc/cpuinfo works on later version NetWinders.
29
30 2000-02-13  Ulrich Drepper  <drepper@redhat.com>
31
32         * locale/programs/charmap.c (charmap_read): Remove erronous free
33         call.
34
35         * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
36         so test for overflow and handle it.
37         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38         * sysdeps/i386/fpu/s_tanf.S: Likewise.
39         Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
40
41         * iconvdata/Makefile (modules): Add UTF-16.
42         (distribute): Add utf-16.c.
43         * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
44         UTF-16LE.
45         * iconvdata/utf-16.c: New file.
46         * iconv/gconv_builtin.h: Remove UTF-16 entries here.
47         * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
48         PR libc/1580 and libc/1581.
49
50         * iconv/skeleton.c: Increment __invocation_counter after every call
51         to the loops.
52
53 2000-02-12  Andreas Jaeger  <aj@suse.de>
54
55         * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
56         declaration to place where it's needed to avoid compiler warning.
57         * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
58
59 2000-02-12  Ulrich Drepper  <drepper@redhat.com>
60
61         * locale/weightwc.h (findidx): Correct find index value.
62
63         * locale/nl_langinfo.h: Add casts to prevent warnings.
64
65         * wctype/iswctype_l.c: Use correct types for mapped data.
66         * wctype/wcfuncs.c: Add one more comment for clarification.
67         * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
68         * wctype/wctrans.c: Likewise.
69
70 2000-02-12  Andreas Jaeger  <aj@suse.de>
71
72         * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
73         conventions.
74         (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
75         (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
76         file and make dependend on RESOLVE.
77         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
78         (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
79
80 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
81
82         * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
83
84         * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
85         alias for CURRENCY_SYMBOL.
86         * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
87         information.  [PR libc/1583].
88
89 2000-02-08  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
90
91         * locale/weightwc.h: Fix problem with collating-element.
92
93         * locale/programs/ld-collate.c (collate_finish): Output wide
94         character collating-symbol, which has no wide strings.
95
96         * locale/programs/ld-collate.c (collate_output): Fix problem with
97         wide character collating-element.
98
99 2000-02-09  Andreas Jaeger  <aj@suse.de>
100
101         * time/strptime.c (strptime_internal): Fix pointer dereference.
102         Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
103         libc/1591.
104
105 2000-02-08  Jakub Jelinek  <jakub@redhat.com>
106
107         * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
108         * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
109         * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
110         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
111         shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
112         * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
113         and oldshmctl to sysdep-routines.
114
115 2000-02-08  Andreas Jaeger  <aj@suse.de>
116
117         * locale/programs/locale.c (write_locales): Fix handling of
118         whitespace lines.
119         Fixes PR libc/1588, reported by Miroslav Holcak
120         <miroslav.holcak@vitkovice.cz>.
121
122 2000-02-07  Thorsten Kukuk  <kukuk@suse.de>
123
124         * config.make.in: Add infodir.
125         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
126         header files.
127
128 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
129
130         * posix/getopt.c: Suppress messages if first character of
131         optstring is a colon (PR libc/1584).
132
133         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
134         and elf_* types to interpret values passed up from the kernel.
135         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
136
137         * locale/nl_langinfo.c: Correct return value in error case.  Don't
138         set errno (PR libc/1582).
139         * manual/locale.texi: Update to reflect change.
140
141 2000-02-02  Andreas Schwab  <schwab@suse.de>
142
143         * malloc/Makefile (distribute): Add memprof.h.
144         * malloc/memprof.c: Move definition of GETSP and GETTIME to new
145         header memprof.h.
146         * sysdeps/generic/memprof.h: New file.
147         * sysdeps/alpha/memprof.h: New file.
148         * sysdeps/i386/memprof.h: New file.
149         * sysdeps/m68k/memprof.h: New file.
150         * sysdeps/mips/memprof.h: New file.
151         * sysdeps/powerpc/memprof.h: New file.
152         * sysdeps/sparc/memprof.h: New file.
153
154 2000-02-01  Jakub Jelinek  <jakub@redhat.com>
155
156         * sysdeps/unix/sysv/linux/getresgid.c: Move...
157         * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
158         (getresgid): Use getresgid32 if __libc_missing_32bit_uids
159         is -1 or 0.
160         * sysdeps/unix/sysv/linux/getresuid.c: Move...
161         * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
162         (getresuid): Use getresuid32 if __libc_missing_32bit_uids
163         is -1 or 0.
164         * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
165         __libc_missing_32bit_uids.
166         (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
167         -1 or 0.
168         * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
169         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
170         * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
171         * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
172         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
173         * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
174         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
175         * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
176         * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
177         * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
178         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
179         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
180         * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
181         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
182         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
183         * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
184         * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
185         * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
186         * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
187         * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
188         * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
189         * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
190         * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
191         * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
192         * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
193         * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
194         * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
195         * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
196         * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
197         * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
198         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
199         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
200         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
201         * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
202         Make syscall directly, no stubs needed.
203         (getresgid): Likewise.
204         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
205         Likewise.
206         (getresgid): Likewise.
207
208 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
209
210         * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
211         Reported by Bruno Haible <haible@ilog.fr>.
212
213         * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
214
215         * stdio-common/printf_fp.c: Truely support wide characater output.
216         Finally handle decimal points and thousands separator characters
217         correctly for multibyte output.
218         * stdio-common/printf_size.c: Likewise.
219         * sysdeps/generic/printf_fphex.c: Likewise.
220         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
221
222         * stdio-common/vfscanf.c: Implement I modifier for numbers to read
223         locale dependent digits.
224
225         * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
226         decimal point and thousands separator values to wide characters from
227         wide character strings.
228         * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
229
230         * locale/indigitswc.h: Dereference wcdigits array elements.
231
232 2000-02-03  Jakub Jelinek  <jakub@redhat.com>
233
234         * stdlib/canonicalize.c (canonicalize): Zero terminate
235         path to copy on error.
236
237 2000-02-01  Cristian Gafton  <gafton@redhat.com>
238
239         * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
240
241 2000-01-31  Philip Blundell  <philb@gnu.org>
242
243         * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
244
245 2000-01-31  Andreas Jaeger  <aj@suse.de>
246
247         * intl/Makefile (generated): msgs.h is generated.
248
249         * localedata/Makefile (generated-dirs): Add de_DE.437.
250
251 2000-01-31  Jakub Jelinek  <jakub@redhat.com>
252
253         * config.make.in: Allow default localedir to come from configure.
254         * configure.in: Export libc_cv_localedir.
255         * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
256         stuff into $exec_prefix/lib/locale because it can be shared between
257         32bit and 64bit libraries.
258         * configure: Rebuilt.
259         * sysdeps/unix/sysv/linux/configure: Rebuilt.
260
261 2000-01-31  Andreas Jaeger  <aj@suse.de>
262
263         * inet/tst-network.c: New file.
264         * inet/Makefile (tests): Add tst-network.
265
266         * inet/inet_net.c (inet_network): Don't overwrite memory or allow
267         to great last digits.
268
269 2000-02-10  Andreas Jaeger  <aj@suse.de>
270
271         * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
272         Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
273
274 2000-02-09  Andreas Jaeger  <aj@suse.de>
275
276         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
277
278         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
279
280 2000-02-08  Andreas Jaeger  <aj@suse.de>
281
282         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
283
284         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
285         Make it compile.
286
287         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
288         c_ispeed and c_ospeed which are not implemented.
289
290         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
291         for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
292         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
293         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
294         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
295
296 2000-02-05  Andreas Jaeger  <aj@suse.de>
297
298         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
299         work - set to 4 in accordance with changes made in the Linux/MIPS
300         kernel.  Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
301         actually work.
302
303 2000-02-04  Andreas Jaeger  <aj@suse.de>
304
305         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
306         the defines.
307
308 2000-02-03  Andreas Jaeger  <aj@suse.de>
309
310         * sysdeps/mips/abort-instr.h: New file.
311
312         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
313
314         * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
315
316         * sysdeps/mips/stackinfo.h: New file.
317
318 2000-02-01  Andreas Jaeger  <aj@suse.de>
319
320         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
321
322         * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
323         generic function.
324         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
325
326         * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
327         Baechle <ralf@gnu.org>.
328
329         * sysdeps/unix/sysv/linux/mips/brk.c: New file.
330
331         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
332
333         * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
334
335 2000-01-31  Andreas Jaeger  <aj@suse.de>
336
337         * inet/inet_net.c (inet_network): Synch with bind 8.2.2.  Fixes PR
338         libc/1567.
339
340 2000-01-30  Ulrich Drepper  <drepper@redhat.com>
341
342         * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
343         the standard.
344         * sysdeps/alpha/fpu/fesetround.c: Likewise.
345         * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
346         * sysdeps/arm/fpu/fesetround.c: Likewise.
347         * sysdeps/generic/feholdexcpt.c: Likewise.
348         * sysdeps/generic/fesetround.c: Likewise.
349         * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
350         * sysdeps/i386/fpu/fesetround.c: Likewise.
351         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
352         * sysdeps/m68k/fpu/fesetround.c: Likewise.
353         * sysdeps/mips/fpu/fesetround.c: Likewise.
354         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
355         * sysdeps/powerpc/fpu/fesetround.c: Likewise.
356         * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
357         * sysdeps/sparc/fpu/fesetround.c: Likewise.
358         Patch by Miloslav Trmac <mitr@volny.cz>.
359
360         * locale/programs/ld-collate.c (struct locale_collate_t): Change
361         type of plane_size and plane_cnt to uint32_t.
362         Reported by Jakub Jelinek.
363
364 2000-01-29  Jakub Jelinek  <jakub@redhat.com>
365
366         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
367         (SYSCALL_ERROR_HANDLER): Optimize.
368         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
369         Include linux/sparc/sysdep.h.
370         Use a different guard define than linux/sparc/sysdep.h.
371         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
372         stubs for inlined syscalls.
373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
374         (SYSCALL_ERROR_HANDLER): Optimize.
375         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
376         Include linux/sparc/sysdep.h.
377         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
378         stubs for inlined syscalls.
379         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
380         Use INLINE_SYSCALL.
381         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
382         * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
383
384 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
385
386         * locale/loadlocale.c (_nl_load_locale): Optimize a bit.  Pretty
387         print.  Add checks for _POSIX_MMAPPED_FILES where necessary.
388         (_nl_unload_locale): If locale data was mmapped use munmap.
389
390 2000-01-29  Andreas Jaeger  <aj@suse.de>
391
392         * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
393         _EXTERN_INLINE, compile inline assembler functions only with gcc.
394
395 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
396
397         * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
398         * catgets/gencat.c (read_input_file): Remove messages correctly.
399         * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
400         adjacent colons correctly.  Correct loops to read territory and
401         and codeset part.
402         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
403
404         * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
405         pool entry.
406         Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
407
408 2000-01-28  Jakub Jelinek  <jakub@redhat.com>
409
410         * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
411         interface with symbol version GLIBC_2.2.
412         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
413         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
414         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
415         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
416
417 2000-01-27  Scott Bambrough  <scottb@netwinder.org>
418
419         * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
420         resource directory.
421         * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
422         versioning setrlimit and getrlimit.
423
424 2000-01-27  Andreas Jaeger  <aj@suse.de>
425
426         * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
427         * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
428
429 2000-01-27  Ruediger Oertel  <ro@suse.de>
430
431         * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
432
433 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
434
435         * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
436         correct place to avoid uninitialized memory passed to writev.
437
438         * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
439         long string in definition.Only enable returning wide character
440         strings if really needed.
441         * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
442
443         * configure.in: Add check for recent enough sed version.
444
445 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
446
447         * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
448         _i18n_itoa): Fix parameter lists.
449
450         * locale/C-monetary.c: Add initializers for new fields.
451         * locale/C-numeric.c: Likewise.
452         * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
453         outdigits.h, and outdigitswc.h.
454         * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
455         _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
456         and _NL_NUMERIC_THOUSANDS_SEP_WC.
457         * locale/indigits.h: New file.
458         * locale/indigitswc.h: New file.
459         * locale/outdigits.h: New file.
460         * locale/outdigitswc.h: New file.
461         * locale/programs/ld-monetary.c: Write out decimal point and
462         thousands separator info in wide character form.
463         * locale/programs/ld-numeric.c: Likewise.
464         * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
465         (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
466         * stdio-common/_i18n_itoa.c: New file.
467         * stdio-common/_i18n_itoa.h: New file.
468         * stdio-common/_i18n_itowa.c: New file.
469         * stdio-common/_i18n_itowa.h: New file.
470         * stdio-common/printf-parse.h: Parse 'I' flag.
471         * stdio-common/printf.h (struct printf_info): Add i18n field.
472         * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
473         outdigits.
474
475 2000-01-27  Geoff Keating  <geoffk@cygnus.com>
476
477         * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
478         unnecessarily.
479
480         * sysdeps/unix/sysv/linux/kernel-features.h
481         (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
482         __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
483         2.3.35.
484
485         * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
486         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
487         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
488         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
489         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
490         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
491         * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
492         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
493         s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
494         s_truncate64.
495         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
496         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
497
498         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
499         __curbrk off the small data area register.  Reported by
500         Andrew Haley <aph@pasanda.cygnus.co.uk>.
501
502 2000-01-26  Andreas Jaeger  <aj@suse.de>
503
504         * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
505
506 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
507
508         * locale/Makefile (distribute): Remove nonexisting files.
509         * sysdeps/powerpc/Dist: Move FPU specific files to...
510         * sysdeps/powerpc/fpu/Dist: ...here.  New file.
511         * nss/Makefile: Distribute files for new libdb interface.
512         * math/Makefile (distribute): Add README.libm-test.
513         Patch by Andreas Jaeger.
514
515 2000-01-26  David McCann  <david.mccann@alcatel.at>
516
517         * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
518
519 2000-01-25  Andreas Jaeger  <aj@suse.de>
520
521         * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
522         version check since we're using cpp.
523
524 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
525
526         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
527         Fix a typo.
528
529 2000-01-26  Andreas Jaeger  <aj@suse.de>
530
531         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
532         about unitialised variable kbuf.
533         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
534         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
535
536 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
537
538         * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
539         messages.
540         (collate_read): Remove unnecessary `if'.
541
542 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
543
544         * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
545         and load appropriate conversions.
546         * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
547         made global.
548         * libio/libioP.h: Declare __libio_codecvt.
549         * manual/stdio.texi: Document ,ccs= option for fopen.
550         * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
551         * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
552
553         * libio/iofclose.c: Free conversion data if stream was wide-oriented.
554
555         * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
556
557         * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
558
559         * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
560         * posix/testfnm.c: Add a few more tests.  Rearrange test output.
561
562 2000-01-25  Andreas Schwab  <schwab@suse.de>
563
564         * posix/testfnm.c: Add new test case.  Use FNM_PATHNAME instead of
565         FNM_FILE_NAME consistently.
566
567 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
568
569         * posix/fnmatch.c: Define STRCOLL appropriately for the loop
570         definition.
571         * posix/fnmatch_loop.c: Undefine STRCOLL.
572
573         * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
574         kernels with stat64 support.
575         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
576         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
577         Patch by SL Baur <steve@xemacs.org>.
578
579         * string/strxfrm.c: Don't count in the terminating NUL byte/word.
580
581 2000-01-24  Paul Eggert  <eggert@twinsun.com>
582
583         * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
584         deciding whether a character falls within a character range.
585
586 2000-01-24  Paul Eggert  <eggert@twinsun.com>
587
588         * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
589         lower-case A too.
590
591 2000-01-24  Thorsten Kukuk  <kukuk@suse.de>
592
593         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
594
595 2000-01-23  Paul Eggert  <eggert@twinsun.com>
596
597         * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
598
599 2000-01-23  Paul Eggert  <eggert@twinsun.com>
600
601         * posix/regex.c (compile_range): When matching a character
602         range, use the current collating sequence, as POSIX requires.
603
604 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
605
606         * string/argz-stringify.c: Handle case of missing \0 at the end of
607         the given argz.
608
609 2000-01-24  Ulrich Drepper  <drepper@cygnus.com>
610
611         * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
612         size anymore.
613
614         * locale/programs/ld-collate.c (collate_output): Also handle
615         IGNOREd characters in the simple way when generating the multibyte
616         table.
617
618         * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
619         handling to ...
620         (ctype_finish): ...here.  Check for missing codeset name.
621
622         * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
623         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
624
625 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
626
627         * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
628         * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
629         * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
630         * sysdeps/unix/sysv/linux/msgctl.c: ...here.  Include ipc_priv.h.
631         * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
632         * sysdeps/unix/sysv/linux/semctl.c: ...here.  Include ipc_priv.h.
633         * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
634         * sysdeps/unix/sysv/linux/shmctl.c: ...here.  Include ipc_priv.h.
635         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
636         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
637         * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
638         * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
639         * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
640         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
641         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
642         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
643         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
644         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
645         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
646         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
647         * sysdeps/unix/sysv/linux/msgget.c: Likewise.
648         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
649         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
650         * sysdeps/unix/sysv/linux/semget.c: Likewise.
651         * sysdeps/unix/sysv/linux/semop.c: Likewise.
652         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
653         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
654         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
655
656 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
657
658         * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
659         * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
660         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
661         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
662         * sysdeps/unix/sysv/linux/arm/Versions: Remove
663         setrlimit64@GLIBC_2.1.3.
664         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
665         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
666         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
667         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
668         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
669         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
670         so that setrlimit64@GLIBC_2.1 can report limits above 2G.
671         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
672         setrlimit): Remove syscall stubs, add normal syscalls.
673         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
674         Remove syscall stub.
675
676 2000-01-22  Andreas Jaeger  <aj@suse.de>
677
678         * localedata/tst-locale.sh: Enable test for de_DE.437.
679
680 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
681
682         * string/Versions: Export __strndup.
683
684 2000-01-23  Philip Blundell  <philb@gnu.org>
685
686         Add basic support for RPC over IPv6:
687         * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
688         for remote address.
689         (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
690         prototypes.
691         * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
692         clntudp6_bufcreate): New prototypes.
693         * inet/netinet/in.h (bindresport6): Likewise.
694         * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
695         * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
696         svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
697         bindresvport6 for GLIBC_2.2.
698         * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
699         * sunrpc/rpc_svcout.c: Likewise.
700         * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
701         simple assignment when copying addresses.
702         * sunrpc/svc_udp.c (cache_get): Likewise.
703         * sunrpc/svc_unix.c (rendezvous_request): Likewise.
704         * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
705         sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
706
707 2000-01-05  Philip Blundell  <philb@gnu.org>
708
709         * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
710
711 2000-01-23  Andreas Jaeger  <aj@suse.de>
712
713         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
714         parameter to fstat calls.
715
716 2000-01-18  Roland McGrath  <roland@baalperazim.frob.com>
717
718         * sysdeps/generic/bits/socket.h
719         (__ss_aligntype, struct sockaddr_storage): Make these like Linux
720         version, replacing old type name `__ss_align'.
721
722 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
723
724         * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
725         (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
726         * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
727         (__lseek, lseek): Make these weak aliases for __libc_lseek.
728         * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
729         (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
730         * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
731         (__open, open): Make these weak aliases for __libc_open.
732
733         * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
734         trailing comma.
735         (anonymous enum for MSG_*): Likewise.
736         (anonymous enum for SO_*): Likewise.
737
738 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
739
740         * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
741         (PR libc/1553).
742
743 2000-01-08  Mark Kettenis  <kettenis@gnu.org>
744
745         * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
746         (setitimer_locked): Use it to quantize the timer values.  Use
747         quantized timer values to check if the timeout changed.
748
749 2000-01-22  Andreas Jaeger  <aj@suse.de>
750
751         * sunrpc/rpc/svc.h: Fix description for svc_register.
752
753 2000-01-23  Mark Kettenis  <kettenis@gnu.org>
754
755         * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
756
757 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
758
759         * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
760         fixes part 2 of bug 1549.
761         * sunrpc/rpc_des.h: Remove unused defines.
762
763 2000-01-22  Mark Kettenis  <kettenis@gnu.org>
764
765         * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
766
767 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
768
769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
770         * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
771         * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
772         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
773         * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
774         * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
775         and other inline functions for port access.
776         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
777         access functions.
778
779 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
780
781         * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
782         Patch by Bruno Haible <haible@ilog.fr>.
783
784 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
785
786         * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
787         them all at the end, eliding the final comma.
788         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
789
790 2000-01-21  Ulrich Drepper  <drepper@cygnus.com>
791
792         * intl/libintl.h: Add format_arg attributes to declarations of new
793         functions.
794
795         * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
796         ngettext, and plural.
797         (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
798         (test-srcs): Add tst-gettext.
799         (before-compile): Add $(objpfx)msgs.h.
800         Add rules for plural.c and msgs.h generation and running tst-gettext.\
801         * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
802         and ngettext.
803         * intl/dcgettext.c: Move most code into dcigettext.c.  Add call
804         dcigettext with appropriate parameters.
805         * intl/dcigettext.c: New file.
806         * intl/dcngettext.c: New file.
807         * intl/dngettext.c: New file.
808         * intl/ngettext.c: New file.
809         * intl/gettextP.h (struct expression): Define.
810         (struct loaded_domain): Add plural and nplurals members.
811         Add prototypes for new internal functions.
812         * intl/libintl.h: Declare new functions.  Add optimizations for them.
813         * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
814         * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
815         header entry and parse and store the expression.
816         * intl/plural.y: New file.
817         * intl/po2test.sed: New file.
818         * intl/tst-gettext.c: New file.
819         * intl/tst-gettext.sh: New file.
820         * manual/message.texi: Document new interfaces.
821
822         * intl/gettext.c: Call __dcgettext directly.
823
824 2000-01-20  Ulrich Drepper  <drepper@cygnus.com>
825
826         * manual/getopt.texi (Using the getopt function): Fix description of
827         return value for format string starting with '-' (PR libc/1551).
828         Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
829
830         * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
831         Patch by jens.moeller@westgeo.com (PR libc/1550).
832
833         * locale/programs/ld-collate.c (struct element_t): Add wclast
834         and compute it where necessary.
835         (collate_output): Insert indirect references in the right order.
836
837         * math/Makefile (tests): Add test-misc.
838         * math/test-misc.c: New file.
839
840 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
841
842         * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
843         with exponent >31 and < 63 (PR libc/1548).
844
845         * locale/programs/ld-collate.c (output_weightwc): Return index
846         measured in words, not bytes.  Don't write out words for ignored
847         characters.
848         (collate_output): Correct various problems with alignment in the
849         output file.
850         * locale/weight.h: Adjust for last change in ld-collate.c of adding
851         alignment padding.
852
853         * stdlib/strfmon.c: Don't report an error if final NUL is at the
854         end of the buffer.  Set errno correctly if floating-point number
855         would overflow buffer.
856
857         * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
858
859         * locale/weight.h (findidx): Little optimization.  Correctly return
860         offset in indirect table.
861         * locale/programs/ld-collate.c (struct element_t): Add mblast
862         and compute it where necessary.
863         (insert_weights): Correctly handle missing weights in ellipsis
864         expression.
865         (handle_ellipsis): Correctly enqueue new element.
866         (collate_output): Insert indirect references in the right order.
867
868 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
869
870         * wcsmbs/mbrtowc.c: Create temporary state object if no output is
871         written.
872         * wcsmbs/mbsrtowcs.c: Likewise.
873         * wcsmbs/wcrtomb.c: Likewise.
874         * wcsmbs/wcsrtombs.c: Likewise.
875
876         * wcsmbs/wcrtomb.c: Compute result correctly for successful call
877         with s == NULL.
878
879         * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
880         in gconv function.
881
882         * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
883         incomplete but correct.
884
885         * locale/programs/charmap.c: NUL-terminate names of generated
886         entries for ellipsis.
887
888 2000-01-18  Andreas Jaeger  <aj@suse.de>
889
890         * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
891         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
892         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
893         _STAT_VER_KERNEL handling up; don't save errno.
894         * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
895         * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
896         * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
897         * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
898         * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
899         * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
900         * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
901         * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
902         * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
903
904 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
905
906         * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
907         Remove done variable and all uses.
908         * iconv/skeleton.c: Update comment for *written modification.
909         * iconv/gconv_int.h (__gconv): Update comment.
910         Reported by Bruno Haible.
911
912 2000-01-18  Bruno Haible  <haible@ilog.fr>
913
914         * posix/fnmatch.c (ISWCTYPE): New macro.
915         (__wcschrnul): New function.
916         (BTOWC): New macro. Define it instead of __btowc.
917         (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
918         wcsrtombs. Call wctype, not __wctype.
919         * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
920         BTOWC instead of __btowc.
921
922 2000-01-18  Andreas Jaeger  <aj@suse.de>
923
924         * inet/Versions: Add new functions added on 2000-01-17.
925
926 2000-01-18  Jakub Jelinek  <jakub@redhat.com>
927
928         * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
929
930 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
931
932         * timezone/antarctica: Update from tzdata2000a.
933         * timezone/asia: Likewise.
934         * timezone/australasia: Likewise.
935         * timezone/backward: Likewise.
936         * timezone/northamerica: Likewise.
937         * timezone/southamerica: Likewise.
938         * timezone/zone.tab: Likewise.
939
940         * nscd/connections.c (dbs): Use
941         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
942         Pretty printing.
943
944         * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
945         address.  Suggested by Philip Blundell.
946
947         * posix/TESTS: Fix expected result for test cases with * with no
948         leading expression.
949
950         * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
951         * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here.  New file.
952         * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
953         open call would require read permission.
954         Patch by James Antill <james@and.org>.
955
956         * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
957
958         * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
959         * sysdeps/posix/getaddrinfo.c: Correct modifications done for
960         PR1515.  Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
961
962         * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
963         * posix/regex.c (regex_compile): Return appropriate errors for
964         unterminated brace expressions.  Detect invalid characters
965         in brace expressions.
966         * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
967         * sysdeps/posix/sysconf.c: Include regex.h.
968         Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
969
970 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
971
972         * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
973         AI_NUMERICHOST flag is set, return an error.
974         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
975
976         * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
977         iruserok_af.
978         * inet/rexec.c: Implement rexec_af.
979         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
980
981         * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
982         and rresvport_af.
983
984 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
985
986         * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
987         * sysdeps/unix/sysv/linux/bits/sem.h: New file.
988         * sysdeps/unix/sysv/linux/bits/shm.h: New file.
989         * sysdeps/unix/sysv/linux/bits/msg.h: New file.
990         * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
991         * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
992         * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
993         * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
994         * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
995         * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
996         * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
997         * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
998
999         * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1000         Renamed from msgctl.
1001         (__new_msgctl): New function.
1002         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1003         Renamed from semctl.
1004         (__new_semctl): New function.
1005         * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1006         Renamed from shmctl.
1007         (__new_shmctl): New function.
1008
1009         * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1010         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1011         * sysdeps/unix/sysv/linux/semget.c: Likewise.
1012         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1013         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1014         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1015         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1016         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1017
1018         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1019         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1020         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1021
1022         * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1023
1024 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1025
1026         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1027         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1028         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1029         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1030         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1031         syscalls.
1032
1033         * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1034         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1035
1036         * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1037         available on sparc since 2.3.39.
1038
1039         * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1040
1041 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1042
1043         * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1044         prototype.
1045         (__real_chown): Return EINVAL if owner or group are out of the range
1046         -1U .. 65534.
1047         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1048         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1049         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1050         EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1051         * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1052         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1053         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1054         * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1055         prototype.
1056         Don't include non-existant header.
1057         (__chown): Return EINVAL if owner or group are out of the range
1058         -1U .. 65534.
1059         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1060         setresgid): Inherit standard linux/syscalls.list definitions.
1061         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1062         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1063         * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1064         __setresgid symbol.
1065
1066 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1067
1068         * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1069         from 1989 change in ISO 639.
1070
1071 2000-01-12  Andreas Jaeger  <aj@suse.de>
1072
1073         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1074         function; needed for 32bit uid support.
1075
1076         * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1077         uids correctly.
1078
1079 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1080
1081         * intl/locale.alias: Add entries for galician.
1082
1083         * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1084         try to get sequence from charmap with Uxxxxxxxx name.
1085         (charclass_ucs4_ellipsis): Likewise.
1086         (charclass_charcode_ellipsis): Allow byte sequence missing.
1087         (read_writestring): Free allocated memory in case of an error.
1088         (set_class_defaults): Don't search repertoire map for wide character
1089         default values; we know it's UCS4.
1090
1091         * locale/programs/repertoire.c (repertoire_find_value): Just return an
1092         error if no repertoire map was loaded.
1093         (repertoire_find_symbol): Likewise.
1094         (repertoire_find_seq): Likewise.
1095
1096         * posix/fnmatch.c: Put internal_fnmatch in separate file.  Include
1097         twice, to define singlebyte and multibyte version.
1098         (fnmatch): Differentiate between singlebyte and multibyte locale and
1099         call appropriate internal function.
1100         * posix/fnmatch_loop.c: New file.
1101         * posix/Makefile (distribute): Add fnmatch_loop.c.
1102
1103         * locale/programs/repertoire.c (repertoire_read): Don't print
1104         error message when repertoire map is missing.
1105         (repertoire_complain): Print error message for missing map, but only
1106         once.
1107         * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1108
1109         * locale/programs/linereader.c (get_string): Prefer getting names
1110         from charseq entries.  Try finding Uxxxxxxxx names in charmap
1111         before trying to map from repertoire.
1112
1113 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1114
1115         * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1116         error in last change.
1117         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1118
1119         * stdlib/longlong.h: Fix typo in last patch.
1120
1121 2000-01-12  Andreas Jaeger  <aj@suse.de>
1122
1123         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1124         Added for Linux 2.3.39+.
1125
1126         * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1127         32bit GIDs.
1128         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1129         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1130         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1131         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1132         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1133         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1134         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1135         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1136         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1137         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1138         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1139         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1140         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1141         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1142         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1143
1144         * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1145         * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1146         * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1147         * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1148         * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1149         * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1150         * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1151         * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1152         * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1153         * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1154         * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1155         * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1156         * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1157         * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1158         * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1159         * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1160         * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1161         * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1162         * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1163         * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1164         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1165         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1166         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1167         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1168         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1169         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1170         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1171         Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1172
1173 2000-01-14  Jakub Jelinek  <jakub@redhat.com>
1174
1175         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1176
1177 2000-01-13  Jakub Jelinek  <jakub@redhat.com>
1178
1179         * sysdeps/generic/backtrace.c: Include signal.h which
1180         sigcontextinfo.h headers are used to expect.
1181         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1182         (register_dump): Fix a typo in the printout.
1183         Avoid using reg_window, so that asm/ptrace.h is not necessary.
1184         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1185         (ADVANCE_STACK_FRAME): Likewise.
1186
1187         * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1188         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1189         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1190
1191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1192         to make it clear this file depends on __WORDSIZE.
1193         * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1194         Renamed from have_no_truncate64.
1195         * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1196         Likewise.
1197
1198 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1199
1200         * Makeconfig (rpath-dirs): Remove db2.
1201         (dbojdir): Remove variable.
1202
1203         * locale/programs/locfile.h (handle_copy): Take repertoire map
1204         name as parameter, not pointer to repertoire structure.
1205         * locale/programs/ld-address.c: Change caller.
1206         * locale/programs/ld-ctype.c: Likewise.
1207         * locale/programs/ld-identification.c: Likewise.
1208         * locale/programs/ld-measurement.c: Likewise.
1209         * locale/programs/ld-messages.c: Likewise.
1210         * locale/programs/ld-monetary.c: Likewise.
1211         * locale/programs/ld-name.c: Likewise.
1212         * locale/programs/ld-numeric.c: Likewise.
1213         * locale/programs/ld-paper.c: Likewise.
1214         * locale/programs/ld-telephone.c: Likewise.
1215         * locale/programs/ld-time.c: Likewise.
1216
1217 2000-01-13  Ulrich Drepper  <drepper@cygnus.com>
1218
1219         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1220         mmap2 is available when compiling but no at runtime.
1221
1222 2000-01-12  Ulrich Drepper  <drepper@cygnus.com>
1223
1224         * iconvdata/iso-ir-165.c: New file.
1225         * iconvdata/iso-ir-165.h: New file.
1226         * iconvdata/Makefile: Add rules to build libISOIR165.
1227
1228         * Makefile (install): Correct passing -r parameter to ldconfig.
1229
1230         * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1231         Reported by Bruno Haible <haible@ilog.fr>.
1232
1233 2000-01-11  Andreas Schwab  <schwab@suse.de>
1234
1235         * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1236
1237 2000-01-10  Thorsten Kukuk  <kukuk@suse.de>
1238
1239         * nss/getent.c: Add ipv6 support for hosts.
1240
1241 2000-01-05  Philip Blundell  <pb@futuretv.com>
1242
1243         * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1244         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1245         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1246         oldsetrlimit.
1247         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1248         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1249         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1250         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1251         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1252         * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1253
1254         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1255         (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1256         [subdir=misc] (sysdep_headers): Add sys/elf.h.
1257
1258 2000-01-09  Andreas Jaeger  <aj@suse.de>
1259
1260         * manual/install.texi (Tools for Compilation): Update required
1261         compiler version.
1262         (Configuring and compiling): Restore old comments about
1263         configparms; modify to reflect current usage.
1264
1265 2000-01-09  Philip Blundell  <philb@gnu.org>
1266
1267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1268         resolution if the hints included AI_NUMERICHOST.
1269
1270 2000-01-11  Andreas Schwab  <schwab@suse.de>
1271
1272         * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1273         infinite loop to avoid pulling in stdio in the dynamic linker.
1274         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1275
1276 2000-01-10  Andreas Jaeger  <aj@suse.de>
1277
1278         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1279         change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1280         EM_MIPS_RS3_LE.
1281         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1282
1283         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1284         gregset_t, fpregset_t, and NGREG definitions.
1285
1286         * sysdeps/mips/Implies: Add wordsize-32.
1287
1288         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1289         int's.
1290
1291         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1292         missing int's.
1293
1294         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1295         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1296         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1297         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1298         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1299         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1300         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1301
1302 2000-01-09  Philip Blundell  <philb@gnu.org>
1303
1304         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1305         (dl_platform_init): Allow _dl_platform to be NULL.
1306
1307         * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1308         last change.
1309
1310 2000-01-08  Ulrich Drepper  <drepper@cygnus.com>
1311
1312         * nscd/connections.c (handle_request): Handle systems without
1313         SO_PEERCRED.
1314         (nscd_run): Likewise.
1315
1316 2000-01-07  Andreas Jaeger  <aj@suse.de>
1317
1318         Add support for Berkeley db 3.0.x and merge db support:
1319         * nss/nss_db/dummy-db.h (struct db30): New.
1320         (struct dbc30): New.
1321         Added DB30* flags.
1322
1323         * nss/makedb.c: Move all database routines to db-open.c.
1324         (main): Adjust to interface changes.
1325         Load database early to initialize version dependend variables.
1326
1327         * nss/db-open.c: Merge database routines from makedb.c.
1328         Define version dependend constansts as variables.
1329         (load_db): Check also for db 3.
1330         (internal_setent): Call dbopen.
1331         (db_cursor): New function from makedb; handles db 3 now.
1332         (dbopen): New function from makedb; handles db 3.
1333
1334         * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1335         different in different DB versions.
1336
1337         * nss/nss_db/nss_db.h: Add version dependend constants as
1338         variables, add exportet interfaces from db-open.c.
1339
1340         * nss/Makefile ($(objpfx)makedb): Link against db-open.
1341
1342 2000-01-07  Ulrich Drepper  <drepper@cygnus.com>
1343
1344         * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1345         Reported by Jim Meyering.
1346
1347         * time/strftime.c: Pretty printing.
1348
1349 2000-01-07  Andreas Jaeger  <aj@suse.de>
1350
1351         * manual/socket.texi (Host Names): Fix example.
1352         Reported by Marco Budde <budde@telos.de>.
1353
1354 2000-01-06  Ulrich Drepper  <drepper@cygnus.com>
1355
1356         * localedata/Makefile (install-locales): Create locale directory
1357         if it does not exist.
1358
1359         * locale/programs/charmap.c (charmap_read): Call lr_open here and
1360         not in parse_charmap.  Try also the directories on the I18NPATH.
1361         (parse_charmap): Change accordingly.
1362
1363 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1364
1365         * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1366         and oldsetrlimit64.c.
1367
1368         * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1369         sys/procfs.h.
1370
1371         * manual/texinfo.tex: Updated from latest official version.
1372
1373         * debug/Makefile (distribute): Add frame.h.
1374
1375 2000-01-05  Philip Blundell  <philb@gnu.org>
1376
1377         * sysdeps/arm/frame.h: New file.
1378         * sysdeps/generic/frame.h: Likewise.
1379         * sysdeps/generic/segfault.c (struct layout): Delete definition;
1380         include the above file instead.
1381         * sysdeps/generic/backtrace.c (struct layout): Likewise.
1382         (__backtrace): Use ADVANCE_STACK_FRAME.
1383         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1384         (ADVANCE_STACK_FRAME): New macro.
1385         (GET_FRAME): Apply above to returned value.
1386
1387         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1388
1389 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1390
1391         * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1392         Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1393
1394         * io/ftw.c (process_entry): Cache object dev/inode only for
1395         directories (PR libc/1514).
1396
1397 2000-01-05  Andreas Schwab  <schwab@suse.de>
1398
1399         * locale/programs/charmap.c (charmap_read): Fix typo.
1400
1401 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1402
1403         * locale/programs/charset.c: Removed.
1404
1405         * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1406         * iconvdata/gconv-modules: Likewise.
1407         * iconvdata/iso8859-16.c: New file.
1408
1409 2000-01-05  Andreas Schwab  <schwab@suse.de>
1410
1411         * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1412
1413 2000-01-05  Andreas Jaeger  <aj@suse.de>
1414
1415         * intl/locale.alias: Add lithunian entry.
1416         Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1417
1418 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1419
1420         * locale/programs/stringtrans.c: Removed.
1421         * locale/programs/stringtrans.h: Removed.
1422         * locale/programs/linereader.c: Remove #include of stringtrans.h.
1423
1424         * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1425         _POSIX_MAPPED_FILES is not defined.
1426
1427         * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1428         for loc_name copy.
1429
1430         * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1431         _nl_POSIX_name instead of "C" and "POSIX" strings.
1432
1433         * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1434         (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1435         * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed.  We can
1436         reuse the _nl_C_LC_CTYPE_tolower table.
1437         (_nl_C_LC_CTYPE_toupper32): Likewise.
1438         (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1439         toupper32 entries.
1440
1441         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1442         characters >= 0x80.
1443         (_nl_C_LC_CTYPE_class32): Likewise.
1444
1445         * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1446         aio_idle_time.
1447         * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1448         after the operation is done.  Let them linger for a user-definable
1449         time.
1450         * rt/aio_cancel.c: Likewise.
1451         Patch by Willian M Shubert <william.m.shubert@intel.com>.
1452
1453         * sysdeps/i386/i686/add_n.S: New file.
1454
1455 2000-01-02  Philip Blundell  <philb@gnu.org>
1456
1457         * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1458         to obtain port mapping information.  Avoid use of mprotect.
1459
1460 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1461
1462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1463         definition from 2.3.36.
1464
1465 2000-01-04  Andreas Jaeger  <aj@suse.de>
1466
1467         * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1468         (struct db27): Add missing fields byteswapped, join and flags;
1469         remove wrong member handleq.
1470         (struct dbc27): Correct lock field.
1471
1472         * nss/makedb.c: Remove __P.
1473
1474 2000-01-04  Andreas Jaeger  <aj@suse.de>
1475
1476         * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1477         success, fix a memory leak and clean up function.
1478
1479 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
1480
1481         * Makefile (install): Pass $(install_root) to ldconfig.
1482         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1483
1484 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
1485
1486         * soft-fp/op-1.h: Fix division for machines using not normalizing
1487         version of udiv_qrnnd in longlong.h.
1488         * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1489         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1490         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1491         Patch by Eddie C. Dost <ecd@skynet.be>.
1492
1493         * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1494
1495 2000-01-03  Andreas Schwab  <schwab@suse.de>
1496
1497         * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1498         needed for change in common symbol handing in newer binutils.
1499
1500 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1501
1502         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1503         kernel without mmap2 syscall.
1504
1505 2000-01-03  Philip Blundell  <philb@gnu.org>
1506
1507         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1508         __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1509         ARM for kernels >= 2.3.35.
1510
1511 2000-01-03  Philip Blundell  <philb@gnu.org>
1512
1513         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1514         Optimise error handling a little.
1515         * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1516
1517 2000-01-03  Andreas Jaeger  <aj@suse.de>
1518
1519         * include/resolv.h: Remove declarations for __ns_name_ntop and
1520         __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1521
1522 2000-01-03  Andreas Jaeger  <aj@suse.de>
1523
1524         * time/tst-strptime.c (test_tm): Add tests for all fields of
1525         struct tm.
1526
1527 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
1528
1529         * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1530
1531 2000-01-03  Andreas Jaeger  <aj@suse.de>
1532
1533         * string/tester.c (test_strsep): Add one more test.
1534
1535 2000-01-03  Philip Blundell  <philb@gnu.org>
1536
1537         * string/tester.c (test_mempcpy): New function.
1538         (main): Call it.
1539         (test_memcpy): Test unaligned cases too.
1540
1541         * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1542
1543         * sysdeps/arm/fpu/bits/mathdef.h: New file.
1544
1545 2000-01-02  Ulrich Drepper  <drepper@cygnus.com>
1546
1547         * posix/Makefile (tests): Add tst-mmap.
1548         * posix/tst-mmap.c: New file.
1549
1550         * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1551         call before handling error.
1552
1553         * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1554         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1555
1556         * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1557         0xa2e6 and 0xa2e7.
1558         (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1559         * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1560         mappings.
1561         * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1562         * iconvdata/testdata/ISO-2022-KR: Likewise.
1563
1564         * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1565
1566         * iconvdata/gconv-modules: Remove BALTIC.  It's the same as
1567         ISO-8859-13.
1568         * iconvdata/Makefile (distribute): Remove baltic.c.
1569         (modules): Remove BALTIC.
1570         (gen-8bit-gap-modules): Remove baltic.
1571         * iconvdata/baltic.c: Removed.
1572
1573         * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1574
1575         * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1576
1577         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1578         typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1579         Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1580
1581         * nss/Makefile: Add rules to build makedb.
1582         * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1583         * nss/nss_db/dummy-db.h: Likewise.
1584         * nss/makedb.c: New file.  Copied from file in db2, modified to not
1585         depend on being linked against libdb.
1586
1587 2000-01-01  Ulrich Drepper  <drepper@cygnus.com>
1588
1589         * Makeconfig (all-subdirs): Remove db and db2.
1590         * db/*: Removed.
1591         * db2/*: Removed.
1592
1593         * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1594         functions from here...
1595         * nss/db-alias.c: ...and here...
1596         * nss/db-netgrp.c: ...and here...
1597         * nss/nss_db/db-open.c: ...to here.  New file.
1598         * nss/nss_db/dummy-db.h: New file.
1599         * nss/nss_db/nss_db.h: New file.
1600         * nss/Depend: Depend in dlfcn, not db2.
1601         * nss/Makefile (libnss_db-routines): Add db-open.
1602         (distribute): Add nss_db.h dummy-db.h.
1603         (libnss_db.so): Replace libdb dependency by $(libdl).
1604         Based on a patch by Zack Weinberg.
1605
1606         * locale/programs/ld-ctype.c: Implement rest of transliteration
1607         definition parsing.
1608         * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1609         * locale/programs/locfile-token.h: Add tok_translit_ignore.
1610
1611 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1612
1613         * locale/programs/ld-collate.c (collate_output): Emit correct
1614         information for collation elements.
1615         Don't write over end of array idx.
1616         * posix/regex.c: Handle also collation elements at end of range.
1617
1618         * posix/PTESTS: Fix a few typos.
1619
1620         * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
1621         no idea where this came from.
1622         * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1623
1624 1999-12-31  Andreas Jaeger  <aj@suse.de>
1625
1626         * libio/strfile.h: Remove K&R compatibility.
1627         * locale/langinfo.h: Likewise.
1628         * locale/localeconv.c (localeconv): Likewise.
1629         * locale/programs/simple-hash.h: Likewise.
1630         * nis/nis_xdr.h: Likewise.
1631         * nis/rpcsvc/nislib.h: Likewise.
1632         * nis/rpcsvc/nis_callback.h: Likewise.
1633         * nis/rpcsvc/nis.h: Likewise.
1634         * nis/ypclnt.c: Likewise.
1635         * nscd/nscd_proto.h: Likewise.
1636         * nscd/nscd.c: Likewise.
1637         * sysdeps/generic/inttypes.h: Likewise.
1638         * sysdeps/gnu/utmpx.h: Likewise.
1639
1640         * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1641         * sunrpc/rpcsvc/rusers.x: Likewise.
1642
1643         * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1644
1645         * elf/dl-misc.c: Remove __libc_write prototype since it's already
1646         in include/unistd.h.
1647         * elf/dl-profile.c: Likewise.
1648         * elf/dl-load.c: Likewise for __libc_read.
1649
1650         * elf/dl-profile.c: Remove __P.
1651         * elf/sprof.c: Likewise.
1652         * elf/sln.c: Likewise.
1653
1654 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1655
1656         * locale/langinfo.h: Add constants for wide character collation
1657         symbol table.
1658         * locale/categories.def: Add appropriate entries for collate symbol
1659         table entries.
1660         * locale/C-collate.c: Add initializers for new entries.
1661         Remove commented out code.
1662         * locale/elem-hash.h: New file.
1663         * locale/Makefile (distribute): Add elem-hash.h.
1664         * locale/programs/ld-collate.c: Implement output of collate symbol
1665         table.
1666
1667         * posix/regex.c: Implement collation class handling.
1668
1669 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1670
1671         * posix/regex.c (regex_compile): Implement equivalence class handling.
1672
1673 1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>
1674
1675         * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1676         (OPCODE_LWZU): New macro.
1677         (OPCODE_ADDIS_HI): New macro.
1678         (OPCODE_LIS_HI): New macro.
1679         (__elf_machine_runtime_setup): Change PLT code-generation scheme
1680         for thread safety even with very large PLTs, better efficiency,
1681         and to fix a cache-flushing bug.  Also support the Motorola
1682         8xx processors which have a different cache line size than all
1683         the others.
1684         (__elf_machine_fixup_plt): Likewise.
1685         (__process_machine_rela): Don't use elf_machine_fixup_plt.
1686
1687 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1688
1689         * wcsmbs/wcscoll.c: Use multibyte character version.
1690         * wcsmbs/wcsxfrm.c: Likewise.
1691         * string/strcoll.c: Prepare to be used for the wide character version.
1692         * string/strxfrm.c: Likewise.
1693         * locale/weightwc.h: New file.
1694
1695 1999-12-30  Geoff Keating  <geoffk@cygnus.com>
1696
1697         * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1698         the (void) casts as now feraiseexcept returns a value.
1699         (feclearexcept): Likewise.
1700
1701         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1702         it interferes with the macros for AIX.
1703
1704 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1705
1706         * locale/programs/ld-collate.c (collate_finish): Always define
1707         weight for UNDEFINED if not defined by the user but don't complain
1708         unless it is needed in the multibyte character table.
1709         (collate_output): Add extra dummy elements in wide char tables in the
1710         same way done for multibyte.  Always output undefined entry in
1711         wide character table.
1712
1713         * locale/Makefile (categories): Remove commented-out old definition.
1714
1715         * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1716         to new_element if the wide char is not valid.
1717         (handle_ellipsis): Likewise.
1718         (collate_read): It's no problem if the string in the collating element
1719         definition cannot be represented as multibyte or wide char string.
1720
1721 1999-12-13  Andreas Jaeger  <aj@suse.de>
1722
1723         * resolv/resolv.h: Remove K&R compatibility.
1724
1725         * resolv/res_libc.c: Move definition of _res after res_init,
1726         res_init should use the threaded specific context.
1727
1728         * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1729         needed anymore.
1730
1731 1999-12-29  Ulrich Drepper  <drepper@cygnus.com>
1732
1733         * locale/langinfo.h: Add constants for wide character collation data.
1734         * locale/categories.def: Add appropriate entries for collate entries.
1735         * locale/C-collate.c: Add initializers for new entries.
1736         * locale/programs/ld-collate.c: Implement output of wide character
1737         tables.
1738
1739         * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1740         compute wide character table size a bit: it now gives up a bit of
1741         total table size for fewer levels.
1742
1743         * soft-fp/*: Tons of new files to implement floating-point arithmetic
1744         in software.
1745         Contributed by Richard Henderson, Jakub Jelinek and others.
1746
1747 1999-12-29  Andreas Jaeger  <aj@suse.de>
1748
1749         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1750         <asm/io.h>; remove K&R compatibility; add missing ints.
1751
1752         * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1753         add missing ints.
1754
1755         * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1756
1757 1999-12-29  Andreas Jaeger  <aj@suse.de>
1758
1759         * manual/getopt.texi (Using Getopt): Document ordering of options.
1760
1761 1999-12-29  Andreas Jaeger  <aj@suse.de>
1762
1763         * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1764         Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1765
1766 1999-12-14  Andreas Jaeger  <aj@suse.de>
1767
1768         * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1769         2.3.32.
1770
1771 1999-12-28  Jakub Jelinek  <jakub@redhat.com>
1772
1773         * elf/sprof.c (load_shobj): Fix error message.
1774         (generate_call_graph): Cast %*s length argument to int.
1775         * locale/programs/localedef.c (construct_output_path): Likewise.
1776         * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1777         specifier.
1778         (ctype_class_new): Likewise.
1779         * locale/programs/ld-time.c (time_finish): Likewise.
1780         * sunrpc/svc_simple.c (register_rpc): Likewise.
1781         * nscd/connections.c (nscd_run, start_threads): Use long instead of
1782         int to avoid cast warnings.
1783         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1784         warning.
1785         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1786         variable se.
1787
1788         * time/strftime.c (my_strftime): Provide wide era string when
1789         requested.
1790
1791         * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1792         Separate into 32bit and 64bit versions.
1793
1794 1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
1795
1796         * iconvdata/Makefile (modules): Add ISO-2022-CN.
1797         Add link rules for this module.
1798         (distribute): Add iso-2022-cn.c and cns11643l2.h.
1799         * iconvdata/cns11643l2.h: New file.
1800         * iconvdata/iso-2022-cn.c: New file.
1801         * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1802
1803         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1804         unsigned.
1805         (ucs4_to_cns11643l1): Likewise.
1806         * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1807
1808         * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1809         loop to UCS4.
1810         Optimize recognition of escape sequences a bit.
1811
1812         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1813         and oldsetrlimit definitions.
1814
1815 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
1816
1817         * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1818         identifying errors more easily.
1819
1820         * iconvdata/testdata/EUC-CN..UTF8: New file.
1821         * iconvdata/testdata/GBK..UTF8: New file.
1822
1823         * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1824         mappings.  Fix last patch.
1825         * iconvdata/TESTS: Add GBK.
1826         * iconvdata/testdata/GBK: New file.
1827
1828         * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1829         0x2312, and 0x2500..0x254b.
1830         * iconvdata/TESTS: Add EUC-CN.
1831         * iconvdata/testdata/EUC-CN: New file.
1832
1833         * iconvdata/gbgbk.c: New file.
1834         * iconvdata/Makefile (modules): Add GBGBK.
1835         (distribute): Add gbgbk.c.
1836         * iconvdata/gconv-modules: Add entries for GBGBK modules.
1837
1838         * iconvdata/euc-cn.c: Fix comment.
1839
1840         * iconvdata/gbk.c: Optimize the switch statement in the conversion
1841         to GBK a bit.
1842
1843         * locale/programs/charmap.c (charmap_new_char): Recognize special
1844         character names Uxxxx and Pxxxx and initialize the UCS4 value from
1845         the value of xxxx.
1846
1847 1999-12-17  Andreas Jaeger  <aj@suse.de>
1848
1849         * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1850
1851 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
1852
1853         * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1854         * stdlib/exit.h (flavor): Add ef_cxa.
1855         (exit_function): Add cxa variant.
1856         * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1857         * stdlib/cxa_atexit.c: New file.
1858         * stdlib/cxa_finalize.c: New file.
1859
1860 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
1861
1862         * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1863         Unicode tables.
1864
1865 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
1866
1867         * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1868         __have_no_stat64.
1869         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1870         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1871
1872         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1873         of <asm/resource.h>.
1874
1875 1999-12-26  Philip Blundell  <philb@gnu.org>
1876
1877         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
1878         argument count for `syscall' to 7.
1879         * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1880         with more than five arguments.
1881         (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1882
1883 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
1884
1885         * locale/programs/ld-collate.c (collate_output): Don't start with empty
1886         extrapool and indirectpool obstacks since we need the offsets to be
1887         nonzero.
1888         (collate_read): Call load_locale, not find_locale.
1889         * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1890         wasn't defined in the file also initialize repertoire if possible.
1891         * locale/programs/ld-time.c (time_finish): Fix message string.
1892         * locale/programs/linereader.c: Cast parameters of lr_error to
1893         correct type to prevnet warning.
1894         * locale/programs/localedef.c (load_locale): New file.
1895         * locale/programs/localedef.h: Add its prototype.
1896         * locale/programs/repertoire.c (repertoire_new_char): Add missing
1897         parameters to lr_error call.
1898
1899         * localedata/Makefile: Enable running tests again.
1900         * localedata/tests/test2.def: Adjust syntax to new specification.
1901         * localedata/tests/test3.def: Likewise.
1902         * localedata/tst-trans.sh: Redirect output of program into file.
1903
1904         * string/strcoll.c: Fix many error in new implementation to make it
1905         pass (at least) the test suite.
1906
1907         * locale/Makefile: Don't link localedef statically anymore.
1908
1909         * locale/ld-collate.c (struct element_t): Add field is_character and
1910         use it to distinguish real character from collating elements and
1911         symbols.
1912         (new_element): Take new parameter to initialize is_character.  Change
1913         all callers.
1914         (handle_ellipsis): Use is_character field to make sure ellipsis is
1915         only used with characters.
1916         (collate_read): Fix reading of collating elements.
1917
1918         * string/strxfrm.c: Correct loop end detection and memory access
1919         in the little optimization at the end.
1920
1921         * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1922         emit warnings.  Provide default value for mon_decimal_point.
1923
1924         * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1925         category wasn't defined.
1926         (collate_output): Likewise.
1927
1928         * locale/programs/ld-address.c: Don't emit message about not defined
1929         category if be_quiet.
1930         * locale/programs/ld-ctype.c: Likewise.
1931         * locale/programs/ld-identification.c: Likewise.
1932         * locale/programs/ld-measurement.c: Likewise.
1933         * locale/programs/ld-messages.c: Likewise.
1934         * locale/programs/ld-monetary.c: Likewise.
1935         * locale/programs/ld-name.c: Likewise.
1936         * locale/programs/ld-numeric.c: Likewise.
1937         * locale/programs/ld-paper.c: Likewise.
1938         * locale/programs/ld-telephone.c: Likewise.
1939         * locale/programs/ld-time.c: Likewise.
1940
1941         * locale/programs/locfile.c (write_locale_data): Correct memory
1942         allocation for fname.
1943
1944 1999-12-25  Ulrich Drepper  <drepper@cygnus.com>
1945
1946         * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1947         (collate_finish): Test that position is used in all sections for
1948         a level or in none.
1949
1950         * string/strxfrm.c: Optimize a bit.  We don't need the highest bit
1951         of the index returned by findidx.
1952
1953         * string/strcoll.c: Complete rewrite for new collate implementation.
1954         * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1955         locally.
1956
1957         * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1958         indirect table.
1959         * locale/langinfo.h: Likewise.
1960         * locale/categories.def: Likewise.  Remove reference to postload
1961         functions.
1962         * locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
1963         __collate_tablemb, __collate_weightmb, and __collate_extramb.
1964         * locale/localeinfo.h: Remove declaration for removed variables above.
1965         Remove prototype for _nl_get_era_entry.
1966         * locale/weight.h: Complete rewrite for new collate implementation.
1967         * locale/programs/ld-collate.c: Many changes to make output file
1968         usable in strxfrm/strcoll.
1969         * string/strxfrm.c: Complete rewrite for new collate implementation.
1970         * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1971         locally.
1972
1973 1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
1974
1975         * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1976         transformation values for chars >255.
1977         * wctype/wctrans.c: Return pointer unmodified.
1978
1979 1999-12-24  Ulrich Drepper  <drepper@cygnus.com>
1980
1981         * sysdeps/posix/system.c (__libc_system): Check whether command
1982         processor is available if LINE is NULL.  Don't return immediately
1983         if wait call returned with EINTR.
1984         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1985
1986 1999-12-23  Ulrich Drepper  <drepper@cygnus.com>
1987
1988         * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1989         prevent warning.
1990
1991         * locale/programs/ld-collate.c: Implement writing out multibyte
1992         collation data.
1993
1994         * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1995         * locale/localeinfo.h: Declare variables only for currently implemented
1996         collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1997         * locale/lc-collate.c: Define variables only for currently implemented
1998         functionality.
1999         * locale/langinfo.h: Define symbols only for currently implemented
2000         functionality.
2001         * locale/categories.def: Define elements for currently implemented
2002         functionality.
2003         * locale/C-collate.c: Comment out definitions of arrays with symbol
2004         name definitions etc.
2005         (_nl_C_LC_COLLATE): Update for currently defined information.
2006
2007         * intl/libintl.h: Remove dcgettext macro definition.
2008         * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2009
2010         * locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.
2011
2012         * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2013         also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.
2014
2015 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
2016
2017         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2018         for __fenv_stfsr argument.
2019         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2020         truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2021         Remove ugetrlimit.
2022         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2023         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2024         (XSTAT_IS_XSTAT64): Define.
2025         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2026         __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2027         and __libc_pwrite64.
2028         Remove oldgetrlimit and oldsetrlimit.
2029         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2030         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2031         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2032
2033         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2034         pointer to the syscall, not address of that pointer.
2035         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2036         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2037         (__syscall_stat64): Provide proper prototype.
2038
2039         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2040         has_no_truncate64 between truncate64 and ftruncate64.
2041         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2042
2043         * sysdeps/unix/sysv/linux/kernel-features.h
2044         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2045         __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2046
2047 1999-12-22  Andreas Jaeger  <aj@suse.de>
2048
2049         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2050         __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2051
2052 1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2053
2054         * locale/lc-time.c: Extend structure era_entry.
2055         * locale/localeinfo.h: Likewise.
2056         * locale/lc-time.c: Handle '-' direction used in locale's era part
2057         properly.
2058         * time/strptime.c: Likewise.
2059         * time/strftime.c: Likewise.
2060         * locale/programs/ld-time.c: Consider negative values in era part
2061         of locale as B.C..
2062         * time/strptime.c (strptime_internal): Merged Yoshiyama's
2063         %E[CyY] implementation.
2064
2065 1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>
2066
2067         * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2068         of recursive() call.
2069         * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2070         parsing.
2071
2072 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2073
2074         * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2075         Patch by Scott Bambrough <scottb@netwinder.org>.
2076
2077 1999-12-21  Andreas Schwab  <schwab@suse.de>
2078
2079         * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2080
2081         * include/unistd.h: Declare __libc_lseek.
2082
2083 1999-12-21  Andreas Jaeger  <aj@suse.de>
2084
2085         * stdlib/longlong.h: Remove __P.
2086
2087 1999-12-21  Andreas Jaeger  <aj@suse.de>
2088
2089         * sysdeps/powerpc/fpu/libm-ulps: New file.
2090
2091 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2092
2093         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2094         and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2095
2096 1999-12-21  Andreas Jaeger  <aj@suse.de>
2097
2098         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2099         * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2100         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2101         * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2102         * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2103         * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2104         * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2105         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2106         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2107         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2108         * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2109         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2110
2111 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2112
2113         * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2114         * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2115         * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2116         * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2117         * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2118         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2119         * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2120         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2121         * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2122         * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2123         * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2124         * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2125         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2126         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2127         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2128         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2129         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2130         putpmsg.
2131
2132 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2133
2134         * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2135         before testing for __ASSUME_STAT64_SYSCALL.
2136         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2137         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2138
2139 1999-12-20  Andreas Schwab  <schwab@suse.de>
2140
2141         * manual/install.texi (Running make install): Clearify that
2142         install_root should be an absolute file name.
2143
2144 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2145
2146         * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2147
2148         * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2149         buffer is given to place conversion descriptor in initial state.
2150         * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2151         CSPC862LATINHEBREW.
2152         * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2153         (according to IANA registry).
2154         Reported by Bruno Haible <haible@ilog.fr>.
2155
2156         * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2157
2158         * locale/categories.def: Remove most of the collate definitions.
2159         * locale/langinfo.h: Comment out corresponding definitions.
2160         * locale/programs/locale-spec.c (locale_special): Don't recognize the
2161         collate names yet.
2162         * locale/programs/ld-collate.c: Correct and optimize computation of
2163         weights.  Set up list of all definitions correctly.  Start writing
2164         function to generate output file.
2165
2166         * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2167         loop to compute default mapping.
2168
2169 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2170
2171         * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2172         cancelation wrapper.
2173         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2174         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2175         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2176
2177 1999-12-19  Andreas Jaeger  <aj@suse.de>
2178
2179         * sysdeps/generic/libc-start.c: Remove declaration of
2180         __libc_open.  Move declaration of __libc_fcntl to ...
2181         * include/fcntl.h: ...here.
2182
2183         * include/unistd.h: Move __libc_open and __libc_open64 to ...
2184         * include/fcntl.h: ...here.
2185
2186         * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2187         happened yet.
2188
2189         * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2190         rename label.
2191
2192 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2193
2194         * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2195         inclusion.
2196
2197 1999-12-19  Andreas Jaeger  <aj@suse.de>
2198
2199         * include/string.h: Mark __strndup with __attribute_malloc__.
2200
2201 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2202
2203         * locale/langinfo.h: Always define CODESET.
2204         (CODESET): Define also as macro.
2205
2206         * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2207         generate mantissa output in using malloc if it is larger than
2208         20000 characters.
2209         Reported by Jim Meyering <meyering@ascend.com>.
2210
2211 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2212
2213         * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2214         available gcc version.
2215         * string/string.h: Mark strdup, __strdup, and strndup with
2216         __attribute_malloc__.
2217         * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2218         __attribute_malloc__.
2219         * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2220         and __default_morecore with __attribute_malloc__.
2221         Provide default definition for __attribute_malloc__.
2222         * libio/stdio.h: Make tempnam with __attribute_malloc__.
2223
2224         * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2225         __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2226         * io/Versions: Export __libc_open64 and __libc_lseek64.
2227         * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2228         and __libc_pwrite64.
2229         * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2230         wrapper.
2231         * sysdeps/generic/pread.c: Likewise.
2232         * sysdeps/generic/pread64.c: Likewise.
2233         * sysdeps/generic/pwrite.c: Likewise.
2234         * sysdeps/generic/pwrite64.c: Likewise.
2235         * sysdeps/posix/open64.c: Likewise.
2236         * sysdeps/posix/pread.c: Likewise.
2237         * sysdeps/posix/pread64.c: Likewise.
2238         * sysdeps/posix/pwrite.c: Likewise.
2239         * sysdeps/posix/pwrite64.c: Likewise.
2240         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2241         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2242         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2243         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2244         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2245         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2246         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2247         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2248         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2249
2250         * sysdeps/posix/open64.c: Help gcc generating better code.
2251
2252         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2253         instead of __open.
2254
2255 1999-12-11  H.J. Lu  <hjl@gnu.org>
2256
2257         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2258         instead of __fcntl.
2259
2260 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2261
2262         * iconvdata/isiri-3342.c: New file.
2263         * iconvdata/Makefile (modules): Add ISIRI-3342.
2264         (distribute): Add isiri-3342.c.
2265         (gen-8bit-gap-modules): Add isiri-3342.
2266         * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2267
2268         * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2269
2270         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2271         result if necessary.
2272
2273         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2274         unreliable kernel headers.
2275         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2276         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2277         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2278         * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2279
2280 1999-12-18  Andreas Jaeger  <aj@suse.de>
2281
2282         * config.make.in (datadir): Added.
2283         Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2284
2285 1999-12-18  Andreas Jaeger  <aj@suse.de>
2286
2287         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2288         set errno.
2289         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2290
2291 1999-12-18  Andreas Jaeger  <aj@suse.de>
2292
2293         * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2294         syscall if available.
2295         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2296         * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2297
2298         * sysdeps/unix/sysv/linux/kernel-features.h
2299         (__ASSUME_STAT64_SYSCALL): New.
2300
2301 1999-12-17  Scott Bambrough  <scottb@netwinder.org>
2302
2303         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2304         cache flush.
2305         * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2306         after .text segment fixups.
2307
2308 1999-12-16  Andreas Jaeger  <aj@suse.de>
2309
2310         * rt/aio.h: Remove erroneous __restrict declarations.
2311
2312 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2313
2314         * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2315         do the job if it is there neither.
2316         Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2317
2318 1999-12-16  Andreas Jaeger  <aj@suse.de>
2319
2320         * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2321         duplicate definition with function __nan.
2322         Closes PR libc/1487 reported by <diana@kai.com>.
2323
2324 1999-12-17  Ulrich Drepper  <drepper@cygnus.com>
2325
2326         * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2327
2328         * locale/programs/ld-collate.c: Implement handling of absolute
2329         ellipsis.  Parsing of file and constructing the internal data
2330         structures should now be complete.
2331         (collate_finish): Start adding support to generate the data
2332         structures which are written out to the file.
2333
2334         * intl/dcgettext.c: Rewrite to handle caching of previous results here
2335         instead of in the dcgettext macro.
2336         * intl/libintl.h (dcgettext): Don't define for systems using this
2337         glibc or systems with tsearch.
2338
2339         * sysdeps/generic/mathdef.h: Protect definitions for math.h
2340         against double inclusion.
2341         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2342         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2343         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2344         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2345
2346         * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2347         that different?).
2348
2349 1999-12-17  Andreas Jaeger  <aj@suse.de>
2350
2351         * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2352         struct with aiocb.
2353
2354         * rt/Makefile (tests): Added tst-aio64.
2355         Added dependency rules for tst-aio64.
2356
2357         * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2358         64bit tests.
2359
2360 1999-12-15  Thorsten Kukuk  <kukuk@suse.de>
2361
2362         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2363         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2364         * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2365         old value (signed long).
2366         * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2367         long RLIM_INFINITY.
2368         * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2369         * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2370         * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2371         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2372         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2373         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2374         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2375         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2376         * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2377         * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2378         * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2379         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2380         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2381         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2382         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2383
2384 1999-12-17  Andreas Jaeger  <aj@suse.de>
2385
2386         * elf/ldconfig.c: Add new option -l to manualy link shared
2387         libraries.
2388         (options): Added option.
2389         (parse_opt): Set option.
2390         (main): Handle option.
2391         (manual_link): New function.
2392
2393 1999-12-17  Thorsten Kukuk  <kukuk@suse.de>
2394
2395         * string/bits/string2.h: Fix patch from 1999-12-07.
2396
2397 1999-12-16  Ulrich Drepper  <drepper@cygnus.com>
2398
2399         * sysdeps/generic/strsep.c: If delim string has only one character
2400         don't run over end of string.
2401
2402         * locale/programs/ld-collate.c (insert_weights): Also update next
2403         pointer of last cursor element.
2404         (insert_value): Return nonzero value if nothing got inserted.
2405         (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2406
2407 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2408
2409         * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2410         where appropriate.
2411
2412 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2413
2414         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2415         Copy sa_flags into kernel sigaction structure.
2416
2417 1999-12-14  Andreas Jaeger  <aj@suse.de>
2418
2419         * string/tester.c (test_strsep): More tests for access beyond
2420         the final NUL.  The first two tests come from PR libc/1486 by
2421         martinea@iro.umontreal.ca.
2422
2423 1999-12-14  Thorsten Kukuk  <kukuk@suse.de>
2424
2425         * nis/ypclnt.c: Correct handling of cached client handles.
2426         (__xdr_ypresp_all): Call callback function for errors, too,
2427         like Solaris does.
2428         * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2429         * nis/nss_compat/compat-initgroups.c: Likewise.
2430         * nis/nss_compat/compat-spwd.c: Likewise.
2431         * nis/nss_nis/nis-alias.c: Likewise.
2432         * nis/nss_nis/nis-ethers.c: Likewise.
2433         * nis/nss_nis/nis-grp.c: Likewise.
2434         * nis/nss_nis/nis-hosts.c: Likewise.
2435         * nis/nss_nis/nis-netgrp.c: Likewise.
2436         * nis/nss_nis/nis-publickey.c: Likewise.
2437         * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2438         Map if available, optimize query if name/port and protocol is known.
2439
2440 1999-12-12  Ulrich Drepper  <drepper@cygnus.com>
2441
2442         * locale/programs/ld-collate.c (collate_read): Make symbolic
2443         ellipsis work.  Remove old and unused code.
2444
2445 1999-12-11  Ulrich Drepper  <drepper@cygnus.com>
2446
2447         * locale/programs/ld-collate.c (collate_read): Implement
2448         reorder-section handling.
2449
2450 1999-12-10  Ulrich Drepper  <drepper@cygnus.com>
2451
2452         * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2453
2454         * locale/programs/ld-collate.c (collate_read): Add handling of
2455         reorder-after.
2456
2457         * locale/programs/ld-collate.c: Many changes to implement parsing
2458         of collation definition (still not complete).
2459
2460 1999-12-09  Andreas Jaeger  <aj@suse.de>
2461
2462         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2463         errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2464         Reported by Christian Starkjohann <cs@obdev.at>.
2465
2466 1999-12-09  Andreas Jaeger  <aj@suse.de>
2467
2468         * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2469
2470 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
2471
2472         * stdlib/longlong.h: Update from latest egcs version.
2473
2474         * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2475
2476         * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2477         has to preceede __attribute__, otherwise g++ barfs.
2478
2479         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2480         on sparc64-*-linux.
2481
2482         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2483         use sigcontext.
2484         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2485
2486 1999-12-05  Wolfram Gloger  <wg@malloc.de>
2487
2488         * malloc/malloc.c (arena_get2): If generating a new arena fails,
2489         try to generate a minimal one and hope for mmap_chunk() to succeed
2490         later.
2491
2492 1999-11-07  Wolfram Gloger  <wg@malloc.de>
2493
2494         * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2495         mutex_t work as an `in-use' flag even without threads.
2496         * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2497         for multiple arenas separately from NO_THREADS.
2498         (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2499         fall back to an mmap()ed arena when sbrk() has failed.
2500
2501 1999-12-09  Ulrich Drepper  <drepper@cygnus.com>
2502
2503         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2504         getrlimit64, setrlimit64 for GLIBC_2.1.3.
2505         * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2506         getrlimit64, setrlimit64 for GLIBC_2.1.3.
2507         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2508         oldgetrlimit and oldsetrlimit.
2509         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2510         oldsetrlimit.
2511         * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2512         oldsetrlimit rules into 32-bit arch subdirs.
2513         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2514
2515         * locale/programs/ld-collate.c (insert_value): If this is the
2516         first symbol the cursor can be the same as the next pointer.
2517
2518 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
2519
2520         * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2521         arrays.
2522         (allocate_arrays): Allocate memory for map32.  Correctly install
2523         default values in it and install defined mappings.
2524
2525         * locale/programs/ld-monetary.c (monetary_finish): Provide default
2526         value for mon_grouping.
2527
2528         * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2529         headers are not clean enough.
2530
2531         * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2532
2533         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2534         __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2535         on x86.
2536         * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2537         * sysdeps/unix/sysv/linux/truncate64.c: New file.
2538         * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2539         * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2540
2541         * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2542         * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2543         * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2544         _nl_C_LC_CTYPE_tolower32 tables.
2545         Don't compile it names of 14652 classes and maps.
2546         * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2547         _NL_CTYPE_TOLOWER32.
2548         * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2549         and __ctype32_tolower.
2550         * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2551         (ctype_output): Write out map32 values.
2552         (allocate_arrays): Compute mapping tables correctly.
2553         * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2554         (towupper): Use __ctype32_toupper.
2555         * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2556
2557         * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2558         determine tolower mapping for 8bit table if the tolower keyword is
2559         not given.
2560
2561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2562         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
2563
2564 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
2565
2566         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2567         __stpcpy_small): Cast switch expressions to int to shut up compiler
2568         warnings.
2569
2570 1999-12-07  Scott Bambrough <scottb@netwinder.org>
2571
2572         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2573         relocs if possible.
2574
2575 1999-12-06  Andreas Schwab  <schwab@suse.de>
2576
2577         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2578         ugetrlimit syscall exists.
2579
2580         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2581         exported symbols.
2582         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2583
2584 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
2585
2586         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2587         pointers if character is illegal.
2588         Reported by Bruno Haible <haible@ilog.fr>.
2589
2590         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2591         (increment_counter): New function.  Broken out of find_derivation.
2592         (find_derivation): No need for a lock.  Increment counter only when
2593         the derivation was already available.
2594         * iconv/gconv_dl.c: Add debugging functions.
2595         (known_compare): We have to use strcmp.
2596         Reported by Bruno Haible <haible@ilog.fr>.
2597
2598 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
2599
2600         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2601         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2602         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2603         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
2604         SHIFT_JIS alias.
2605         Reported by Bruno Haible <haible@ilog.fr>.
2606
2607         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2608
2609 1999-12-03  Andreas Jaeger  <aj@suse.de>
2610
2611         * nss/getXXbyYY.c: Include <resolv.h>
2612         (FUNCTION_NAME): Use res_ninit instead of res_init.
2613
2614         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2615         declaration and prototypes.
2616         Remove extra _res declaration.
2617         (INTERNAL): Use thread aware res_ninit function.
2618
2619         * inet/gethstbyad_r.c: Include <resolv.h>.
2620
2621         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
2622         res_libc.c.  Disabled unneeded functions.
2623
2624         * resolv/res_libc.c: New file.
2625
2626         * Versions.def: Add version GLIBC_2.2 for libpthread.
2627         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2628
2629         * include/resolv.h: Add internal interfaces.
2630
2631         * resolv/Makefile (routines): Add new files.
2632         (libresolv-routines): Likewise.
2633         (distribute): Likewise.
2634
2635         * resolv/gethnamaddr.c: Use thread safe resolver functions.
2636         * resolv/nss_dns/dns-host.c: Likewise.
2637         * resolv/nss_dns/dns-network.c: Likewise.
2638
2639         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2640         * resolv/nsap_addr.c: Likewise.
2641         * resolv/res_comp.c: Likewise.
2642         * resolv/res_debug.c: Likewise.
2643         * resolv/res_init.c: Likewise.
2644         * resolv/res_mkquery.c: Likewise.
2645         * resolv/res_query.c: Likewise.
2646         * resolv/res_send.c: Likewise.
2647         * resolv/resolv.h: Likewise.
2648
2649         * resolv/Versions: Add __res_state and __res_ninit with version
2650         GLIBC_2.2 to libc.
2651         Add new interfaces with version GLIBC_2.2 to libresolv.
2652
2653         * resolv/Banner: Update.
2654
2655         * include/arpa/nameser_compat.h: New file.
2656
2657         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2658         * resolv/ns_netint.c: Likewise.
2659         * resolv/ns_parse.c: Likewise.
2660         * resolv/ns_print.c: Likewise.
2661         * resolv/ns_samedomain.c: Likewise.
2662         * resolv/ns_ttl.c: Likewise.
2663         * resolv/arpa/nameser_compat.h: Likewise.
2664         * resolv/res_debug.h: Likewise.
2665
2666         Some patches are based on work done by Adam D. Bradley
2667         <artdodge@cs.bu.edu>.
2668
2669 1999-11-30  Andreas Jaeger  <aj@suse.de>
2670
2671         Add ldconfig:
2672         * elf/Makefile (extra-objs): Added ldconfig-modules.
2673         (ldconfig-modules): New.
2674         Added vpath for xstrdup and xmalloc.
2675         Check for use-ldconfig instead of has-ldconfig.
2676         ($(objpfx)ldconfig): New rule with dependencies.
2677         (distribute): Add new files.
2678
2679         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2680         developed together with Jakub Jelinek <jakub@redhat.com>.
2681         * sysdeps/generic/readelflib.c: Likewise.
2682
2683         * elf/cache.c: New file.
2684         * elf/ldconfig.c: New file.
2685         * elf/ldconfig.h: New file.
2686         * elf/readlib.c: New file.
2687
2688         * Makefile (install): Remove flag -d in ldconfig call.
2689
2690         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2691         by default.
2692
2693         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2694         comment.
2695
2696         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2697         set always use_ldconfig instead.
2698
2699 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
2700
2701         * sysdeps/generic/bits/stropts.h: Update with LiS types and
2702         values.  Patch by David Grothe <dave@gcom.com>.
2703
2704         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2705         Make long types.
2706         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2707         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2708         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2709
2710 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
2711
2712         * locale/lc-time.c (_nl_get_era_entry): Separate eras
2713         initialization as _nl_init_era_entry().
2714         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2715         * locale/lc-time.c (_nl_get_era_year_offset): New function.
2716         * locale/lc-time.c (_nl_get_era_year_start): New function.
2717         * locale/localeinfo.h: Declare new functions.
2718         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2719         and ERA_W_FORMAT.
2720
2721 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
2722
2723         * posix/regex.c (SYNTAX): Make more portable.
2724         Patch by Aharon Robbins <arnold@skeeve.com>.
2725
2726 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
2727
2728         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2729         nonzero, use cthread_fork to create the signal thread.
2730         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2731         _hurd_msgport_thread here (to self).
2732         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2733         is zero, instead compute child signal thread's starting SP from parent
2734         signal thread's current SP and the threadvar_stack variables.
2735         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2736         These are now referenced weakly by _hurdsig_init.
2737
2738         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2739         &_hurd_itimer_thread not &_hurd_msgport_thread.
2740
2741 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
2742
2743         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2744         without HURD_DPORT_USE to clean up warnings.
2745         * hurd/dtable.c (get_dtable_port): Likewise.
2746
2747         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2748         (install_ctty): Do the changing of the cttyid port cell here, inside
2749         the critical section while we holding the dtable lock.
2750         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2751         the port cell and calling rectty_dtable.
2752         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2753         (install_ctty): Use it inside a critical section, with the lock held.
2754         * sysdeps/mach/hurd/setsid.c (__setsid): Use
2755         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2756         after proc_setsid, having held the dtable lock throughout.
2757         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2758         cttyid port for null and bail out early if so.  The dtable lock
2759         serializes us after any cttyid change and its associated dtable update.
2760
2761 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
2762
2763         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2764         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
2765         We don't install this file for users.
2766         * sysdeps/mach/hurd/Dist: Add it.
2767         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2768         Append nfs/nfs.h here.
2769
2770 1999-12-01  Andreas Jaeger  <aj@suse.de>
2771
2772         * sysdeps/generic/if_index.c (__protocol_available): Add missing
2773         int for parameter.
2774
2775         * stdio/stdio.h: Fix typo.
2776         Patches by Marcus G. Daniels <mgd@santafe.edu>.
2777
2778 1999-12-01  Andreas Jaeger  <aj@suse.de>
2779
2780         * scripts/test-installation.pl (installation_problem): Filter out
2781         libpthread_db.
2782
2783 1999-12-01  Andreas Schwab  <schwab@suse.de>
2784
2785         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2786         __rlim_t and __rlim64_t.
2787         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2788         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2789
2790 1999-12-01  Andreas Schwab  <schwab@suse.de>
2791
2792         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2793         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2794         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2795         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2796         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2797         new kernel version.  Add symbol versions.
2798         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2799         oldgetrlimit.
2800         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2801         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2802         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2803         and s_ugetrlimit.
2804         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2805         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2806         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2807         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2808         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2809         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2810         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2811         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2812         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2813         file.
2814         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2815         file.
2816
2817 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
2818
2819         * sysdeps/generic/usleep.c: Fix typo.
2820
2821         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2822
2823         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2824         itself.
2825
2826         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2827         _UTSNAME_H.
2828
2829         * malloc/set-freeres.c: Really use already_called variable.
2830
2831         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2832         function call directly.
2833         * libio/iosetvbuf.c: Likewise.
2834
2835 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
2836
2837         * configure.in: Add AIX 4.3 support.
2838
2839         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
2840         standard was issued in 1992.
2841         Reported by Bruno Haible <haible@ilog.fr>.
2842
2843 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
2844
2845         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2846         SIGCLD als SIGCHLD.
2847
2848 1999-11-29  Andreas Jaeger  <aj@suse.de>
2849
2850         * manual/time.texi (Basic CPU Time): Better describe wrap around.
2851         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2852
2853 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
2854
2855         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2856         Patch by Bruno Haible <haible@ilog.fr>.
2857
2858 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
2859
2860         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2861
2862 1999-11-29  Andreas Schwab  <schwab@suse.de>
2863
2864         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2865         __v to __bswap_32_v.
2866         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2867         and __bswap_64_r to avoid clash with __bswap_32 macro.
2868
2869 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
2870
2871         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2872         gconv-modules.
2873
2874 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
2875
2876         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2877         patch.  Use wch instead of idx to compute index.
2878         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2879
2880         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2881
2882         * locale/iso-3166.def: Update from latest official list.
2883
2884 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
2885
2886         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2887         asm/ptrace.h, since this will not be done with 2.3.xx automatically
2888         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2889
2890 1999-11-26  Andreas Jaeger  <aj@suse.de>
2891
2892         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2893
2894 1999-11-26  Andreas Jaeger  <aj@suse.de>
2895
2896         * inet/rcmd.c: Include stdlib for declaration of free.
2897         Declare iruserok.
2898
2899 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2900
2901         * iconv/gconv.c (__gconv): Always initialize
2902         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2903
2904         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2905         written bytes.
2906         * iconvdata/iso-2022-jp.c: Likewise.
2907
2908 1999-11-25  H.J. Lu  <hjl@gnu.org>
2909
2910         * stdlib/exit.c (exit): Run funtions only if
2911         __exit_funcs->idx > 0.
2912
2913 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2914
2915         * manual/charset.texi (iconv Examples): Add iconv call to flush
2916         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
2917
2918 1999-11-25  Andreas Jaeger  <aj@suse.de>
2919
2920         * manual/install.texi (Running make install): Better describe
2921         update from libc5.
2922         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2923
2924 1999-11-25  Andreas Jaeger  <aj@suse.de>
2925
2926         * include/sys/mman.h: Remove K&R compatibility.
2927
2928 1999-11-15  Andreas Jaeger  <aj@suse.de>
2929
2930         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2931         use __off64_t.
2932
2933 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2934
2935         * iconv/iconv_prog.c (process_block): For stateful charsets write
2936         out byte sequence to get to initial state at the end of the file.
2937
2938 1999-11-25  Andreas Schwab  <schwab@suse.de>
2939
2940         * Makeconfig: Include sys-dirs and sys-sorted earlier.
2941         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2942         ($(common-objpfx)sysd-sorted): Emit marker when this file is
2943         complete.
2944
2945 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
2946
2947         * manual/setjmp.texi: Many changes to correct bad English introduced
2948         mainly by me.
2949         * manual/time.texi: Likewise.
2950         Patches by Neil Booth <neil@rosenet.ne.jp>.
2951
2952         * include/string.h: Remove K&R compatibility.
2953
2954 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
2955
2956         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2957
2958         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2959
2960         * string/stratcliff.c: Add one more strchr test for something
2961         which was reported to not work (which proofed to be wrong).
2962
2963         * iconv/skeleton.c: It's __is_last, not is_last.
2964
2965         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2966         the UCS value.
2967         (allocate_arrays): Likewise.
2968         (find_idx): Correctly increase array size.
2969         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2970
2971 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
2972
2973         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2974         is true.
2975
2976 1999-11-23  Andreas Jaeger  <aj@suse.de>
2977
2978         * include/sys/select.h: Remove K&R compatibility.
2979         * include/sys/statfs.h: Likewise.
2980         * include/gnu/libc-version.h: Likewise.
2981         * include/db_185.h: Likewise.
2982         * include/dlfcn.h: Likewise.
2983         * include/search.h: Likewise.
2984         * include/setjmp.h: Likewise.
2985         * include/signal.h: Likewise.
2986         * include/stdio.h: Likewise.
2987         * include/unistd.h: Likewise.
2988
2989 1999-11-23  Andreas Jaeger  <aj@suse.de>
2990
2991         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
2992         is only need in external header files that might be compiled by a
2993         C++ compiler.
2994         * include/alloca.h: Likewise.
2995         * include/db.h: Likewise.
2996         * include/dirent.h: Likewise.
2997         * include/execinfo.h: Likewise.
2998         * include/fpu_control.h: Likewise.
2999         * include/glob.h: Likewise.
3000         * include/grp.h: Likewise.
3001         * include/libintl.h: Likewise.
3002         * include/math.h: Likewise.
3003         * include/math.h: Likewise.
3004         * include/mntent.h: Likewise.
3005         * include/mntent.h: Likewise.
3006         * include/netdb.h: Likewise.
3007         * include/pwd.h: Likewise.
3008         * include/sched.h: Likewise.
3009         * include/shadow.h: Likewise.
3010         * include/stdlib.h: Likewise.
3011         * include/sys/file.h: Likewise.
3012         * include/sys/gmon.h: Likewise.
3013         * include/sys/ioctl.h: Likewise.
3014         * include/sys/socket.h: Likewise.
3015         * include/sys/stat.h: Likewise.
3016         * include/sys/sysinfo.h: Likewise.
3017         * include/sys/time.h: Likewise.
3018         * include/sys/times.h: Likewise.
3019         * include/sys/uio.h: Likewise.
3020         * include/sys/wait.h: Likewise.
3021         * include/termios.h: Likewise.
3022         * include/time.h: Likewise.
3023         * include/ulimit.h: Likewise.
3024         * include/utmp.h: Likewise.
3025         * include/wchar.h: Likewise.
3026
3027 1999-11-22  Andreas Jaeger  <aj@suse.de>
3028
3029         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3030         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
3031         libc/1456+1457.
3032
3033 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
3034
3035         * sysdeps/generic/siglist.h: Avoid declaring the same field
3036         twice if SIGPWR is defined to SIGLOST.
3037         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3038         not signed, so we should not special case it for negative args.
3039         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3040         memmove, use the one provided in memcpy.S.
3041         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3042         copies like memmove, while the previous version worked like memcpy.
3043         Implement optimized assembly memmove.
3044         * sysdeps/sparc/sparc64/memmove.c: New file.
3045
3046 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3047
3048         * po/cs.po: Update from translators.
3049
3050 1999-11-23  Andreas Jaeger  <aj@suse.de>
3051
3052         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3053         (elf_machine_got): Removed, not needed anymore.
3054         (ELF_MACHINE_RELOC_NOPLT): Removed.
3055         (ELF_MACHINE_JMP_SLOT): Added.
3056         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3057         (_RTLD_EPILOGUE): Likewise.
3058         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3059         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3060         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3061         Ralf Baechle <baechle@uni-koblenz.de>.
3062
3063         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3064
3065 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
3066
3067         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3068         name from the locale name.  Only use the value in the LC_CTYPE
3069         locale data file.
3070
3071         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3072         file be equal to file size.
3073
3074         * stdlib/longlong.h: Add count_trailing_zeros back.
3075
3076         * stdlib/longlong.h: Update from latest egcs version.
3077
3078 1999-11-22  Andreas Jaeger  <aj@suse.de>
3079
3080         * locale/programs/ld-collate.c (insert_value): Correct order of
3081         arguments for lr_error call.
3082
3083         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3084         __syscall_setrlimit.
3085
3086         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3087         for key_t.
3088         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3089
3090 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
3091
3092         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3093         gcc version.
3094
3095         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3096         14652-style definition of new maps and classes.
3097
3098 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
3099
3100         * locale/programs/ld-monetary.c (monetary_finish): Don't print
3101         individual error message if nothing is defined.
3102
3103         * locale/programs/ld-time.c (time_startup): Test for lr being
3104         nonzero, not time.
3105
3106         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3107         decimal_point is not defined.
3108
3109         * wctype/wctrans.c (wctrans): Use correct base index to access
3110         extra mapping tables.
3111
3112         * locale/loadlocale.c (_nl_load_locale): Use actual number of
3113         entries from file and not the fixed (minimal number from the
3114         langinfo.h list.
3115
3116         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3117         values in charmaps.
3118
3119 1999-11-18  Paul Eggert  <eggert@twinsun.com>
3120
3121         * time/strftime.c (my_strftime): Some old compilers object to
3122         '\a', so don't bother optimizing for it.
3123
3124 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3125
3126         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3127         the rlimits structure passed in.
3128
3129 1999-11-19  Andreas Jaeger  <aj@suse.de>
3130
3131         * include/sys/resource.h (__setrlimit): Add prototype.
3132
3133 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3134
3135         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3136         entries for rtld_search_dirs[0].
3137         Patch by David Mosberger <davidm@hpl.hp.com>.
3138
3139 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3140
3141         * locale/programs/ld-ctype.c: Don't predefine the character
3142         classes and mappings of ISO 14652.
3143
3144         * locale/programs/ld-ctype.c: Punt if character class definitions
3145         to not consists of tok_bsymbol (for now).
3146
3147         * time/strptime.c (day_of_the_week): Make sure result is never
3148         negative.
3149         (strptime_internal): Allow %C without %y.
3150
3151 1999-11-18  Andreas Jaeger  <aj@suse.de>
3152
3153         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3154         comments.
3155
3156         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3157         of defining *_SUPER_MAGIC.
3158         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3159
3160 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3161
3162         * locale/programs/locale.c: Don't handle LC_ALL together with the
3163         other categories when printing the value.
3164         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3165
3166         * locale/locale.h: Correct comment about LC_ALL.
3167
3168 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3169
3170         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3171         nelems.  Correctly compute index for additional character classes.
3172         (ctype_read): Handle charclass and charconv definitions.  Also
3173         recognize arbitrary strings as mapping names.
3174         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3175         character era strings.
3176         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3177         and format for wide characters.
3178         * time/strftime.c: Correctly determine era information for wide
3179         wcsftime.
3180         * wctype/wctrans.c: Fix after removal of second endianess table.
3181         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3182         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3183
3184         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3185         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3186
3187         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3188         gregset_t, fpregset_t, and NGREG definitions.
3189
3190         * locale/programs/ld-ctype.c: Implement character width information
3191         handling.
3192
3193 1999-11-09  Andreas Jaeger  <aj@suse.de>
3194
3195         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3196
3197         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3198         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3199
3200         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3201
3202 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3203
3204         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3205
3206 1999-11-07  Andreas Jaeger  <aj@suse.de>
3207
3208         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3209         defines from Linux scsi_ioctl.h header.
3210
3211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3212         scsi_ioctl.h.
3213         * sysdeps/unix/sysv/linux/Dist: Likewise.
3214
3215         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3216         pretty printed.
3217
3218         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3219         sync with Linux 2.3.26.
3220
3221 1999-11-17  Andreas Jaeger  <aj@suse.de>
3222
3223         * shlib-versions: Allow mipsel for libm.
3224         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3225
3226 1999-11-16  Andreas Jaeger  <aj@suse.de>
3227
3228         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
3229
3230 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
3231
3232         * locale/programs/ld-ctype.c (set_class_defaults): Set default
3233         value for alpha and alnum correctly.
3234
3235         * locale/programs/ld-address.c (address_output): Fix output of
3236         country_num.
3237
3238 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
3239
3240         * timezone/asia: Update from tzdata1999j.
3241         * timezone/australasia: Likewise.
3242         * timezone/europe: Likewise.
3243         * timezone/northamerica: Likewise.
3244         * timezone/southamerica: Likewise.
3245         * timezone/zone.tab: Likewise.
3246
3247 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3248
3249         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3250         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3251         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3252         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3253         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3254
3255 1999-11-15  Andreas Jaeger  <aj@suse.de>
3256
3257         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3258         __syscall_setrlimit.
3259         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3260
3261 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3262
3263         * scripts/versions.awk: Don't expect to read predecessor versions,
3264         compute them.
3265         * Versions.def: Remove predecessors.  They now get computed.
3266
3267 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3268
3269         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3270         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3271         prototype.
3272         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3273         * sysdeps/powerpc/stackinfo.h: New file.
3274         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3275
3276 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3277
3278         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3279         GLIBC_2.1.3.
3280
3281 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3282
3283         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3284         hurd_directory_name_split.
3285         * Versions.def (libc): Add GLIBC_2.1.3.
3286
3287 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
3288
3289         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3290         to return the location of the null byte written into the string.
3291         (describe_number): Likewise.
3292         (describe_number): Remove assert, not always used with #.
3293         If FLAVOR is null, don't use it.
3294         (describe_number): Take signed argument and print a - if negative.
3295         (_S_msg_report_wait): Report system call number for system calls that
3296         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
3297         matches SS->intr_port, bracket port description with [...] to indicate
3298         a Hurd interruptible RPC; if destination port is null, examine the
3299         receive port and report that state; if receive port is also null,
3300         check for timeout and report its value.
3301         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3302         zero iff we managed to examine the stack; take new args RCV_NAME,
3303         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3304
3305         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3306         MACH_PORT_DEAD specially.
3307
3308 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3309
3310         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3311         (__directory_name_split): New function.
3312         * hurd/hurd.h: Declare them.
3313         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3314         __file_name_split, so we ignore trailing slashes properly.
3315         * sysdeps/mach/hurd/rename.c: Likewise.
3316
3317 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
3318
3319         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3320         from current kernel headers.
3321
3322         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3323         SO_PASSCRED defined.
3324
3325 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3326
3327         * locale/C-ctype.c: Fix typo in char class name.
3328
3329         * configure.in: Allow user so specify --enable-kernel=current.
3330
3331 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
3332
3333         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3334
3335         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3336         i386 version.
3337         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3338         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3339         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3340         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3341
3342 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3343
3344         * intl/locale.alias: Add Estonian entries.
3345         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3346
3347 1999-11-02  Andreas Jaeger  <aj@suse.de>
3348
3349         * Versions.def: Add version GLIBC_2.2 for libm.
3350         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3351         fedisableexcept.
3352         * sysdeps/generic/feenablxcpt.c: Stub file.
3353         * sysdeps/generic/fedisblxcpt.c: Stub file.
3354         * sysdeps/generic/fegetexcept.c: Stub file.
3355         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3356         * sysdeps/i386/fpu/feenablxcpt.c: New file.
3357         * sysdeps/i386/fpu/fegetexcept.c: New file.
3358         * math/Makefile (libm-support): Add new files.
3359         * math/Versions: Add new functions with version GLIBC_2.2.
3360         * manual/arith.texi (Control Functions): Document fegetexcept,
3361         feenableexcept and fedisableexcept.
3362
3363 1999-11-01  Wolfram Gloger  <wg@malloc.de>
3364
3365         * malloc/malloc.h: Describe __malloc_initialize_hook.
3366         * manual/memory.texi: Document __malloc_initialize_hook.
3367
3368 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
3369
3370         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3371
3372 1999-11-09  Andreas Jaeger  <aj@suse.de>
3373
3374         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3375         implementation for ttyname_r call; fix inverted condition; return
3376         ut_user.
3377         Closes PR libc/1438.
3378
3379 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3380
3381         * math/fenv.h: Include bits/fenvinline.h if optimizing.
3382         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
3383         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
3384         * sysdeps/generic/bits/fenv.h: New file.
3385
3386 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3387
3388         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3389         printf call.
3390
3391 1999-11-10  Andreas Jaeger  <aj@suse.de>
3392
3393         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3394
3395 1999-11-10  Andreas Jaeger  <aj@suse.de>
3396
3397         * string/strsignal.c (strsignal): Correct check for snprintf
3398         return value.
3399         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3400
3401         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3402         according to changed snprintf return value.
3403         Reported by Lawrence K. Chen <lchen@opentext.com>.
3404
3405         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3406         for ecvt_r and fcvt_r.
3407
3408 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3409
3410         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3411         directory with the reference since this is as secure as using the
3412         object with the dependency.
3413         (_dl_dst_substitute): Likewise.
3414
3415         * elf/dl-load.c (_dl_dst_count): Change strings in first two
3416         strncmp calls to allow reuse.
3417         (_dl_dst_substitute): Likewise.
3418
3419 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
3420
3421         * posix/regex.c (init_syntax_once): move below definition of
3422         ISALNUM etc., then use ISALNUM to init the table, so that
3423         the word ops will work if i18n'ed.
3424         (SYNTAX): And subscript with 0xFF for 8bit character sets.
3425
3426 1999-11-09  Andreas Jaeger  <aj@suse.de>
3427
3428         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3429         implementation for ttyname_r call; fix inverted condition; return
3430         ut_user.  Closes PR libc/1438.
3431
3432 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3433
3434         * timezone/checktab.awk: Update from tzcode1999h.
3435         * timezone/africa: Update from tzdata1999i.
3436         * timezone/asia: Likewise.
3437         * timezone/australasia: Likewise.
3438         * timezone/backward: Likewise.
3439         * timezone/europe: Likewise.
3440         * timezone/northamerica: Likewise.
3441         * timezone/southamerica: Likewise.
3442         * timezone/iso3166.tab: Likewise.
3443         * timezone/zone.tab: Likewise.
3444
3445         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3446         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
3447
3448 1999-11-09  Andreas Jaeger  <aj@suse.de>
3449
3450         * posix/Makefile (tests): Added tst-getlogin.
3451
3452         * posix/tst-getlogin.c: New file, contains simple tests for
3453         getlogin and getlogin_r.
3454
3455 1999-11-09  Andreas Schwab  <schwab@suse.de>
3456
3457         * misc/syslog.c: For LOG_PERROR only append a newline if
3458         necessary.
3459
3460 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
3461
3462         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3463         definitions.
3464
3465 1999-11-08  Andreas Jaeger  <aj@suse.de>
3466
3467         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3468         this fixes a memory leak (closes PR libc/1435).
3469
3470         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3471         reflect memory allocation.
3472
3473         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3474         allocation in _nl_explode_name.
3475
3476 1999-11-06  Andreas Jaeger  <aj@suse.de>
3477
3478         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3479         to initialize it.
3480         Reported by wes@surety.com, closes PR libc/1432.
3481
3482 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
3483
3484         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3485         enumerator lists (-pedantic complains).
3486         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
3487         test for 'one bit set'.
3488         (feclearexcept): Likewise.
3489
3490 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
3491
3492         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3493
3494         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3495         for kernel changes.
3496         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3497         unsigned.
3498
3499 1999-10-04  Tim Waugh  <twaugh@redhat.com>
3500
3501         * posix/wordexp-test.c: More tests.
3502
3503         * posix/wordexp.c (wordexp): Explicit null words should be kept.
3504
3505 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
3506
3507         * locale/programs/linereader.c (get_string): Correct type of buf2
3508         variable.
3509         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3510         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3511         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3512         _NL_CTYPE_OUTDIGIT*_WC.
3513         (allocate_arrays): Completely initialize mapping tables.
3514         * locale/programs/ld-time.c (time_startup): We need the wide car
3515         string.
3516         (time_finish): Correct handling of era.
3517         (time_output): Fix a few array indeces.
3518         (time_read): Pass the repertoire map to lr_token.
3519
3520 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
3521
3522         * Versions.def: Add version for libthread_db.
3523
3524 1999-11-02  Andreas Jaeger  <aj@suse.de>
3525
3526         * manual/header.texi (Library Summary): The command @indexfonts
3527         doesn't exist anymore, use @smallfonts instead.
3528
3529 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
3530
3531         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3532         instead of duplicating definitions.
3533
3534 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
3535
3536         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3537         by the debugger.
3538         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3539         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3540         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3541         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3542         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3543
3544 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
3545
3546         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3547
3548         * sysdeps/unix/sysv/linux/kernel-features.h
3549         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3550         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3551
3552         * manual/texinfo.tex: Updated.
3553
3554 1999-11-01  Andreas Jaeger  <aj@suse.de>
3555
3556         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3557
3558         * inet/gethstbynm2_r.c: Reorder addresses.
3559
3560 1999-09-11  Paul Eggert  <eggert@twinsun.com>
3561
3562         * posix/glob.h (glob): If #defining to glob64, do this before
3563         declaring it, so that all declarations and uses match, and do not
3564         declare glob64, to avoid a declaration clash.
3565         (globfree): Likewise with globfree64.
3566
3567 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
3568
3569         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3570         Keep the trailing slash unless DIRNAME is just "x:/".
3571
3572 1999-10-11  Andreas Jaeger  <aj@suse.de>
3573
3574         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3575         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3576         Closes PR libc/1384.
3577
3578 1999-10-20  Andreas Schwab  <schwab@suse.de>
3579
3580         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3581         (generated): Add it here.
3582         (before-compile): Add libm-test.c.
3583         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3584         libm-test.stmp.
3585         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3586         $(objdir)/math/.
3587
3588 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3589
3590         * Makefile (pdf): New goal.
3591         * manual/Makefile: Add definitions and rules for PDF generation.
3592
3593         * Versions.def (libm): Add GLIBC_2.1.3.
3594
3595         ISO C99 TR1 changes various fe* functions to return an error value.
3596         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3597         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3598         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3599         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3600         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3601         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3602         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3603         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3604         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3605         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3606         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3607         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3608         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3609         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3610         * sysdeps/generic/fclrexcpt.c: Likewise.
3611         * sysdeps/generic/fegetenv.c: Likewise.
3612         * sysdeps/generic/fesetenv.c: Likewise.
3613         * sysdeps/generic/feupdateenv.c: Likewise.
3614         * sysdeps/generic/fgetexcptflg.c: Likewise.
3615         * sysdeps/generic/fraiseexcpt.c: Likewise.
3616         * sysdeps/generic/fsetexcptflg.c: Likewise.
3617         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3618         * sysdeps/i386/fpu/fegetenv.c: Likewise.
3619         * sysdeps/i386/fpu/fesetenv.c: Likewise.
3620         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3621         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3622         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3623         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3624         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3625         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3626         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3627         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3628         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3629         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3630         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3631         * sysdeps/mips/fclrexcpt.c: Likewise.
3632         * sysdeps/mips/fegetenv.c: Likewise.
3633         * sysdeps/mips/fesetenv.c: Likewise.
3634         * sysdeps/mips/feupdateenv.c: Likewise.
3635         * sysdeps/mips/fgetexcptflg.c: Likewise.
3636         * sysdeps/powerpc/fclrexcpt.c: Likewise.
3637         * sysdeps/powerpc/fegetenv.c: Likewise.
3638         * sysdeps/powerpc/fesetenv.c: Likewise.
3639         * sysdeps/powerpc/feupdateenv.c: Likewise.
3640         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3641         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3642         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3643         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3644         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3645         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3646         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3647         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3648         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3649         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3650         * math/fenv.h: Adjust prototypes.: Likewise.
3651         * manual/arith.texi: Adjust documentation for these changes.
3652
3653         * manual/arith.texi: Document feraiseexcept.
3654
3655         * sysdeps/powerpc/fegetenv.c: Moved to...
3656         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3657         * sysdeps/powerpc/fegetround.c: Moved to...
3658         * sysdeps/powerpc/fpu/fegetround.c: ...here.
3659         * sysdeps/powerpc/feholdexcpt.c: Moved to...
3660         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3661         * sysdeps/powerpc/fesetenv.c: Moved to...
3662         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3663         * sysdeps/powerpc/fenv_libc.h: Moved to...
3664         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3665         * sysdeps/powerpc/feupdateenv.c: Moved to...
3666         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3667         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3668         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3669         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3670         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3671         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3672         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3673         * sysdeps/powerpc/ftestexcept.c: Moved to...
3674         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3675         * sysdeps/powerpc/fesetround.c: Moved to...
3676         * sysdeps/powerpc/fpu/fesetround.c: ...here
3677         * sysdeps/powerpc/fenv_const.c: Moved to...
3678         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3679
3680         * sysdeps/mips/fclrexcpt.c: Moved to...
3681         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3682         * sysdeps/mips/fegetenv.c: Moved to...
3683         * sysdeps/mips/fpu/fegetenv.c: ...here.
3684         * sysdeps/mips/fegetround.c: Moved to...
3685         * sysdeps/mips/fpu/fegetround.c: ...here.
3686         * sysdeps/mips/fesetenv.c: Moved to...
3687         * sysdeps/mips/fpu/fesetenv.c: ...here.
3688         * sysdeps/mips/fesetround.c: Moved to...
3689         * sysdeps/mips/fpu/fesetround.c: ...here.
3690         * sysdeps/mips/feupdateenv.c: Moved to...
3691         * sysdeps/mips/fpu/feupdateenv.c: ...here.
3692         * sysdeps/mips/fgetexcptflg.c: Moved to...
3693         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3694         * sysdeps/mips/ftestexcept.c: Moved to...
3695         * sysdeps/mips/fpu/ftestexcept.c: ...here.
3696
3697 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
3698
3699         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3700         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3701         libraries from statically linked programs.
3702         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3703         fix for sigaction on SPARC.
3704         Patches by David S. Miller <davem@redhat.com>.
3705
3706         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3707         gregset_t and other required structures and defines for SPARC 64bit
3708         ABI as well, not only 32bit ABI.
3709
3710 1999-10-31  Andreas Jaeger  <aj@suse.de>
3711
3712         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3713         by __USE_ISOC99 and update comments.
3714
3715         * math/complex.h: Update comments for ISO C99.
3716         * math/fenv.h: Likewise.
3717         * math/test-fenv.c: Likewise.
3718         * math/tgmath.h: Likewise.
3719         * libio/stdio.h: Likewise.
3720         * posix/sys/types.h: Likewise.
3721         * sysdeps/generic/inttypes.h: Likewise.
3722         * sysdeps/generic/stdint.h: Likewise.
3723
3724 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3725
3726         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3727
3728         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3729         recognize _ISOC99_SOURCE.
3730         * libio/stdio.h: Likewise.
3731         * math/math.h: Likewise.
3732         * math/bits/mathcalls.h: Likewise.
3733         * math/stdio.h: Likewise.
3734         * stdlib/stdlib.h: Likewise.
3735         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3736         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3737         * sysdeps/arm/bits/huge_val.h: Likewise.
3738         * sysdeps/generic/bits/mathdef.h: Likewise.
3739         * sysdeps/i386/bits/huge_val.h: Likewise.
3740         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3741         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3742         * sysdeps/ieee754/bits/huge_val.h: Likewise.
3743         * sysdeps/m68k/bits/huge_val.h: Likewise.
3744         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3745         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3746         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3747         * sysdeps/powerpc/bits/mathinline.h: Likewise.
3748         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3749         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3750         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3751         * wcsmbs/wchar.h: Likewise.
3752
3753         * sysdeps/powerpc/bits/mathdef.h: Moved to...
3754         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3755         * sysdeps/powerpc/bits/mathinline.h: Moved to...
3756         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3757         * sysdeps/powerpc/bits/fenv.h: Moved to...
3758         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3759
3760 1999-10-31  Andreas Jaeger  <aj@suse.de>
3761
3762         * manual/math.texi (Errors in Math Functions): Correct TeX code.
3763
3764 1999-10-31  Andreas Jaeger  <aj@suse.de>
3765
3766         * math/libm-test.inc:  Change comments to use ISO C99 instead of
3767         ISO C9x.
3768         * math/w_lgamma.c: Likewise.
3769         * math/w_lgammaf.c: Likewise.
3770         * math/w_lgammal.c: Likewise.
3771         * math/test-fenv.c: Likewise.
3772         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3773         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3774         * sysdeps/generic/printf_fphex.c: Likewise.
3775
3776 1999-10-31  Andreas Jaeger  <aj@suse.de>
3777
3778         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3779
3780         * manual/math.texi: Change ISO C9x to ISO C99.
3781         * manual/startup.texi: Likewise.
3782         * manual/stdio.texi: Likewise.
3783
3784 1999-10-31  Andreas Jaeger  <aj@suse.de>
3785
3786         * manual/arith.texi: Change ISO C9x to ISO C99.
3787         * manual/time.texi (Low-Level Time String Parsing): Likewise.
3788
3789 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
3790
3791         * socket/Makefile (distribute): Add ifreq.h.
3792
3793         * manual/time.texi (Formatting Date and Time): Revise comments about
3794         origins of the formats with ISO C99 references.
3795
3796 1999-10-30  Andreas Jaeger  <aj@suse.de>
3797
3798         * sysdeps/unix/sysv/linux/ifreq.h: New file.
3799
3800 1999-10-29  Andreas Jaeger  <aj@suse.de>
3801
3802         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3803         input format; mention that strtof and strtold are part of ISO C99.
3804
3805 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
3806
3807         * manual/math.texi (Errors in Math Functions): New section.
3808         * math/libm-err-tab.pl: Moved to...
3809         * manual/libm-err-tab.pl: ...here.
3810         * manual/Makefile: Add rules for math function error table generation.
3811
3812         * stdlib/tst-strtod.c: Add more hexadecimal tests.
3813
3814         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3815         != 1 correctly and more than one digit before decimal point..
3816
3817 1999-10-27  Andreas Jaeger  <aj@suse.de>
3818
3819         * sysdeps/generic/ifreq.h: New file.
3820
3821         * resolv/res_hconf.c: Add missing includes to get all prototypes.
3822         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
3823         Reported by John DiMarco <jdd@cs.toronto.edu>.
3824
3825         (_res_hconf_reorder_addrs): Made thread safe.
3826         (free_mem): New function, needed for malloc debugging.
3827
3828 1999-10-29  Andreas Jaeger  <aj@suse.de>
3829
3830         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3831         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3832         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3833         opensock to use __opensock.
3834
3835         * socket/Makefile (routines): Add opensock.
3836
3837         * include/sys/socket.h (__opensock): Add prototype declaration.
3838
3839 1999-10-29  Andreas Jaeger  <aj@suse.de>
3840
3841         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3842         N_* constants.
3843         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3844
3845         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3846         new constant from Linux 2.3.25pre1.
3847
3848         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3849
3850 1999-10-29  Andreas Jaeger  <aj@suse.de>
3851
3852         * math/libm-err-tab.pl: New file to generate a table of
3853         libm-test-ulps values.
3854
3855 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
3856
3857         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3858         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3859         struct sigcontext* object as second parameter for profil_counter.
3860         Patches by Jakub Jelinek <jakub@redhat.com>.
3861
3862 1999-10-29  Andreas Jaeger  <aj@suse.de>
3863
3864         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3865         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3866
3867         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3868         efs, qnx4 and reiser file systems.
3869
3870 1999-10-29  Andreas Jaeger  <aj@suse.de>
3871
3872         * locale/Makefile (others): Set to localedef and locale for make
3873         clean.
3874
3875         * debug/Makefile (generated): Add xtrace for make clean to work.
3876
3877 1999-10-29  Andreas Jaeger  <aj@suse.de>
3878
3879         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3880
3881 1999-10-25  Andreas Jaeger  <aj@suse.de>
3882
3883         * math/libm-test.inc: Added code to ignore the given max ulps.
3884         (print_max_error): Check for ignore_max_ulp.
3885         (check_float_internal): Likewise.
3886         (parse_opt): Parse --ignore-max-ulp.
3887         (main): Initialize ignore_max_ulp.
3888
3889 1999-10-26  Andreas Jaeger  <aj@suse.de>
3890
3891         * stdlib/msort.c: Include <alloca.h> for prototype.
3892         Remove K&R compatibility and _quicksort prototype.
3893
3894         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3895         some comments.
3896         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3897         Remove K&R compatibility.
3898         Move prototype declaration to include/stdlib.h.
3899         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3900
3901         * include/stdlib.h: Prototype declaration for _quicksort.
3902
3903 1999-10-27  Andreas Jaeger  <aj@suse.de>
3904
3905         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3906         shifted a bit too much.
3907         Reported by Eugen Dedu <dedu@ese-metz.fr>.
3908
3909 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
3910
3911         * resolv/gethnamaddr.c: Account bytes needed for alignment in
3912         buflen.  Patch by Olaf Kirch <okir@lst.de>.
3913
3914         * md5-crypt/md5test.c: Correct names of MD5 functions after
3915         removing of public names.
3916
3917         * configure.in: Don't allow --enable-kernel without parameter.
3918
3919 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
3920
3921         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3922         problems.
3923
3924 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
3925
3926         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
3927         only used internally.
3928         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3929         remove weak alias for public names.
3930         * md5-crypt/md5.c: Remove weak aliase.
3931
3932 1999-10-25  Andreas Jaeger  <aj@suse.de>
3933
3934         * math/README.libm-test: New file, documents libm-test.inc.
3935
3936 1999-10-25  Andreas Jaeger  <aj@suse.de>
3937
3938         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3939         given.
3940         (print_ulps_file): Fix loops to not read @tests and @functions
3941         since those are not initialized with -n now.
3942         (parse_ulps): Set $results{..}{"kind"}.
3943
3944 1999-10-25  Andreas Jaeger  <aj@suse.de>
3945
3946         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3947
3948         * math/libm-test.inc (check_float_internal): Don't print ulps for
3949         wrong sign of zero.
3950
3951 1999-10-20  Andreas Jaeger  <aj@suse.de>
3952
3953         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3954         versus AF_LOCAL.
3955         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3956
3957 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
3958
3959         * math/libm-test.inc: Disable some boundary case tests for inline
3960         function testing.
3961
3962         * math/math.h: Pretty printing.
3963
3964         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3965         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3966         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3967         * sysdeps/i386/fpu/e_log10.S: Likewise.
3968         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3969         * sysdeps/i386/fpu/e_log10l.S: Likewise.
3970         * sysdeps/i386/fpu/s_log1p.S: Likewise.
3971         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3972         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3973         * sysdeps/i386/fpu/s_log2.S: Likewise.
3974         * sysdeps/i386/fpu/s_log2f.S: Likewise.
3975         * sysdeps/i386/fpu/s_log2l.S: Likewise.
3976
3977         * sysdeps/i386/fpu/libm-test-ulps: New file.
3978
3979         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3980         value for x == 0.
3981         (pow): Correct case x == 0.
3982         (__sgn1l): Correct handling of -0.0.
3983
3984 1999-10-22  Andreas Jaeger  <aj@suse.de>
3985
3986         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3987         (atan_test): Likewise.
3988         (atanh_test): Likewise.
3989         (atan2_test): Likewise.
3990         (carg_test): Likewise.
3991         (ceil_test): Likewise.
3992         (cos_test): Likewise.
3993         (cosh_test): Likewise.
3994         (cpow_test): Likewise.
3995         (erf_test): Likewise.
3996         (erfc_test): Likewise.
3997         (exp_test): Likewise.
3998         (exp10_test): Likewise.
3999         (exp2_test): Likewise.
4000         (expm1_test): Likewise.
4001         (fabs_test): Likewise.
4002         (floor_test): Likewise.
4003         (fmod_test): Likewise.
4004         (gamma_test): Likewise.
4005         (lgamma_test): Likewise.
4006         (log10_test): Likewise.
4007         (log1p_test): Likewise.
4008         (log2_test): Likewise.
4009         (logb_test): Likewise.
4010         (nearbyint_test): Likewise.
4011         (remainder_test): Likewise.
4012         (remquo_test): Likewise.
4013         (sin_test): Likewise.
4014         (sincos_test): Likewise.
4015         (sinh_test): Likewise.
4016         (sqrt_test): Likewise.
4017         (tan_test): Likewise.
4018         (tanh_test): Likewise.
4019         (tgamma_test): Likewise.
4020
4021 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
4022
4023         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4024
4025         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4026
4027         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4028         for -Inf and return NaN.
4029
4030         * configure.in: Correct test for Cygnus gcc versions.
4031
4032 1999-10-21  Andreas Jaeger  <aj@suse.de>
4033
4034         * math/libm-test.inc (cimag_test): New function, tests cimag.
4035         (creal_test): New function, tests creal.
4036         (conj_test): New function, tests conj.
4037         (main): Add new functions.
4038
4039 1999-10-20  Andreas Jaeger  <aj@suse.de>
4040
4041         * math/libm-test.inc: Rewrite to allow different deltas for real
4042         and imaginary part of complex functions.
4043         * math/gen-libm-test.pl: Likewise.
4044
4045 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
4046
4047         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4048         aliases.
4049
4050         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4051
4052         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4053         for -Inf and return NaN.
4054
4055         * math/gen-libm-test.pl: Fix program name in help message.
4056
4057         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4058
4059         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4060
4061         * sysdeps/i386/Implies: Correct order of libm directories.
4062
4063 1999-10-19  Andreas Jaeger  <aj@suse.de>
4064
4065         * include/bits/ipc.h: Remove K&R compatibility.
4066         * include/libintl.h: Likewise.
4067         * include/math.h: Likewise.
4068         * include/mntent.h: Likewise
4069         * include/netdb.h: Likewise.
4070         * include/pwd.h: Likewise.
4071         * include/sched.h: Likewise.
4072         * include/shadow.h: Likewise
4073         * include/stdlib.h: Likewise.
4074         * include/sys/file.h: Likewise.
4075         * include/sys/gmon.h: Likewise.
4076         * include/sys/ioctl.h: Likewise.
4077         * include/sys/mman.h: Likewise.
4078         * include/sys/resource.h: Likewise.
4079         * include/sys/socket.h: Likewise.
4080         * include/sys/stat.h: Likewise.
4081         * include/sys/sysinfo.h: Likewise.
4082         * include/sys/time.h: Likewise.
4083         * include/sys/times.h: Likewise.
4084         * include/sys/uio.h: Likewise.
4085         * include/sys/wait.h: Likewise.
4086         * include/termios.h: Likewise.
4087         * include/time.h: Likewise.
4088         * include/ulimit.h: Likewise.
4089         * include/utmp.h: Likewise.
4090         * include/wchar.h: Likewise.
4091         * include/wctype.h: Likewise.
4092
4093 1999-10-19  Andreas Jaeger  <aj@suse.de>
4094
4095         * math/libm-test.inc: Remove one K&R compatibility.
4096         (main): Enable nexttoward_test.
4097
4098         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4099         libm-test-ulps.h; pretty print output a bit.
4100
4101 1999-10-19  Andreas Jaeger  <aj@suse.de>
4102
4103         * iconv/iconv_prog.c (main): Set exit value in case that reading
4104         from stdin failed [PR libc/1404].
4105
4106 1999-10-18  Andreas Jaeger  <aj@suse.de>
4107
4108         Added improved math testsuite:
4109         * math/libm-test.inc: New file, contains all tests from
4110         libm-test.c but in a different form.
4111         * math/libm-test.c: Removed.
4112         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4113         * math/gen-libm-test.pl: New file: Preprocessor.
4114         * math/test-double.c: Adopted to new testsuite.
4115         * math/test-idouble.c: Likewise.
4116         * math/test-float.c: Likewise.
4117         * math/test-ifloat.c: Likewise.
4118         * math/test-ldouble.c: Likewise.
4119         * math/test-ildoubl.c: Likewise.
4120         * math/Makefile: Added rules to generate new suite.
4121
4122 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4123
4124         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4125         Patch by J. Richard Sladkey <jrs@world.std.com>.
4126
4127         * scripts/config.sub: Update from latest autoconf version.
4128         * scripts/config.guess: Likewise.
4129
4130 1999-10-18  Andreas Jaeger  <aj@suse.de>
4131
4132         * inet/arpa/inet.h: Remove K&R compatibility.
4133         * math/fenv.h: Likewise.
4134
4135 1999-10-18  Andreas Jaeger  <aj@suse.de>
4136
4137         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4138         kernel_sigaction): Remove K&R compatibility.
4139         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4140         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4141         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4142         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4143         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4144         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4145         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4146         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4147         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4148         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4149         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4150         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4151         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4152         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4153         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4154         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4155         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4156
4157 1999-10-18  Andreas Jaeger  <aj@suse.de>
4158
4159         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4160         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4161
4162 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4163
4164         * po/gl.po: New file.
4165
4166 1999-10-18  Andreas Schwab  <schwab@suse.de>
4167
4168         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4169         namespace selection.
4170
4171 1999-10-18  Andreas Schwab  <schwab@suse.de>
4172
4173         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4174         clash with the TERM environment variable.
4175
4176 1999-10-18  Andreas Jaeger  <aj@suse.de>
4177
4178         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4179         returns now NaN + i NaN.
4180         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4181         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4182
4183 1999-10-18  Andreas Jaeger  <aj@suse.de>
4184
4185         * include/aio.h: Remove K&R compatiblity.
4186         * include/alloca.h: Likewise.
4187         * include/db.h: Likewise.
4188         * include/dirent.h: Likewise.
4189         * include/fcntl.h: Likewise.
4190         * include/fpu_control.h: Likewise.
4191         * include/glob.h: Likewise.
4192         * include/grp.h: Likewise.
4193         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4194         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4195         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4196         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4197
4198         * include/execinfo.h: Add __THROW.
4199
4200 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4201
4202         * sysdeps/mips/Implies: Remove wordsize-32 reference.
4203         * sysdeps/mips/mips3/Implies: Add it here.
4204
4205 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
4206
4207         * elf/elf.h: Add various platform and architecture extensions.
4208
4209         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4210         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4211         LC_ALL.
4212
4213         * socket/sys/socket.h: Remove K&R compatibility.
4214
4215 1999-10-16  Andreas Jaeger  <aj@suse.de>
4216
4217         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4218
4219 1999-10-15  Andreas Jaeger  <aj@suse.de>
4220
4221         * stdlib/Makefile (tests): Added tst-xpg-basename.
4222
4223         * stdlib/tst-xpg-basename.c: New test file.
4224
4225 1999-10-14  Cristian Gafton  <gafton@redhat.com>
4226
4227         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4228
4229 1999-10-14  Andreas Jaeger  <aj@suse.de>
4230
4231         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
4232         endian version works for both endiannesses.
4233
4234         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4235         seconds.
4236
4237 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4238
4239         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4240         register names unconditionally, only if __USE_GNU.
4241
4242         * debug/Makefile: Fix rules to generate pcprofiledump.
4243
4244         * include/ucontext.h: New file.
4245
4246         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4247
4248 1999-10-12  Andreas Jaeger  <aj@suse.de>
4249
4250         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4251
4252         * math/basic-test.c: Fix typo.
4253
4254         * locale/programs/xstrdup.c: Include string.h for glibc
4255         compilation to get string prototypes.
4256
4257         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4258         gregset_t and fpregset_t.
4259
4260         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4261         warnings.  Correct value for x == 0.
4262
4263         * argp/argp-help.c: Remove broken definition of flockfile and
4264         funlockfile.
4265
4266 1999-10-12  Andreas Schwab  <schwab@suse.de>
4267
4268         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4269         generic Linux version.
4270
4271 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4272
4273         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4274
4275 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4276
4277         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4278         and fpregset_t definitions.
4279
4280         * malloc/memprof.c (GETSP): Define for PowerPC.
4281         (GETTIME): Fix generic version.
4282
4283 1999-10-10  Philip Blundell  <philb@gnu.org>
4284
4285         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4286         __BYTE_ORDER.
4287
4288 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4289
4290         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4291         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4292         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4293         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4294
4295         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4296
4297         * sysdeps/powerpc/e_sqrt.c: Moved to...
4298         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4299         * sysdeps/powerpc/e_sqrtf.c: Moved to...
4300         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4301
4302         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4303         * sysdeps/powerpc/sub_n.S: Likewise.
4304         * sysdeps/powerpc/strlen.S: Likewise.
4305         * sysdeps/powerpc/strcpy.S: Likewise.
4306         * sysdeps/powerpc/strcmp.S: Likewise.
4307         * sysdeps/powerpc/strchr.S: Likewise.
4308         * sysdeps/powerpc/stpcpy.S: Likewise.
4309         * sysdeps/powerpc/setjmp.S: Likewise.
4310         * sysdeps/powerpc/rshift.S: Likewise.
4311         * sysdeps/powerpc/ppc-mcount.S: Likewise.
4312         * sysdeps/powerpc/mul_1.S: Likewise.
4313         * sysdeps/powerpc/memset.S: Likewise.
4314         * sysdeps/powerpc/lshift.S: Likewise.
4315         * sysdeps/powerpc/dl-start.S: Likewise.
4316         * sysdeps/powerpc/bzero.S: Likewise.
4317         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4318         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4319         * sysdeps/powerpc/addmul_1.S: Likewise.
4320         * sysdeps/powerpc/add_n.S: Likewise.
4321         * sysdeps/powerpc/__longjmp.S: Likewise.
4322         * sysdeps/powerpc/elf/start.S: Likewise.
4323
4324 1999-10-11  Cristian Gafton  <gafton@redhat.com>
4325
4326         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4327         SA_SIGINFO.
4328
4329 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
4330
4331         * stdlib/atexit.c (initial): New variable.  Use to initialize
4332         __exit_funcs.
4333         * stdlib/exit.c (exit): Beware to not free statically allocated
4334         list element [PR libc/1305].
4335
4336         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4337         slash before the basename [PR libc/1383].
4338
4339         * argp/argp.h: Fix typo in last patch.
4340
4341         * sysdeps/powerpc/sysdep.h: New file.
4342         * sysdeps/unix/powerpc/sysdep.h: New file.
4343         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4344         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4345         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4346         instead of bare numbers.
4347         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4348         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4349         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4350
4351         * sysdeps/hppa/sysdep.h: New file.
4352
4353 1999-10-10  Andreas Jaeger  <aj@suse.de>
4354
4355         * misc/sgtty.h: Fix typo in last patch.
4356
4357 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
4358
4359         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4360         * sysdeps/powerpc/s_copysign.S: Move to...
4361         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
4362         * sysdeps/powerpc/s_copysignf.S: Move to...
4363         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4364         * sysdeps/powerpc/s_fabs.S: Move to...
4365         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
4366         * sysdeps/powerpc/s_fabsf.S: Move to...
4367         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4368         * sysdeps/powerpc/s_fdim.c: Move to...
4369         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4370         * sysdeps/powerpc/s_fdimf.c: Move to...
4371         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4372         * sysdeps/powerpc/s_fmax.S: Move to...
4373         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
4374         * sysdeps/powerpc/s_fmaxf.S: Move to...
4375         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4376         * sysdeps/powerpc/s_fmin.S: Move to...
4377         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
4378         * sysdeps/powerpc/s_fminf.S: Move to...
4379         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4380         * sysdeps/powerpc/s_isnan.S: Move to...
4381         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4382         * sysdeps/powerpc/s_isnanf.S: Move to...
4383         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4384         * sysdeps/powerpc/s_llrint.c: Move to...
4385         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4386         * sysdeps/powerpc/s_llrintf.c: Move to...
4387         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4388         * sysdeps/powerpc/s_llround.c: Move to...
4389         * sysdeps/powerpc/fpu/s_llround.c: ...here.
4390         * sysdeps/powerpc/s_llroundf.c: Move to...
4391         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4392         * sysdeps/powerpc/s_lrint.c: Move to...
4393         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4394         * sysdeps/powerpc/s_lrintf.S: Move to...
4395         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4396         * sysdeps/powerpc/s_lround.c: Move to...
4397         * sysdeps/powerpc/fpu/s_lround.c: ...here.
4398         * sysdeps/powerpc/s_lroundf.c: Move to...
4399         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4400         * sysdeps/powerpc/s_rint.c: Move to...
4401         * sysdeps/powerpc/fpu/s_rint.c: ...here.
4402         * sysdeps/powerpc/s_rintf.c: Move to...
4403         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4404         * sysdeps/powerpc/t_sqrt.c: Move to...
4405         * sysdeps/powerpc/fpu/t_sqrt: ...here.
4406         * sysdeps/powerpc/w_sqrt.c: Move to...
4407         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4408         * sysdeps/powerpc/w_sqrtf.c: Move to...
4409         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4410         * configure.in: Support platforms which have no .text pseudo-op.
4411         Patches partly by Jimi X <jimix@pobox.com>.
4412
4413         * Makeconfig: Look also in all subdirs for shlib-versions files.
4414
4415         * malloc/memprof.sh: Fix --help string a bit.
4416
4417         * argp/argp.h: Remove K&R compatiblity.
4418         * assert/assert.h: Likewise.
4419         * catgets/nl_types.h: Likewise.
4420         * ctype/ctype.h: Likewise.
4421         * db/db.h: Likewise.
4422         * db/ndbm.h: Likewise.
4423         * db2/db.h: Likewise.
4424         * db2/db_185.h: Likewise.
4425         * debug/execinfo.h: Likewise.
4426         * dirent/dirent.h: Likewise.
4427         * dlfcn/dlfcn.h: Likewise.
4428         * gmon/sys/gmon.h: Likewise.
4429         * grp/grp.h: Likewise.
4430         * iconv/gconv.h: Likewise.
4431         * iconv/iconv.h: Likewise.
4432         * include/execinfo.h: Likewise.
4433         * inet/aliases.h: Likewise.
4434         * inet/netinet/ether.h: Likewise.
4435         * inet/netinet/in.h: Likewise.
4436         * intl/libintl.h: Likewise.
4437         * io/fcntl.h: Likewise.
4438         * io/fts.h: Likewise.
4439         * io/ftw.h: Likewise.
4440         * io/utime.h: Likewise.
4441         * io/sys/poll.h: Likewise.
4442         * io/sys/stat.h: Likewise.
4443         * io/sys/statfs.h: Likewise.
4444         * io/sys/statvfs.h: Likewise.
4445         * libio/libio.h: Likewise.
4446         * libio/stdio.h: Likewise.
4447         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4448         * locale/locale.h: Likewise.
4449         * login/pty.h: Likewise.
4450         * login/utmp.h: Likewise.
4451         * malloc/mcheck.h: Likewise.
4452         * math/complex.h: Likewise.
4453         * math/math.h: Likewise.
4454         * math/math_private.h: Likewise.
4455         * misc/err.h: Likewise.
4456         * misc/fstab.h: Likewise.
4457         * misc/libgen.h: Likewise.
4458         * misc/mntent.h: Likewise.
4459         * misc/regexp.h: Likewise.
4460         * misc/search.h: Likewise.
4461         * misc/sgtty.h: Likewise.
4462         * misc/ttyent.h: Likewise.
4463         * misc/sys/cdefs.h: Likewise.
4464         * misc/sys/file.h: Likewise.
4465         * misc/sys/ioctl.h: Likewise.
4466         * misc/sys/mman.h: Likewise.
4467         * misc/sys/select.h: Likewise.
4468         * misc/sys/syslog.h: Likewise.
4469         * misc/sys/uio.h: Likewise.
4470         * misc/sys/ustat.h: Likewise.
4471         * nss/nss.h: Likewise.
4472         * posix/sched.h: Likewise.
4473         * posix/unistd.h: Likewise.
4474         * posix/wordexp.h: Likewise.
4475         * posix/sys/times.h: Likewise.
4476         * posix/sys/utsname.h: Likewise.
4477         * posix/sys/wait.h: Likewise.
4478         * pwd/pwd.h: Likewise.
4479         * resolv/netdb.h: Likewise.
4480         * resolv/resolv.h: Likewise.
4481         * resource/ulimit.h: Likewise.
4482         * resource/sys/resource.h: Likewise.
4483         * resource/sys/vlimit.h: Likewise.
4484         * resource/sys/vtimes.h: Likewise.
4485         * rt/aio.h: Likewise.
4486         * setjmp/setjmp.h: Likewise.
4487         * shadow/shadow.h: Likewise.
4488         * signal/signal.h: Likewise.
4489         * socket/socket.h: Likewise.
4490         * stdio/stdio.h: Likewise.
4491         * stdio-common/_itoa.h: Likewise.
4492         * stdio-common/_itowa.h: Likewise.
4493         * stdio-common/printf.h: Likewise.
4494         * stdlib/alloca.h: Likewise.
4495         * stdlib/fmtmsg.h: Likewise.
4496         * stdlib/monetary.h: Likewise.
4497         * stdlib/stdlib.h: Likewise.
4498         * stdlib/ucontext.h: Likewise.
4499         * streams/stropts.h: Likewise.
4500         * string/argz.h: Likewise.
4501         * string/envz.h: Likewise.
4502         * string/string.h: Likewise.
4503         * string/strings.h: Likewise.
4504         * string/bits/string2.h: Likewise.
4505         * sunrpc/rpc/auth.h: Likewise.
4506         * sunrpc/rpc/auth_des.h: Likewise.
4507         * sunrpc/rpc/auth_unix.h: Likewise.
4508         * sunrpc/rpc/clnt.h: Likewise.
4509         * sunrpc/rpc/des_crypt.h: Likewise.
4510         * sunrpc/rpc/netdb.h: Likewise.
4511         * sunrpc/rpc/pmap_clnt.h: Likewise.
4512         * sunrpc/rpc/pmap_prot.h: Likewise.
4513         * sunrpc/rpc/pmap_rmt.h: Likewise.
4514         * sunrpc/rpc/rpc_msg.h: Likewise.
4515         * sunrpc/rpc/svc.h: Likewise.
4516         * sunrpc/rpc/svc_auth.h: Likewise.
4517         * sunrpc/rpc/xdr.h: Likewise.
4518         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4519         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4520         * sysvipc/sys/ipc.h: Likewise.
4521         * sysvipc/sys/msg.h: Likewise.
4522         * sysvipc/sys/sem.h: Likewise.
4523         * sysvipc/sys/shm.h: Likewise.
4524         * termios/termios.h: Likewise.
4525         * time/time.h: Likewise.
4526         * time/sys/time.h: Likewise.
4527         * time/sys/timeb.h: Likewise.
4528         * wcsmbs/wchar.h: Likewise.
4529         * wctype/wctype.h: Likewise.
4530
4531 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
4532
4533         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4534         _GNU_SOURCE be defined.
4535
4536 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
4537
4538         * ctype/ctype.h: Pretty print.
4539
4540         * po/cs.po: Fix typos.
4541
4542         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4543         handling of empty entries.  [PR libc/1345]
4544         Patch by Thorsten Kukuk <kukuk@suse.de>.
4545
4546 1999-10-08  Andreas Schwab  <schwab@suse.de>
4547
4548         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
4549
4550 1999-10-08  Andreas Schwab  <schwab@suse.de>
4551
4552         * debug/pcprofiledump.c: Fix typos.
4553
4554 1999-10-07  Andreas Jaeger  <aj@suse.de>
4555
4556         * math/Makefile (tests): Added basic-tests.
4557
4558         * math/basic-test.c: New file.  Contains function basic_tests from
4559         libm-test.
4560
4561 1999-10-07  Andreas Schwab  <schwab@suse.de>
4562
4563         * malloc/memprof.sh: Fix quoting bugs.
4564
4565 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
4566
4567         * timezone/europe: Update from tzdata1999h.
4568
4569 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
4570
4571         * elf/elf.h: Update from last gABI draft.
4572
4573         * elf/elf.h: Remove EM_486 entry.
4574         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4575         test for EM_486.
4576
4577 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
4578
4579         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4580         Add rules for both programs.
4581         * debug/pcprofiledump.c: New file.
4582         * debug/xtrace.sh: New file.
4583         * debug/pcprofile.c: Allow creating output file.  Add magic signature
4584         to let reader recognize file format.
4585
4586 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
4587
4588         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4589
4590 1999-10-05  Andreas Jaeger  <aj@suse.de>
4591
4592         * locale/programs/ld-identification.c: Fix typo in comment.
4593         * locale/programs/ld-messages.c: Likewise.
4594         * locale/programs/ld-monetary.c: Likewise.
4595         * locale/programs/ld-name.c: Likewise.
4596
4597         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4598         (collate_read): Remove unnecessary comparisons with ignore_content.
4599
4600         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4601         assigned elements.
4602         (ctype_read): Remove unnecessary comparisons with ignore_content.
4603         Fix typos in comments.
4604
4605         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4606         comparisons with ignore_content.
4607
4608 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
4609
4610         * po/cs.po: Update.
4611
4612         * time/time.h: Move __gmtime_r declaration to ...
4613         * include/time.h: ...here.
4614
4615 1999-10-05  Andreas Jaeger  <aj@suse.de>
4616
4617         * manual/message.texi (The message catalog files): Fix description
4618         to match gencat implementation and Unix98: Message fields are
4619         separated by a single blank space.
4620
4621 1999-10-05  Andreas Jaeger  <aj@suse.de>
4622
4623         * manual/string.texi (Search Functions): Add missing end for
4624         memrchr description.
4625
4626 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4627
4628         * malloc/memprof.sh: Various small cleanups.  Add short options.
4629         Write error messages to stderr.
4630
4631         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4632
4633         * malloc/memprof.sh: Take options to control memprofstat.
4634
4635         * malloc/Makefile: Add rule to generate memprof script.
4636         * malloc/memprof.sh: New file.
4637
4638         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4639         GNU standard.
4640
4641 1999-10-04  Andreas Jaeger  <aj@suse.de>
4642
4643         * configure.in: Allow makeinfo 4.*.
4644
4645 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4646
4647         * stdio-common/vfprintf.c: Correct last patch and use outchar
4648         instead of PUTC to output single characters.
4649         * stdio-common/Makefile (tests): Add bug13.
4650         * stdio-common/bug13.c: New file.
4651
4652         * configure.in: Add additional options --with-gd-include and
4653         --with-gd-lib to help people with strange installations.
4654
4655         * malloc/Makefile: Add libdl dependency to libmemprof.so.
4656         * malloc/Depend: New file.
4657
4658 1999-10-04  Andreas Jaeger  <aj@suse.de>
4659
4660         * timezone/README: Change wording to not mention the current
4661         version.  This way we can't forget to update the file.
4662
4663 1999-10-04  Andreas Jaeger  <aj@suse.de>
4664
4665         * manual/time.texi (Basic CPU Time): Fix typo.
4666         Reported by Ben Pfaff <pfaffben@msu.edu>.
4667
4668 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4669
4670         * string/string.h: Move __memrchr declaration to ...
4671         * include/string.h: ...here.
4672
4673 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4674
4675         * string/Makefile (routines): Add memrchr.
4676
4677         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4678         Correct order of tests for matching bytes.
4679
4680         * string/tester.c: Add tests for memrchr.
4681
4682         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4683         Start from the last character and take decrement not increment
4684         into account for correction in return line.  Add memrchr alias.
4685         * sysdeps/i386/bits/string.h: Likewise.
4686
4687 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4688
4689         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4690
4691 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4692
4693         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4694
4695         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4696         conventions.
4697
4698         * string/Versions: Export memrchr.
4699
4700 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4701
4702         * misc/Versions (GLIBC_2.2): Add getloadavg.
4703         * misc/Makefile (routines): Add getloadavg.
4704         * sysdeps/generic/getloadavg.c: New file.
4705         * sysdeps/mach/getloadavg.c: New file.
4706         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4707
4708         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4709         * sysdeps/i386/bits/string.h (__memrchr): New function.
4710         * string/string.h: Declare memrchr, __memrchr.
4711         * manual/string.texi (Search Functions): Document memrchr.
4712
4713 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4714
4715         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4716         CFLAGS-memprofstat.c, and LIBGD variables.
4717         * config.make.in: Add LIBGD.
4718         * malloc/Makefile: Add rules to generate libmemprof.so and
4719         memprofstat.
4720         * malloc/memprof.c: New file.
4721         * malloc/memprofstat.c: New file.
4722
4723 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
4724
4725         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4726
4727         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4728         (inet_ntop6): Likewise.
4729
4730         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4731         overruns.
4732
4733         * resolv/tst-aton.c (main): Add more tests.
4734
4735         * resolv/inet_addr.c (inet_aton): Correct some problems with to
4736         large numbers.  Optimize a bit.
4737
4738 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4739
4740         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4741         account for added '0'.
4742
4743         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4744         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
4745         len argument to be greater than needed address size.
4746
4747 1999-10-01  Andreas Jaeger  <aj@suse.de>
4748
4749         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4750         warning.
4751         * intl/finddomain.c (_nl_find_domain): Likewise.
4752
4753 1999-09-30  Andreas Schwab  <schwab@suse.de>
4754
4755         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4756
4757 1999-09-30  Andreas Jaeger  <aj@suse.de>
4758
4759         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4760         * sysdeps/i386/rshift.S: Likewise.
4761         * sysdeps/i386/strchrnul.S: Likewise.
4762         * sysdeps/i386/strchr.S: Likewise.
4763         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4764         PR libc/1339.
4765
4766 1999-09-30  Andreas Jaeger  <aj@suse.de>
4767
4768         * manual/examples/pipe.c: Close other end of pipe to make example work.
4769
4770 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4771
4772         * timezone/checktab.awk: Update from tzcode1999g.
4773         * timezone/tzselect.ksh: Likewise.
4774         * timezone/africa: Update from tzdata1999g.
4775         * timezone/asia: Likewise.
4776         * timezone/australasia: Likewise.
4777         * timezone/europe: Likewise.
4778         * timezone/northamerica: Likewise.
4779         * timezone/southamerica: Likewise.
4780         * timezone/iso3166.tab: Likewise.
4781         * timezone/zone.tab: Likewise.
4782
4783 1999-09-27  Andreas Jaeger  <aj@suse.de>
4784
4785         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
4786         been renamed to getipnodebyname.  Move flags around.
4787
4788 1999-09-27  Andreas Schwab  <schwab@suse.de>
4789
4790         * manual/message.texi (Locating gettext catalog): Fix typos.
4791
4792 1999-09-27  Andreas Jaeger  <aj@suse.de>
4793
4794         * manual/socket.texi (Out-of-Band Data): Correct example program,
4795         rename some variables for clarity.
4796         Reported by James Antill <james@and.org>, close PR libc/1329.
4797
4798 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
4799
4800         * locale/programs/ld-collate.c (insert_value): Add hack to not
4801         crash in incomplete collate implementation.
4802
4803         * locale/programs/ld-collate.c (read_directions): Read new token
4804         after accepting sorting rule.
4805
4806 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
4807
4808         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4809         error message printing.  Correctly test whether all characters of
4810         current token are used.
4811         (ctype_read): NUL terminate last_str.
4812
4813 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
4814
4815         * nscd/connections.c: Invalidate caches on request.
4816         * nscd/nscd-client.h: Add INVALIDATE to request_type.
4817         * nscd/nscd.c: Add invalidate cache option.
4818         * nscd/nscd.conf: Change log directory to /var/log (FHS).
4819
4820 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
4821
4822         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4823         not ovverwrite last group member with NULL pointer.
4824         Reported by Thomas Winder <thomas.winder@newlogic.at>.
4825
4826 1999-09-24  Andreas Jaeger  <aj@suse.de>
4827
4828         * stdio-common/tst-printf.c (main): Add a testcase for large
4829         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4830
4831 1999-09-24  Andreas Schwab  <schwab@suse.de>
4832
4833         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
4834
4835 1999-09-24  Andreas Jaeger  <aj@suse.de>
4836
4837         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4838         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
4839
4840 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
4841
4842         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4843         variable.  Define MORECORE_CLEARS to 2.
4844
4845         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4846         doesn't clear the contents of memory that is reallocated after
4847         decrementing the break value first.  Update comment about
4848         MORECORE_CLEARS, explaining the meaning of the values it can be
4849         set to.
4850
4851 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
4852
4853         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4854         one more case.
4855
4856         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4857         (log): Likewise.
4858         (log10): Likewise.
4859         (log1p): Likewise.
4860         (log2): Likewise.
4861
4862 1999-09-22  Andreas Jaeger  <aj@suse.de>
4863
4864         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4865         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4866
4867 1999-09-22  Andreas Schwab  <schwab@suse.de>
4868
4869         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4870
4871 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4872
4873         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4874         the source directory.  Fixes PR libc/1059.
4875
4876 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
4877
4878         * locale/programs/repertoire.c (repertoire_find_value): Abort if
4879         rep parameter is NULL.
4880         (repertoire_find_symbol): Likewise.
4881         (repertoire_find_seq): Likewise.
4882
4883 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
4884
4885         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4886         returned errno value in some cases.
4887
4888 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
4889
4890         * iconvdata/Makefile (modules): Add GBK.
4891         (distribute): Add gbk.c.
4892         * iconvdata/gbk.c: New file.
4893         * iconvdata/gconv-modules: Add GBK entry.
4894         Contributed by Sean Chen <sean.chen@turbolinux.com>.
4895
4896         * locale/programs/ld-monetary.c (monetary_output): Remove
4897         byte-order code.
4898
4899         * locale/programs/ld-time.c (time_output): Correct expected number
4900         of iov entries.
4901
4902         * manual/filesys.texi (Testing File Access): Correct description of
4903         SUID.
4904
4905 1999-080-25  H.J. Lu  <hjl@gnu.org>
4906
4907         * csu/defs.awk (.end): Only match with leading white spaces.
4908         (.align): Likewise.
4909
4910 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
4911
4912         * stdlib/isomac.c: Add va_copy to allowed macros.
4913
4914         * po/pl.po: Updated.
4915
4916 1999-09-17  Andreas Schwab  <schwab@suse.de>
4917
4918         * Makefile (clean): Also remove $(postclean) files.
4919
4920 1999-09-15  Andreas Jaeger  <aj@suse.de>
4921
4922         * pwd/Makefile (otherlibs): Add for building with static-nss.
4923         * inet/Makefile (otherlibs): Likewise.
4924
4925 1999-09-15  Andreas Jaeger  <aj@suse.de>
4926
4927         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4928         function definition to avoid a compilation failure.
4929
4930 1999-09-15  Andreas Jaeger  <aj@suse.de>
4931
4932         * stdlib/tst-environ.c (main): Add getenv regression test for
4933         environment variable that's one character long.
4934
4935 1999-09-15  Andreas Jaeger  <aj@suse.de>
4936
4937         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4938         signal definitions to let glibc compile with older Linux versions
4939         (2.0.10 to 2.1.100 or so).
4940
4941 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
4942
4943         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4944         return zero to indicate no children died yet (assuming WNOHANG).
4945
4946         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4947
4948 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
4949
4950         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4951
4952         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4953         Return _hurd_pgrp instead of 0.
4954
4955 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
4956
4957         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4958         pages rather than just reprotecting them.  This way we don't hold on
4959         to the backing space.
4960
4961         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4962         Use __munmap instead of __vm_deallocate.
4963
4964 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
4965
4966         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4967         returned errno value in some cases.
4968
4969 1999-09-17  Andreas Jaeger  <aj@suse.de>
4970
4971         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4972         to override user settings.
4973
4974 1999-09-17  Andreas Schwab  <schwab@suse.de>
4975
4976         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4977         using a pointer to it.
4978
4979 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
4980
4981         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4982         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4983
4984 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
4985
4986         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4987
4988         * elf/elf.h (PF_MASKOS): New definition.
4989         (EM_VAX): New definition.
4990
4991 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
4992
4993         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4994         'unsigned char ftype[8]', and 'unsigned int init_flag' to
4995         struct user_fp.  These were added in version 2.2.12 of the
4996         ARM Linux kernel.
4997         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4998         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4999         The generic procfs.h included <asm/elf.h>.  This causes
5000         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5001         are included in the same source file.  Found when building GDB.
5002
5003 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
5004
5005         * locale/langinfo.h: Remove byte-order dependent names.
5006         * locale/categories.def: Update after removal of byte-order dependent
5007         names.
5008         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5009         with magic number in other byte order.
5010         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5011         * locale/C-collate.c: Remove initializers for other byte-order.
5012         * locale/C-ctype.c: Likewise.
5013         * locale/C-monetary.c: Likewise.
5014         * locale/C-paper.c: Likewise.
5015         * locale/C-time.c: Likewise.
5016         * locale/lc-collate.c: Remove byte-order oriented initialization.
5017         * locale/lc-ctype.c: Likewise.
5018         * locale/lc-monetary.c: Likewise.
5019         * locale/lc-time.c: Likewise.
5020         * locale/programs/ld-address.c: Don't generate output in both
5021         byte-orders.
5022         * locale/programs/ld-ctype.c: Likewise.
5023         * locale/programs/ld-paper.c: Likewise.
5024         * locale/programs/ld-time.c: Likewise.
5025         * time/strftime.c (NLW): Don't use different byte-orders.
5026         * wctype/cname-lookup.h (cname_lookup): Likewise.
5027
5028         * Makeconfig (localedir): Define using libdir, not datadir.
5029         (msgcatdir): New variable.
5030         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5031         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5032         msgcatdir.
5033         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5034         (CPPFLAGS): Define paths using msgcatdir.
5035         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5036         * po/Makefile (mo-installed): Define using msgcatdir.
5037
5038         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5039
5040 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
5041
5042         * stdio-common/vfprintf.c: Remove limitation on size of precision
5043         for integers.
5044
5045         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5046         glibc by defining internal_function if it isn't already.
5047
5048         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5049         fails don't rely on errno value.
5050         (getanswer_r): Set *ERRNOP in error cases.
5051
5052         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5053         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5054         associated data.  Test for matching numeric address and family.
5055         (getaddrinfo): Remember EAI_NODATA result and return this in case
5056         everything fails.
5057         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5058
5059         * locale/programs/ld-address.c: Fix handling of non-existing
5060         definitions for this category.  Correctly ignore content of this
5061         category is this is necessary.
5062         * locale/programs/ld-collate.c: Likewise.
5063         * locale/programs/ld-ctype.c: Likewise.
5064         * locale/programs/ld-identification.c: Likewise.
5065         * locale/programs/ld-measurement.c: Likewise.
5066         * locale/programs/ld-messages.c: Likewise.
5067         * locale/programs/ld-monetary.c: Likewise.
5068         * locale/programs/ld-name.c: Likewise.
5069         * locale/programs/ld-numeric.c: Likewise.
5070         * locale/programs/ld-paper.c: Likewise.
5071         * locale/programs/ld-telephone.c: Likewise.
5072         * locale/programs/ld-time.c: Likewise.
5073         * locale/programs/locfile.h (handle_copy): Take extra parameter
5074         with result pointer.  Fill in name of locale from which to copy.
5075         Correctly read token after `END'.
5076
5077         * locale/programs/localedef.c (main): Correct handling copy.
5078         (add_to_readlist): Take extra parameter which says whether we
5079         are supposed to read the file or not.
5080         (find_locale): Call add_to_readlist with extra parameter set to 0.
5081
5082         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5083         instead of wrong number in array definitions.
5084         (add_to_readlist): Update prototype.
5085
5086         * locale/programs/locfile.c (locfile_read): Mark categories not
5087         available in source file as read.
5088         (write_all_categories): Fix typo.
5089
5090         * locale/programs/locales.h: Removed.
5091
5092 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5093
5094         * elf/elf.h (SHF_MASKOS): Added.
5095
5096         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5097
5098 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5099
5100         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5101
5102 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5103
5104         * configure.in: Fix make version test for make 3.77.95 and later
5105         versions.
5106         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5107
5108 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5109
5110         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5111
5112         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5113         WINT_MAX values.
5114
5115         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5116
5117 1999-09-09  Andreas Schwab  <schwab@suse.de>
5118
5119         * elf/link.h: Fix comment.
5120
5121 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5122
5123         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5124
5125         * math/math.h: Pretty print.
5126
5127 1999-09-10  Andreas Schwab  <schwab@suse.de>
5128
5129         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5130         character variable on bigendian platforms without unaligned memory
5131         access.
5132
5133 1999-09-07  Cristian Gafton  <gafton@redhat.com>
5134
5135         * sysdeps/unix/sysv/linux/sys/raw.h: New file
5136         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5137         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5138
5139 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5140
5141         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5142
5143         * time/ap.c: Removed.  It was not used.
5144         * time/date.c: Likewise.
5145         * sysdeps/unix/nlist.c: Likewise.
5146         * sysdeps/generic/nlist.c: Likewise.
5147         * sysdeps/generic/varargs.h: Likewise.
5148         * stdio-common/scanf11.c: Likewise.
5149         * stdio-common/scanf6.c: Likewise.
5150         * scripts/=__ify: Likewise.
5151         * scripts/printsources: Likewise.
5152         * resolv/getnetnamadr.c: Likewise.
5153         * posix/id.c: Likewise.
5154         * misc/ioctltst.c: Likewise.
5155         * misc/nlist.h: Likewise.
5156         * math/test-math.h: Likewise.
5157         * include/nlist.h: Likewise.
5158
5159 1999-09-06  Andreas Schwab  <schwab@suse.de>
5160
5161         * time/tzset.c (compute_change): Replace slow loop to compute T by
5162         simple algorithm.
5163
5164 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5165
5166         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5167         escape sequences out even if the character itself does not fit
5168         into the buffer.
5169
5170         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5171
5172 1999-08-31  H.J. Lu  <hjl@gnu.org>
5173
5174         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5175
5176 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
5177
5178         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5179         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5180         (_hurd_priority_which_map):
5181
5182 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
5183
5184         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5185
5186 1999-09-03  Andreas Schwab  <schwab@suse.de>
5187
5188         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5189         fork from __syscall_fork to __libc_fork.
5190         * posix/Versions: Add __libc_fork and __vfork to version
5191         GLIBC_2.1.2.
5192
5193 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5194
5195         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5196         dependencies in sort.
5197
5198 1999-09-01  H.J. Lu  <hjl@gnu.org>
5199
5200         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5201
5202         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5203         <sys/user.h> instead of <asm/user.h>.
5204
5205 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
5206
5207         * elf/elf.h: Update PARISC-specific flags and symbolic names.
5208
5209 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
5210
5211         * elf/elf.h: Update PARISC relocations.
5212
5213 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
5214
5215         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5216         #ifdef statement to prevent it from being included twice.
5217         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5218         #include <bits/armsigctx.h>.
5219
5220 1999-08-31  Andreas Schwab  <schwab@suse.de>
5221
5222         * locale/C-collate.c: Add missing initialisations.
5223         * locale/C-ctype.c: Likewise.
5224
5225 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
5226
5227         * time/strftime.c (my_strftime): Remove unneeded variable len.
5228
5229         * time/strptime.c: Undo last change.
5230
5231 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
5232
5233         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5234         Change charset.h to charmap.h.
5235         (categories): Add new categories.  Leave out collate for now.
5236         Update build rules.
5237         * locale/categories.def: Add definitions for new categories.
5238         * locale/langinfo.h: Likewise.
5239         * locale/locale.h: Likewise.
5240         * locale/C-address.c: New file.
5241         * locale/C-identification.c: New file.
5242         * locale/C-measurement.c: New file.
5243         * locale/C-name.c: New file.
5244         * locale/C-paper.c: New file.
5245         * locale/C-telephone.c: New file.
5246         * locale/lc-address.c: Likewise.
5247         * locale/lc-identification.c: Likewise.
5248         * locale/lc-measurement.c: Likewise.
5249         * locale/lc-name.c: Likewise.
5250         * locale/lc-paper.c: Likewise.
5251         * locale/lc-telephone.c: Likewise.
5252         * locale/C-ctype.c: Update for locale rewrite.
5253         * locale/C-messages.c: Likewise.
5254         * locale/C-monetary.c: Likewise.
5255         * locale/C-time.c: Likewise.
5256         * locale/lc-collate.c: Likewise.
5257         * locale/lc-ctype.c: Likewise.
5258         * locale/lc-monetary.c: Likewise.
5259         * locale/lc-time.c: Likewise.
5260         * locale/localeinfo.h: Likewise.
5261         * locale/newlocale.c: Likewise.
5262         * locale/setlocale.c: Likewise.
5263         * locale/weight.h: Likewise.
5264         * locale/findlocale.c: Unconditionally use mmap.
5265         Handle new categories.
5266         * locale/loadlocale.c: Likewise.
5267         * locale/iso-3166.def: New file.
5268         * locale/iso-639.def: New file.
5269         * locale/programs/charmap-kw.gperf: Add new keywords.
5270         * locale/programs/locfile-kw.gperf: Likewise.
5271         * locale/programs/locfile-token.h: Define new tokens.
5272         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5273         * locale/programs/charmap.h: New file.
5274         * locale/programs/charset.h: Removed.
5275         * locale/programs/config.h: Add __LC_LAST.
5276         * locale/programs/lc-address.c: New file.
5277         * locale/programs/lc-identification.c: New file.
5278         * locale/programs/lc-measurement.c: New file.
5279         * locale/programs/lc-name.c: New file.
5280         * locale/programs/lc-paper.c: New file.
5281         * locale/programs/lc-telephone.c: New file.
5282         * locale/programs/lc-collate.c: Update for locale rewrite.
5283         * locale/programs/lc-ctype.c: Likewise.
5284         * locale/programs/lc-messages.c: Likewise.
5285         * locale/programs/lc-monetary.c: Likewise.
5286         * locale/programs/lc-numeric.c: Likewise.
5287         * locale/programs/lc-time.c: Likewise.
5288         * locale/programs/locale.c: Likewise.
5289         * locale/programs/localedef.c: Likewise.
5290         * locale/programs/locfile.c: Likewise.
5291         * locale/programs/repertoire.c: Likewise.
5292         * locale/programs/repertoire.h: Likewise.
5293         * locale/programs/locfile.c: Update prototypes.
5294         Update handle_copy definition.
5295         * locale/programs/linereader.c: Add handling of wide char strings and
5296         new definition file syntax.
5297         * locale/programs/linereader.h (struct token): Add elements for wide
5298         character strings.
5299         * locale/programs/locale-spec.c: Disable handling of collation
5300         elements for now.
5301         * locale/programs/simple-hash.h: Cleanup.
5302         * locale/programs/stringtrans.h: Handle quite of end of line.
5303         * string/strcoll.c: Fall back on strcmp for now.
5304         * string/strxfrm.c: Fall back on strncpy/strlen for now.
5305         * time/strftime.c: Use new wide character data for wcsftime.
5306         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5307         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5308
5309         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5310         compiling for i386 to avoid i686-like GOT pointer computation.
5311
5312         * db2/db_int.h: Change tsl_t type to u_int32_t.
5313         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5314         * db2/mutex/alpha.h: New file.
5315         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
5316         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5317         known.
5318         Patches by Richard Henderson.
5319
5320         * stdlib/tst-environ.c: Add cast to avoid warning.
5321         * timezone/test-tz.c: Use setenv instead of putenv.
5322
5323 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5324
5325         * manual/libc.texinfo: Update version and date.
5326
5327         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5328
5329         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5330         (File System Interface): Correct entry.
5331         (Permission Bits): Add missing commata after @xref.
5332
5333 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5334
5335         * timezone/tst-timezone.c (main): Don't pass const strings to
5336         putenv to avoid warnings.
5337
5338         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5339
5340 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
5341
5342         * nis/Versions: Add _nss_*_getipnodebyname_r.
5343         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5344         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5345         * nss/Versions: Add _nss_files_getipnodebyname_r.
5346
5347 1999-08-28  H.J. Lu  <hjl@gnu.org>
5348
5349         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5350         memory for buffer.
5351
5352 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5353
5354         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5355         kernel.
5356         * inet/netinet/in.h: Likewise.
5357         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5358         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5359
5360 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
5361
5362         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5363         thresholds for SUID binaries.  [PR libc/1277]
5364
5365         * posix/regexbug1.c: Add one more similar case.
5366
5367 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5368
5369         * manual/install.texi (Running make install): Give examples for
5370         timezone and locale installation.
5371
5372 1999-08-28  Zack Weinberg  <zack@bitmover.com>
5373
5374         * glibcbug.in: Get CCVERSION from autoconf substitution.
5375         * configure.in: Calculate and substitute CCVERSION.
5376
5377 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5378
5379         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5380         partially reverting a patch from 1998-12-29.  We just can't change
5381         the flags, kernels with different flags lead to
5382         incompatibilities.
5383
5384 1999-08-26  Andreas Schwab  <schwab@suse.de>
5385
5386         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5387
5388 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5389
5390         * inet/rexec.c (rexec): Free memory if strings were allocated in
5391         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
5392
5393 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5394
5395         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5396
5397         * manual/argp.texi: Fixing language and typos.
5398         * manual/conf.texi: Likewise.
5399         * manual/contrib.texi: Likewise.
5400         * manual/ctype.texi: Likewise.
5401         * manual/filesys.texi: Likewise.
5402         * manual/install.texi: Likewise.
5403         * manual/job.texi: Likewise.
5404         * manual/lang.texi: Likewise.
5405         * manual/llio.texi: Likewise.
5406         * manual/locale.texi: Likewise.
5407         * manual/math.texi: Likewise.
5408         * manual/nss.texi: Likewise.
5409         * manual/pipe.texi: Likewise.
5410         * manual/signal.texi: Likewise.
5411         * manual/socket.texi: Likewise.
5412         * manual/stdio.texi: Likewise.
5413         * manual/sysinfo.texi: Likewise.
5414         * manual/users.texi: Likewise.
5415         Patches by Neil Booth <NeilB@earthling.net>.
5416
5417 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
5418
5419         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5420         unsigned to avoid warning.  [PR libc/1271].
5421
5422         * conform/conformtest.pl: Allow testing regex.h which requires
5423         sys/types.h being included.
5424
5425         * conform/data/regex.h-data: Allow *_t types.
5426         * conform/data/pwd.h-data: Likewise.
5427         * conform/data/sched.h-data: Likewise.
5428         * conform/data/pthread.h-data: Likewise.
5429         * conform/data/search.h-data: Likewise.
5430
5431         * misc/search.h: Avoid namespace pollution.
5432
5433         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5434         pwd.h, and pthread.h.
5435         * conform/data/pthread.h-data: New file.
5436         * conform/data/pwd.h-data: New file.
5437         * conform/data/regex.h-data: New file.
5438         * conform/data/sched.h-data: New file.
5439         * conform/data/search.h-data: New file.
5440
5441         * NAMESPACE: Add REG_ for regex.h.
5442
5443         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5444         they are removed.
5445
5446         * configure.in (libc_cv_asm_global_directive): Indent .text in
5447         test code so that the lame HPUX compiler recognizes it.
5448         * sysdeps/hppa/bits/endian.h: New file.
5449         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5450         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5451         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5452         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5453
5454         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5455         Patch by John Tobey <jtobey@banta-im.com>.
5456
5457         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5458
5459         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5460         old_siocfifconf definition to toplevel.
5461         (__protocol_available): Remove old_siocfifconf definition.
5462
5463 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
5464
5465         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5466         really dealing with a master pseudo terminal, and really returning
5467         the name of the associated slave pseudo terminal by checking the
5468         device number.
5469         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5470         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5471
5472 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5473
5474         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5475         underscore in _llseek entry.
5476
5477         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5478         entry.
5479
5480         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5481         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5482
5483         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5484         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5485
5486 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
5487
5488         * inet/Makefile (routines): Add getipnodebynm.
5489         * inet/getipnodebynm.c: New file.
5490         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5491         interface type.
5492         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5493         EXTRA_ARGS_VALUE is not already done.
5494         (internal_getent): Allow extra parameters and pass them to parse_line.
5495         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5496         (_nss_files_get##name##_r): Likewise.
5497         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5498         and EXTRA_ARGS_VALUE to pass flags and type to parser.
5499         Add getipnodebyname function.
5500         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5501         EXTRA_ARGS_VALUE is not already done.
5502         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5503         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5504         to parse_line.
5505         (_nss_db_get##name##_r): Pass extra parameters to lookup.
5506         (_nss_db_get,ENTNAME_r): Likewise.
5507         * sysdeps/generic/if_index.c (__protocol_available): New function.
5508         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5509
5510 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
5511
5512         * login/pty-private.h: Move to...
5513         * sysdeps/generic/pty-private.h: ...here.
5514         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
5515         version.
5516         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5517         available.
5518
5519         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5520         of __overflow.
5521
5522         * conform/conformtest.pl (@headers): Add monetary.h-data,
5523         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5524         * conform/data/monetary.h-data: New file.
5525         * conform/data/mqueue.h-data: New file.
5526         * conform/data/ndbm.h-data: New file.
5527         * conform/data/nl_types.h.h-data: New file.
5528         * conform/data/poll.h-data: New file.
5529
5530         * stdio-common/Makefile (test): Add tst-cookie.
5531         * stdio-common/tst-cookie.c: New file.
5532
5533         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5534         changed in last patch.  Reported by Ralf Baechle.
5535
5536 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5537
5538         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5539
5540         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5541         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5542
5543 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5544
5545         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5546         Linux 2.3.15.
5547
5548 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
5549
5550         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5551         syscall.
5552         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5553
5554         * misc/libgen.h: Don't take basename macro as taking arguments.
5555
5556         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5557         for gcc >= 2.95.
5558         * sysdeps/i386/bits/huge_val.h: Likewise.
5559         * sysdeps/i386/bits/huge_val.h: Likewise.
5560         * sysdeps/ieee754/bits/huge_val.h: Likewise.
5561         * sysdeps/m68k/bits/huge_val.h: Likewise.
5562         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5563         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5564
5565         * conform/Makefile: New file.
5566         * conform/conformtest.pl: New file.
5567         * conform/data/aio.h-data: New file.
5568         * conform/data/assert.h-data: New file.
5569         * conform/data/cpio.h-data: New file.
5570         * conform/data/ctype.h-data: New file.
5571         * conform/data/dirent.h-data: New file.
5572         * conform/data/dlfcn.h-data: New file.
5573         * conform/data/errno.h-data: New file.
5574         * conform/data/fcntl.h-data: New file.
5575         * conform/data/float.h-data: New file.
5576         * conform/data/fmtmsg.h-data: New file.
5577         * conform/data/fnmatch.h-data: New file.
5578         * conform/data/ftw.h-data: New file.
5579         * conform/data/glob.h-data: New file.
5580         * conform/data/grp.h-data: New file.
5581         * conform/data/iconv.h-data: New file.
5582         * conform/data/inttypes.h-data: New file.
5583         * conform/data/iso646.h-data: New file.
5584         * conform/data/langinfo.h-data: New file.
5585         * conform/data/libgen.h-data: New file.
5586         * conform/data/locale.h-data: New file.
5587         * conform/data/math.h-data: New file.
5588
5589 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5590
5591         * posix/execvp.c (execvp): Correct copying of file name.
5592
5593 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
5594
5595         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5596
5597 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5598
5599         * stdio-common/Makefile: Move addition to routines to the right place.
5600
5601 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5602
5603         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
5604         since mips*-linux has ECANCELED.
5605
5606 1999-08-23  Andreas Schwab  <schwab@suse.de>
5607
5608         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5609         SIGCONTEXT_EXTRA_ARGS.
5610         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5611         * sysdeps/generic/sigcontextinfo.h: Likewise.
5612         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5613         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5614         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5615         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5616         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5617         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5618
5619 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
5620
5621         * posix/regexbug1.c: Make it an error if the test fails.
5622
5623 1999-08-23  Andreas Schwab  <schwab@suse.de>
5624
5625         * posix/regex.c (re_match_2_internal): Correct check for charset
5626         after exactn in loop.
5627
5628 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
5629
5630         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5631         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5632         Patch by Joel Klecker.
5633
5634         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5635         (__gconv_find_transform): Update prototype.
5636         (__gconv_open): Likewise.
5637         * iconv/gconv_open.c: Take extra parameter and pass it to
5638         __gconv_find_transform.
5639         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5640         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
5641         transformation.
5642         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5643         * wcsmbs/wcsmbsload.c: Likewise.
5644         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5645         iconv for glibc.
5646         * intl/gettextP.h: Likewise.
5647         * intl/loadmsgcat.c: Likewise.
5648
5649         * posix/regexbug1.c: New file.
5650         * posix/Makefile (tests): Add regexbug1.
5651
5652 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
5653
5654         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5655         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5656         installing PORT in the descriptor cell.
5657
5658 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
5659
5660         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5661         TIMEOUT as outputs of the asm to indicate that the signal thread
5662         might mutate them.
5663         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5664         mach_msg if only sending or only receiving (i.e., not an RPC).  When
5665         making an RPC that might get interrupted, save OPTION and the portion
5666         of the message buffer that gets clobbered by an EINTR reply message,
5667         and properly restore them before attempting to retry the request
5668         message send.
5669
5670 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5671
5672         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5673         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5674         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5675         stdio is used instead of libio.
5676         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5677         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5678         to make the code compile again when stdio is used instead of
5679         libio.
5680         (vfprintf): Only check for correct orientation if ORIENT is
5681         defined.
5682         * stdio-common/Makefile (routines): Only add vfwprintf and
5683         vfwscanf if we're using libio.
5684
5685 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5686
5687         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5688         any additional prototype just as we do for libio.
5689
5690 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5691
5692         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5693         TZNAME_MAX.  These limits are not X/Open specific.
5694         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5695         is defined.
5696
5697 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5698
5699         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5700         UIO_MAXIOV is left undefined in sys/uio.h.
5701         * stdio-common/stdio_lim.h.in: Adapt for change above.
5702
5703 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5704
5705         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5706         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5707         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5708
5709 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
5710
5711         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5712
5713 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
5714
5715         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5716
5717         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5718         call.  It should not be necessary andis harmful for Alpha.
5719
5720         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5721         type.  [PR libc/1269]
5722
5723         * posix/execvp.c (execvp): Allocate array name of correct size.
5724         Optimize inner loop.  Use execve directly, not execv.
5725
5726         * elf/elf.h: Corrected SHT_ values from new draft.
5727
5728         * intl/gettextP.h (struct loaded_domain): Add conv element.
5729         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5730         Instead of returning found message directly convert it using iconv
5731         if a conversion was found when opening the file.
5732         * intl/loadinfo.h: Protect against multiple inclusion.
5733         Declare _nl_find_msg.
5734         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5735         in the message file and if necessary find approrpiate
5736         conversion to match currently selected charset.
5737         * include/libintl.h: Declare __dgettext and __dcgettext.
5738         * include/iconv.h: New file.
5739
5740 1999-08-20  Andreas Schwab  <schwab@suse.de>
5741
5742         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5743
5744 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
5745
5746         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
5747         all threads [PR libc/1223].
5748
5749         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5750         [PR libc/1165].
5751
5752         * configure.in: Search for programs with prefix gnu* and g* first.
5753         [PR libc/1104].
5754
5755         * dirent/Makefile (routines): Add getdents64.
5756         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5757         Remove getdents64.
5758         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5759         compiled with _FILE_OFFSET_BITS=64.
5760         * sysdeps/generic/getdents64.c: New file.
5761         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5762         __lseek for getdirentries64 definition.
5763
5764         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5765
5766         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5767         _FILE_OFFSET_BITS=64.
5768
5769         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5770         parameter.
5771
5772         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5773         after we have the lock.
5774
5775         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5776         Patch by Richard Henderson.
5777
5778 1999-08-19  Andreas Schwab  <schwab@suse.de>
5779
5780         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5781         and call _IO_fwide, to get the wide stream state initialized
5782         correctly.  Don't set _IO_JUMPS.
5783         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5784         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
5785         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5786         directly.
5787
5788 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5789
5790         * math/libm-test.c (jn_test): Fix typo in description.
5791         (erfc_test): Add some more tests.
5792         (erf_test): Add some more tests.
5793
5794 1999-08-19  Andreas Schwab  <schwab@suse.de>
5795
5796         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5797         expression using $(exceptions).
5798
5799 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
5800
5801         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5802
5803         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5804         allocated so far.  [PR libc/1261].
5805
5806         * math/libm-test.c (j0_test): Adjust deltas for m68k.
5807         (jn_test): Likewise.
5808
5809         * dirent/dirent.h: Only define ino64_t if not already done.
5810         * posix/sys/types.h: Likewise.
5811
5812         * ctype/ctype.h: Avoid useless #endif #if pairs.
5813
5814         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5815         (seekdir): Fix type of second parameter.
5816         * sysdeps/generic/seekdir.c: Likewise.
5817         * sysdeps/mach/hurd/seekdir.c: Likewise.
5818         * sysdeps/unix/seekdir.c: Likewise.
5819
5820         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5821
5822 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5823
5824         * manual/install.texi (Configuring and compiling): Clarify ix86
5825         situation.
5826
5827 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
5828
5829         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5830         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5831         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5832         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
5833
5834         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5835
5836         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5837
5838         * misc/search.h: Don't define NULL.
5839
5840         * posix/sys/types.h: Define blksize_t if it hasn't happened.
5841         Only define key_t and blkcnt_t if it hasn't happened before.
5842         Define blksize_t if not happened before.
5843         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
5844         * sysdeps/generic/bits/types.h: Define __blksize_t.
5845         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5846         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5847         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5848         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5849         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5850         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5851         st_blksize member.
5852         (struct stat64): Likewise.
5853         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5854         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5855         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5856         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5857         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5858         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5859         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5860
5861         * stdlib/getsubopt.c: Correct type of second argument.
5862         * stdlib/stdlib.h: Likewise.
5863
5864         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
5865         and ssize_t.
5866
5867         * sysdeps/generic/putenv.c: Correct type of parameter.
5868         * stdlib/stdlib.h: Likewise.
5869
5870         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5871         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5872         * sysvips/sys/msg.h: Likewise.
5873
5874         * sysdeps/generic/semop.c: Correct type of third parameter.
5875         * sysdeps/unix/sysv/linux/semop.c: Likewise.
5876         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
5877         size_t.
5878
5879         * sysdeps/generic/shmget.c: Correct type of second parameter.
5880         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5881         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
5882         Declare __getpagesize here.
5883
5884         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5885         sys/types.h.
5886         * sysdeps/gnu/bits/ipc.h: Likewise.
5887         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5888         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5889         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5890         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5891         already done.
5892
5893         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5894
5895         * debug/versions: Export __cyg_profile_func_enter and
5896         __cyg_profile_func_exit.
5897
5898         * math/bits/mathcalls.h: Pretty print.
5899
5900 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
5901
5902         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5903         case for new tzdata.
5904
5905         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5906         unsigned.
5907         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5908         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5909         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5910         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5911
5912         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5913
5914         * sysdeps/generic/ualarm.c (ualarm): Change return value and
5915         parameter type to useconds_t.
5916         * sysdeps/unix/bsd/ualarm.c: Likewise.
5917
5918         * sysdeps/generic/usleep.c (usleep): Change parameter type to
5919         useconds_t.
5920         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5921         * sysdeps/mach/usleep.c: Likewise.
5922
5923         * locale/weight.h: Include <errno.h>.
5924
5925         * posix/sys/types.h: Define type useconds_t if not done already.
5926         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
5927         declarations.
5928         * sysdeps/generic/bits/types.h: Define type __useconds_t.
5929         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5930         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5931         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5932         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5933         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5934
5935         * dirent/dirent.h (telldir): Change return type to long int.
5936         * sysdeps/generic/telldir.c: Likewise.
5937         * sysdeps/mach/hurd/telldir.c: Likewise.
5938         * sysdeps/unix/telldir.c: Likewise.
5939         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
5940
5941         * locale/weight.h: Set errno if an invalid character is found.
5942
5943 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5944
5945         * math/libm-test.c (erfc_test): Add test for example from PR
5946         libc/1259.
5947         (erf_test): Likewise.
5948
5949 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
5950
5951         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5952         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
5953
5954         * timezone/private.h: Update from tzcode1999e.
5955         * timezone/zic.c: Likewise.
5956
5957         * timezone/africa: Update from tzdata1999e.
5958         * timezone/antarctica: Likewise.
5959         * timezone/asia: Likewise.
5960         * timezone/australasia: Likewise.
5961         * timezone/europe: Likewise.
5962         * timezone/leapseconds: Likewise.
5963         * timezone/northamerica: Likewise.
5964         * timezone/southamerica: Likewise.
5965
5966         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5967         and write correct number of bytes in case of %ls with precision.
5968         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5969
5970 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
5971
5972         * nscd/nscd.init: Test for kernel version and make LSB compliant.
5973         Patch by Christian Gafton.
5974
5975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5976         O_RSYNC.  Patch by Christian Gafton.
5977
5978         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5979         possibly unterminated strings for %ls when a precision is
5980         specified.
5981         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5982
5983         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5984         update_conversion_ptrs.
5985         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5986
5987 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5988
5989         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5990         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5991
5992         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5993         * wcsmbs/tst-wcsnlen.c: New file.
5994
5995 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5996
5997         * libio/ioputs.c (_IO_puts): Add missing brace.
5998
5999 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
6000
6001         * math/libm-test.c: Tweak deltas for a clean run on ppc.
6002
6003 1999-08-10  H.J. Lu  <hjl@gnu.org>
6004
6005         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6006         (vfprintf): Likewise.
6007         * stdio-common/vfscanf.c (ORIENT): Likewise.
6008         * libio/genops.c (__underflow): Likewise.
6009         (__uflow): Likewise.
6010         * libio/iofputs.c (_IO_fputs): Likewise.
6011         * libio/ioftell.c (_IO_ftell): Likewise.
6012         * libio/iofwrite.c (_IO_fwrite): Likewise.
6013         * libio/ioputs.c (_IO_puts): Likewise.
6014         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6015         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6016
6017 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6018
6019         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6020
6021 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6022
6023         * manual/job.texi (Process Group Functions): Document getpgid,
6024         getsid.
6025
6026 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6027
6028         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6029         initialize si_pid from it.
6030         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6031         parameter.
6032         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6033         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6034         (struct requestlist): Likewise.
6035         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6036         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
6037         to __aio_sigqueue.
6038         (__aio_notify): Pass caller PID to __aio_notify_only.
6039         * rt/aio_suspend.c: Initialize caller_pid.
6040         * rt/lio_listio.c: Likewise.
6041         * rt/lio_listio64.c: Likewise.
6042
6043         * rt/lio_listio.c: If nothing has to be done free mutex before
6044         signalling.
6045         * rt/lio_listio64.c: Likewise.
6046
6047 1999-08-10  H.J. Lu  <hjl@gnu.org>
6048
6049         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6050         handling.
6051
6052 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6053
6054         * elf/elf.h: Define ElfXX_Versym.
6055         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6056         definition.
6057
6058         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6059         for string output correctly in the wide character case.
6060         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6061
6062         * intl/locale.alias: Add catalan.
6063
6064 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6065
6066         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6067
6068 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6069
6070         * po/pt_BR.po: New file.
6071
6072 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6073
6074         * math/libm-test.c (yn_test): Adjust deltas for i386.
6075         (ccosh_test): Likewise.
6076         (jn_test): Likewise.
6077
6078 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6079
6080         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6081
6082 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6083
6084         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6085         problem.
6086
6087 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6088
6089         * configure.in: install-sh lives now in scripts subdir.
6090         PR libc/1255 (bug 4).
6091
6092 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6093
6094         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6095         version.
6096
6097         * po/fr.po: Update.
6098
6099 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
6100
6101         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6102
6103 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6104
6105         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6106         exponent.
6107
6108 1999-08-10  Andreas Schwab  <schwab@suse.de>
6109
6110         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6111         header.
6112
6113 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
6114
6115         * elf/elf.h: Added definition of ELFOSABI_ARM.
6116         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6117         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6118         object's header and ABI values are acceptable.
6119         (VALID_ELF_HEADER): New macro; provide default definition.
6120         (VALID_ELF_OSABI): New macro; provide default definition.
6121         (VALID_ELF_ABIVERSION): New macro; provide default definition.
6122         * sysdeps/arm/dl-machine.h Define ARM specific versions of
6123         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6124
6125 1999-08-09  Andreas Schwab  <schwab@suse.de>
6126
6127         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6128
6129 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
6130
6131         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6132
6133 1999-08-09  Andreas Schwab  <schwab@suse.de>
6134
6135         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6136
6137 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
6138
6139         * sysdeps/ieee754/ieee754.h: Handle platforms with special
6140         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
6141
6142         * string/bits/string2.h: Mark void* operations as extensions.
6143         * sysdeps/i386/i486/bits/string.h: Likewise.
6144
6145         * debug/Makefile (routines): Add noophooks.
6146         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
6147         * debug/noophooks.c: New file.
6148         * debug/pcprofile.c: New file.
6149
6150 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6151
6152         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6153         systems which allow using the functions also on non-seekable
6154         devices.
6155
6156         * resolv/res_send.c (res_send): Recompute timeout for poll for
6157         each jump to `wait'.
6158
6159         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6160         braces to avoid warnings.
6161         (IN6ADDR_LOOPBACK_INIT): Likewise.
6162
6163         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6164         MSG_DONTWAIT).
6165
6166 1999-08-06  H.J. Lu  <hjl@gnu.org>
6167
6168         * malloc/malloc.c: Initialize __libc_pagesize early.
6169
6170 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6171
6172         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6173         defining it.
6174
6175         * inet/Makefile (tests): Add tst-ipnode.
6176         * inet/tst-ipnode.c: New file.
6177
6178 1999-08-06  Andreas Schwab  <schwab@suse.de>
6179
6180         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6181         New definitions.
6182         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6183         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6184         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6185         New definitions.
6186         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6187         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6188
6189 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
6190
6191         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6192         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6193         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6194
6195 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6196
6197         * resolv/res_send.c (res_send): Don't test file descriptor for
6198         range, we use poll now.  [PR libc/1240]
6199
6200 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
6201
6202         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6203         2.0 defined if they are not available.
6204
6205 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
6206
6207         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6208         Define.
6209
6210 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
6211
6212         * rt/aio_read.c: Fix return value.
6213         * rt/aio_read64.c: Likewise.
6214         Reported by Christian Gafton.
6215
6216         * rt/aio_write.c: Fix return value.
6217         * rt/aio_write64.c: Likewise.
6218         * rt/aio_fsync.c: Likewise.
6219
6220         * rt/aio_misc.c: Set errno at correct place.
6221
6222         * rt/aio_fsync.c: Test OP parameter for correct values.
6223
6224         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6225
6226 1999-08-04  Andreas Schwab  <schwab@suse.de>
6227
6228         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6229         Initialize result to one.
6230         (GET_NPROCS_CONF_PARSER): Likewise.
6231
6232 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
6233
6234         * inet/ether_hton.c: Pass errno pointer to NSS function.
6235         * inet/getnetgrent_r.c: Likewise.
6236         Reported by Marty Leisner <leisner@rochester.rr.com>.
6237
6238 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6239
6240         * nis/nis_callback.c: Fix port problem on big-endian machines
6241         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6242         fields are always 32 bit.
6243         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6244
6245         * nis/nss_nis/nis-service.c: Remove htons, port is always in
6246         network-byte-order.
6247         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6248
6249 1999-08-03  Andreas Schwab  <schwab@suse.de>
6250
6251         * sysdeps/posix/sigset.c: Unblock the signal after setting its
6252         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6253         avoid two calls to sigprocmask.
6254
6255 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6256
6257         * sysdeps/generic/s_nexttowardf.c: Fix typo.
6258
6259 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
6260
6261         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6262         Only allow rt signal frames. No SA_SIGINFO signals will have the
6263         siginfo_t just not filled out with SI_NOINFO code.
6264         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6265         (register_dump): Take the above change into account.
6266         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6267         (rt_signal_frame): Likewise.
6268
6269         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6270
6271 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6272
6273         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6274         instead of select().
6275
6276 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6277
6278         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6279         nexttoward so something else so that aliasing works.
6280
6281 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6282
6283         * sysdeps/generic/math_ldbl.h: Fix typo.
6284         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6285         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6286
6287 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6288
6289         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
6290
6291 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
6292
6293         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
6294         program.
6295         * elf/resolvfail.c: New file.
6296
6297         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6298         pass it to _dl_lookup_symbol.
6299
6300         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6301         bit.  Reword message.
6302
6303         * dlfcn/dlerror.c: Make code thread-safe.
6304
6305 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
6306
6307         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6308         initializer in CHECK: a bit size, not the type code repeated!
6309
6310 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6311
6312         * string/tester.c: Add tests with constant arguments for strcpy
6313         and stpcpy.
6314
6315 1999-07-31  H.J. Lu  <hjl@gnu.org>
6316
6317         * string/bits/string2.h (__strcpy_small): Fix a typo.
6318
6319 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6320
6321         * Makeconfig (link-libc): Always define it, not only for shared
6322         builds.
6323
6324         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6325         * sysdeps/i386/fpu/e_powf.S: Likewise.
6326         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
6327
6328         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6329         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
6330
6331 1999-07-30  Andreas Schwab  <schwab@suse.de>
6332
6333         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6334         definition.
6335         (__get_nprocs): Use it.
6336         (__get_nprocs_conf): Define as separate function if
6337         GET_NPROCS_CONF_PARSER is defined.
6338         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6339
6340         * include/sys/sysinfo.h: New file.
6341         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6342         interface.
6343         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6344
6345 1999-07-30  H.J. Lu  <hjl@gnu.org>
6346
6347         * libio/iofflush.c (fflush_unlocked): Weak aliase if
6348         _IO_MTSAFE_IO is not defined.
6349         * libio/clearerr.c (clearerr_unlocked): Likewise.
6350         * libio/feof.c (feof_unlocked): Likewise.
6351         * libio/ferror.c (ferror_unlocked): Likewise.
6352         * libio/fputc.c (fputc_unlocked): Likewise.
6353         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6354         * libio/getchar.c (getchar_unlocked): Likewise.
6355         * libio/putc.c (putc_unlocked): Likewise.
6356         * libio/putchar.c (putchar_unlocked): Likewise.
6357
6358 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
6359
6360         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6361           svc_max_pollfd and svc_pollfd to GLIBC_2.2
6362         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6363           for svc_run/poll interface.
6364         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6365         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6366           global variable.
6367         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6368           rewrite other svc_getreq* functions to use svc_getreq_common.
6369         * sunrpc/svc_run.c: Use poll().
6370
6371 1999-07-30  Andreas Schwab  <schwab@suse.de>
6372
6373         * Makerules: Put sysd-versions and Versions.all on
6374         postclean-generated instead of common-generated.
6375
6376 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6377
6378         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6379         around and CLOCKS_PER_SEC is 1e6.
6380
6381 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
6382
6383         * configure.in: Add test for local label subtraction.
6384         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6385         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6386         labels to reduce number of runtime relocations and move jump
6387         tables in read-only seciton.
6388
6389         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
6390         assignment cannot be moved.
6391
6392 1999-07-29  H.J. Lu  <hjl@gnu.org>
6393
6394         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6395         if no threads are used.
6396
6397         * libio/iofwrite.c: Add weak alias for _unlocked function if not
6398         _IO_MTSAFE_IO.
6399         * libio/iofread.c: Likewise.
6400         * libio/iofgets.c: Likewise.
6401         * libio/iofputs.c: Likewise.
6402
6403         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6404         definition.
6405
6406         * stdlib/mbtowc.c: Include <string.h>.
6407         * stdlib/wctomb.c: Likewise.
6408         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6409         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6410
6411         * misc/mntent_r.c: Include <alloca.h>.
6412         * elf/dl-runtime.c: Likewise.
6413
6414 1999-07-29  Andreas Schwab  <schwab@suse.de>
6415
6416         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6417         all floating point formats supported by gcc.  Error out for
6418         unhandled precisions.
6419         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6420         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6421         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6422
6423 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
6424
6425         * sysdeps/generic/setenv.c: Move setenv code in new function
6426         __add_to_environ.  Add new parameter specifying already
6427         constructed string for the environment.
6428         (setenv): Call __add_to_environ with new parameter set to NULL.
6429         (unsetenv): Really test all elements for duplicated name.  Missed those
6430         cases where the two are following each other.
6431         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6432         * include/stdlib.h: Add prototype of __add_to_environ.
6433         * stdlib/tst-environ.c: New file.
6434         * stdlib/Makefile (tests): Add tst-environ.
6435
6436         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6437
6438         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6439         argument in realloc call.
6440         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6441         Likewise.
6442         Reported by Danny Braniss <danny@cs.huji.ac.il>.
6443
6444 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
6445
6446         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6447         to print.
6448         * misc/efgcvt_r.c: Likewise.
6449         * misc/qefgcvt.c: Likewise.
6450         * misc/qefgcvt_r.c: Likewise.
6451         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6452         anymore.
6453
6454 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6455
6456         * manual/math.texi (FP Function Optimization): Mention drawbacks.
6457
6458 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
6459
6460         * stdlib/mblen.c: Use static state.
6461         Reported by Bruno Haible <haible@ilog.fr>.
6462
6463         * stdlib/mbtowc.c: Reset state for s == NULL.
6464         * stdlib/wctomb.c: Likewise.
6465         Reported by Bruno Haible <haible@ilog.fr>.
6466
6467         * stdlib/mbstowcs.c: Do not use global state.
6468         Reported by Bruno Haible <haible@ilog.fr>.
6469
6470 1999-07-28  Andeas Schwab  <schwab@suse.de>
6471
6472         * iconvdata/Makefile: Don't try to run iconv tests when cross
6473         compiling.
6474
6475 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
6476
6477         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6478         assembler code to switch stacks and call init1 outside this
6479         function.  Inside `init' the code was optimized away by gcc
6480         2.95 since it was "clearly" unreachable.
6481         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6482         Do something similar for the trampoline code.
6483
6484 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
6485
6486         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6487         for the hinted protocol.
6488
6489 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6490
6491         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6492
6493 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6494
6495         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6496         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6497         * elf/dl-load.c (_dl_map_object): Likewise.
6498         * elf/do-lookup.h (do_lookup*): Likewise.
6499         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6500         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6501         as uint64_t.
6502         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6503
6504 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6505
6506         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6507         * sysdeps/generic/getpgrp.c: Likewise.
6508         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6509         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6510         Patch by John Tobey <jtobey@banta-im.com>.
6511
6512         * sysdeps/posix/wait3.c: Help compiling in presence of
6513         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
6514
6515 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6516
6517         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6518         as much as possible. Declare them using .register pseudo-op if they
6519         are still used.
6520         * sysdeps/sparc/sparc64/lshift.S: Likewise.
6521         * sysdeps/sparc/sparc64/memchr.S: Likewise.
6522         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6523         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6524         * sysdeps/sparc/sparc64/memset.S: Likewise.
6525         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6526         * sysdeps/sparc/sparc64/rshift.S: Likewise.
6527         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6528         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6529         * sysdeps/sparc/sparc64/strcat.S: Likewise.
6530         * sysdeps/sparc/sparc64/strchr.S: Likewise.
6531         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6532         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6533         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6534         * sysdeps/sparc/sparc64/strlen.S: Likewise.
6535         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6536         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6537         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6538         * sysdeps/sparc/sparc64/strspn.S: Likewise.
6539         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6540         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6541         Optimize trampoline code for .plt4-.plt32767.
6542         Fix trampolines for .plt32768+.
6543
6544 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
6545
6546         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6547         -mcpu=v8.
6548         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6549         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6550         libc's private use (as assembly routine clobber it anyway).
6551
6552 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6553
6554         * README.template (configurations): The crypt add-on has a new
6555         ftp site.
6556         * manual/install.texi (Installation): Likewise.
6557
6558 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6559
6560         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
6561         requires to have a full definition but we wait for a bug report
6562         based on the test suite.
6563
6564         * sysdeps/generic/clock_getres.c: New file.
6565         * sysdeps/generic/clock_gettime.c: New file.
6566         * sysdeps/generic/clock_settime.c: New file.
6567         * sysdeps/generic/timer_create.c: New file.
6568         * sysdeps/generic/timer_delete.c: New file.
6569         * sysdeps/generic/timer_getoverr.c: New file.
6570         * sysdeps/generic/timer_gettime.c: New file.
6571         * sysdeps/generic/timer_settime.c: New file.
6572
6573         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6574         CLOCK_REALTIME, and TIMER_ABSTIME.
6575         * sysdeps/mach/hurd/bits/time.h: Likewise.
6576         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6577         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6578
6579         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6580
6581         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6582         si_timer2.
6583
6584         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6585
6586         * time/Makefile (routines): Add clock_getres, clock_gettime,
6587         clock_setres, timer_create, timer_delete, timer_getoverr,
6588         timer_gettime, and timer_settime.
6589
6590         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6591         POSIX.1b.  Add prototypes for clock and timer functions.
6592
6593 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
6594
6595         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6596         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6597
6598 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
6599
6600         * stdlib/wcstombs.c: Do not use global state.
6601         Reported by Bruno Haible <haible@ilog.fr>.
6602
6603         * wcsmbs/wctob.c: Avoid sign extension when returning character.
6604         Reported by Bruno Haible <haible@ilog.fr>.
6605
6606         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6607         of wide characters to convert do it right and don't overestimate
6608         by multiplying with MB_CUR_MAX.
6609         Reported by Bruno Haible <haible@ilog.fr>.
6610
6611 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
6612
6613         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6614         (__stpcpy_small): Likewise.
6615         Union has no __uc member but __c.
6616
6617 1999-07-26  Andreas Schwab  <schwab@suse.de>
6618
6619         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6620
6621 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6622
6623         * libio/iofclose.c (_IO_new_fclose): Only fall back on
6624         _IO_old_fclose if doing versioning.
6625
6626         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6627         them appropriately.
6628         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6629
6630         * misc/mntent_r.c: Allow spaces and tabs in entry names by
6631         encoding these characters.
6632         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6633
6634         * string/bits/string2.h: Fix aliasing problems.
6635         * sysdeps/i386/i486/bits/string.h: Likewise.
6636         * sysdeps/i386/bits/string.h: Likewise.
6637
6638 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
6639
6640         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6641         * elf/rtld.c (dl_main): Don't call malloc() between
6642         re-relocating the dynamic linker and running the application's crt0.
6643
6644 1999-07-21  Paul D. Smith  <psmith@gnu.org>
6645
6646         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6647         glob.h to get __P() macro.
6648
6649         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6650         not ANSI.
6651         (__strchrnul): This won't exist outside GLIBC, so create one.
6652
6653 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
6654
6655         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6656         __ino64_t should be 32bit unsigned type on sparc32.
6657         Define __off64_t to __quad_t instead of __int64_t.
6658         Make __pic_pid_t unsigned on sparc32.
6659
6660 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6661
6662         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6663         in bash 2.03.
6664
6665 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6666
6667         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6668         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
6669
6670 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
6671
6672         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6673         accesses.
6674
6675         * resolv/res_send.c: Add locks for res_send and res_close use.
6676
6677         * elf/Makefile (dl-routines): Add preinit.
6678         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6679         * elf/link.h (struct link_map): Add new field l_preinitcount.
6680         * elf/dl-preinit.c: New file.
6681         * elf/dynamic-link.h: Initialize l_preinitcount.
6682         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6683
6684         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6685         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
6686         and l_initcount.
6687         * elf/dl-init.c: Handle DT_INIT_ARRAY.
6688         * elf/dynamic-link.h: Change parameters.  Now only get link_map
6689         pointer.  Calculate l_initcount.
6690
6691         * elf/link.h (struct link_map): Add l_runpath_dirs.
6692         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6693         * elf/dl-load.c: Pretty print.
6694         (decompose_rpath): Take new parameter with info from where the path
6695         comes.  Pass it the fillin_rpath.
6696         (_dl_init_paths): Initialize l_runpath_dirs.
6697         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6698         Search using RUNPATH after LD_LIBRARY_PATH.
6699         * elf/dl-support.c: Adjust comment.
6700         * elf/rtld.c: Adjust help message.
6701
6702 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6703
6704         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6705         interface.
6706
6707 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
6708
6709         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6710         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
6711         ever used this, so I'm not going to worry about compatibility.
6712         [__USE_GNU] (IUCLC, OLCUC): New macros.
6713
6714 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
6715
6716         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6717
6718         * elf/elf.h: Add ET_LOOS and ET_HIOS.
6719         Add various EM_* constants.
6720         Add SHN_LOOS and SHN_HIOS.
6721         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6722         Add SHF_MERGE and SHF_STRINGS.
6723         (ElfXX_Sym): Update description of st_other field.
6724         Add STT_COMMON.
6725         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6726         Add STV_* macros.
6727         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6728         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6729         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6730
6731         * posix/unistd.h: Move declaration of __libc_enable_secure to...
6732         * include/unistd.h: ...here.
6733
6734         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6735         * elf/dl-deps.c (expand_dst): Likewise.
6736
6737         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6738         based on DT_FLAGS value.
6739
6740         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6741         Add test for symbols marked STV_HIDDEN.
6742         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6743         add undef_map.  Compute reference_name locally.  Update call to
6744         do_lookup.
6745         (_dl_lookup_symbol_skip): Likewise.
6746         (_dl_lookup_versioned_symbol): Likewise.
6747         (_dl_lookup_versioned_symbol_skip): Likewise.
6748         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6749         * elf/dl-runtime.c: Likewise.
6750         * elf/dl-sym.c: Likewise.
6751         * elf/dl-symbol.c: Likewise.
6752         * elf/ldsodefs.h: Adjust prototypes.
6753
6754         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6755         handle appropriately.  Add comment about DT_TEXTREL.
6756         * elf/dl-runtime.c: Likewise.
6757
6758 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
6759
6760         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6761         * elf/ldsodefs.h: Declare it.
6762         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6763         instead of assert.
6764         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
6765         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6766         (elf_machine_lazy_rel): Likewise.
6767         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6768         (elf_machine_lazy_rel): Likewise.
6769         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6770         (elf_machine_lazy_rel): Likewise.
6771         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6772         (elf_machine_lazy_rel): Likewise.
6773         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6774         (elf_machine_lazy_rel): Likewise.
6775         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6776         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6777         (elf_machine_lazy_rel): Likewise.
6778         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6779         (elf_machine_lazy_rel): Likewise.
6780         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6781         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6782         _dl_reloc_bad_type instead of _dl_signal_error.
6783         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6784
6785 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
6786
6787         * sysdeps/mach/_strerror.c: Include <libintl.h>.
6788
6789 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
6790
6791         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6792         hurd_signal_preemptor matches but its `preemptor' field is null, use
6793         its `handler' field directly.  This is to comply with behavior
6794         documented in <hurd/sigpreempt.h>.
6795
6796 1999-07-21  Andreas Schwab  <schwab@suse.de>
6797
6798         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6799         when reading from write-only stream.
6800         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6801         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6802
6803 1999-07-21  Andreas Schwab  <schwab@suse.de>
6804
6805         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6806         NULL.
6807
6808 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
6809
6810         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6811         <hurd/fd.h>.
6812         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6813         <hurd/fd.h>.
6814         (__libc_write): Call __pwrite instead of __pread.
6815
6816 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
6817
6818         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6819         __vm_allocate calls.
6820
6821         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
6822         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6823
6824         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6825         _hurd_fd_read with new OFFSET argument set to -1.
6826         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6827         to -1.
6828
6829 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
6830
6831         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6832         descriptor table sent in the RPC.
6833
6834 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6835
6836         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
6837         bill@taniwha.org [PR libc/1211].
6838
6839 1999-07-19  Andreas Schwab  <schwab@suse.de>
6840
6841         * libio/Makefile (routines): Add fwprintf.
6842
6843         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6844         * math/w_sqrt.c: Moved to ...
6845         * sysdeps/generic/w_sqrt.c: ... here.
6846         * math/w_sqrtf.c: Moved to ...
6847         * sysdeps/generic/w_sqrtf.c: ... here.
6848
6849         * Make-dist (generic-dirs): New variable.
6850         (try-sysdeps, +sysdep-names): Use it.
6851         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
6852         instead of $(lib)-routines.
6853         * elf/Makefile (distribute): Add dl-cache.h.
6854         * db2/Makefile (distribute): Add all new files.
6855         * iconvdata/Makefile (distribute): Don't distribute CVS
6856         directory.
6857         * math/Makefile (distribute): Remove machine/endian.h, add
6858         math_ldbl.h.
6859         * stdio-common/Makefile (distribute): Add _itowa.h.
6860         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6861         * sysdeps/gnu/Dist: Add eval.c
6862         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6863         dlfcn]: Add to this instead of libdl-routines.
6864         * sysdeps/ieee754/ldbl-128/Dist: New file.
6865         * sysdeps/mach/hurd/Dist: Add siglist.h
6866         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6867
6868 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
6869
6870         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6871
6872         * inet/Makefile (routines): Add getipnodebyad and freehostent.
6873         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6874         * inet/freehostent.c: New file.
6875         * inet/getipnodebyad.c: New file.
6876         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6877         and getipnodebyname.  The latter comes soon.
6878         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6879         Add support for getipnode* functions.
6880
6881         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6882         Set h_aliases to NULL and not to a pointer to an array with a NULL
6883         pointer following XNS 5.2.
6884
6885         * posix/sched.h: Remove internal interfaces.
6886         * include/sched.h: Add internal interfaces.
6887
6888         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6889
6890         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6891
6892         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6893         and return an error in this case.
6894         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6895         available.
6896
6897 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6898
6899         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6900         1999-07-17 and adjust len parameter.
6901         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6902         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6903         * manual/socket.texi (Host Names): Likewise.
6904         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6905         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6906         Likewise.
6907         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6908         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6909         (ht_gethostbyaddr): Likewise.
6910         (_gethtbyaddr): Likewise.
6911
6912 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
6913
6914         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6915         gethostbyaddr_r.
6916         * include/netdb.h: Likewise.
6917         * inet/gethstbyad.c: Correct type of len parameter.
6918         * inet/gethstbyad_r.c: Likewise.
6919
6920         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6921
6922 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
6923
6924         * include/libc-symbol.h: Clean up definitions of weak_alias,
6925         strong_alias, symbol_version, etc. etc.
6926         * posix/getopt.h: Use ctype.h to get features.h included, and don't
6927         include it at all if __GNU_LIBRARY__ is already defined.
6928
6929 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
6930
6931         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6932
6933         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6934
6935         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6936         type for tv_usec element.
6937         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6938         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6939         * sysdeps/generic/bits/time.h: Likewise.
6940         * sysdeps/mach/hurd/bits/time.h: Likewise.
6941         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6942         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6944         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6945         * sysdeps/generic/bits/types.h: Likewise.
6946         * posix/sys/types.h: Define suseconds_t for X/Open.
6947
6948 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6949
6950         * stdio-common/bug1.c: Avoid memory leak.
6951
6952         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6953         program deterministic.
6954         * sysdeps/i386/fpu/e_powf.S: Likewise.
6955         * sysdeps/i386/fpu/e_powl.S: Likewise.
6956
6957 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
6958
6959         * math/Makefile: Add t_sincosl and k_sincosl support routines.
6960         * math/math_private.h (__kernel_sincosl): New declaration.
6961         * sysdeps/generic/t_sincosl.c: New file.
6962         * sysdeps/generic/k_sincosl.c: New file.
6963         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6964         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6965         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6966         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6967         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6968         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6969         __kernel_sincosl.
6970         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6971         definition.
6972
6973 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6974
6975         * posix/unistd.h: Use __PMT for exit.
6976
6977 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
6978
6979         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6980         _outw, _outl): Added to GLIBC_2.1.2.
6981
6982 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6983
6984         * posix/fnmatch.h: Use __name instead of __string in prototype to
6985         allow use outside glibc.
6986
6987 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
6988
6989         * time/tst-strptime.c (main): Add one more test case.  Produce
6990         output even when result is ok.
6991
6992         * time/strptime.c (get_number): Handle number parsing more
6993         consistent with strftime.  Only parse a given number of digits.
6994         (get_alt_number):  Fix implementation.  Was broken.
6995         (strptime_internal): Add third parameter to get_number and
6996         get_alt_number calls.
6997
6998 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
6999
7000         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7001         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7002         try both 32bit and 64bit dynamic linker.
7003         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7004         script on all sparc targets.
7005
7006 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7007
7008         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7009         to int.
7010
7011 1999-07-13  Andreas Schwab  <schwab@suse.de>
7012
7013         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7014         inlining.  Fixes PR libc/1198.
7015
7016 1999-07-14  Andreas Schwab  <schwab@suse.de>
7017
7018         * Makerules (common-generated): Don't prepend $(common-objpfx).
7019
7020 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
7021
7022         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7023         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7024         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7025         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7026         macro.
7027         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7028         instead of ieee754.
7029         * sysdeps/arm/Implies: Likewise.
7030         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7031         ieee754/ldbl-96 instead of ieee754.
7032         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7033         * sysdeps/generic/e_atanhl.c: New file.
7034         * sysdeps/generic/e_coshl.c: New file.
7035         * sysdeps/generic/e_sinhl.c: New file.
7036         * sysdeps/generic/e_gammal_r.c: New file.
7037         * sysdeps/generic/e_hypotl.c: New file.
7038         * sysdeps/generic/s_cbrtl.c: New file.
7039         * sysdeps/generic/s_asinhl.c: New file.
7040         * sysdeps/generic/s_tanhl.c: New file.
7041         * sysdeps/generic/w_expl.c: New file.
7042         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7043         instead of ieee754.
7044         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7045         ieee754/ldbl-96 instead of ieee754.
7046         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7047         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7048         printf_fphex.
7049         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7050         instead of ieee754.
7051         * sysdeps/mips/mips64/Implies: Likewise.
7052         * sysdeps/powerpc/Implies: Likewise.
7053         * sysdeps/sparc/Implies: Remove.
7054         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7055         ieee754/dbl-64.
7056         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7057         and ieee754/ldbl-128.
7058
7059         * sysdeps/sparc/bits/wordsize.h: Remove.
7060         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7061         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7062         only for sparc32.
7063         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7064         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7065         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7066         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7067         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7068         support.
7069
7070         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7071         of carries. Optimize.
7072
7073         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7074         * sysdeps/generic/e_exp10.c: ...here.
7075         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7076         * sysdeps/generic/e_exp10f.c: ...here.
7077         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7078         * sysdeps/generic/e_exp10l.c: ...here.
7079         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7080         * sysdeps/generic/e_scalb.c: ...here.
7081         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7082         * sysdeps/generic/e_scalbf.c: ...here.
7083         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7084         * sysdeps/generic/e_scalbl.c: ...here.
7085         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7086         * sysdeps/generic/s_cacos.c: ...here.
7087         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7088         * sysdeps/generic/s_cacosf.c: ...here.
7089         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7090         * sysdeps/generic/s_cacosh.c: ...here.
7091         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7092         * sysdeps/generic/s_cacoshf.c: ...here.
7093         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7094         * sysdeps/generic/s_cacoshl.c: ...here.
7095         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7096         * sysdeps/generic/s_cacosl.c: ...here.
7097         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7098         * sysdeps/generic/s_casin.c: ...here.
7099         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7100         * sysdeps/generic/s_casinf.c: ...here.
7101         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7102         * sysdeps/generic/s_casinh.c: ...here.
7103         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7104         * sysdeps/generic/s_casinhf.c: ...here.
7105         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7106         * sysdeps/generic/s_casinhl.c: ...here.
7107         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7108         * sysdeps/generic/s_casinl.c: ...here.
7109         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7110         * sysdeps/generic/s_catan.c: ...here.
7111         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7112         * sysdeps/generic/s_catanf.c: ...here.
7113         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7114         * sysdeps/generic/s_catanh.c: ...here.
7115         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7116         * sysdeps/generic/s_catanhf.c: ...here.
7117         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7118         * sysdeps/generic/s_catanhl.c: ...here.
7119         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7120         * sysdeps/generic/s_catanl.c: ...here.
7121         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7122         * sysdeps/generic/s_ccos.c: ...here.
7123         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7124         * sysdeps/generic/s_ccosf.c: ...here.
7125         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7126         * sysdeps/generic/s_ccosh.c: ...here.
7127         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7128         * sysdeps/generic/s_ccoshf.c: ...here.
7129         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7130         * sysdeps/generic/s_ccoshl.c: ...here.
7131         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7132         * sysdeps/generic/s_ccosl.c: ...here.
7133         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7134         * sysdeps/generic/s_cexp.c: ...here.
7135         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7136         * sysdeps/generic/s_cexpf.c: ...here.
7137         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7138         * sysdeps/generic/s_cexpl.c: ...here.
7139         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7140         * sysdeps/generic/s_clog.c: ...here.
7141         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7142         * sysdeps/generic/s_clog10.c: ...here.
7143         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7144         * sysdeps/generic/s_clog10f.c: ...here.
7145         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7146         * sysdeps/generic/s_clog10l.c: ...here.
7147         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7148         * sysdeps/generic/s_clogf.c: ...here.
7149         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7150         * sysdeps/generic/s_clogl.c: ...here.
7151         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7152         * sysdeps/generic/s_cpow.c: ...here.
7153         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7154         * sysdeps/generic/s_cpowf.c: ...here.
7155         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7156         * sysdeps/generic/s_cpowl.c: ...here.
7157         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7158         * sysdeps/generic/s_cproj.c: ...here.
7159         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7160         * sysdeps/generic/s_cprojf.c: ...here.
7161         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7162         * sysdeps/generic/s_cprojl.c: ...here.
7163         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7164         * sysdeps/generic/s_csin.c: ...here.
7165         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7166         * sysdeps/generic/s_csinf.c: ...here.
7167         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7168         * sysdeps/generic/s_csinh.c: ...here.
7169         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7170         * sysdeps/generic/s_csinhf.c: ...here.
7171         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7172         * sysdeps/generic/s_csinhl.c: ...here.
7173         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7174         * sysdeps/generic/s_csinl.c: ...here.
7175         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7176         * sysdeps/generic/s_csqrt.c: ...here.
7177         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7178         * sysdeps/generic/s_csqrtf.c: ...here.
7179         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7180         * sysdeps/generic/s_csqrtl.c: ...here.
7181         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7182         * sysdeps/generic/s_ctan.c: ...here.
7183         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7184         * sysdeps/generic/s_ctanf.c: ...here.
7185         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7186         * sysdeps/generic/s_ctanh.c: ...here.
7187         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7188         * sysdeps/generic/s_ctanhf.c: ...here.
7189         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7190         * sysdeps/generic/s_ctanhl.c: ...here.
7191         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7192         * sysdeps/generic/s_ctanl.c: ...here.
7193         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7194         * sysdeps/generic/s_fdim.c: ...here.
7195         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7196         * sysdeps/generic/s_fdimf.c: ...here.
7197         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7198         * sysdeps/generic/s_fdiml.c: ...here.
7199         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7200         * sysdeps/generic/s_fma.c: ...here.
7201         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7202         * sysdeps/generic/s_fmaf.c: ...here.
7203         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7204         * sysdeps/generic/s_fmal.c: ...here.
7205         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7206         * sysdeps/generic/s_fmax.c: ...here.
7207         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7208         * sysdeps/generic/s_fmaxf.c: ...here.
7209         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7210         * sysdeps/generic/s_fmaxl.c: ...here.
7211         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7212         * sysdeps/generic/s_fmin.c: ...here.
7213         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7214         * sysdeps/generic/s_fminf.c: ...here.
7215         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7216         * sysdeps/generic/s_fminl.c: ...here.
7217         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7218         * sysdeps/generic/s_ldexp.c: ...here.
7219         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7220         * sysdeps/generic/s_ldexpf.c: ...here.
7221         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7222         * sysdeps/generic/s_ldexpl.c: ...here.
7223         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7224         * sysdeps/generic/s_nan.c: ...here.
7225         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7226         * sysdeps/generic/s_nanf.c: ...here.
7227         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7228         * sysdeps/generic/s_nanl.c: ...here.
7229         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7230         * sysdeps/generic/s_significand.c: ...here.
7231         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7232         * sysdeps/generic/s_significandf.c: ...here.
7233         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7234         * sysdeps/generic/s_significandl.c: ...here.
7235         Avoid conversion from int to double and then to long double.
7236         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7237         * math/w_acos.c: ...here.
7238         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7239         * math/w_acosf.c: ...here.
7240         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7241         * math/w_acosh.c: ...here.
7242         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7243         * math/w_acoshf.c: ...here.
7244         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7245         * math/w_acoshl.c: ...here.
7246         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7247         * math/w_acosl.c: ...here.
7248         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7249         * math/w_asin.c: ...here.
7250         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7251         * math/w_asinf.c: ...here.
7252         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7253         * math/w_asinl.c: ...here.
7254         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7255         * math/w_atan2.c: ...here.
7256         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7257         * math/w_atan2f.c: ...here.
7258         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7259         * math/w_atan2l.c: ...here.
7260         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7261         * math/w_atanh.c: ...here.
7262         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7263         * math/w_atanhf.c: ...here.
7264         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7265         * math/w_atanhl.c: ...here.
7266         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7267         * math/w_cosh.c: ...here.
7268         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7269         * math/w_coshf.c: ...here.
7270         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7271         * math/w_coshl.c: ...here.
7272         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7273         * math/w_drem.c: ...here.
7274         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7275         * math/w_dremf.c: ...here.
7276         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7277         * math/w_dreml.c: ...here.
7278         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7279         * math/w_exp10.c: ...here.
7280         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7281         * math/w_exp10f.c: ...here.
7282         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7283         * math/w_exp10l.c: ...here.
7284         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7285         * math/w_exp2.c: ...here.
7286         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7287         * math/w_exp2f.c: ...here.
7288         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7289         * math/w_exp2l.c: ...here.
7290         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7291         * math/w_fmod.c: ...here.
7292         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7293         * math/w_fmodf.c: ...here.
7294         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7295         * math/w_fmodl.c: ...here.
7296         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7297         * math/w_hypot.c: ...here.
7298         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7299         * math/w_hypotf.c: ...here.
7300         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7301         * math/w_hypotl.c: ...here.
7302         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7303         * math/w_j0.c: ...here.
7304         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7305         * math/w_j0f.c: ...here.
7306         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7307         * math/w_j0l.c: ...here.
7308         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7309         * math/w_j1.c: ...here.
7310         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7311         * math/w_j1f.c: ...here.
7312         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7313         * math/w_j1l.c: ...here.
7314         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7315         * math/w_jn.c: ...here.
7316         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7317         * math/w_jnf.c: ...here.
7318         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7319         * math/w_jnl.c: ...here.
7320         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7321         * math/w_lgamma.c: ...here.
7322         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7323         * math/w_lgamma_r.c: ...here.
7324         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7325         * math/w_lgammaf.c: ...here.
7326         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7327         * math/w_lgammaf_r.c: ...here.
7328         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7329         * math/w_lgammal.c: ...here.
7330         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7331         * math/w_lgammal_r.c: ...here.
7332         * sysdeps/libm-ieee754/w_log.c: Moved to ...
7333         * math/w_log.c: ...here.
7334         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7335         * math/w_log10.c: ...here.
7336         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7337         * math/w_log10f.c: ...here.
7338         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7339         * math/w_log10l.c: ...here.
7340         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7341         * math/w_logf.c: ...here.
7342         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7343         * math/w_logl.c: ...here.
7344         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7345         * math/w_pow.c: ...here.
7346         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7347         * math/w_powf.c: ...here.
7348         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7349         * math/w_powl.c: ...here.
7350         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7351         * math/w_remainder.c: ...here.
7352         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7353         * math/w_remainderf.c: ...here.
7354         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7355         * math/w_remainderl.c: ...here.
7356         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7357         * math/w_scalb.c: ...here.
7358         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7359         * math/w_scalbf.c: ...here.
7360         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7361         * math/w_scalbl.c: ...here.
7362         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7363         * math/w_sinh.c: ...here.
7364         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7365         * math/w_sinhf.c: ...here.
7366         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7367         * math/w_sinhl.c: ...here.
7368         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7369         * math/w_sqrt.c: ...here.
7370         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7371         * math/w_sqrtf.c: ...here.
7372         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7373         * math/w_sqrtl.c: ...here.
7374         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7375         * math/w_tgamma.c: ...here.
7376         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7377         * math/w_tgammaf.c: ...here.
7378         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7379         * math/w_tgammal.c: ...here.
7380         * sysdeps/libm-i387/e_acos.S: Moved to ...
7381         * sysdeps/i386/fpu/e_acos.S: ...here.
7382         * sysdeps/libm-i387/e_acosf.S: Moved to ...
7383         * sysdeps/i386/fpu/e_acosf.S: ...here.
7384         * sysdeps/libm-i387/e_acosh.S: Moved to ...
7385         * sysdeps/i386/fpu/e_acosh.S: ...here.
7386         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7387         * sysdeps/i386/fpu/e_acoshf.S: ...here.
7388         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7389         * sysdeps/i386/fpu/e_acoshl.S: ...here.
7390         * sysdeps/libm-i387/e_acosl.S: Moved to ...
7391         * sysdeps/i386/fpu/e_acosl.S: ...here.
7392         * sysdeps/libm-i387/e_asin.S: Moved to ...
7393         * sysdeps/i386/fpu/e_asin.S: ...here.
7394         * sysdeps/libm-i387/e_asinf.S: Moved to ...
7395         * sysdeps/i386/fpu/e_asinf.S: ...here.
7396         * sysdeps/libm-i387/e_asinl.S: Moved to ...
7397         * sysdeps/i386/fpu/e_asinl.S: ...here.
7398         * sysdeps/libm-i387/e_atan2.S: Moved to ...
7399         * sysdeps/i386/fpu/e_atan2.S: ...here.
7400         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7401         * sysdeps/i386/fpu/e_atan2f.S: ...here.
7402         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7403         * sysdeps/i386/fpu/e_atan2l.S: ...here.
7404         * sysdeps/libm-i387/e_atanh.S: Moved to ...
7405         * sysdeps/i386/fpu/e_atanh.S: ...here.
7406         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7407         * sysdeps/i386/fpu/e_atanhf.S: ...here.
7408         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7409         * sysdeps/i386/fpu/e_atanhl.S: ...here.
7410         * sysdeps/libm-i387/e_exp.S: Moved to ...
7411         * sysdeps/i386/fpu/e_exp.S: ...here.
7412         * sysdeps/libm-i387/e_exp10.S: Moved to ...
7413         * sysdeps/i386/fpu/e_exp10.S: ...here.
7414         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7415         * sysdeps/i386/fpu/e_exp10f.S: ...here.
7416         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7417         * sysdeps/i386/fpu/e_exp10l.S: ...here.
7418         * sysdeps/libm-i387/e_expf.S: Moved to ...
7419         * sysdeps/i386/fpu/e_expf.S: ...here.
7420         * sysdeps/libm-i387/e_expl.S: Moved to ...
7421         * sysdeps/i386/fpu/e_expl.S: ...here.
7422         * sysdeps/libm-i387/e_fmod.S: Moved to ...
7423         * sysdeps/i386/fpu/e_fmod.S: ...here.
7424         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7425         * sysdeps/i386/fpu/e_fmodf.S: ...here.
7426         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7427         * sysdeps/i386/fpu/e_fmodl.S: ...here.
7428         * sysdeps/libm-i387/e_hypot.S: Moved to ...
7429         * sysdeps/i386/fpu/e_hypot.S: ...here.
7430         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7431         * sysdeps/i386/fpu/e_hypotf.S: ...here.
7432         * sysdeps/libm-i387/e_log.S: Moved to ...
7433         * sysdeps/i386/fpu/e_log.S: ...here.
7434         * sysdeps/libm-i387/e_log10.S: Moved to ...
7435         * sysdeps/i386/fpu/e_log10.S: ...here.
7436         * sysdeps/libm-i387/e_log10f.S: Moved to ...
7437         * sysdeps/i386/fpu/e_log10f.S: ...here.
7438         * sysdeps/libm-i387/e_log10l.S: Moved to ...
7439         * sysdeps/i386/fpu/e_log10l.S: ...here.
7440         * sysdeps/libm-i387/e_logf.S: Moved to ...
7441         * sysdeps/i386/fpu/e_logf.S: ...here.
7442         * sysdeps/libm-i387/e_logl.S: Moved to ...
7443         * sysdeps/i386/fpu/e_logl.S: ...here.
7444         * sysdeps/libm-i387/e_pow.S: Moved to ...
7445         * sysdeps/i386/fpu/e_pow.S: ...here.
7446         * sysdeps/libm-i387/e_powf.S: Moved to ...
7447         * sysdeps/i386/fpu/e_powf.S: ...here.
7448         * sysdeps/libm-i387/e_powl.S: Moved to ...
7449         * sysdeps/i386/fpu/e_powl.S: ...here.
7450         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7451         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7452         * sysdeps/libm-i387/e_remainder.S: Moved to ...
7453         * sysdeps/i386/fpu/e_remainder.S: ...here.
7454         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7455         * sysdeps/i386/fpu/e_remainderf.S: ...here.
7456         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7457         * sysdeps/i386/fpu/e_remainderl.S: ...here.
7458         * sysdeps/libm-i387/e_scalb.S: Moved to ...
7459         * sysdeps/i386/fpu/e_scalb.S: ...here.
7460         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7461         * sysdeps/i386/fpu/e_scalbf.S: ...here.
7462         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7463         * sysdeps/i386/fpu/e_scalbl.S: ...here.
7464         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7465         * sysdeps/i386/fpu/e_sqrt.S: ...here.
7466         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7467         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7468         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7469         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7470         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7471         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7472         * sysdeps/libm-i387/s_asinh.S: Moved to ...
7473         * sysdeps/i386/fpu/s_asinh.S: ...here.
7474         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7475         * sysdeps/i386/fpu/s_asinhf.S: ...here.
7476         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7477         * sysdeps/i386/fpu/s_asinhl.S: ...here.
7478         * sysdeps/libm-i387/s_atan.S: Moved to ...
7479         * sysdeps/i386/fpu/s_atan.S: ...here.
7480         * sysdeps/libm-i387/s_atanf.S: Moved to ...
7481         * sysdeps/i386/fpu/s_atanf.S: ...here.
7482         * sysdeps/libm-i387/s_atanl.S: Moved to ...
7483         * sysdeps/i386/fpu/s_atanl.S: ...here.
7484         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7485         * sysdeps/i386/fpu/s_cbrt.S: ...here.
7486         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7487         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7488         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7489         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7490         * sysdeps/libm-i387/s_ceil.S: Moved to ...
7491         * sysdeps/i386/fpu/s_ceil.S: ...here.
7492         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7493         * sysdeps/i386/fpu/s_ceilf.S: ...here.
7494         * sysdeps/libm-i387/s_ceill.S: Moved to ...
7495         * sysdeps/i386/fpu/s_ceill.S: ...here.
7496         * sysdeps/libm-i387/s_cexp.S: Moved to ...
7497         * sysdeps/i386/fpu/s_cexp.S: ...here.
7498         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7499         * sysdeps/i386/fpu/s_cexpf.S: ...here.
7500         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7501         * sysdeps/i386/fpu/s_cexpl.S: ...here.
7502         * sysdeps/libm-i387/s_copysign.S: Moved to ...
7503         * sysdeps/i386/fpu/s_copysign.S: ...here.
7504         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7505         * sysdeps/i386/fpu/s_copysignf.S: ...here.
7506         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7507         * sysdeps/i386/fpu/s_copysignl.S: ...here.
7508         * sysdeps/libm-i387/s_cos.S: Moved to ...
7509         * sysdeps/i386/fpu/s_cos.S: ...here.
7510         * sysdeps/libm-i387/s_cosf.S: Moved to ...
7511         * sysdeps/i386/fpu/s_cosf.S: ...here.
7512         * sysdeps/libm-i387/s_cosl.S: Moved to ...
7513         * sysdeps/i386/fpu/s_cosl.S: ...here.
7514         * sysdeps/libm-i387/s_exp2.S: Moved to ...
7515         * sysdeps/i386/fpu/s_exp2.S: ...here.
7516         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7517         * sysdeps/i386/fpu/s_exp2f.S: ...here.
7518         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7519         * sysdeps/i386/fpu/s_exp2l.S: ...here.
7520         * sysdeps/libm-i387/s_expm1.S: Moved to ...
7521         * sysdeps/i386/fpu/s_expm1.S: ...here.
7522         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7523         * sysdeps/i386/fpu/s_expm1f.S: ...here.
7524         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7525         * sysdeps/i386/fpu/s_expm1l.S: ...here.
7526         * sysdeps/libm-i387/s_fdim.S: Moved to ...
7527         * sysdeps/i386/fpu/s_fdim.S: ...here.
7528         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7529         * sysdeps/i386/fpu/s_fdimf.S: ...here.
7530         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7531         * sysdeps/i386/fpu/s_fdiml.S: ...here.
7532         * sysdeps/libm-i387/s_finite.S: Moved to ...
7533         * sysdeps/i386/fpu/s_finite.S: ...here.
7534         * sysdeps/libm-i387/s_finitef.S: Moved to ...
7535         * sysdeps/i386/fpu/s_finitef.S: ...here.
7536         * sysdeps/libm-i387/s_finitel.S: Moved to ...
7537         * sysdeps/i386/fpu/s_finitel.S: ...here.
7538         * sysdeps/libm-i387/s_floor.S: Moved to ...
7539         * sysdeps/i386/fpu/s_floor.S: ...here.
7540         * sysdeps/libm-i387/s_floorf.S: Moved to ...
7541         * sysdeps/i386/fpu/s_floorf.S: ...here.
7542         * sysdeps/libm-i387/s_floorl.S: Moved to ...
7543         * sysdeps/i386/fpu/s_floorl.S: ...here.
7544         * sysdeps/libm-i387/s_fma.S: Moved to ...
7545         * sysdeps/i386/fpu/s_fma.S: ...here.
7546         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7547         * sysdeps/i386/fpu/s_fmaf.S: ...here.
7548         * sysdeps/libm-i387/s_fmal.S: Moved to ...
7549         * sysdeps/i386/fpu/s_fmal.S: ...here.
7550         * sysdeps/libm-i387/s_fmax.S: Moved to ...
7551         * sysdeps/i386/fpu/s_fmax.S: ...here.
7552         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7553         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7554         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7555         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7556         * sysdeps/libm-i387/s_fmin.S: Moved to ...
7557         * sysdeps/i386/fpu/s_fmin.S: ...here.
7558         * sysdeps/libm-i387/s_fminf.S: Moved to ...
7559         * sysdeps/i386/fpu/s_fminf.S: ...here.
7560         * sysdeps/libm-i387/s_fminl.S: Moved to ...
7561         * sysdeps/i386/fpu/s_fminl.S: ...here.
7562         * sysdeps/libm-i387/s_frexp.S: Moved to ...
7563         * sysdeps/i386/fpu/s_frexp.S: ...here.
7564         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7565         * sysdeps/i386/fpu/s_frexpf.S: ...here.
7566         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7567         * sysdeps/i386/fpu/s_frexpl.S: ...here.
7568         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7569         * sysdeps/i386/fpu/s_ilogb.S: ...here.
7570         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7571         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7572         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7573         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7574         * sysdeps/libm-i387/s_llrint.S: Moved to ...
7575         * sysdeps/i386/fpu/s_llrint.S: ...here.
7576         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7577         * sysdeps/i386/fpu/s_llrintf.S: ...here.
7578         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7579         * sysdeps/i386/fpu/s_llrintl.S: ...here.
7580         * sysdeps/libm-i387/s_log1p.S: Moved to ...
7581         * sysdeps/i386/fpu/s_log1p.S: ...here.
7582         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7583         * sysdeps/i386/fpu/s_log1pf.S: ...here.
7584         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7585         * sysdeps/i386/fpu/s_log1pl.S: ...here.
7586         * sysdeps/libm-i387/s_log2.S: Moved to ...
7587         * sysdeps/i386/fpu/s_log2.S: ...here.
7588         * sysdeps/libm-i387/s_log2f.S: Moved to ...
7589         * sysdeps/i386/fpu/s_log2f.S: ...here.
7590         * sysdeps/libm-i387/s_log2l.S: Moved to ...
7591         * sysdeps/i386/fpu/s_log2l.S: ...here.
7592         * sysdeps/libm-i387/s_logb.S: Moved to ...
7593         * sysdeps/i386/fpu/s_logb.S: ...here.
7594         * sysdeps/libm-i387/s_logbf.S: Moved to ...
7595         * sysdeps/i386/fpu/s_logbf.S: ...here.
7596         * sysdeps/libm-i387/s_logbl.S: Moved to ...
7597         * sysdeps/i386/fpu/s_logbl.S: ...here.
7598         * sysdeps/libm-i387/s_lrint.S: Moved to ...
7599         * sysdeps/i386/fpu/s_lrint.S: ...here.
7600         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7601         * sysdeps/i386/fpu/s_lrintf.S: ...here.
7602         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7603         * sysdeps/i386/fpu/s_lrintl.S: ...here.
7604         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7605         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7606         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7607         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7608         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7609         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7610         * sysdeps/libm-i387/s_remquo.S: Moved to ...
7611         * sysdeps/i386/fpu/s_remquo.S: ...here.
7612         * sysdeps/libm-i387/s_remquof.S: Moved to ...
7613         * sysdeps/i386/fpu/s_remquof.S: ...here.
7614         * sysdeps/libm-i387/s_remquol.S: Moved to ...
7615         * sysdeps/i386/fpu/s_remquol.S: ...here.
7616         * sysdeps/libm-i387/s_rint.S: Moved to ...
7617         * sysdeps/i386/fpu/s_rint.S: ...here.
7618         * sysdeps/libm-i387/s_rintf.S: Moved to ...
7619         * sysdeps/i386/fpu/s_rintf.S: ...here.
7620         * sysdeps/libm-i387/s_rintl.S: Moved to ...
7621         * sysdeps/i386/fpu/s_rintl.S: ...here.
7622         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7623         * sysdeps/i386/fpu/s_scalbn.S: ...here.
7624         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7625         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7626         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7627         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7628         * sysdeps/libm-i387/s_significand.S: Moved to ...
7629         * sysdeps/i386/fpu/s_significand.S: ...here.
7630         * sysdeps/libm-i387/s_significandf.S: Moved to ...
7631         * sysdeps/i386/fpu/s_significandf.S: ...here.
7632         * sysdeps/libm-i387/s_significandl.S: Moved to ...
7633         * sysdeps/i386/fpu/s_significandl.S: ...here.
7634         * sysdeps/libm-i387/s_sin.S: Moved to ...
7635         * sysdeps/i386/fpu/s_sin.S: ...here.
7636         * sysdeps/libm-i387/s_sincos.S: Moved to ...
7637         * sysdeps/i386/fpu/s_sincos.S: ...here.
7638         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7639         * sysdeps/i386/fpu/s_sincosf.S: ...here.
7640         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7641         * sysdeps/i386/fpu/s_sincosl.S: ...here.
7642         * sysdeps/libm-i387/s_sinf.S: Moved to ...
7643         * sysdeps/i386/fpu/s_sinf.S: ...here.
7644         * sysdeps/libm-i387/s_sinl.S: Moved to ...
7645         * sysdeps/i386/fpu/s_sinl.S: ...here.
7646         * sysdeps/libm-i387/s_tan.S: Moved to ...
7647         * sysdeps/i386/fpu/s_tan.S: ...here.
7648         * sysdeps/libm-i387/s_tanf.S: Moved to ...
7649         * sysdeps/i386/fpu/s_tanf.S: ...here.
7650         * sysdeps/libm-i387/s_tanl.S: Moved to ...
7651         * sysdeps/i386/fpu/s_tanl.S: ...here.
7652         * sysdeps/libm-i387/s_trunc.S: Moved to ...
7653         * sysdeps/i386/fpu/s_trunc.S: ...here.
7654         * sysdeps/libm-i387/s_truncf.S: Moved to ...
7655         * sysdeps/i386/fpu/s_truncf.S: ...here.
7656         * sysdeps/libm-i387/s_truncl.S: Moved to ...
7657         * sysdeps/i386/fpu/s_truncl.S: ...here.
7658         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7659         * sysdeps/ieee754/k_standard.c: ...here.
7660         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7661         * sysdeps/ieee754/s_lib_version.c: ...here.
7662         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7663         * sysdeps/ieee754/s_matherr.c: ...here.
7664         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7665         * sysdeps/ieee754/s_signgam.c: ...here.
7666         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7667         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7668         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7669         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7670         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7671         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7672         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7673         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7674         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7675         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7676         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7677         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7678         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7679         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7680         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7681         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7682         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7683         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7684         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7685         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7686         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7687         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7688         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7689         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7690         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7691         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7692         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7693         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7694         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7695         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7696         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7697         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7698         * sysdeps/libm-ieee754/e_log.c: Moved to ...
7699         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7700         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7701         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7702         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7703         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7704         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7705         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7706         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7707         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7708         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7709         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7710         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7711         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7712         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7713         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7714         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7715         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7716         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7717         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7718         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7719         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7720         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7721         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7722         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7723         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7724         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7725         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7726         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7727         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7728         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7729         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7730         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7731         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7732         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7733         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7734         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7735         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7736         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7737         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7738         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7739         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7740         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7741         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7742         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7743         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7744         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7745         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7746         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7747         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7748         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7749         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7750         (__isnan): Comment above function says it returns 0 or 1, but it
7751         used to return 0 or -1.
7752         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7753         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7754         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7755         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7756         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7757         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7758         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7759         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7760         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7761         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7762         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7763         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7764         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7765         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7766         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7767         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7768         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7769         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7770         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7771         * sysdeps/generic/s_nextafter.c: ...here.
7772         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7773         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7774         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7775         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7776         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7777         * sysdeps/libm-ieee754/s_round.c: Moved to ...
7778         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7779         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7780         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7781         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7782         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7783         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7784         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7785         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7786         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7787         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7788         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7789         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7790         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7791         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7792         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7793         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7794         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7795         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7796         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7797         * sysdeps/ieee754/mpn2flt.c: Moved to ...
7798         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7799         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7800         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7801         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7802         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7803         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7804         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7805         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7806         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7807         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7808         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7809         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7810         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7811         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7812         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7813         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7814         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7815         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7816         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7817         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7818         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7819         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7820         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7821         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7822         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7823         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7824         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7825         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7826         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7827         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7828         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7829         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7830         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7831         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7832         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7833         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7834         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7835         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7836         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7837         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7838         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7839         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7840         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7841         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7842         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7843         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7844         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7845         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7846         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7847         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7848         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7849         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7850         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7851         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7852         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7853         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7854         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7855         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7856         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7857         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7858         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7859         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7860         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7861         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7862         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7863         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7864         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7865         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7866         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7867         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7868         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7869         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7870         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7871         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7872         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7873         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7874         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7875         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7876         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7877         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7878         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7879         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7880         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7881         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7882         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7883         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7884         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7885         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7886         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7887         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7888         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7889         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7890         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7891         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7892         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7893         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7894         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7895         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7896         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7897         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7898         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7899         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7900         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7901         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7902         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7903         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7904         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7905         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7906         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7907         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7908         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7909         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7910         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7911         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7912         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7913         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7914         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7915         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7916         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7917         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7918         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7919         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7920         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7921         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7922         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7923         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7924         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7925         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7926         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7927         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7928         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7929         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7930         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7931         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7932         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7933         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7934         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7935         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7936         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7937         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7938         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7939         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7940         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7941         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7942         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7943         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7944         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7945         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7946         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7947         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7948         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7949         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7950         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7951         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7952         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7953         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7954         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7955         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7956         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7957         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7958         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7959         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7960         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7961         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7962         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7963         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7964         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7965         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7966         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7967         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7968         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7969         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7970         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7971         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7972         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7973         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7974         INSERT_WORDS.
7975         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7976         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7977         (__nearbyintl): Fix for exponents 2^30.
7978         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7979         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7980         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7981         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7982         (__rintl): Fix for exponents 2^30.
7983         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7984         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7985         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7986         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7987         (__scalbnl): Fix exponent for subnormal result.
7988         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7989         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7990         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7991         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7992         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7993         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7994         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7995         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7996         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7997         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7998         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7999         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8000         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8001         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8002         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8003         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8004         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8005         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8006         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8007         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8008         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8009         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8010         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8011         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8012         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8013         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8014         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8015         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8016         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8017         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8018         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8019         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8020         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8021         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8022         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8023         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8024         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8025         * sysdeps/i386/fpu/s_scalbln.c: ...here.
8026         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8027         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8028         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8029         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8030         * sysdeps/libm-i387/t_exp.c: Moved to ...
8031         * sysdeps/i386/fpu/t_exp.c: ...here.
8032         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8033         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8034         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8035         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8036         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8037         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8038         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8039         * sysdeps/i386/fpu/s_isinfl.c: ...here.
8040         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8041         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8042         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8043         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8044         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8045         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8046         Fix exponent for subnormal result.
8047         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8048         * sysdeps/generic/s_nexttowardl.c: ...here.
8049         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8050         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8051         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8052         * sysdeps/i386/fpu/s_isnanl.c: ...here.
8053         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8054         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8055         Comment above function says it returns 0 or 1, but it used to return
8056         0 or -1.
8057         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8058         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8059         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8060         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8061         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8062         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8063         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8064         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8065         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8066         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8067         Cannot compare exponents with different biases without adjusting.
8068         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8069         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8070         Cannot compare exponents with different biases without adjusting.
8071         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8072         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8073         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8074         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8075         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8076         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8077         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8078         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8079         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8080         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8081         * sysdeps/libm-ieee754/Dist: Split into ...
8082         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8083         * sysdeps/ieee754/flt-32/Dist: ...this file.
8084
8085         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8086         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8087         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8088         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8089         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8090         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8091         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8092         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8093         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8094         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8095         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8096         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8097         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8098         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8099         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8100         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8101         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8102         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8103         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8104         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8105         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8106         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8107         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8108         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8109         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8110         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8111         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8112         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8113         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8114         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8115         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8116         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8117         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8118         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8119         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8120         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8121         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8122         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8123         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8124         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8125         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8126         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8127         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8128         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8129         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8130         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8131         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8132
8133         * sysdeps/generic/math_ldbl.h: New file.
8134         * sysdeps/generic/s_nexttowardf.c: New file.
8135         * sysdeps/generic/strtold.c: New file.
8136         * sysdeps/generic/ldbl2mpn.c: New file.
8137
8138         * math/machine/endian.h: Remove.
8139         * sysdeps/i386/fpu/Implies: Remove.
8140         * sysdeps/ieee754/Implies: Remove.
8141
8142         * math/math_private.h: Move long double macros to math_ldbl.h
8143         header.
8144
8145 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8146
8147         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8148         connections without a hostname set address to localhost address.
8149
8150 1999-07-11  H.J. Lu  <hjl@gnu.org>
8151
8152         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8153         nscd's own strong version of the get[a-z]*_r function.
8154         * nscd/hstcache.c: Likewise.
8155         * nscd/pwdcache.c: Likewise.
8156
8157 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8158
8159         * configure.in: Recognize 2.95 as gcc version number.
8160         Patch by Joel Klecker <jk@espy.org>.
8161
8162 1999-07-12  Andreas Schwab  <schwab@suse.de>
8163
8164         * elf/rtld.c (dl_main): When putting back the interpreter object
8165         handle the case where a missing object might occur in the list of
8166         objects but not in the search list when in trace mode.
8167
8168 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
8169
8170         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8171         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8172         _nss_hesiod_initgroups.
8173
8174 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8175
8176         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8177         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8178         Initialize it from &__data_start if defined, or else &_end.
8179
8180 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8181
8182         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8183         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8184
8185 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8186
8187         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8188
8189 1999-07-09  H.J. Lu  <hjl@gnu.org>
8190
8191         * Versions.def (GLIBC_2.1.2): Added.
8192
8193         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8194         old one as GLIBC_2.0.
8195         * nss/getXXbyYY_r.c: Likewise.
8196
8197         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8198         GLIBC_2.1.2.
8199         * inet/Versions (getaliasbyname_r, getaliasent_r,
8200         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8201         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8202         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8203         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8204         getservbyname_r): Likewise.
8205         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8206         * shadow/Versions (getspent_r, getspnam_r): Likewise.
8207
8208 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8209
8210         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8211         compilers.
8212         (__memset_cc): Likewise.
8213
8214         * sysdeps/generic/libc-start.c: For SUID binaries check whether
8215         the standard file descriptors are open.
8216         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8217
8218         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8219         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8220         range of mmap.  If not fail.
8221         Patches by Daniel Jacobowitz <dan@debian.org>.
8222
8223         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8224         before the relocation happened.
8225         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8226
8227         * Versions.def (libnsl): Add GLIBC_2.2.
8228         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8229
8230 1999-07-08  Cristian Gafton  <gafton@redhat.com>
8231
8232         * nis/yp_xdr.c (xdr_ypall): New function.
8233
8234 1999-07-09  Andreas Schwab  <schwab@suse.de>
8235
8236         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8237
8238         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8239
8240 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8241
8242         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8243         * hesiod/hesiod-grp.c: Add initgroups support.
8244         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8245
8246 1999-07-08  Andreas Schwab  <schwab@suse.de>
8247
8248         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8249
8250         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8251         negative numbers.
8252
8253         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8254         EOF.
8255         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8256
8257 1999-07-08  Andreas Schwab  <schwab@suse.de>
8258
8259         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8260
8261 1999-07-08  Andreas Schwab  <schwab@suse.de>
8262
8263         * libio/fileno.c: Return -1 instead of EOF and set errno if the
8264         stream is not a real file stream.
8265
8266 1999-07-08  Andreas Schwab  <schwab@suse.de>
8267
8268         * manual/charset.texi: Fix typos.
8269
8270 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8271
8272         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8273
8274 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
8275
8276         * dlfcn: New directory.  Move the following files from elf:
8277         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8278         dlopenold.c, dlsym.c, dlvsym.c.
8279         * dlfcn/Makefile: New file.
8280         * dlfcn/Versions: New file.
8281         * dlfcn/dlsym.c: All ELF-specific code split out to new
8282         function _dl_sym.
8283         * dlfcn/dlvsym.c: All ELF-specific code split out to new
8284         function _dl_vsym.
8285         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
8286         implemented here.
8287
8288         * dlfcn/dladdr.c: Remove all references to ELF data structures
8289         or headers.
8290         * dlfcn/dlclose.c: Likewise.
8291         * dlfcn/dlerror.c: Likewise.
8292         * dlfcn/dlopen.c: Likewise.
8293         * dlfcn/dlopenold.c: Likewise.
8294
8295         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8296         yes, empty otherwise.
8297         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8298         depending on build-shared.
8299         (subdirs): Add $(dlfcn).
8300         (rpath-dirs): Add dlfcn.
8301         * elf/Makefile: Remove all references to libdl or its
8302         components, except the ones relating to the test cases.
8303         (routines): Add dl-sym.
8304         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8305         (libdl): Delete.
8306
8307         * elf/dl-close.c (_dl_close): Change argument to void *.
8308         * elf/dl-open.c (_dl_open): Change return type to void *.
8309         * elf/eval.c: Removed.
8310         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8311         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8312         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
8313         _CALL_DL_FCT macro.
8314         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8315         Include real header from dlfcn directory.
8316         * include/ldsodefs.h: Removed.
8317
8318         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8319         * nss/getXXbyYY_r.c: Likewise.
8320         * nss/getXXent_r.c: Likewise.
8321         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
8322         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
8323         * iconv/skeleton.c: Don't include ldsodefs.h.
8324         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
8325
8326 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8327
8328         * sysdeps/generic/setenv.c: Describe problem.
8329
8330         * malloc/malloc.c (request2size): Also set errno if failing.
8331
8332         * malloc/malloc.c (request2size): Take care of overflow in
8333         addition.
8334
8335         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
8336         (NULL, != 0) correctly.
8337
8338         * elf/dl-load.c: Use a few more __builtin_expect.
8339
8340         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8341         is large enough.
8342
8343 1999-07-07  Andreas Schwab  <schwab@suse.de>
8344
8345         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8346         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8347         (_PATH_DEVPTMX): Use _PATH_DEV.
8348
8349 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8350
8351         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
8352         * malloc/Makefile (tests): Add tst-malloc.
8353
8354 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8355
8356         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8357         convention.
8358
8359         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8360         motherboards.
8361         Patch by Jay Estabrook.
8362
8363         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8364         ldd for SPARC.
8365         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8366         Patch by Cristian Gafton.
8367
8368 1999-07-02  Cristian Gafton  <gafton@redhat.com>
8369
8370         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8371         instead of "return NULL" to make C++ happy.
8372
8373 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
8374
8375         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8376         allowed by the file access mode of the open file.
8377
8378 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8379
8380         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8381         macros defined.
8382
8383 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
8384
8385         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8386         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8387         * sysdeps/sparc/sparc64/rshift.S: Likewise.
8388         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8389
8390 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8391
8392         * malloc/malloc.c (request2size): Check for overflow and return
8393         NULL whenever it is encountered.
8394
8395 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
8396
8397         * sysdeps/posix/tempname.c (__gen_tempname):   Add
8398         ability to create directories.  Replace OPENIT and LARGEFILE
8399         args with a single flags parameter.
8400         * sysdeps/generic/tempname.c: Likewise.
8401         * include/stdio.h: Adjust prototype of __gen_tempname to
8402         match.  Define symbolic constants for second argument.
8403
8404         * misc/mkdtemp.c: New file, provides new function mkdtemp().
8405         * stdlib/stdlib.h: Prototype it.
8406         * misc/Versions: Export it.
8407         * misc/Makefile (routines): Add mktemp.
8408         * manual/filesys.texi: Document it.
8409
8410         * misc/mktemp.c: Adjust call of __gen_tempname to match new
8411         convention.
8412         * misc/mkstemp.c: Likewise.
8413         * stdio-common/tempnam.c: Likewise.
8414         * stdio-common/tmpfile.c: Likewise.
8415         * stdio-common/tmpfile64.c: Likewise.
8416         * stdio-common/tmpnam.c: Likewise.
8417         * stdio-common/tmpnam_r.c: Likewise.
8418
8419 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
8420
8421         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8422         R_SPARC_OLO10 relocations.
8423         * elf/elf.h (R_SPARC_OLO10): Fix comment.
8424
8425 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
8426
8427         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
8428         doesn't belong in the tests, but in the wordexp implementation.
8429
8430         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8431         split fields.
8432
8433 1999-07-01  Cristian Gafton  <gafton@redhat.com>
8434
8435         * time/strptime.c (strptime): Initialize the tm struct first to avoid
8436         returning bogus results on incomplete data.
8437         (strptime_internal): day_of_the_week() requres both tm_mon and
8438         tm_mday to be initialized.
8439         Compute them first if they are not given.
8440         (strptime_internal): (have_mon, have_mday): New variables.
8441
8442 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8443
8444         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8445
8446 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8447
8448         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8449         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8450
8451 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8452
8453         * posix/wordexp.c (parse_tilde): Handle failing call to
8454         get.*_r functions correctly for non-existing entry.
8455         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8456         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8457
8458 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8459
8460         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8461         getxxbyYY_r functions correctly for non-existing entry.
8462         * sunrpc/getrpcport.c: Likewise.
8463         * sunrpc/clnt_simp.c: Likewise.
8464         * inet/rexec.c: Likewise.
8465         * sunrpc/clnt_gen.c: Likewise.
8466         * inet/rcmd.c: Likewise.
8467         * sysdeps/generic/glob.c: Likewise.
8468
8469 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8470
8471         * pwd/Makefile (tests): Add rules for tst-getpw.
8472
8473         * pwd/tst-getpw.c: New program to test getpw.
8474
8475 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8476
8477         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8478         correctly.
8479
8480 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8481
8482         * manual/arith.texi (System V Number Conversion): Fix the
8483         description which confused pointer and value to pointer.
8484         Reported by Andries.Brouwer@cwi.nl.
8485
8486 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8487
8488         * pwd/getpw.c (__getpw): Check for NULL result pointer.
8489
8490 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8491
8492         * manual/users.texi (Lookup User): Document POSIX return
8493         semantics for getpwuid_r and getgrgid_r.
8494
8495         * manual/socket.texi (Host Names): Document that the result
8496         pointer is null in case of error or host not found and fix a
8497         typo.  Give a small example.
8498
8499 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8500
8501         * pwd/getpw.c: Add warning since no buffer size is given and
8502         therefore no overrun tests are possible.
8503
8504 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8505
8506         * pwd/pwd.h: Add getpw prototype declaration.
8507
8508 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
8509
8510         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8511         * wcsmbs/wcschr.c: Likewise.
8512
8513 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
8514
8515         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8516         returns.
8517         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8518         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8519         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8520
8521         * elf/dl-dst.h: Fix typo.
8522         * elf/dl-open.c: Likewise.
8523
8524 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
8525
8526         * elf/dl-libc.c: New file, provides three functions:
8527         __libc_dlopen, __libc_dlclose, __libc_dlsym.
8528         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
8529         * elf/Makefile (routines): Add dl-libc.c.
8530         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8531         argument to void *.
8532         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8533
8534         * iconv/gconv.c: Include dlfcn.h.
8535         * iconv/gconv_db.c: Likewise.
8536         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
8537
8538         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8539         `handle' to a void *.
8540         (__gconv_find_func): Delete prototype.
8541
8542         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
8543         dlerror_run and related functions and structs.  Use
8544         __libc_dlopen, __libc_dlsym, __libc_dlclose.
8545         * nss/nsswitch.c: Likewise.
8546
8547 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
8548
8549         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8550         function correctly.
8551
8552         * sunrpc/getrpcport.c: Test for gethostbyname_r function
8553         correctly.
8554
8555         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8556
8557         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8558         functions correctly.
8559
8560         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8561
8562         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
8563         file reading a bit.
8564
8565         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8566
8567 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8568
8569         * manual/string.texi (Copying and Concatenation): Mention that
8570         strndup is a GNU extension.
8571
8572 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8573
8574         * pwd/getpw.c (__getpw): Fix check for error return.
8575
8576 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8577
8578         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8579         occurence of the aux object start with the current list entry, not
8580         the new one.  Adjust tail pointer in the unique list.  Explain how
8581         the meaning of the variables changes [PR libc/1168].
8582
8583 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8584
8585         * sysdeps/m68k/fpu/Dist: New file.
8586
8587 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8588
8589         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8590         definitions...
8591         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
8592         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8593         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8594         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8595         * sysdeps/m68k/fpu/e_pow.c: Likewise.
8596         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8597         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8598         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8599         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8600         * sysdeps/m68k/fpu/s_csin.c: Likewise.
8601         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8602         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8603         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8604         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8605         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8606         * sysdeps/m68k/fpu/s_modf.c: Likewise.
8607
8608 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
8609
8610         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8611         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8612         _EXTERN_INLINE, use a macro specific to each file,
8613         _HURD_FD_H_EXTERN_INLINE and the like.
8614         * hurd/Makefile (inline-headers): New variable.
8615         (routines): Remove hurdinline.  Add $(inlines).
8616         (inlines): New variable.
8617         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8618         (generated): Append those here.
8619         * hurd/hurdinline.c: File removed.
8620
8621         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8622
8623         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8624
8625 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8626
8627         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8628
8629 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
8630
8631         * string/bits/string2.h (strnlen): Remove extra prototype.
8632
8633 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8634
8635         * manual/filesys.texi (Working on Directory Trees): Fix typos.
8636         Reported by Andries.Brouwer@cwi.nl.
8637
8638 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
8639
8640         * nscd/connections.c (handle_request): Use correct type for optlen
8641         variable.
8642
8643         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8644         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8645
8646 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
8647
8648         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8649         * nscd/pwdcache.c: Likewise.
8650         * nscd/hstcache.c: Likewise.
8651
8652 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8653
8654         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8655
8656         * posix/getopt.h: Include stdio.h.
8657
8658         * manual/arith.texi: Document restriction of ndigit parameter of
8659         ecvt and friends.
8660         * misc/efgcvt.c: Define NDIGIT_MAX.
8661         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8662         Do not dynamically allocate the static buffers.  They are small enough.
8663         * misc/efgcvt_r.c: Define NDIGIT_MAX.
8664         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8665         * misc/qefgcvt.c: Define NDIGIT_MAX.
8666         * misc/qefgcvt_r.c: Likewise.
8667         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8668
8669 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
8670
8671         * libio/stdio.h: Define stdin, stdout, stderr as macros.
8672         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8673         These are *pragmas* not macros.
8674         * wcsmbs/wchar.h: Fix comment.
8675
8676         * grp/grp.h: Use __foo_t_defined convention to typedef things
8677         only once.
8678         * io/sys/stat.h: Likewise.
8679         * libio/stdio.h: Likewise.
8680         * posix/unistd.h: Likewise.
8681         * posix/sys/types.h: Likewise.
8682         * posix/sys/wait.h: Likewise.
8683         * pwd/pwd.h: Likewise.
8684         * signal/signal.h: Likewise.
8685         * sysdeps/generic/stdint.h: Likewise.
8686         * sysdeps/gnu/utmpx.h: Likewise.
8687         * termios/termios.h: Likewise.
8688
8689 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8690
8691         * stdio/fputc.c: Don't define alias if fputc is defined as a
8692         macro.
8693         * stdio/putc.c: Define weak alias here since it is not done
8694         anymore in fputc.c.
8695
8696 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8697
8698         * assert/assert.h: Don't produce `defined' as part of macro
8699         expansion.
8700
8701 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
8702
8703         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8704         OFFSET argument of (off_t) -1.
8705         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8706         OFFSET argument of (off_t) -1.
8707
8708         * sysdeps/mach/hurd/pwrite.c: New file.
8709         * sysdeps/mach/hurd/pread.c: New file.
8710
8711         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8712         pass it in the RPC instead of always -1.
8713         * hurd/fd-write.c (_hurd_fd_write): Likewise.
8714         * hurd/hurd/fd.h: Update decls.
8715
8716 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8717
8718         * libio/wscanf.c: Include <wchar.h> for prototype.
8719
8720 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
8721
8722         * manual/io.texi. Fix typos.
8723         * manual/stdio.texi: Likewise.
8724         Patches by Brian Youmans <3diff@gnu.org>.
8725
8726 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
8727
8728         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8729         bits of two words differ.
8730
8731 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8732
8733         * libio/Makefile (routines): Add putwchar and putwchar_u.
8734
8735         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8736         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
8737         stdout.  Fix parameter name.
8738
8739         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8740         * libio/getchar_u.c: Likewise.
8741
8742         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8743
8744 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8745
8746         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8747         macro expansion---it's undefined.  Properly parenthesize
8748         substituted parameters.
8749         (__GLIBC_PREREQ): Likewise.
8750
8751 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
8752
8753         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
8754         weird effects.
8755
8756         * stdlib/longlong.h: Provide __P definition if not already
8757         defined.
8758
8759         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8760
8761 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
8762
8763         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8764
8765 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8766
8767         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8768
8769 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8770
8771         * stdio-common/vfprintf.c (group_member): Make parameters and
8772         return types pointers to CHAR_T instead of UCHAR_T.
8773         (vfprintf): Change type of work_buffer, workend and string to
8774         CHAR_T pointer/array.
8775         (process_arg, process_string_arg): Adjust/remove casts.  Add
8776         missing use of L_ macro.
8777         (printf_unknown): Add missing uses of L_ macro.
8778
8779 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8780
8781         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8782         warning.
8783
8784 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8785
8786         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
8787         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8788         (__wunderflow): Likewise.
8789         (_IO_switch_to_wget_mode): Likewise.
8790         (_IO_init_wmarker): Likewise.
8791
8792         * libio/wfileops.c (_IO_wfile_seekoff): Call
8793         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8794         (_IO_wfile_jumps): Fix pbackfail entry.
8795
8796         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8797         function if the stream is currently unoriented.
8798
8799 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
8800
8801         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8802         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
8803         __gnuc_va_list in v*w(printf|scanf) prototypes.
8804
8805 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8806
8807         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8808         1999-03-29 to iopopen also here.
8809         Reported by Richard Braakman <dark@xs4all.nl>.
8810
8811 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8812
8813         * include/features.h: Use __GNUC_PREREQ.
8814         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8815
8816 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8817
8818         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8819         Change EOF to WEOF and remove cast.
8820         (UNGETC): Remove macro.
8821         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8822         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8823         Change ISASCII to isascii and MBRLEN to mbrlen.
8824         (parse_one_spec): Compare info.spec always against wchar_t
8825         values.
8826         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8827         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8828         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8829
8830 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8831
8832         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8833         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8834         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8835         oldiofsetpos64 only if doing versioning.
8836
8837 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
8838
8839         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8840
8841 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8842
8843         * libio/libio.h: Fix last patch.
8844
8845 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
8846
8847         * libio/libio.h (_IO_putwc): Correct type of first argument.
8848         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8849         putwc_unlocked, putwchar_unlocked): Likewise.
8850         * libio/fputwc.c: Likewise.
8851         * libio/fputwc_unlocked.c: Likewise.
8852         * libio/putwc.c: Likewise.
8853         * libio/putwc_unlocked.c: Likewise.
8854         * libio/putwchar.c: Likewise.
8855         * libio/putwchar_unlocked.c: Likewise.
8856
8857 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
8858
8859         * sysdeps/gnu/siglist.h: File moved to ...
8860         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
8861         any platform, since it just associates the SIG* macros with text names
8862         and descriptions. For any signal macros do not exist on every
8863         platform, we can use #ifdef tests here and still use this single
8864         common file for all platforms.
8865         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
8866         should be usable for all platforms after the binary compatibility
8867         stuff in the current sysdeps/gnu version is no longer required.
8868         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8869         * sysdeps/generic/make_siglist.c: File removed.
8870         * sysdeps/mach/hurd/siglist.h: Use #include_next.
8871         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8872
8873 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
8874
8875         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8876         * sysdeps/gnu/siglist.c: ... here.
8877         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8878         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8879         * sysdeps/gnu/siglist.h: New file, contents from linux version.
8880         Add entry for SIGLOST protected by #ifdef.
8881         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8882         and define OLD_SIGLIST_SIZE_STR.
8883         * sysdeps/mach/hurd/siglist.h: New file, likewise.
8884
8885 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
8886
8887         * include/features.h: Define new macros __GNUC_PREREQ and
8888         __GLIBC_PREREQ which can be used to test the version of gcc
8889         and glibc respectively.
8890
8891         * assert/assert.h: Use __GNUC_PREREQ.
8892         * intl/libintl.h: Likewise.
8893         * math/complex.h: Likewise.
8894         * math/tgmath.h: Likewise.
8895         * misc/sys/cdefs.h: Likewise.
8896         * posix/sys/types.h: Likewise.
8897         * socket/sys/socket.h: Likewise.
8898         * string/bits/string2.h: Likewise.
8899         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8900         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8901
8902 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
8903
8904         * include/libintl.h: Declare _libc_intl_domainname here.
8905         Define _ and N_ here.
8906         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
8907         define _ and N_.  Don't declare _libc_intl_domainname.
8908         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8909
8910         * db2/config.h: Don't include sys/stat.h or define
8911         HAVE_ST_BLKSIZE here...
8912         * db2/compat.h: ...do it here.
8913
8914         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8915         other headers.
8916         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8917         * iconv/iconv.c: Include stddef.h for NULL.
8918         * malloc/malloc.h: Include features.h.
8919         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8920
8921         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8922         into the generated file.
8923         * sysdeps/gnu/errlist.awk: Likewise.
8924         * sysdeps/gnu/errlist.c: Rebuilt.
8925
8926         * assert/assert-perr.c: Include libintl.h.
8927         * assert/assert.c: Likewise.
8928         * elf/dl-open.c: Likewise.
8929         * elf/dlsym.c: Likewise.
8930         * elf/dlvsym.c: Likewise.
8931         * iconv/iconv_prog.c: Likewise.
8932         * inet/rcmd.c: Likewise.
8933         * inet/ruserpass.c: Likewise.
8934         * locale/programs/charset.c: Likewise.
8935         * locale/programs/ld-collate.c: Likewise.
8936         * locale/programs/ld-ctype.c: Likewise.
8937         * locale/programs/ld-messages.c: Likewise.
8938         * locale/programs/ld-monetary.c: Likewise.
8939         * locale/programs/ld-numeric.c: Likewise.
8940         * locale/programs/ld-time.c: Likewise.
8941         * locale/programs/locfile.c: Likewise.
8942         * locale/programs/repertoire.c: Likewise.
8943         * login/programs/database.c: Likewise.
8944         * login/programs/request.c: Likewise.
8945         * malloc/mcheck.c: Likewise.
8946         * misc/error.c: Likewise.
8947         * nis/nis_call.c: Likewise.
8948         * nis/nis_callback.c: Likewise.
8949         * nis/nis_error.c: Likewise.
8950         * nis/nis_local_names.c: Likewise.
8951         * nis/nis_print.c: Likewise.
8952         * nis/nis_print_group_entry.c: Likewise.
8953         * nis/ypclnt.c: Likewise.
8954         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8955         * nscd/cache.c: Likewise.
8956         * nscd/connections.c: Likewise.
8957         * nscd/grpcache.c: Likewise.
8958         * nscd/hstcache.c: Likewise.
8959         * nscd/nscd_conf.c: Likewise.
8960         * nscd/nscd_stat.c: Likewise.
8961         * nscd/pwdcache.c: Likewise.
8962         * posix/id.c: Likewise.
8963         * resolv/herror.c: Likewise.
8964         * stdio-common/psignal.c: Likewise.
8965         * string/strsignal.c: Likewise.
8966         * sunrpc/auth_unix.c: Likewise.
8967         * sunrpc/clnt_perr.c: Likewise.
8968         * sunrpc/clnt_raw.c: Likewise.
8969         * sunrpc/clnt_tcp.c: Likewise.
8970         * sunrpc/clnt_udp.c: Likewise.
8971         * sunrpc/clnt_unix.c: Likewise.
8972         * sunrpc/get_myaddr.c: Likewise.
8973         * sunrpc/pm_getmaps.c: Likewise.
8974         * sunrpc/pmap_clnt.c: Likewise.
8975         * sunrpc/pmap_rmt.c: Likewise.
8976         * sunrpc/rpc_main.c: Likewise.
8977         * sunrpc/rpc_scan.c: Likewise.
8978         * sunrpc/svc_run.c: Likewise.
8979         * sunrpc/svc_simple.c: Likewise.
8980         * sunrpc/svc_tcp.c: Likewise.
8981         * sunrpc/svc_udp.c: Likewise.
8982         * sunrpc/svc_unix.c: Likewise.
8983         * sunrpc/xdr_rec.c: Likewise.
8984         * sunrpc/xdr_ref.c: Likewise.
8985         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8986         * sysdeps/posix/gai_strerror.c: Likewise.
8987         * sysdeps/unix/siglist.c: Likewise.
8988         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8989         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8990         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8991         * timezone/zic.c: Likewise.
8992
8993 1999-06-18  H.J. Lu  <hjl@gnu.org>
8994
8995         * localedata/Makefile (charmaps): Exclude SCCS.
8996         (locales): Likewise.
8997         (repertoiremaps): Likewise.
8998
8999 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
9000
9001         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9002         * sysdeps/generic/bsd-setjmp.c: Likewise.
9003
9004         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9005
9006         * iconv/gconv_open.c: Include string.h for memset prototype.
9007
9008         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9009         definitions.
9010
9011         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9012         assignment to avoid warning on 64bit platforms.
9013
9014 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9015
9016         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9017
9018         * nss/getXXbyYY_r.c: Return error code not -1.
9019         * nss/getXXent_r.c: Likewise.
9020         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9021         small.
9022         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9023         value > 0 for error.
9024         * nscd/nscd_gethst_r.c: Likewise.
9025         * nscd/nscd_getpw_r.c: Likewise.
9026
9027 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9028
9029         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9030         disciplines.
9031
9032 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9033
9034         * nscd/nscd_nischeck.c: Fix typos.
9035
9036 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9037
9038         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9039         always when oact is NULL.
9040         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9041
9042 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9043
9044         * math/libm-test.c (jn_test): Adjust delta.
9045
9046 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9047
9048         * libio/vwprintf.c: Include <wchar.h> for prototypes.
9049         * libio/wprintf.c: Likewise.
9050
9051 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9052
9053         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9054         to not write beyond allocated memory.
9055         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9056
9057 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9058
9059         * malloc/mtrace.c: Keep lock while printing output lines.
9060         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9061
9062 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
9063
9064         * configure.in: Add warnings about broken code.
9065
9066         * Versions.def: Add GLIBC_2.2 for libc.
9067
9068         * iconv/gconv.h: Make header suitable for inclusion in public header
9069         by protecting all names with __.
9070         * iconv/gconv.c: Adapt for symbol name changes.
9071         * iconv/gconv.h: Likewise.
9072         * iconv/gconv_builtin.c: Likewise.
9073         * iconv/gconv_close.c: Likewise.
9074         * iconv/gconv_db.c: Likewise.
9075         * iconv/gconv_dl.c: Likewise.
9076         * iconv/gconv_int.h: Likewise.
9077         * iconv/gconv_open.c: Likewise.
9078         * iconv/gconv_simple.c: Likewise.
9079         * iconv/iconv.c: Likewise.
9080         * iconv/iconv_close.c: Likewise.
9081         * iconv/iconv_open.c: Likewise.
9082         * iconv/loop.c: Likewise.
9083         * iconv/skeleton.c: Likewise.
9084         * iconvdata/8bit-gap.c: Likewise.
9085         * iconvdata/8bit-generic.c: Likewise.
9086         * iconvdata/ansi_x3.110.c: Likewise.
9087         * iconvdata/big5.c: Likewise.
9088         * iconvdata/cns11643.h: Likewise.
9089         * iconvdata/cns11643l1.h: Likewise.
9090         * iconvdata/euc-cn.c: Likewise.
9091         * iconvdata/euc-jp.c: Likewise.
9092         * iconvdata/euc-kr.c: Likewise.
9093         * iconvdata/euc-tw.c: Likewise.
9094         * iconvdata/gb2312.h: Likewise.
9095         * iconvdata/iso-2022-jp.c: Likewise.
9096         * iconvdata/iso-2022-kr.c: Likewise.
9097         * iconvdata/iso646.c: Likewise.
9098         * iconvdata/iso8859-1.c: Likewise.
9099         * iconvdata/iso_6937-2.c: Likewise.
9100         * iconvdata/iso_6937.c: Likewise.
9101         * iconvdata/jis0201.h: Likewise.
9102         * iconvdata/jis0208.h: Likewise.
9103         * iconvdata/jis0212.h: Likewise.
9104         * iconvdata/johab.c: Likewise.
9105         * iconvdata/ksc5601.h: Likewise.
9106         * iconvdata/sjis.c: Likewise.
9107         * iconvdata/t.61.c: Likewise.
9108         * iconvdata/uhc.c: Likewise.
9109         * stdlib/mblen.c: Likewise.
9110         * stdlib/mbtowc.c: Likewise.
9111         * stdlib/wctomb.c: Likewise.
9112         * wcsmbs/btowc.c: Likewise.
9113         * wcsmbs/mbrtowc.c: Likewise.
9114         * wcsmbs/mbsnrtowcs.c: Likewise.
9115         * wcsmbs/mbsrtowcs.c: Likewise.
9116         * wcsmbs/wchar.h: Likewise.
9117         * wcsmbs/wcrtomb.c: Likewise.
9118         * wcsmbs/wcsmbsload.c: Likewise.
9119         * wcsmbs/wcsmbsload.h: Likewise.
9120         * wcsmbs/wcsnrtombs.c: Likewise.
9121         * wcsmbs/wcsrtombs.c: Likewise.
9122         * wcsmbs/wctob.c: Likewise.
9123
9124         * include/limits.h (MB_LEN_MAX): Increase to 16.
9125
9126         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
9127         _G_iconv_t.
9128         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9129         * include/wchar.h: Change mbstate_t to __mbstate_t.
9130
9131         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9132         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9133         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9134         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9135         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9136         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9137         and iofwide.
9138         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9139         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9140         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9141         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9142         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9143         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9144         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9145         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9146         GLIBC_2.2 for libc.
9147         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
9148         Extend _IO_file contain pointer to codecvt, widedata and mode.
9149         (_IO_getwc_unlocked): New macro.
9150         (_IO_putwc_unlocked): New macro.
9151         (_IO_fwide): New macro.
9152         * libio/libioP.h: Add new prototypes and adjust existing declarations.
9153         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9154         buffers based on mode.
9155         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9156         oriented.
9157         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9158         flag to be enough to signal unallocated buffer.  For wide oriented
9159         stream don't make it linebuffered.  Don't use _IO_do_flush, use
9160         _IO_new_do_write directly.
9161         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9162         (_IO_file_seek): Likewise.
9163         * libio/genops.c (_IO_least_marker): Make global.
9164         (__underflow): Orient stream if not already done.
9165         (__uflow): Likewise.
9166         (_IO_default_seekpos): Change to type _IO_off64_t.
9167         (_IO_default_seekoff): Likewise.
9168         (_IO_default_seek): Likewise.
9169         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
9170         in initialization.
9171         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
9172         to use _IO_off64_t.
9173         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
9174         char stream.
9175         * libio/ftello64.c: Likewise.
9176         * libio/ioftell.c: Likewise.
9177         * libio/iofopncook.c: Likewise.
9178         * libio/ioseekoff.c: Likewise.
9179         * libio/ioseekpos.c: Likewise.
9180         * libio/oldfileops.c: Likewise.
9181         * libio/iofgetpos.c: Store state of conversion if necessary.
9182         * libio/iofgetpos64.c: Likewise.
9183         * libio/iofsetpos.c: Restore conversion state if necessary.
9184         * libio/iofsetpos64.c: Likewise.
9185         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9186         * libio/iofopen.c: Likewise.
9187         * libio/iofopen64.c: Likewise.
9188         * libio/iopopen.c: Likewise.
9189         * libio/iovdprintf.c: Likewise.
9190         * libio/iovsprintf.c: Likewise.
9191         * libio/iovsscanf.c: Likewise.
9192         * libio/memstream.c: Likewise.
9193         * libio/obprintf.c: Likewise.
9194         * libio/iofputs.c: Orient stream if not already happened.
9195         * libio/iofputs_u.c: Likewise.
9196         * libio/iofwrite.c: Likewise.
9197         * libio/iofwrite_u.c: Likewise.
9198         * libio/ioputs.c: Likewise.
9199         * libio/iosetbuffer.c: Handle not yet oriented stream.
9200         * libio/iosetvbuf.c: Likewise.
9201         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9202         * libio/stdfiles.c: Likewise.
9203         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9204         failed allocation.
9205         (_IO_str_seekoff): Use _IO_off64_t.
9206         * libio/vasprintf.c: Pre-orient stream.
9207         * libio/vsnprintf.c: Likewise.
9208         * libio/fputwc.c: New file.
9209         * libio/fputwc_u.c: New file.
9210         * libio/fwprintf.c: New file.
9211         * libio/fwscanf.c: New file.
9212         * libio/getwc.c: New file.
9213         * libio/getwc_u.c: New file.
9214         * libio/getwchar.c: New file.
9215         * libio/getwchar_u.c: New file.
9216         * libio/iofgetws.c: New file.
9217         * libio/iofgetws_u.c: New file.
9218         * libio/iofputws.c: New file.
9219         * libio/iofputws_u.c: New file.
9220         * libio/iofwide.c: New file.
9221         * libio/iogetwline.c: New file.
9222         * libio/ioungetwc.c: New file.
9223         * libio/iovswscanf.c: New file.
9224         * libio/iowpadn.c: New file.
9225         * libio/oldiofgetpos.c: New file.
9226         * libio/oldiofgetpos64.c: New file.
9227         * libio/oldiofsetpos.c: New file.
9228         * libio/oldiofsetpos64.c: New file.
9229         * libio/putwc.c: New file.
9230         * libio/putwc_u.c: New file.
9231         * libio/putwchar.c: New file.
9232         * libio/putwchar_u.c: New file.
9233         * libio/swprintf.c: New file.
9234         * libio/swscanf.c: New file.
9235         * libio/tst_swprintf.c: New file.
9236         * libio/tst_swscanf.c: New file.
9237         * libio/tst_wprintf.c: New file.
9238         * libio/tst_wscanf.c: New file.
9239         * libio/tst_wscanf.input: New file.
9240         * libio/vswprintf.c: New file.
9241         * libio/vwprintf.c: New file.
9242         * libio/vwscanf.c: New file.
9243         * libio/wfiledoalloc.c: New file.
9244         * libio/wfileops.c: New file.
9245         * libio/wgenops.c: New file.
9246         * libio/wprintf.c: New file.
9247         * libio/wscanf.c: New file.
9248         * libio/wstrops.c: New file.
9249         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9250         vfwprintf, and vfwscanf.
9251         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9252         make global.
9253         * stdio-common/_itowa.c: New file.
9254         * stdio-common/_itowa.h: New file.
9255         * stdio-common/itoa-digits.c: Minimal optimization.
9256         * stdio-common/itowa-digits.c: New file.
9257         * stdio-common/printf-parse.h: Allow use in wide character context.
9258         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9259         * stdio-common/printf.h (printf_info): Add wide bit.
9260         * stdio-common/printf_fp.c: Determine from wide bit whether stream
9261         is wide oriented or not.
9262         * stdio-common/printf_size.c: Likewise.
9263         * sysdeps/generic/printf_fphex.c: Likewise.
9264         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9265         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9266         context.
9267         * stdio-common/vfscand.c: Likewise.
9268         * stdio-common/vfwprintf.c: New file.
9269         * stdio-common/vfwscanf.c: New file.
9270
9271         * time/Makefile (routines): Add wcsftime.
9272         (tests): Add tst_wcsftime.
9273         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9274         * time/strftime.c: Make usable as wcsftime.
9275         * time/wcsftime.c: New file.
9276         * time/tst_wcsftime.c: New file.
9277
9278         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9279         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9280         * wcsmbs/wcschrnul.c: New file.
9281         * wcsmbs/wmemcpy.c: New file.
9282         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9283         * wcsmbs/wmemmove.c: Likewise for wmemmove.
9284
9285         * manual/stdio.texi: Document is_char and wide element if printf_info.
9286
9287         * manual/time.texi: Document wcsftime.
9288
9289         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9290         __wmemmove, __wcschrnul, and __vfwscanf.
9291
9292         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9293         * locale/C-time.c: Adapt for above change.
9294         * locale/categories.def: Likewise.
9295         * locale/localeinfo.h: Likewise.
9296         * localedata/Makefile: Don't run tests for now.
9297
9298         * manual/errno.texi: Fix typos.
9299         * manual/memory.texi: Likewise.
9300         * manual/ctype.texi: Likewise.
9301         Patches by Brian Youmans <3diff@gnu.org>.
9302
9303 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9304
9305         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9306
9307 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9308
9309         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9310         word order.
9311         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9312         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9313
9314 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9315
9316         * db2/db/db.c: Restore __nss_db_open alias.
9317         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9318         include.
9319         * db2/os/os_rw.c (__os_write): Maintain const correctness.
9320         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9321
9322 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9323
9324         * stdio-common/printf-parse.h (parse_one_spec): Don't set
9325         is_longlong if not necessary.
9326
9327 1999-06-15  H.J. Lu  <hjl@gnu.org>
9328
9329         * Make-dist (sysdep_dirs): Exclude SCCS.
9330         * MakeTAGS (sysdep_dirs): Likewise.
9331
9332 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9333
9334         * posix/regex.c (re_error_msgid): Remove extra commas.
9335
9336 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
9337
9338         * stdlib/tst-strtoll.c: New file.
9339         * stdlib/Makefile (tests): Add tst-strtoll.c
9340         * stdlib/strtol.c: It is not generally true that if
9341         (unsigned)a*(unsigned)b overflows, then the result is
9342         less than 'a'.
9343
9344 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
9345
9346         * nscd/connections.c (handle_request): Only root is allowed to
9347         send GETSTAT request in non secure mode.
9348         * nscd/nscd.c: Print error message if other then root try to
9349         use getstat.
9350
9351 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9352
9353         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9354
9355 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9356
9357         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9358         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9359
9360 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9361
9362         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9363         for character to search, to help the compiler.
9364         * sysdeps/generic/strchrnul.c: Likewise.
9365         * sysdeps/generic/memchr.c: Likewise.
9366         * sysdeps/generic/memccpy.c: Likewise.
9367         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
9368
9369 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9370
9371         * sysdeps/m68k/memchr.S: New file.
9372         * sysdeps/m68k/rawmemchr.S: New file.
9373         * sysdeps/m68k/strchr.S: New file.
9374         * sysdeps/m68k/strchrnul.S: New file.
9375
9376 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
9377
9378         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9379         add `memory' clobber; optimise for constant `val'.
9380         (atomic_add): Likewise.
9381         (test_and_set): Remove `volatile'; add `memory' clobber; be more
9382         like the original `test_and_set'.
9383         (compare_and_swap): Remove `volatile'; add `memory' clobber;
9384         optimise for constant `oldval'.
9385         (always_swap): Remove `volatile'; add `memory' clobber.
9386
9387 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9388
9389         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9390         functions for gcc <= 2.7.x.
9391
9392 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
9393
9394         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9395         change.
9396
9397 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
9398
9399         * db2/Makefile (distribute): Remove files which do not exist
9400         anymore.
9401
9402         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9403         definitions to calm down gcc.
9404
9405         * db2/db.h: Update from db 2.7.5.
9406         * db2/db_185.h: Likewise.
9407         * db2/db_int.h: Likewise.
9408         * db2/btree/bt_compare.c: Likewise.
9409         * db2/btree/bt_conv.c: Likewise.
9410         * db2/btree/bt_curadj.c: Likewise.
9411         * db2/btree/bt_cursor.c: Likewise.
9412         * db2/btree/bt_delete.c: Likewise.
9413         * db2/btree/bt_open.c: Likewise.
9414         * db2/btree/bt_page.c: Likewise.
9415         * db2/btree/bt_put.c: Likewise.
9416         * db2/btree/bt_rec.c: Likewise.
9417         * db2/btree/bt_recno.c: Likewise.
9418         * db2/btree/bt_rsearch.c: Likewise.
9419         * db2/btree/bt_search.c: Likewise.
9420         * db2/btree/bt_split.c: Likewise.
9421         * db2/btree/bt_stat.c: Likewise.
9422         * db2/btree/btree_auto.c: Likewise.
9423         * db2/common/db_appinit.c: Likewise.
9424         * db2/common/db_apprec.c: Likewise.
9425         * db2/common/db_err.c: Likewise.
9426         * db2/common/db_region.c: Likewise.
9427         * db2/common/db_salloc.c: Likewise.
9428         * db2/db/db.c: Likewise.
9429         * db2/db/db.src: Likewise.
9430         * db2/db/db_am.c: Likewise.
9431         * db2/db/db_auto.c: Likewise.
9432         * db2/db/db_dispatch.c: Likewise.
9433         * db2/db/db_dup.c: Likewise.
9434         * db2/db/db_iface.c: Likewise.
9435         * db2/db/db_join.c: Likewise.
9436         * db2/db/db_overflow.c: Likewise.
9437         * db2/db/db_pr.c: Likewise.
9438         * db2/db/db_rec.c: Likewise.
9439         * db2/db/db_ret.c: Likewise.
9440         * db2/db185/db185.c: Likewise.
9441         * db2/dbm/dbm.c: Likewise.
9442         * db2/hash/hash.c: Likewise.
9443         * db2/hash/hash_auto.c: Likewise.
9444         * db2/hash/hash_dup.c: Likewise.
9445         * db2/hash/hash_page.c: Likewise.
9446         * db2/hash/hash_rec.c: Likewise.
9447         * db2/hash/hash_stat.c: Likewise.
9448         * db2/include/btree.h: Likewise.
9449         * db2/include/btree_ext.h: Likewise.
9450         * db2/include/clib_ext.h: Likewise.
9451         * db2/include/common_ext.h: Likewise.
9452         * db2/include/db_am.h: Likewise.
9453         * db2/include/db_auto.h: Likewise.
9454         * db2/include/db_cxx.h: Likewise.
9455         * db2/include/db_ext.h: Likewise.
9456         * db2/include/db_join.h: Likewise.
9457         * db2/include/db_page.h: Likewise.
9458         * db2/include/hash.h: Likewise.
9459         * db2/include/hash_ext.h: Likewise.
9460         * db2/include/lock.h: Likewise.
9461         * db2/include/lock_ext.h: Likewise.
9462         * db2/include/log.h: Likewise.
9463         * db2/include/log_ext.h: Likewise.
9464         * db2/include/mp.h: Likewise.
9465         * db2/include/mp_ext.h: Likewise.
9466         * db2/include/os.h: Likewise.
9467         * db2/include/os_ext.h: Likewise.
9468         * db2/include/os_func.h: Likewise.
9469         * db2/include/txn.h: Likewise.
9470         * db2/include/txn_auto.h: Likewise.
9471         * db2/include/txn_ext.h: Likewise.
9472         * db2/include/xa.h: Likewise.
9473         * db2/include/xa_ext.h: Likewise.
9474         * db2/lock/lock.c: Likewise.
9475         * db2/lock/lock_conflict.c: Likewise.
9476         * db2/lock/lock_deadlock.c: Likewise.
9477         * db2/lock/lock_region.c: Likewise.
9478         * db2/lock/lock_util.c: Likewise.
9479         * db2/log/log.c: Likewise.
9480         * db2/log/log_archive.c: Likewise.
9481         * db2/log/log_auto.c: Likewise.
9482         * db2/log/log_findckp.c: Likewise.
9483         * db2/log/log_get.c: Likewise.
9484         * db2/log/log_put.c: Likewise.
9485         * db2/log/log_rec.c: Likewise.
9486         * db2/log/log_register.c: Likewise.
9487         * db2/mp/mp_bh.c: Likewise.
9488         * db2/mp/mp_fget.c: Likewise.
9489         * db2/mp/mp_fopen.c: Likewise.
9490         * db2/mp/mp_fput.c: Likewise.
9491         * db2/mp/mp_fset.c: Likewise.
9492         * db2/mp/mp_open.c: Likewise.
9493         * db2/mp/mp_pr.c: Likewise.
9494         * db2/mp/mp_region.c: Likewise.
9495         * db2/mp/mp_sync.c: Likewise.
9496         * db2/mutex/mutex.c: Likewise.
9497         * db2/mutex/uts4_cc.s: Likewise.
9498         * db2/os/os_abs.c: Likewise.
9499         * db2/os/os_alloc.c: Likewise.
9500         * db2/os/os_config.c: Likewise.
9501         * db2/os/os_dir.c: Likewise.
9502         * db2/os/os_fid.c: Likewise.
9503         * db2/os/os_fsync.c: Likewise.
9504         * db2/os/os_map.c: Likewise.
9505         * db2/os/os_oflags.c: Likewise.
9506         * db2/os/os_open.c: Likewise.
9507         * db2/os/os_rw.c: Likewise.
9508         * db2/os/os_seek.c: Likewise.
9509         * db2/os/os_sleep.c: Likewise.
9510         * db2/os/os_spin.c: Likewise.
9511         * db2/os/os_stat.c: Likewise.
9512         * db2/os/os_tmpdir.c: Likewise.
9513         * db2/os/os_unlink.c: Likewise.
9514         * db2/progs/db_archive/db_archive.c: Likewise.
9515         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9516         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9517         * db2/progs/db_dump/db_dump.c: Likewise.
9518         * db2/progs/db_load/db_load.c: Likewise.
9519         * db2/progs/db_printlog/README: Likewise.
9520         * db2/progs/db_printlog/commit.awk: Likewise.
9521         * db2/progs/db_printlog/count.awk: Likewise.
9522         * db2/progs/db_printlog/db_printlog.c: Likewise.
9523         * db2/progs/db_printlog/pgno.awk: Likewise.
9524         * db2/progs/db_printlog/range.awk: Likewise.
9525         * db2/progs/db_printlog/status.awk: Likewise.
9526         * db2/progs/db_printlog/txn.awk: Likewise.
9527         * db2/progs/db_recover/db_recover.c: Likewise.
9528         * db2/progs/db_stat/db_stat.c: Likewise.
9529         * db2/txn/txn.c: Likewise.
9530         * db2/txn/txn.src: Likewise.
9531         * db2/txn/txn_auto.c: Likewise.
9532         * db2/txn/txn_rec.c: Likewise.
9533         * db2/xa/xa.c: Likewise.
9534         * db2/xa/xa_db.c: Likewise.
9535         * db2/xa/xa_map.c: Likewise.
9536
9537         * db2/btree/bt_close.c: Removed.
9538         * db2/db/db_thread.c: Likewise.
9539         * db2/hash/hash_debug.c: Likewise.
9540         * db2/include/db.h.src: Likewise.
9541         * db2/include/db_int.h.src: Likewise.
9542         * db2/include/os_jump.h: Likewise.
9543         * db2/mutex/alpha.dec: Likewise.
9544         * db2/mutex/alpha.gcc: Likewise.
9545         * db2/mutex/parisc.hp: Likewise.
9546         * db2/mutex/uts4.cc.s: Likewise.
9547
9548         * db2/Makefile: Add new routines, remove old for 2.7.5.
9549         * db2/Versions: Add internal function names for the helper programs.
9550         * db2/makedb.c: Update for new cursor callback.
9551         * Versions.def: Define versions for libdb.
9552
9553 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
9554
9555         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9556         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9557         * nscd/nscd_nischeck.c: New file.
9558         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9559
9560 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9561
9562         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9563         MSG_* flags from Linux 2.2.9.
9564
9565 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
9566
9567         * Makeconfig (static-start-installed-name): Set to
9568         $(start-installed-name) if not defined.
9569         (+link-static): Use $(static-start-installed-name) instead of
9570         $(start-installed-name).
9571         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9572         Set to crt0.o.
9573
9574 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
9575
9576         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9577         inserting a send right into the child instead of unconditionally
9578         copying the send right.
9579
9580 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
9581
9582         * locale/lc-time.c: Add free_mem function to free if necessary
9583         statically allocated memory.
9584
9585 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
9586
9587         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9588         bias from the raw exponent.
9589
9590 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
9591
9592         * inet/arpa/tftp.h: Move attribute declaration in right position.
9593
9594 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
9595
9596         * nscd/nscd.c: Add -S options for separate caching of data for
9597         every user. So one user couldn't see the data another user
9598         has gotten with his credentials.
9599         * nscd/nscd.h: Add new prototypes.
9600         * nscd/cache.c: Compare owner of cache entry if in secure mode.
9601         * nscd/connections.c: Check on shutdown if caller really was root.
9602         In secure mode get uid of caller.
9603         * nscd/grpcache.c: Add support for new secure group mode.
9604         * nscd/hstcache.c: Add support for new secure hosts mode.
9605         * nscd/pwdcache.c: Add support for new secure passwd mode.
9606
9607 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
9608
9609         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9610         of user-provided buffer.
9611
9612 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
9613
9614         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9615         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9616
9617 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
9618
9619         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9620         and A format.
9621
9622         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9623         returning after last entry.
9624         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9625
9626 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
9627
9628         * misc/sysexits.h: Remove advertising clause of copyright.
9629         * resolv/getnetnamadr.c: Likewise.
9630         * sysdeps/vax/bcopy.s: Likewise.
9631         * sysdeps/vax/bzero.s: Likewise.
9632         * sysdeps/vax/ffs.s: Likewise.
9633         * sysdeps/vax/memchr.s: Likewise.
9634         * sysdeps/vax/memcmp.s: Likewise.
9635         * sysdeps/vax/memmove.s: Likewise.
9636         * sysdeps/vax/memset.s: Likewise.
9637         * sysdeps/vax/strcat.s: Likewise.
9638         * sysdeps/vax/strchr.s: Likewise.
9639         * sysdeps/vax/strcmp.s: Likewise.
9640         * sysdeps/vax/strcpy.s: Likewise.
9641         * sysdeps/vax/strcspn.s: Likewise.
9642         * sysdeps/vax/strlen.s: Likewise.
9643         * sysdeps/vax/strncat.s: Likewise.
9644         * sysdeps/vax/strncmp.s: Likewise.
9645         * sysdeps/vax/strncpy.s: Likewise.
9646         * sysdeps/vax/strpbrk.s: Likewise.
9647         * sysdeps/vax/strrchr.s: Likewise.
9648         * sysdeps/vax/strsep.s: Likewise.
9649         * sysdeps/vax/strspn.s: Likewise.
9650         * sysdeps/vax/strstr.s: Likewise.
9651
9652         * libio/iofopncook.c: Adjust for renaming of structure elements.
9653         * libio/libio.h: Define cookie functions with all the names.
9654
9655         * pwd/fgetpwent_r.c: Set errno in the correct way.
9656         * shadow/fgetspent_r.c: Likewise.
9657         * pwd/fgetpwent.c: Handle long lines correctly.  Little
9658         optimizations.  Free static buffer when debugging memory handling.
9659         * shadow/fgetspent.c: Likewise.
9660
9661         * grp/fgetgrent.c: Little optimization in loop.
9662
9663 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9664
9665         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9666         in a different way.
9667
9668 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
9669
9670         * stdlib/longlong.h: gas changed sethi handling when without
9671         %hi(). Fix assembly.
9672         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9673         port specific cache id checks.
9674         * sysdeps/generic/dl-cache.h: New file.
9675         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9676
9677 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9678
9679         * gmon/gmon.c: Remove advertising clause of copyright.
9680         * gmon/mcount.c: Likewise.
9681         * gmon/sys/gmon.h: Likewise.
9682         * inet/arpa/ftp.h: Likewise.
9683         * inet/arpa/telnet.h: Likewise.
9684         * inet/arpa/tftp.h: Likewise.
9685         * inet/inet_lnaof.c: Likewise.
9686         * inet/inet_mkadr.c: Likewise.
9687         * inet/inet_net.c: Likewise.
9688         * inet/inet_netof.c: Likewise.
9689         * inet/protocols/routed.h: Likewise.
9690         * inet/protocols/rwhod.h: Likewise.
9691         * inet/protocols/talkd.h: Likewise.
9692         * inet/protocols/timed.h: Likewise.
9693         * inet/rcmd.c: Likewise.
9694         * inet/rexec.c: Likewise.
9695         * inet/ruserpass.c: Likewise.
9696         * io/fts.c: Likewise.
9697         * io/fts.h: Likewise.
9698         * login/login_tty.c: Likewise.
9699         * misc/fstab.h: Likewise.
9700         * misc/getttyent.c: Likewise.
9701         * misc/getusershell.c: Likewise.
9702         * misc/sys/queue.h: Likewise.
9703         * misc/sys/syslog.h: Likewise.
9704         * misc/syslog.c: Likewise.
9705         * misc/ttyent.h: Likewise.
9706         * misc/ttyslot.c: Likewise.
9707         * resolv/arpa/nameser.h: Likewise.
9708         * resolv/gethnamaddr.c: Likewise.
9709         * resolv/herror.c: Likewise.
9710         * resolv/inet_addr.c: Likewise.
9711         * resolv/mapv4v6addr.h: Likewise.
9712         * resolv/mapv4v6hostent.h: Likewise.
9713         * resolv/nss_dns/dns-host.c: Likewise.
9714         * resolv/nss_dns/dns-network.c: Likewise.
9715         * resolv/res_comp.c: Likewise.
9716         * resolv/res_data.c: Likewise.
9717         * resolv/res_debug.c: Likewise.
9718         * resolv/res_init.c: Likewise.
9719         * resolv/res_mkquery.c: Likewise.
9720         * resolv/res_query.c: Likewise.
9721         * resolv/res_send.c: Likewise.
9722         * resolv/resolv.h: Likewise.
9723         * sysdeps/generic/div.c: Likewise.
9724         * sysdeps/generic/netinet/ip.h: Likewise.
9725         * sysdeps/generic/netinet/tcp.h: Likewise.
9726         * sysdeps/generic/paths.h: Likewise.
9727         * sysdeps/generic/prof-freq.c: Likewise.
9728         * sysdeps/generic/sys/ttydefaults.h: Likewise.
9729         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9730         * sysdeps/gnu/netinet/tcp.h: Likewise.
9731         * sysdeps/ieee754/support.c: Likewise.
9732         * sysdeps/mach/hurd/sys/param.h: Likewise.
9733         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9734         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9735         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9736         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9737         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9738         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9739         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9740         * sysdeps/unix/sysv/linux/paths.h: Likewise.
9741         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9742         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9743         * sysdeps/vax/DEFS.h: Likewise.
9744         * termios/sys/ttychars.h: Likewise.
9745         * misc/daemon.c: Likewise.  Call fork.
9746
9747         * grp/fgetgrent.c (buffer): Make file local variable.
9748         (free_mem): New function.  Call for malloc debugging.
9749
9750         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9751
9752 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9753
9754         * grp/Makefile: Add rules for tst_fgetgrent.
9755
9756         * grp/tst_fgetgrent.c: Rewritten to read only one file.
9757
9758         * grp/tst_fgetgrent.sh: New file.
9759
9760 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9761
9762         * grp/Makefile (tests): Add tst_fgetgrent.
9763         * grp/tst_fgetgrent.c: New file.
9764         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9765
9766 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
9767
9768         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9769         be POSIX compliant.  Prior definition was broken for Hurd.
9770         Reported by Mark Kettenis <kettenis@gnu.org>.
9771
9772 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9773
9774         * ctype/ctype.h: Protect __tobody code by __extension__.
9775
9776 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9777
9778         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9779         reading and reset in case the buffer was too small.
9780
9781         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9782         of EOF.
9783
9784 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9785
9786         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9787         another SIOGIFNAME typo.
9788
9789 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9790
9791         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9792
9793         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9794         bit.
9795
9796 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9797
9798         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9799         the precision if the mantissa is zero.
9800
9801 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9802
9803         * manual/lang.texi (Floating Point Parameters): GCC already
9804         supports long double for a long time.
9805
9806 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9807
9808         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9809         yn_test): Increase some epsilons.
9810
9811 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9812
9813         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9814         parameters.
9815
9816 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
9817
9818         * sysdeps/unix/sysv/linux/kernel-features.h: Define
9819         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9820         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9821         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9822
9823         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9824         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9825         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9826         * sysdeps/libm-ieee754/w_j1.c: Likewise.
9827         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9828         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9829         * sysdeps/libm-ieee754/w_jn.c: Likewise.
9830         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9831         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9832
9833         * stdio-common/vfprintf.c: Correct typos.
9834
9835         * math/libm-test.c (jn_test): Adjust delta.
9836         (y1_test): Likewise.
9837         (yn_test): Likewise.
9838
9839         * elf/do-lookup.h: It should never happen that if we expect a versioned
9840         symbol from a file the file has no version table.  This should have
9841         been checked in dl-version.c.
9842         * elf/dl-lookup.c: Include assert.h.
9843
9844         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9845         function handling.
9846
9847         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9848
9849 1999-06-06  Andi Kleen  <ak@muc.de>
9850
9851         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9852         SA_RESTORER flag.
9853
9854 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9855
9856         * math/libm-test.c (yn_test): Change one delta.
9857         (jn_test): Likewise.
9858         (j1_test): Likewise.
9859         (y0_test): Likewise.
9860
9861 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
9862
9863         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9864         avoid multiple calls to getpagesize() which might be a syscall.
9865
9866 1999-06-06  Philip Blundell  <philb@gnu.org>
9867
9868         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9869
9870 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9871
9872         * manual/install.texi (Running make install): Correct typo in
9873         dynamic linker invocation.
9874
9875 1999-06-05  Philip Blundell  <philb@gnu.org>
9876
9877         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9878         problems with GOT addressing.
9879
9880 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
9881
9882         * malloc/malloc.c (check_action): Change into bitmap so that both
9883         diagnostic and abort can be requested by setting it to 3.
9884         (mALLOC_SET_STATe): Disable malloc checking if necessary.
9885
9886 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
9887
9888         * configure.in: Few changes for HPUX.
9889
9890         * scripts/config.guess: Update from latest version.
9891         * scripts/config.sub: Likewise.
9892
9893 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9894
9895         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9896         map files.  Closes PR libc/1147.
9897
9898 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9899
9900         * math/libm-test.c (main): Add new test functions.
9901         (jn_test): New tests.
9902         (j1_test): Add some more tests.
9903         (j0_test): Add some more tests.
9904         (y0_test): Add some more tests.
9905         (y1_test): Add some more tests.
9906
9907 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9908
9909         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9910         Patch by mhagger@dera.gov.uk [PR libc/1145].
9911
9912         * math/libm-test.c (y1_test): New tests.
9913         (y0_test): Likewise.
9914         (j1_test): Likewise.
9915         (j0_test): Likewise.
9916         (main): Added new tests.
9917
9918 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
9919
9920         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9921         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9922         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9923         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9924         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9926
9927 1999-06-02  David S. Miller  <davem@redhat.com>
9928
9929         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9930         pointers properly.
9931
9932 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
9933
9934         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9935         and elide compatibility code if possible.
9936
9937 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
9938
9939         * manual/llio.texi: Remove menu entry for removed section.
9940
9941 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9942
9943         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9944         variables.
9945
9946 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9947
9948         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9949         (from Linux 2.3.4).
9950
9951 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
9952
9953         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9954
9955 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9956
9957         * manual/stdio.texi: Fix some typos.
9958
9959 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9960
9961         * malloc/malloc.h: Properly handle future GCC versions.
9962
9963 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9964
9965         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9966         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
9967         text of error message.
9968
9969         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9970
9971 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
9972
9973         * manual/filesys.texi: Extend (f)truncate documentation.
9974         * manual/llio.texi: Remove duplicate (f)truncate definition.
9975
9976 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9977
9978         * manual/stdio.texi (Formatted Output Functions): Mention
9979         semantics of snprintf in glibc 2.0.
9980         Reported by Ben Pfaff <pfaffben@msu.edu>.
9981
9982 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
9983
9984         * include/features.h (__GLIBC_MINOR__): Bump to 2.
9985
9986 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
9987
9988         * math/libm-test.c: Adjust a few more deltas for the poor ARM
9989         FPU emulator.
9990
9991 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9992
9993         * configure.in: Fix typo.
9994
9995 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9996
9997         * manual/socket.texi (Host Names): Remove statement that h_errno
9998         needs to be declared since this isn't true anymore.
9999         Closes PR libc/1138.
10000
10001 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
10002
10003         * config.h.in: Add __LINUX_KERNEL_VERSION.
10004         * configure.in: Recognize --enable-kernel.
10005         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10006         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10007         appropriately.
10008         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10009         given perform runtime test.
10010
10011         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10012         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10013         minimal supported kernel is known to have the feature.
10014         * sysdeps/unix/sysv/linux/poll.c: Likewise.
10015         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10016         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10017         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10018         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10019         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10020         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10021         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10022         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10023         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10024         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10025         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10026         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10027         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10028         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10029
10030         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10031
10032 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10033
10034         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10035
10036 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
10037
10038         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10039         Optimized sparc64 routines.
10040
10041 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10042
10043         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10044         they are the same as ints.
10045         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10046
10047         * version.h (VERSION): Bump to 2.1.90.
10048         (RELEASE): Mark as development.
10049
10050         * stdio-common/vfprintf.c (vfprintf): Don't implement special
10051         handling for long long if it is the same as long.
10052         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10053
10054         * stdlib/strtol.c: Moved to ...
10055         * sysdeps/generic/strtol.c: ...here.
10056         * stdlib/strtoul.c: Moved to ...
10057         * sysdeps/generic/strtoul.c: ...here.
10058         * stdlib/strtoll.c: Moved to ...
10059         * sysdeps/generic/strtoll.c: ...here.
10060         * stdlib/strtoull.c: Moved to ...
10061         * sysdeps/generic/strtoull.c: ...here.
10062         * stdlib/strtol_l.c: Moved to ...
10063         * sysdeps/generic/strtol_l.c: ...here.
10064         * stdlib/strtoul_l.c: Moved to ...
10065         * sysdeps/generic/strtoul_l.c: ...here.
10066         * stdlib/strtoll_l.c: Moved to ...
10067         * sysdeps/generic/strtoll_l.c: ...here.
10068         * stdlib/strtoull_l.c: Moved to ...
10069         * sysdeps/generic/strtoull_l.c: ...here.
10070
10071         * sysdeps/wordsize-64/strtol.c: New file.
10072         * sysdeps/wordsize-64/strtoul.c: New file.
10073         * sysdeps/wordsize-64/strtoll.c: New file.
10074         * sysdeps/wordsize-64/strtoull.c: New file.
10075         * sysdeps/wordsize-64/strtol_l.c: New file.
10076         * sysdeps/wordsize-64/strtoul_l.c: New file.
10077         * sysdeps/wordsize-64/strtoll_l.c: New file.
10078         * sysdeps/wordsize-64/strtoull_l.c: New file.
10079
10080         * wcsmbs/wcstol.c: Moved to ...
10081         * sysdeps/generic/wcstol.c: ...here.
10082         * wcsmbs/wcstoul.c: Moved to ...
10083         * sysdeps/generic/wcstoul.c: ...here.
10084         * wcsmbs/wcstoll.c: Moved to ...
10085         * sysdeps/generic/wcstoll.c: ...here.
10086         * wcsmbs/wcstoull.c: Moved to ...
10087         * sysdeps/generic/wcstoull.c: ...here.
10088         * wcsmbs/wcstol_l.c: Moved to ...
10089         * sysdeps/generic/wcstol_l.c: ...here.
10090         * wcsmbs/wcstoul_l.c: Moved to ...
10091         * sysdeps/generic/wcstoul_l.c: ...here.
10092         * wcsmbs/wcstoll_l.c: Moved to ...
10093         * sysdeps/generic/wcstoll_l.c: ...here.
10094         * wcsmbs/wcstoull_l.c: Moved to ...
10095         * sysdeps/generic/wcstoull_l.c: ...here.
10096
10097         * sysdeps/wordsize-64/wcstol.c: New file.
10098         * sysdeps/wordsize-64/wcstoul.c: New file.
10099         * sysdeps/wordsize-64/wcstoll.c: New file.
10100         * sysdeps/wordsize-64/wcstoull.c: New file.
10101         * sysdeps/wordsize-64/wcstol_l.c: New file.
10102         * sysdeps/wordsize-64/wcstoul_l.c: New file.
10103         * sysdeps/wordsize-64/wcstoll_l.c: New file.
10104         * sysdeps/wordsize-64/wcstoull_l.c: New file.
10105
10106 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
10107
10108         * sysdeps/sparc/bits/wordsize.h: New file.
10109         * sysdeps/sparc/fpu/bits/fenv.h: New file.
10110         * sysdeps/sparc/fpu/fpu_control.h: New file.
10111         * sysdeps/sparc/gmp-mparam.h: New file.
10112
10113         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10114         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10115         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10116         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10117         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10118         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10119
10120         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10121         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10122         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10123         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10124
10125         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10126         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10127         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10128         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10129         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10130
10131 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
10132
10133         * login/openpty.c (openpty): Make sure pty does not because
10134         controlling TTY.
10135
10136         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10137
10138 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
10139
10140         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10141         Do proper error return.
10142
10143 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10144
10145         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10146         of __P in the rest of glibc; define __MALLOC_PMT and use it.
10147         Reported by Stephan Kulow <coolo@kde.org>.
10148
10149 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
10150
10151         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10152
10153         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10154
10155 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10156
10157         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10158         names to protect from user's macro namespace.
10159         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10160         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10161         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10162         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10163         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10164         Adapted.
10165         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10166         sysdeps/arm/fpu/fesetenv.c: Likewise.
10167         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10168         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10169         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10170         * sysdeps/mips/fesetenv.c: Likewise.
10171
10172 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
10173
10174         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10175
10176 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
10177
10178         * configure.in: Recognize and allow gcc 2.95.
10179
10180 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10181
10182         * sysdeps/generic/bits/elfclass.h: Version common to
10183         wordsize-32 and wordsize-64.
10184         * sysdeps/generic/bits/environments.h: Ditto.
10185         * sysdeps/generic/stdint.h: Ditto.
10186         * sysdeps/generic/inttypes.h: Ditto.
10187
10188         * sysdeps/generic/bits/wordsize.h: New file.
10189         * stdlib/Makefile: Add bits/wordsize.h to headers.
10190
10191         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10192
10193         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10194         headers to be used for 32bit and 64bit ABI compilations.
10195         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10196         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10197         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10198         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10199         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10200
10201         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10202         * sysdeps/wordsize-64/bits/environments.h: Remove.
10203         * sysdeps/wordsize-64/stdint.h: Remove.
10204         * sysdeps/wordsize-64/inttypes.h: Remove.
10205         * sysdeps/wordsize-64/bits/wordsize.h: New file.
10206
10207         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10208         * sysdeps/wordsize-32/bits/environments.h: Remove.
10209         * sysdeps/wordsize-32/stdint.h: Remove.
10210         * sysdeps/wordsize-32/inttypes.h: Remove.
10211         * sysdeps/wordsize-32/bits/wordsize.h: New file.
10212
10213 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10214
10215         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10216         __align_cpy_16): New functions.
10217         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10218
10219         * sysdeps/sparc/sparc32/Versions: New file.
10220         * sysdeps/sparc/sparc64/Versions: New file.
10221         * sysdeps/sparc/Versions: Remove.
10222
10223 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10224
10225         * sysdeps/unix/sysv/linux/configure.in:
10226         On sparc64-*-linux*, set slibdir to /lib64 if prefix
10227         is /usr, plus set libdir to ${exec_prefix}/lib64.
10228         * sysdeps/unix/sysv/linux/configure: Regenerated.
10229         * config.make.in: Propagate libdir settings from configure
10230         to the Makefiles.
10231         * shlib-versions: sparc64-*-linux* dynamic linker is
10232         /lib64/ld-linux.so.2.
10233
10234 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
10235
10236         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10237         RPC connection.
10238
10239 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
10240
10241         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10242         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10243
10244         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10245         contains garbage in bits 8-63.
10246         * sysdeps/sparc/sparc64/memset.S: Ditto.
10247         * sysdeps/sparc/sparc64/strchr.S: Ditto.
10248
10249 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
10250
10251         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10252
10253 1999-05-17  David S. Miller  <davem@redhat.com>
10254
10255         * sysdeps/sparc/sparc32/atomicity.h: New file.
10256         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10257         * sysdeps/sparc/sparc64/atomicity.h: New file.
10258         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10259         sysdep-CFLAGS.
10260
10261 1999-05-18  Richard Henderson  <rth@twiddle.net>
10262
10263         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
10264
10265 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10266
10267         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10268         posix/sys/types.h: Handle the case of __GNUC__=3,
10269         __GNUC_MINOR__=(anything).
10270
10271 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10272
10273         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10274         if _FORCE_INLINES.
10275
10276 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10277
10278         * elf/Makefile (distribute): Remove dl-origin.h.
10279         Add dl-dst.h and gen-trusted-dirs.awk.
10280
10281 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10282
10283         * sysdeps/i386/i486/Versions: New file with inline functions from
10284         sysdeps/i386/i486/bits/string.h for now.
10285
10286         * sysdeps/i386/Versions: Add inline functions from
10287         sysdeps/i386/bits/string.h.
10288
10289         * string/Versions: Add inline functions from <bits/string2.h>.
10290
10291         * string/Makefile (routines): Add string-inlines.
10292         * string/string-inlines.c: New file, used for implementation of
10293         extern inline functions.
10294
10295         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10296         non inlined versions of functions.
10297         * string/bits/string2.h: Likewise.
10298         * sysdeps/i386/bits/string.h: Likewise.
10299
10300 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10301
10302         * inet/arpa/tftp.h: Add second packed attribute.
10303
10304 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10305
10306         * malloc/malloc.c: Cleanup to bring in line with released
10307         stand-alone version `ptmalloc'.  Update some comments.
10308         (internal_function): Move fallback definition so that the source
10309         compiles outside of libc, and use it in more places.
10310         (malloc_atfork): Fix when malloc_check is in use.
10311
10312 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10313
10314         * stdlib/tst-strtod.c: Fix typo.
10315
10316 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10317
10318         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10319         const incorrectness.
10320
10321 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10322
10323         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10324
10325 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
10326
10327         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10328         * sunrpc/key_call.c: Fix memory leak, close file handle.
10329         * nis/nis_creategroup.c: Use malloc instead of calloc,
10330         set ctime and mtime.
10331         * nis/nis_subr.c: Check for realloc result.
10332         * nis/nis_file.c: Fix memory leak.
10333         * nis/nis_table.c: Pretty print.
10334         * nis/nis_getservlist.c: Likewise.
10335         * nis/nis_ismember.c: Likewise.
10336         * nis/nis_lookup.c: Likewise.
10337         * nis/nis_ping.c: Likewise.
10338         * nis/nis_removemember.c: Likewise.
10339         * nis/nis_util.c: Likewise, check calloc result.
10340
10341 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10342
10343         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10344         * sysdeps/generic/sys/socketvar.h: ... here.
10345         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10346         * sysdeps/generic/netinet/in_systm.h: ... here.
10347         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10348         sys/socketvar.h.
10349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10350         * inet/Makefile (headers): Add netinet/in_systm.h here.
10351         * socket/Makefile (headers): Add sys/socketvar.h here.
10352
10353 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
10354
10355         * stdlib/strtol.c: Optimize inner loop of long long versions.
10356
10357         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10358         Unix98.  Add forward declaration of struct utmp.
10359
10360 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10361
10362         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10363         calloc.
10364
10365         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10366         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
10367         memory allocation results.
10368
10369 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
10370
10371         * sysdeps/generic/getutmp.c: Include <string.h>
10372         (getutmp): Rewrite to only copy those members that are really
10373         present in `struct utmp'.
10374         * sysdeps/generic/getutmpx.c: Likewise.
10375
10376 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10377
10378         * nss/getXXbyYY.c: Add free_mem function which disposes all
10379         statically allocated memory when debugging.
10380         * nss/getXXent.c: Likewise.
10381         * nss/nsswitch.c: Likewise.
10382
10383 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
10384
10385         * sysdeps/gnu/getutmpx.c: New file.
10386         * sysdeps/gnu/getutmp.c: New file.
10387
10388 1999-05-13  H.J. Lu  <hjl@gnu.org>
10389
10390         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10391         (getutmp): Likewise.
10392
10393         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10394         getutmpx for login.
10395
10396         * sysdeps/gnu/utmpx.h (getutmp): Added.
10397         (getutmpx): Likewise.
10398
10399         * sysdeps/generic/getutmp.c: New file.
10400
10401         * sysdeps/generic/getutmpx.c: New file.
10402
10403 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10404
10405         * glibcbug.in (BUGGLIBC): Change address to
10406         libc-alpha@sourceware.cygnus.com.
10407
10408 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10409
10410         * resolv/arpa/nameser.h: Add C++ protectors.
10411
10412 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10413
10414         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
10415         Elad Tsur <eladts@post.tau.ac.il>.
10416
10417 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
10418
10419         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10420         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10421         lazily if LD_BIND_NOW is not set.
10422         * elf/dl-support.c (_dl_lazy): New variable.
10423         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10424         * elf/rtld.c (_dl_lazy): new global variable.
10425         ( dl_main): Remove lazy, replace it by _dl_lazy.
10426
10427 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10428
10429         * locale/setlocale.c (new_composite_name): Check also whether the
10430         first category name differs.
10431
10432 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10433
10434         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10435         the generic one.
10436
10437 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
10438
10439         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10440         structure; storage suitable for any socket address.
10441         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10442         Likewise.
10443         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10444         sockaddr_storage): Likewise.
10445
10446         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10447         platform.
10448
10449 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
10450
10451         * hesiod/Versions: Change _nss_hesiod_getpwuid and
10452         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10453         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
10454
10455 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
10456
10457         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10458         if the file is empty.
10459
10460 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
10461
10462         * elf/do-lookup.h: Fix typo in comment.
10463
10464         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10465         f_bsize to help some broken programs.
10466
10467         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10468
10469         * stdio-common/vfprintf.c: Fix typo.
10470
10471 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
10472
10473         * elf/link.h (struct link_map): New field l_phdr_allocated.
10474         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10475         the program header being part of any loaded segment.  If it is not
10476         allocate memory and set l_phdr_allocated flag.
10477         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10478
10479         * nss/digits_dots.c: Correct return value interpretation of
10480         inet_ntoa.  Fix PR libc/1109.
10481
10482 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
10483
10484         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10485
10486 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
10487
10488         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10489         * stdlib/fpioconst.c: Move #endif before end of struct.
10490
10491 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
10492
10493         * Versions.def (ld.so): Add GLIBC_2.1.1.
10494         * elf/Makefile (routines): Add dl-origin.
10495         (tests): Add origtest.  Add dependencies for the program.
10496         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10497         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10498         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
10499         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10500         DT_AUXILIARY, and DT_FILTER filenames.
10501         * elf/dl-load.c (expand_dynamic_string_token): Explode into
10502         two functions and three macros.
10503         (_dl_dst_count, _dl_dst_substitute): New functions.
10504         * elf/dl-dst.h: New file.
10505         * elf/dl-open.c (_dl_open): Take extra parameter with address of
10506         caller.  Pass address in args structure.
10507         (dl_open_worker): Recognize and expand DSTs in filename.
10508         * elf/ldsodefs.h (_dl_open): Adapt prototype.
10509         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10510         (__dlopen_check): Pass caller address to dlopen_doit in args.
10511         * elf/dlopendoit.c: Likewise.
10512         * iconv/gconv_dl.c: Adapt call of _dl_open.
10513         * nss/nsswitch.c: Likewise.
10514         * elf/origtest.c: New file.
10515         * sysdeps/generic/dl-origin.h: Moved to...
10516         * sysdeps/generic/dl-origin.c: ...here.
10517         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10518         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10519
10520         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10521         with specific bases and only few bits set in second word.
10522
10523         * timezone/Makefile (install-others): Create target directory
10524         before creating tzfiles.
10525
10526 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
10527
10528         * nis/nis_file.c (readColdStartFile): Allocate memory only after
10529         the file is opened successfully.
10530
10531         * nis/nis_table.c: Fix some memory leaks.
10532
10533 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
10534
10535         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10536         variable.
10537
10538         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10539         around DST.  Correctly ignore ORIGIN IN SUID binaries.
10540
10541 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
10542
10543         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10544         * sysdeps/generic/strtok.c: Likewise.
10545
10546         * string/tester.c: Add test of rawmemchr.
10547
10548         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10549         specification.  It's not necessary.
10550
10551         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10552         * elf/gen-trusted-dirs.awk: New file.
10553         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
10554         from SYSTEM_DIRS macro.
10555         (system_dirs_len): New variable.  Contains lengths of system_dirs
10556         strings.
10557         (fillin_rpath): Rewrite for systems_dirs being a simple string.
10558         Improve string comparisons.  Change parameter trusted to be a flag.
10559         Change all callers.
10560         (_dt_init_paths): Improve using new format for system_dirs.
10561
10562         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10563         $ORIGIN for SUID binaries.
10564
10565         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10566
10567 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10568
10569         * sunrpc/Makefile: Generate dependencies for all flavors of
10570         librpcsvc objects.
10571         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10572         invocations.
10573
10574 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10575
10576         * elf/dlopenold.c: Move #if down after includes to get
10577         dependencies right.
10578
10579 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10580
10581         * sysdeps/generic/bzero.c: Undefine __bzero.
10582
10583 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
10584
10585         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10586         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10587         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10588         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10589
10590         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10591         parameter to struct gaih_servtuple *.  Adapt appropriately.
10592         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10593         This fixes a memory leak.
10594         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10595
10596         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10597         and fpregset_t definition.  They are defined in ucontext.h.
10598
10599 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10600
10601         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10602         and struct ether_header must be packed on the ARM.  The default
10603         alignment constraints add padding to the end of the structures.
10604
10605 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10606
10607         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
10608         default alignment constraints add padding to the end of the
10609         structure and between members.
10610
10611 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
10612
10613         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10614         _dl_cache_libcmp instead of strcmp.
10615
10616         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10617         fails on a file.
10618         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10619
10620 1998-03-30  Joel Klecker  <espy@debian.org>
10621
10622         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10623         (sysdep-others,install-bin): Add lddlibc4.
10624
10625 1999-05-02  H.J. Lu  <hjl@gnu.org>
10626
10627         * timezone/zic.c (dolink): Remove the symlink destination first.
10628
10629         * catgets/open_catalog.c (__open_catalog): Set catalog->status
10630         to "nonexisting" if failed to open the file.
10631
10632 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
10633
10634         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10635         gcc3.
10636
10637         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10638         Prevent warnings from multiplication with 0x01010101 by another cast.
10639
10640 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10641
10642         * string/bits/string2.h (memset): Revert to previous version if
10643         unaligned writes are not available.
10644
10645 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10646
10647         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10648         better code in presence of the asm.
10649
10650 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10651
10652         * stdlib/fmtmsg.c (keywords): Increase array size for faster
10653         indexing.
10654
10655         * locale/localeinfo.h (_nl_category_names): Increase array element
10656         size for faster indexing.
10657         * locale/setlocale.c (_nl_category_names): Adjusted.
10658
10659 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10660
10661         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10662
10663 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10664
10665         * sysdeps/m68k/stackinfo.h: New file.
10666
10667 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10668
10669         * string/tester.c (test_strchrnul): New function.
10670         (test_memset): Test one more special case.
10671
10672         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10673         25% of all cases.
10674
10675         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10676         base types.
10677
10678         * string/bits/string2.h: Fix bugs I introduced in last change.
10679
10680         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10681         register stall.
10682         Extend memset optimization.
10683         Correct i686 version of memchr.
10684
10685 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
10686
10687         * sysdeps/i386/bzero.c: Add #undef __bzero.
10688
10689         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10690         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10691         exec server simulated a SIGTRAP before we even started up, so gdb is
10692         already happy.
10693
10694 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10695
10696         * nss/digits_dots.c: Always initialize not_ok.
10697
10698 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
10699
10700         * string/bits/string2.h (memset): Avoid arithmetic overflow at
10701         compile time, which produces obnoxious warnings.  If GCCv2 is
10702         in use, map __bzero to __builtin_memset to enable that
10703         optimization.
10704
10705 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10706
10707         * string/bits/string2.h: Add more memset optimizations.
10708
10709         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10710
10711         * resolv/inet_pton.c (inet_pton4): Little optimizations.
10712         (inet_pton6): Likewise.
10713
10714         * nss/getXXbyYY_r.c: Include assert.h.
10715         * nss/getXXbyYY.c: Likewise.
10716
10717 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10718
10719         * termios/tcgetsid.c (tcgetsid): Rename variable to
10720         tiocgsid_does_not_work.
10721
10722 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10723
10724         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10725
10726 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10727
10728         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10729         This allows e.g. gethostbyname to accept "10.1234".
10730         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10731
10732         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10733         non quad IPv4 numbers.
10734
10735 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10736
10737         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10738
10739 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10740
10741         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10742         * argp/argp-parse.c (_argp_hang): Likewise.
10743         * argp/argp-pv.c (argp_program_version): Likewise.
10744         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10745         * inet/ether_hton.c (ether_hton, startp): Likewise.
10746         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10747         * inet/getnetgrent_r.c (setup, startp): Likewise.
10748         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10749         * intl/localealias.c (string_space, string_space_act, string_space_max,
10750         nmap, maxmap): Likewise.
10751         * libio/iopopen.c (proc_file_chain): Likewise.
10752         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10753         * locale/lc-collate.c (__collate_table, __collate_extra,
10754         __collate_element_hash, __collate_element_strings,
10755         __collate_element_values): Likewise.
10756         * malloc/mcheck.c (mcheck_used): Likewise.
10757         * malloc/mtrace.c (added_atexit_handler): Likewise.
10758         * malloc/set-freeres.c (already_called): Likewise.
10759         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10760         * misc/syslog.c (LogStat, LogTag): Likewise.
10761         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10762         * nss/getXXbyYY_r.c (startp): Likewise.
10763         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10764         * posix/regex.c (init_syntax_once) [done]: Likewise.
10765         (debug): Likewise.
10766         * string/strfry.c (init): Likewise.
10767         * sunrpc/svc_run.c (svc_top): Likewise.
10768         * posix/euidaccess.c (have_ids): Likewise.
10769         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10770         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10771         * time/getdate.c (getdate_err): Likewise.
10772         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10773         Likewise.
10774         * time/tzset.c (old_tz, is_initialized): Likewise.
10775
10776         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10777         of static data with zero.
10778         * signal/allocrtsig.c (init): Likewise.
10779
10780         * string/Makefile (routines): Add strchrnul.
10781         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10782         * string/string.c: Add strchrnul prototype.
10783         * include/string.h: Add __strchrnul prototype.
10784         * sysdeps/generic/strchrnul.c: New file.
10785         * sysdeps/i386/strchrnul.S: New file.
10786         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10787         * sysdeps/i386/i486/bits/string.c: Likewise.
10788         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10789         * inet/ether_line.c (ether_line): Likewise.
10790         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10791         * nss/nsswitch.c (nss_parse_file): Likewise.
10792         * posix/execvp.c (execvp): Likewise.
10793         * posix/fnmatch.c (internal_fnmatch): Likewise.
10794         * resolv/res_hconf.c (_res_hconv_init): Likewise.
10795         * resolv/res_init.c (res_init): Likewise.
10796         * stdlib/fmtmsg.c (init): Likewise.
10797         * stdlib/getsubopt.c (getsubopt): Likewise.
10798
10799         * catgets/catgets.c (catopen): Only allocate one memory block.
10800         (catclose): Only one free call necessary.
10801
10802         * catgets/open_catalog.c (__open_catalog): Simplify handling of
10803         file descriptor.
10804
10805         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10806         of real functions.  Simplify _tolower and _toupper.
10807
10808         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10809         variable.
10810
10811         * iconv/gconv.h (struct gconv_info): Change data element from pointer
10812         to array of size 0.
10813         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10814         * iconv/gconv_close.c (__gconv_close): Don't free data.
10815
10816         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10817         insert new alias.
10818
10819         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
10820         for error while inserting in tree.
10821
10822         * include/time.h: Pretty print.
10823
10824         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10825         in table and lots of relocations.
10826         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10827         string pointers in table and lots of relocations.
10828
10829         * intl/finddomain.c: Remove definition of strchr macro.
10830
10831         * io/ftw.c (nftw_arr, ftw_arr): Make const.
10832
10833         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10834
10835         * locale/localeinfo.h (_nl_category_names): Change into an array with
10836         fixed width char string elements.
10837         * locale/setlocale.c (_nl_category_names): Likewise.
10838         (_nl_current): Make global.
10839         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
10840
10841         * malloc/Makefile (distribute): Add stackinfo.h.
10842         * sysdeps/generic/stackinfo.h: New file.
10843         * sysdeps/i386/stackinfo.h: New file.
10844         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10845         * posix/execle.c: Likewise.
10846         * posix/execlp.c: Likewise.
10847
10848         * nis/nis_table.c (__create_ib_request): Always use realloc.
10849
10850         * posix/execvp.c (execute): Rename to script_execute and keep only
10851         code to execute using shell.
10852         (execvp): Call execv directly and only fall back on script_execute.
10853
10854         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10855         and always use xdigits instead.
10856
10857         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10858         where appropriate.
10859
10860         * stdlib/fpioconst.h (__tens): New declaration.
10861         (struct mp_power): Remove array, add arrayoff element.
10862         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10863         __tens array and add in _fpioconst_pow10 offsets into __tens.
10864         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10865         * stdlib/strtod.c: Likewise.
10866
10867         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10868
10869         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10870         of the list.
10871         * stdlib/atexit.c (__exit_funcs): Don't initialize.
10872
10873         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10874
10875         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10876         a single and an array with offsets.
10877
10878         * sunrpc/des_soft.c (partab): Make it const.
10879
10880         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10881         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10882         (__key_decryptsession_pk_LOCAL): Likewise.
10883         (__key_gendes_LOCAL): Likewise.
10884         (MESSENGER): Mark const.
10885         (key_call_private_main): Don't initialize with 0.
10886         (use_keyenvoy): Don't initialize with 0.
10887         (key_call): Rewrite to reverse logic of use_doors variable.
10888
10889         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10890         (startp): Don't initialize with zero.
10891
10892         * sunrpc/openchild.c (_openchild): Make first argument const.
10893
10894         * sunrpc/pmap_rmt.c (timeout): Mark const.
10895         * sunrpc/xcrypt.c (hex): Likewise.
10896
10897         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10898         initialization of global variables.
10899         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10900         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10901         * termios/tcgetsid.c: Likewise.
10902
10903         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10904         fxsr to osfxsr.
10905
10906         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10907         block.  Add function to free memory if wanted.
10908         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10909
10910         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10911
10912         * wcsmbs/wmemset.c: Little code optimization.
10913
10914 1999-04-23  Paul Eggert  <eggert@twinsun.com>
10915
10916         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10917         ifdef _LIBC.
10918
10919 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
10920
10921         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10922         implementation and just always fail with ENOSYS.  This entry point is
10923         obsolete.  Add link warning to that effect.
10924
10925 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
10926
10927         * hurd/get-host.c: Include <hurd/lookup.h>.
10928
10929 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10930
10931         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10932         is != NULL.
10933
10934 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10935
10936         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10937         ISO C9x and Unix98.
10938
10939 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10940
10941         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10942         Patch by Peter Miller <millerp@canb.auug.org.au>.
10943
10944 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
10945
10946         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10947         prefers loopback device.
10948
10949 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10950
10951         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10952         no_leading_period change.
10953
10954         * posix/testfnm.c: More test cases.
10955
10956 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
10957
10958         * include/dirent.h: Remove __getdirentries declaration, add __getdents
10959         and __getdents64.
10960         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10961         * sysdeps/unix/readdir_r.c: Likewise.
10962         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10963         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10964         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10965         __getdirentries.  Remove fourth argument.
10966         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10967         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10968         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10969         Add getdirentries and getdirentries64.
10970         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10971
10972         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10973         pointer in case of an invalid [[: expression.
10974
10975         * posix/testfnm.c: Add more test cases.
10976
10977 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
10978
10979         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10980         set, pass EXEC_SIGTRAP flag in exec RPC.
10981
10982 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
10983
10984         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
10985         extra parameter.  Fix several more bugs involving wildcard and
10986         ranges.
10987         (fnmatch): New function.  Call internal_fnmatch.
10988
10989         * posix/testfnm.c: More test cases.
10990
10991 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10992
10993         * manual/install.texi (Configuring and compiling): Explain that
10994         files are changed in the source directory.
10995         Closes PR libc/981.
10996         (Configuring and compiling): Explain situation with PARALLELMFLAGS
10997         in the source directory.
10998
10999 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11000
11001         * locale/programs/ld-ctype.c: Spelling fixes.
11002         (ctype_finish): Fix argument of error message format.
11003         * locale/programs/ld-messages.c: Spelling fixes.
11004         * locale/programs/ld-monetary.c: Spelling fixes.
11005         * locale/programs/ld-time.c (time_finish): Make sure that name and
11006         format of era_entries are adjacent.
11007         (time_output): Reduce the size of the io vector.
11008
11009 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11010
11011         * manual/filesys.texi (Attribute Meanings): Move a misplaced
11012         paragraph.
11013
11014 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11015
11016         * locale/programs/ld-collate.c (collate_output): Convert
11017         undefined_offset to an array index.  Fix computation of other
11018         endian extra table.
11019
11020 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
11021
11022         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11023         return success with empty value.
11024
11025 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11026
11027         * posix/fnmatch.c: Include string.h also for glibc.
11028         (fnmatch, case '?'): Optimize if cascades a bit.
11029         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11030
11031         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11032
11033 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
11034
11035         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11036         * iconv/gconv_int.h: Declare UTF16 functions.
11037         * iconv/gconv_simple.c: Add UTF16 conversion functions.
11038
11039 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11040
11041         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11042         be used correctly as parameter for parse_dollars/parse_tilde.
11043
11044 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11045
11046         * manual/conf.texi (Utility Limits): Remove duplicate description
11047         of BC_DIM_MAX.
11048
11049 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
11050
11051         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11052         outbufend for dst==NULL.
11053
11054 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11055
11056         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11057         for dst==NULL.
11058         Fixes PR libc/1084.
11059
11060         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11061         Fixes PR libc/1083.
11062
11063 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
11064
11065         * sunrpc/Makefile: Remove special handling of bootparam.x,
11066         add rpcsvc/bootparam.h to headers.
11067         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11068         * sunrpc/rpcsvc/bootparam.x: Renamed to...
11069         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11070
11071 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11072
11073         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11074         detect and handle invalid descriptors.
11075
11076 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
11077
11078         * timezone/zic.c (dolink): Append complete path not only filename
11079         to ../ list.
11080
11081 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11082
11083         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11084
11085 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
11086
11087         * iconvdata/gconv-modules: Rename CP874 to IBM874.
11088         * iconvdata/Makefile: Likewise.
11089         * iconvdata/cp874.h: Removed.
11090         * iconvdata/cp874.c: Renamed to...
11091         * iconvdata/ibm874.c: ...this.
11092
11093 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11094
11095         * sysdeps/unix/sysv/linux/bits/types.h: Correct
11096         signed/unsigned-ness of blkcnt and fsblkcnt.
11097         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11098         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11099
11100         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11101         SOL_AAL, and SOL_IRDA.
11102
11103 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11104
11105         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
11106         include "linux_fsinfo.h".
11107         Based on a patch by H.J. Lu <hjl@gnu.org>.
11108
11109 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
11110
11111         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11112
11113 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11114
11115         * nscd/cache.c (prune_cache): Only disable file checking for
11116         future if the file does not exist.
11117         Update file_mtime if cache was flushed.
11118
11119 1999-04-15  David S. Miller  <davem@redhat.com>
11120
11121         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11122         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11123
11124 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
11125
11126         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11127         compilation of file.
11128
11129 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11130
11131         * Versions.def: Add GLIBC_2.1.1 to libpthread.
11132
11133         * iconvdata/Makefile (modules): Add KOI8-U.
11134         (distribute): Add koi8-u.c.
11135         (gen-8bit-gap-modules): Add koi8-u.
11136         * iconvdata/gconv-modules: Add KOI8-U entries.
11137         * iconvdata/koi8-u.c: New file.
11138
11139 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
11140
11141         * sunrpc/auth_des.c: 64bit fixes, security fixes.
11142         * sunrpc/auth_none.c: Pretty print.
11143         * sunrpc/auth_unix.c: Likewise.
11144         * sunrpc/authdes_prot.c: Likewise.
11145         * sunrpc/authuxprot.c: Likewise.
11146         * sunrpc/bindrsvprt.c: Likewise.
11147         * sunrpc/clnt_gen.c: Likewise.
11148         * sunrpc/rpc/xdr.h: Likewise.
11149         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11150         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11151         * sunrpc/rtime.c: Use new rpc_timeval.
11152         * sunrpc/svc_authux.c: Don't use *long pointers.
11153         * sunrpc/svcauth_des.c: Likewise + security fixes.
11154         * sunrpc/xdr_mem.c: Don't use *long pointers.
11155         * sunrpc/xdr_rec.c: Likewise.
11156         * sunrpc/xdr_sizeof.c: Likewise.
11157         * sunrpc/xdr_stdio.c: Likewise.
11158
11159 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11160
11161         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11162         so that it is redone for each sending.
11163
11164 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11165
11166         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11167
11168 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11169
11170         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11171         known to not exist don't try to load shared objects.
11172         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11173
11174         * nscd/cache.c (prune_cache): The table might not be unused.  In
11175         this case do nothing.
11176
11177         * catgets/gencat.c (read_input_file): Don't drop white spaces
11178         between number/identifier and string.
11179         Patch by Dima Barsky <dima@pwd.hp.com>.
11180         If no white space at all follows number/identifier remove existing
11181         message with the number/identifier.
11182
11183 1999-04-14  H.J. Lu  <hjl@gnu.org>
11184
11185         * sunrpc/clnt_udp.c (is_network_up): New function.
11186         (clntudp_call): Call is_network_up () to check if any network
11187         interface is up in case of timeout.
11188
11189 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11190
11191         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11192         * wctype/Makefile (tests): Add test_wcfuncs.
11193
11194 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
11195
11196         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11197         architectures.
11198         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11199         instead of CFLAGS.
11200         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11201         instead of CFLAGS. For gnulib and string directories use
11202         -Wa,-Av9a gcc ASFLAGS.
11203         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11204         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11205         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11206         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11207         the same way as sparc-*.
11208
11209 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
11210
11211         * locale/programs/locfile.c (locfile_read): Fix typo.
11212         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11213
11214 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
11215
11216         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11217         restarted after being interrupted by a signal.  The parameters on
11218         the stack were corrupted by the signal handler.
11219
11220         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11221         restarted after being interrupted by a signal.  The parameters on
11222         the stack were corrupted by the signal handler.
11223
11224 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11225
11226         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11227         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11228
11229 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
11230
11231         * posix/wordexp-test.c: In field-splitting test cases where
11232         subshells were involved, unset IFS first: some shells (ash) use
11233         IFS even when no expansion is performed.
11234
11235 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11236
11237         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11238         the real end of the chunk, not some random point inbetween.
11239         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
11240         obstack when growing.  Use fast version of obstack_blank when
11241         shrinking.
11242         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11243         allocating the vtable pointer.
11244         (_IO_obstack_vprintf): Adjust for above change and avoid
11245         unnecessary casts.  Use fast version of obstack_blank when
11246         shrinking.
11247         Fixes PR libc/1075.
11248
11249 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
11250
11251         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
11252         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11253
11254 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
11255
11256         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11257         is seen, as well as fixing semantics.  Don't reset the word count
11258         to zero when an invalid character is seen, but leave it as it was
11259         (this makes a difference with WRDE_APPEND).
11260
11261         * posix/wordexp-test.c: More test cases.
11262
11263         * posix/wordexp.c (parse_param): In words like ${var#pattern},
11264         always expand pattern when it is needed.  Also, handle quoting in
11265         pattern properly.
11266
11267 1999-04-12  Philip Blundell  <philb@gnu.org>
11268
11269         * elf/elf.h: Update ARM definitions to match current gas2.
11270
11271         * sysdeps/arm/bits/endian.h: Support big endian operation.
11272
11273         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11274         Don't bother range checking the port number.
11275
11276         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11277
11278         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11279         the syscall name in assembler output for ease of debugging.
11280
11281         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11282         compiler behaviour.
11283         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11284         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11285         (sysdep_routines): Add sigrestorer.
11286
11287         * string/tester.c (test_strcpy): Add new tests for unaligned
11288         arguments.
11289         * sysdeps/arm/bits/string.h: Delete inline implementations of
11290         strcpy and stpcpy.
11291
11292 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
11293
11294         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11295
11296 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
11297
11298         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11299
11300 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11301
11302         * iconvdata/Makefile (modules): Add TIS-620.
11303         (distribute): Add tis-620.c.
11304         (gen-8bit-gap-modules): tis-620.
11305         * iconvdata/tis-620.c: New file.
11306         * iconvdata/gconv-modules: Add TIS-620 entries.
11307
11308         * iconvdata/asmo_449.c: Correct comment.
11309
11310 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11311
11312         * manual/install.texi (Configuring and compiling): Comment out
11313         description of --disable-static since this doesn't work currently
11314         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11315
11316 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11317
11318         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11319         use binary search.
11320         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11321
11322 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11323
11324         * scripts/test-installation.pl (installation_problem): Skip
11325         libnss1_* libraries from glibc-compat add-on.
11326
11327 1999-04-07  H.J. Lu  <hjl@gnu.org>
11328
11329         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11330         libstdc++ 2.7.2.
11331         * posix/Versions (__waitpid): Likewise.
11332
11333 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11334
11335         * manual/install.texi (Reporting Bugs): Add section about reported
11336         bugs and correct email address of glibcbug script.
11337
11338 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
11339
11340         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11341         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11342         xdr_u_longlong_t. Based on patch from Dan Shechter
11343         <damageboy@isdn.net.il>.
11344         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11345         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11346
11347         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11348
11349 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11350
11351         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11352         directly if getdents returns with error set.
11353
11354 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11355
11356         * locale/langinfo.h (THOUSEP): Rename second occurence of
11357         THOUSANDS_SEP to THOUSEP.
11358         Reported by Roman Belenov <roman@nstl.nnov.ru>.
11359
11360 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
11361
11362         * hurd/STATUS: File removed.  Moved items that are still relevant into
11363         TODO list in hurd source.
11364
11365 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11366
11367         * sysdeps/mach/hurd/bits/time.h: New file.
11368         * sysdeps/mach/hurd/getrusage.c: New file.
11369         * sysdeps/mach/hurd/clk_tck.c: New file.
11370         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11371         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11372         (sysdep_routines): Add clk_tck.
11373         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11374         implemented.
11375
11376 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
11377
11378         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11379         (closelog): But instead here.
11380         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11381
11382 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11383
11384         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11385         the source directory.  Fixes PR libc/1059.
11386
11387 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11388
11389         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11390         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11391
11392 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
11393
11394         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11395         * iconvdata/testdata/ISO-8859-14: New file.
11396         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11397         * iconvdata/testdata/ISO-8859-15: New file.
11398         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11399
11400 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11401
11402         * iconvdata/testdata/CP1258: New file.
11403         * iconvdata/testdata/CP1258..UTF8: New file.
11404         * iconvdata/TESTS: Add CP1258 entry.
11405
11406         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11407
11408         * timezone/africa: Update from tzdata1999d.
11409         * timezone/europe: Likewise.
11410         * timezone/northamerica: Likewise.
11411
11412 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
11413
11414         * login/programs/pt_chown.c (main): Save effective user ID before
11415         dropping priviliges and use this to check if the program is
11416         properly installed.
11417
11418 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11419
11420         * iconvdata/testdata/CP1254: Update for charmap changes.
11421         * iconvdata/testdata/CP1254..UTF8: Likewise.
11422         * iconvdata/testdata/CP1255: Likewise.
11423         * iconvdata/testdata/CP1255..UTF8: Likewise.
11424         * iconvdata/testdata/CP1256: Likewise.
11425         * iconvdata/testdata/CP1256..UTF8: Likewise.
11426         * iconvdata/testdata/CP1257: Likewise.
11427         * iconvdata/testdata/CP1257..UTF8: Likewise.
11428
11429         * iconvdata/Makefile (distribute): Remove cp1258.h.
11430         (gen-8bit-gap-modules): Add cp1258.
11431         * iconvdata/cp1258.h: Removed.
11432
11433 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
11434
11435         * timezone/tst-timezone.c (tests): Add more cases.
11436         (check_tzvars): Mark errors clearer.
11437         (main): Likewise.
11438
11439 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11440
11441         * login/programs/pt_chown.c: Drop privileges if invoked with
11442         arguments.  Don't close the master pty.
11443
11444 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
11445
11446         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11447         Minor optimization.
11448
11449 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
11450
11451         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11452         relocation for SUID binaries.
11453
11454 1999-03-29  Paul Eggert  <eggert@twinsun.com>
11455
11456         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11457         while in child process.
11458
11459 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
11460
11461         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11462         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11463         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11464         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11465         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11466
11467         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11468         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11469         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11470         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11471         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11472         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11473         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11474         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11475         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11476         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11477         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11478         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11479         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11480         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11481         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11482         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11483         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11484         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11485         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11486         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11487         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11488         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11489         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11490         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11491         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11492         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11493
11494         * sysdeps/sparc/sparc32/bcopy.c: New file.
11495         * sysdeps/sparc/sparc32/bzero.c: New file.
11496         * sysdeps/sparc/sparc32/memchr.S: New file.
11497         * sysdeps/sparc/sparc32/memcpy.S: New file.
11498         * sysdeps/sparc/sparc32/memmove.c: New file.
11499         * sysdeps/sparc/sparc32/memset.S: New file.
11500         * sysdeps/sparc/sparc32/stpcpy.S: New file.
11501         * sysdeps/sparc/sparc32/strchr.S: New file.
11502         * sysdeps/sparc/sparc32/strrchr.c: New file.
11503         * sysdeps/sparc/sparc32/strcpy.S: New file.
11504         * sysdeps/sparc/sparc32/strlen.S: New file.
11505         * sysdeps/sparc/sparc32/strcat.S: New file.
11506         * sysdeps/sparc/sparc32/strcmp.S: New file.
11507
11508         * sysdeps/sparc/sparc64/bcopy.c: New file.
11509         * sysdeps/sparc/sparc64/bzero.c: New file.
11510         * sysdeps/sparc/sparc64/memchr.S: New file.
11511         * sysdeps/sparc/sparc64/memcmp.S: New file.
11512         * sysdeps/sparc/sparc64/memcpy.S: New file.
11513         * sysdeps/sparc/sparc64/memset.S: New file.
11514         * sysdeps/sparc/sparc64/stpcpy.S: New file.
11515         * sysdeps/sparc/sparc64/strcat.S: New file.
11516         * sysdeps/sparc/sparc64/strchr.S: New file.
11517         * sysdeps/sparc/sparc64/strcmp.S: New file.
11518         * sysdeps/sparc/sparc64/strcpy.S: New file.
11519         * sysdeps/sparc/sparc64/strcspn.S: New file.
11520         * sysdeps/sparc/sparc64/strlen.S: New file.
11521         * sysdeps/sparc/sparc64/strncpy.S: New file.
11522         * sysdeps/sparc/sparc64/strpbrk.S: New file.
11523         * sysdeps/sparc/sparc64/strrchr.c: New file.
11524         * sysdeps/sparc/sparc64/strspn.S: New file.
11525         * sysdeps/sparc/sparc64/stpncpy.S: New file.
11526         * sysdeps/sparc/sparc64/strncmp.S: New file.
11527
11528         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11529         Append -fPIC, don't replace.
11530
11531         * configure.in: Recognize sparcv8plus / sparcv9.
11532
11533 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11534
11535         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11536         char * to avoid C++ warning.
11537         Patch by yasushi@cs.washington.edu [PR libc/1035].
11538
11539 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11540
11541         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11542         declared in stdlib.h, correct return value of mkstemp.
11543         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11544
11545         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11546         from Linux 2.2.5.
11547
11548 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11549
11550         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11551         C++ warning.
11552
11553         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11554         inline functions.  Closes PR libc/1049.
11555
11556 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11557
11558         * timezone/README: Update from tzdata1999c and tzcode1999c.
11559
11560         * timezone/africa: Update from tzdata1999c.
11561         * timezone/antarctica: Likewise.
11562         * timezone/asia: Likewise.
11563         * timezone/australasia: Likewise.
11564         * timezone/europe: Likewise.
11565         * timezone/northamerica: Likewise.
11566         * timezone/southamerica: Likewise.
11567         * timezone/zone.tab: Likewise.
11568
11569         * timezone/zic.c: Update from tzcode1999c.
11570
11571 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11572
11573         * Makerules: Add $(common-objpfx)Versions.all to common-generated
11574         outside of ifndef avoid-generated.
11575
11576         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11577         in iofdopen.c.
11578         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11579         iofopen.c.
11580         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11581         in iofclose.c.
11582         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11583         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11584
11585 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11586
11587         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11588         if we build the profiled library.
11589
11590 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11591
11592         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
11593         Jaeger <aj@arthur.rhein-neckar.de>
11594
11595 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
11596
11597         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11598         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11599         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11600
11601 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
11602
11603         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11604         works properly in subdirs.
11605
11606 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
11607
11608         * sysdeps/mach/hurd/Makefile: Undo last change.
11609         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11610         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11611
11612         * mach/Machrules (+preinit, +postinit, +interp,
11613         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
11614         linked just like other shared libraries.
11615         (interface.so): Fix typo in defn, so it works.
11616         ($(objpfx)$(interface.so)): Make it depend on libc.so.
11617
11618 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
11619
11620         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11621         $(link-rpcuserlibs).
11622
11623 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11624
11625         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11626         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11627         targets if not building shared libraries.
11628
11629 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11630
11631         * configure.in: Also look in $PATH when searching for
11632         install-info.  Remove autoconf bug workaround and require autoconf
11633         2.13.
11634
11635 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11636
11637         * db/Makefile: Don't try to install shared library link if not
11638         building with shared libs.
11639
11640 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11641
11642         * rt/Makefile: Link against static library if no shared lib is
11643         available.
11644
11645         * localedata/Makefile: The shells scripts implementing the test
11646         require the dynamic linker which is not available with
11647         --disable-shared.  Skip the test if --disable-shared is given.
11648
11649         * linuxthreads/Makefile: Link test against static libpthread if no
11650         shared lib is available.
11651
11652         * iconvdata/Makefile (tests): Run iconv-test only if we're
11653         building shared libraries.
11654         * elf/Makefile (tests): Likewise for elf tests.
11655
11656         * posix/Makefile: The test frameworks globtest and wordexp-test
11657         require the dynamic linker which is not available with
11658         --disable-shared.  Skip the test if --disable-shared is given.
11659
11660         * grp/Makefile (otherlibs): For static nss build link against
11661         necessary libs.
11662
11663 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11664
11665         * debug/Makefile (install-bin): Install and build catchsegv only
11666         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
11667         libc/965].
11668
11669 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11670
11671         * time/tzfile.c (__tzfile_read): Handle the case where there are
11672         transitions but no DST.
11673
11674 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
11675
11676         * mach/Machrules (extra-libs-others): Add $(interface-library) here
11677         too, so it gets built in the others pass rather than the lib pass.
11678         This is necessary since the RPC libraries need to be linked against
11679         libc.
11680
11681 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
11682
11683         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11684         _itoa_word decl.
11685
11686         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11687         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11688         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11689         versions of lib{mach,hurd}user.so without reference to libc.so,
11690         then link libc.so against that to get deps and symbol versions, then
11691         finally link real lib*user.so against libc.so.
11692
11693         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11694         Support whole-file locking (only) by using the file_lock RPC.  This
11695         has very wrong semantics, but is better than nothing for the time
11696         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
11697         protocols that will be somewhat hairy to specify.)
11698
11699 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
11700
11701         * sysdeps/mach/hurd/ptsname.c: New file.
11702
11703 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11704
11705         * timezone/asia: Fix rule in Asia/Nicosia entry.
11706
11707 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11708
11709         * manual/getopt.texi (Using Getopt): Explain "::" in option
11710         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
11711
11712 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
11713
11714         * sunrpc/clnt_unix.c: Fix creation of parameters for
11715         sendmsg/recvmsg on non intel platforms.
11716         * sunrpc/svc_unix.c: Likewise.
11717
11718 1999-03-18  Philip Blundell  <philb@gnu.org>
11719
11720         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
11721         implementation.
11722
11723 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11724
11725         * timezone/africa: Update from tzdata1999b.
11726         * timezone/asia: Likewise.
11727         * timezone/australasia: Likewise.
11728         * timezone/europe: Likewise.
11729         * timezone/northamerica: Likewise.
11730         * timezone/southamerica: Likewise.
11731         * timezone/zone.tab: Likewise.
11732
11733         * timezone/README: Mention tzdata1999b.
11734
11735 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
11736
11737         * sysdeps/generic/segfault.c (write_strsignal): New function.
11738         (catch_segfault): Use it instead of calling strsignal.
11739
11740 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11741
11742         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11743         char to avoid warning.
11744
11745 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11746
11747         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11748
11749         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11750         outbuf to unsigned char to avoid warning.
11751
11752 1999-03-11  David S. Miller  <davem@redhat.com>
11753
11754         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11755         masks.
11756         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11757
11758 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11759
11760         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11761         `unsigned char'.
11762         (gconv_step_data): Likewise.
11763         * iconv/gconv_int.h (__gconv): Likewise.
11764         (__BUILINT_TRANS): Likewise.
11765         * iconv/gconv.c (__gconv): Likewise.
11766         * iconv/iconv.c (iconv): Add casts for call of __gconv.
11767         * iconv/skeleton.c: Change local parameters and variable from `char' to
11768         `unsigned char'.  Remove casts from calls into modules.
11769         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11770         `char' to `unsigned char'.
11771         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11772         * wcsmbs/mbrtowc.c: Likewise.
11773         * wcsmbs/mbsnrtowcs.c: Likewise.
11774         * wcsmbs/mbsrtowcs.c: Likewise.
11775         * wcsmbs/wcrtomb.c: Likewise.
11776         * wcsmbs/wcsnrtombs.c: Likewise.
11777         * wcsmbs/wcsrtombs.c: Likewise.
11778         * wcsmbs/wctob.c: Likewise.
11779
11780 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11781
11782         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11783         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11784         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11785         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11786         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11787         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11788
11789 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11790
11791         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11792         _hurd_select if TIMEMOUT is -1.
11793
11794 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11795
11796         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11797
11798 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11799
11800         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11801         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11802
11803 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11804
11805         * manual/libc.texinfo: Undo last change for now.
11806
11807 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11808
11809         * intl/locale.alias: Add entries for Croatian.
11810         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11811
11812 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
11813
11814         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11815         if the opened master pty really is a pty.  `isatty' checks for
11816         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
11817         if we are out of pty's.
11818
11819 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
11820
11821         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11822         opened file is closed on exec.
11823         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11824         opened socket.
11825
11826 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11827
11828         * manual/llio.texi (File Position Primitive): Reformat @end
11829         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11830
11831 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
11832
11833         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11834         entry is found.
11835         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11836         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11837
11838         * locale/programs/localedef.c (main): Initialize `cat' to please
11839         the compiler.
11840
11841 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
11842
11843         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11844         check for root-owned symlinks and reject them too.
11845
11846 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11847
11848         * stdio-common/printf_fphex.c: Move to ...
11849         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
11850         extended precision number.
11851         * sysdeps/m68k/printf_fphex.c: New file.
11852
11853 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11854
11855         * manual/stdio.texi: Fix typos.
11856
11857 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
11858
11859         * version.h (VERSION): Bump to 2.1.1.
11860
11861 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
11862
11863         * nis/ypclnt.c: Try only twice to connect to NIS server.
11864
11865 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11866
11867         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11868
11869 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11870
11871         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11872         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
11873         * stdlib/strtold.c: Moved to ...
11874         * sysdeps/generic/strtold.c: ... here.
11875         * sysdeps/m68k/strtold.c: New file.
11876
11877 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11878
11879         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11880         point if the precision is zero, even if the mantissa is non-zero.
11881
11882 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11883
11884         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11885         arguments into the request message buffer inside `send_rpc'
11886         subfunction.  We must repeat the marshalling when retrying the RPC
11887         after a SIGTTOU delivery.
11888
11889         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11890         path when there is no ctty port.
11891         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11892         Move sigstate check inside loop so we recheck after handling a signal.
11893
11894 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11895
11896         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11897         O_EXLOCK are BSD extensions.
11898         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11899
11900 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
11901
11902         * manual/signal.texi (Termination in Handler): Correct example.
11903         Install default handler before reraising the signal.
11904         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11905
11906 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
11907
11908         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11909         null, in which case send an empty string.
11910
11911 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
11912
11913         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11914         backward compatibility EH functions to be linked when using
11915         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11916
11917 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11918
11919         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11920         /dev/pts status may change during runtime.
11921
11922 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11923
11924         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11925         change.  /dev/pts status can change during runtime.
11926
11927 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
11928
11929         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11930         poll reports error.
11931         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11932         add some more sanity checks.
11933         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11934         parser prototype.
11935
11936 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
11937
11938         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11939         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11940         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11941         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11942         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11943         for x_getint32.
11944         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11945         * nis/nis_print.c: Fix ctime argument for platforms where
11946         sizeof (time_t) != sizeof (int).
11947
11948 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
11949
11950         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11951         CLOCKS_PER_SEC instead of CLK_TCK.
11952
11953 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
11954
11955         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11956         whether /dev/pts is available.
11957         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11958         dev_pts_available.
11959
11960         * posix/globtest.sh: Make common_objpfx path absolute and and db2
11961         and hesiod directory to library path [PR libc/1007].
11962
11963 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11964
11965         * resolv/inet_addr.c (inet_aton): Don't allow componets >
11966         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11967
11968 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
11969
11970         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11971         DT_PLTGOT has already been relocated.
11972         (__elf_machine_fixup_plt): Likewise.
11973         Minor cleanups.
11974
11975 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
11976
11977         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11978
11979 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
11980
11981         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11982         and fold string to uppercase [PR libc/1005].
11983
11984 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11985
11986         * elf/dl-load.c (lose): Fix return type.
11987
11988 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
11989
11990         * sysdeps/mach/hurd/bits/fcntl.h
11991         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11992         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11993         set O_NOTRANS as well.
11994         (__hurd_file_name_lookup_retry): At successful end of lookup,
11995         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11996         it is a translated node not owned by root.
11997         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11998         on the file name passed to LOOKUP.
11999
12000 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
12001
12002         * manual/time.texi (High Resolution Timer): Correct computation in
12003         example.  Reported by jjf@devel.cemsys.com.
12004
12005 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
12006
12007         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12008         entry is already relocated.
12009
12010 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12011
12012         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
12013         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12014
12015 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12016
12017         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12018         uc_link which is the right name according to Unix98.
12019         Reported by Craig Metz [PR libc/1001].
12020         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12021         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12022         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12023         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12024         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12025         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12026
12027 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12028
12029         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12030         @ifinfo.
12031
12032 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12033
12034         * iconvdata/Makefile: Always include iconv-rules, but disable rule
12035         to regenerate it if avoid-generated.
12036
12037         * Makeconfig: Always include sys-dirs, but disable rule to
12038         regenerate it when avoid-generated.
12039
12040         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12041         rule to generate sysd-syscalls.
12042
12043         * elf/Makefile (generated): Remove $(objpfx) from names.
12044
12045 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
12046
12047         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12048         actual length if the adress length is smaller than the input
12049         value.  Change type of *LEN paramater to socklen_t.
12050         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12051         * sysdeps/mach/hurd/accept.c (accept): Likewise.
12052         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12053         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12054         paramater to socklen_t.
12055
12056 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
12057
12058         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12059         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12060         with the RPC.
12061
12062 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12063
12064         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12065         __get_phys_pages): Cast &HBI to silence warning.
12066
12067         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12068         * hurd/hurdchdir.c: New file.
12069         * hurd/hurdfchdir.c: New file.
12070         * sysdeps/mach/hurd/chroot.c: Call
12071         _hurd_change_directory_port_from_name to do the work.
12072         * sysdeps/mach/hurd/chdir.c: Likewise.
12073         * sysdeps/mach/hurd/fchdir.c: Call
12074         _hurd_change_directory_port_from_fd to do the work.
12075         * hurd/fchroot.c: Likewise.
12076         * hurd/hurd.h: Declare them.
12077
12078 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
12079
12080         * elf/dl-load.c (lose): Add more comments to explain the `why'.
12081         (_dl_map_object): Remove redundant test.
12082
12083 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12084
12085         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12086         try to _hurd_port_free a lower-numbered descriptor that was not in any
12087         fd_set.
12088
12089 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12090
12091         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12092         declaration for ____wcstod_l_internal.
12093
12094         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12095         __strtod_internal prototype.
12096         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12097         (____strtold_l_internal): Add prototype declaration.
12098         (__strtold_l): Call correct function.
12099
12100 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
12101
12102         * elf/elf.h: Add 32bit HPPA definitions.
12103
12104 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12105
12106         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12107         non-checked heap is restored when malloc checking was requested by
12108         the user.
12109         (struct malloc_state): Add using_malloc_checking.
12110         (MALLOC_STATE_VERSION): Increment minor.
12111         (using_malloc_checking, disallow_malloc_check): New variables.
12112         (__malloc_check_init): Use them.
12113         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12114         that it can the chunk is properly instrumented when malloc
12115         checking is enabled.  Set the new using_malloc_checking field.
12116         (malloc_hook_ini): Correct signature when _LIBC is not defined.
12117
12118 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12119
12120         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12121         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12122         time.
12123
12124         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12125         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12126         if ld.so is the main program.
12127
12128 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
12129
12130         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12131         large for work_buffer, allocate new buffer.
12132         (printf_unknown): Likewise.  [PR libc/988]
12133
12134 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12135
12136         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12137         instead of stat and fstat.
12138         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12139
12140 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12141
12142         * elf/dl-error.c (_dl_signal_cerror): New function.
12143         (_dl_signal_error): Don't call receiver function.
12144         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12145         instead of _dl_signal_error when reporting references to undefined
12146         symbols or versions.
12147         (_dl_lookup_versioned_symbol): Likewise.
12148         (_dl_lookup_versioned_symbol_skip): Likewise.
12149         * elf/dl-version.c (match_symbol): Likewise.
12150
12151         * elf/ldsodefs.h: Declare _dl_signal_cerror.
12152
12153 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12154
12155         * misc/getttyent.c (getttyent): Release lock on stream later to
12156         also protect global variable zapchar.
12157
12158         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12159         __times [PR libc/990].
12160
12161 1999-02-21  David S. Miller  <davem@redhat.com>
12162
12163         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12164         parentheses in Feb 2 changes.
12165         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12166
12167 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12168
12169         * sysdeps/generic/glob.c (glob): Save previous errno.
12170
12171 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
12172
12173         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12174         lookup functions if it is too small.
12175
12176 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
12177
12178         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12179         for tracing to the scope lists.
12180         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12181         DT_SYMTAB is always available according to ELF spec.
12182
12183         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12184         call test whether there is any scope left.
12185         (_dl_lookup_versioned_symbol_skip): Likewise.
12186
12187         * elf/Makefile (distribute): Add do-lookup.h.
12188         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
12189         * elf/dl-lookup.c: Move do_lookup function in separate file and
12190         include the file twice, for handling versioning and without it.
12191
12192         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12193         entry is already relocated.
12194         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12195         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12196         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12197         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12198         Likewise.
12199         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12200         Likewise.
12201         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12202         Likewise.
12203
12204         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12205         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12206         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12207         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12208         rel and rela relocations can both happen and skip one test if this
12209         is not possible.
12210         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12211         appropriately.
12212         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12213         already relocated.
12214         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12215         relocated.
12216         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12217         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12218         (_dl_map_object): DT_STRTAB entry is already relocated.
12219         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12220         already relocated.
12221         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12222         relocated.
12223         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12224         DT_VERSYM entries are already relocated.
12225         (profile_fixup): Likewise.
12226         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
12227         all users.
12228         (match_symbol): DT_STRTAB entry is already relocated.
12229         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
12230         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12231         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
12232         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12233         (find_needed): DT_STRTAB entry is already relocated.
12234         (dl_main): Pass extra argument to elf_get_dynamic_info.
12235         DT_STRTAB entry is already relocated.
12236         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12237         DT_PLTGOT entries are already relocated.
12238         (elf_machine_rela): Likewise for DT_SYMTAB.
12239         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12240         relocated.
12241         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12242         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12243         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12244         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12245         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12246         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12247         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12248         * sysdeps/mips/mips64/dl-machine.h: Likewise.
12249
12250         * grp/initgroups.c (initgroups): If function in current module was
12251         successful don't stop but continue to process to get all the groups.
12252
12253         * elf/dl-load.c (_dl_map_object_from_fd): Use global
12254         _dl_pf_to_proot array to convert p_flags value.
12255         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12256
12257         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12258         loop to clear `info'.
12259
12260         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12261         do the work and don't use inline assembler.
12262
12263 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
12264
12265         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12266         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12267         noreturn, and prevent it from being inlined.
12268         Define LOSE appropriately.
12269         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12270         Optimize decoding of p_flags for certain platforms.
12271
12272 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
12273
12274         * Makeconfig (link-libc): When doing a static link, make sure that
12275         libgcc.a is included both before and after libc.a.
12276
12277 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
12278
12279         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12280         sp_warn, sp_inact, sp_expire and sp_flag.
12281
12282 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
12283
12284         * elf/link.h (link_map): Add l_dev and l_ino.
12285         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12286         loaded shared object with all loaded objects.  Initialize l_ino
12287         and l_dev in case it's new.
12288         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12289         object.
12290         * elf/Makefile: Compile and run new test.
12291         * elf/multiload.c: New file.
12292
12293         * nss/nsswitch.h (service_user): Change name field from const char *
12294         to char[0].
12295         (name_database_entry): Likewise.
12296         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12297         for change of `service_user'.
12298         (nss_getline): Adjust memory allocation for change of
12299         `name_database_entry'.
12300
12301         * catgets/catgets.c: Correctly handle NLSPATH from environment
12302         [PR libc/980].
12303
12304         * io/Makefile (routines): Add lock64.
12305         * io/Versions: Add lockf64 for GLIBC_2.1.1.
12306         * sysdeps/generic/lockf64.c: New file.
12307
12308 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12309
12310         * string/bits/string2.h: Only use strncmp optimization if count
12311         argument is constant.
12312
12313 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
12314
12315         * sysdeps/mach/hurd/revoke.c: New file.
12316
12317 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12318
12319         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12320         int to avoid warning about `ISO C restricts enumerator values to
12321         range of `int''.
12322
12323 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12324
12325         * elf/dlfcn.h: Fix typo.
12326         * sysdeps/generic/bits/dlfcn.h: Likewise.
12327         * sysdeps/mips/bits/dlfcn.h: Likewise.
12328
12329 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12330
12331         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12332         for the case N == 0.
12333
12334         * db2/Makefile (distribute): Add LICENSE.
12335
12336 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
12337
12338         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12339         generated files.
12340
12341         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12342
12343 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12344
12345         * time/mktime.c: Use ISO C form for function definitions and
12346         remove unnecessary prototypes.
12347
12348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12349
12350         * time/time.h: Avoid unneccesary #ifdef.
12351
12352 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
12353
12354         * stdio-common/_itoa.c (_itoa): Correct parameters to
12355         udiv_qrnnd_preinv.
12356
12357 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12358
12359         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12360         before (e.g. in glob.h).
12361         Closes PR libc/959.
12362
12363 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12364
12365         * sysdeps/mips/fpu_control.h: Fix typo.
12366         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12367         Remove __setfpucw.
12368
12369 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
12370
12371         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12372         the "unused" ends of the sockets.  Let pipes be bidirectional.
12373
12374 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12375
12376         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12377         invalid ai_flags.
12378
12379 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12380
12381         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
12382         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12383
12384         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12385         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12386
12387 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12388
12389         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12390
12391 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12392
12393         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
12394         check for priority mask.
12395
12396 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
12397
12398         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12399         Reported by Craig Metz <cmetz@inner.net> .
12400
12401 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12402
12403         * stdio-common/Makefile (tests): tllformat added.
12404
12405         * stdio-common/tllformat.c: New program, based on tiformat.c with
12406         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12407
12408 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12409
12410         * posix/test-vfork.c: Fix exit status test.
12411
12412 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12413
12414         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12415         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12416
12417 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12418
12419         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12420         of separare explicit comparisons.
12421
12422 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12423
12424         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12425         defined.
12426
12427         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12428         defined.
12429
12430 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
12431
12432         * po/el.po: Update from translation team.
12433
12434 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12435
12436         * intl/locale.alias: Fix slovenian entry [PR libc/948].
12437
12438 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12439
12440         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12441         * inet/ruserpass.c: Likewise.
12442         * locale/programs/stringtrans.c: Likewise.
12443         * locale/programs/localedef.c: Likewise.
12444         * nscd/grpcache.c: Likewise.
12445         * nss/nss_files/files-XXX.c: Likewise.
12446         * stdlib/canonicalize.c: Likewise.
12447         * sysdeps/posix/sigwait.c: Likewise.
12448
12449 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12450
12451         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12452         even on 64 bit platforms.
12453
12454         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12455         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12456
12457 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
12458
12459         * intl/dcgettext.c: Include locale.h is available.
12460
12461 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
12462
12463         * po/nl.po: Update from translation team.
12464
12465         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12466
12467         * Makefile: Allow calling goals for po subdir.
12468
12469         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12470         signal definitions.
12471
12472         * po/el.po: New file.
12473
12474 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12475
12476         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12477         when processing DT_SYMBOLIC objects.
12478
12479 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12480
12481         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12482         program headers without PT_PHDR only require that they are
12483         contained within one of the loaded segments.  Don't use assert,
12484         since that would be a bug in the object, not the dynamic linker.
12485
12486 1999-02-08  Richard Henderson  <rth@cygnus.com>
12487
12488         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12489         restore all call-clobbered fp regs.
12490
12491 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
12492
12493         * po/cs.po: New file.
12494
12495         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12496         SUID binaries.
12497
12498 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
12499
12500         * signal/signal.h: Don't declare __libc_allocate_rtsig.
12501         * include/signal.h: Declare __libc_allocate_rtsig here.
12502
12503         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12504         point functions, not do_lookup since the later can be called more
12505         than once.
12506
12507 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
12508
12509         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12510         macro, so that architectures which need to add some special
12511         offset to stack pointer can share this file.
12512
12513         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12514         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12515         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12516         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12517
12518         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12519         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12520         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12521         between sparc32 and sparc64.
12522
12523         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12524         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12525         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12526         between sparc32 and sparc64.
12527
12528         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12529         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12530         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12531         between sparc32 and sparc64.
12532
12533         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12534         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12535         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12536         between sparc32 and sparc64.
12537
12538 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
12539
12540         * Versions.def: New version GLIBC_2.1.1 for libc.
12541         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12542         * stdlib/labs.c: Moved to...
12543         * sysdeps/generic/labs.c: ...here.
12544         * stdlib/llabs.c: Moved to...
12545         * sysdeps/generic/llabs.c: ...here.
12546         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12547         header.  Declare _Exit.
12548         * sysdeps/generic/_exit.c: Add alias _Exit.
12549         * sysdeps/mach/hurd/_exit.c: Likewise.
12550         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12551         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12552         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12553         * sysdeps/unix/_exit.c: Likewise.
12554         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12555         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
12556         * sysdeps/wordsize-64/inttypes.h: Likewise.
12557         * sysdeps/wordsize-32/llabs.c: New file.
12558         * sysdeps/wordsize-32/lldiv.c: New file.
12559         * sysdeps/wordsize-64/labs.c: New file.
12560         * sysdeps/wordsize-64/ldiv.c: New file.
12561         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12562         * manual/startup.texi: Document _Exit.
12563
12564 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12565
12566         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12567
12568 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
12569
12570         * Versions.def: Add versions for ld.so.
12571         * csu/Versions: Remove __libc_stack_end here.
12572         * elf/Versions: Split libc definitions in libc and ld.so definitions.
12573         * elf/Makefile (ld-map): Change to ld.so.map.
12574         * scripts/versions.awk: Recognize dot in library names.
12575
12576         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12577         Don't use __tolower and __toupper in inline functions.
12578         Add optimizing macros for tolower and toupper.
12579         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12580         (_toupper): Don't use __toupper.
12581         * ctype/ctype.c (tolower): Don't use __tolower.
12582         (toupper): Don't use toupper.
12583
12584         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12585
12586         * resolv/Versions (libresolv): Export __ns_name_unpack and
12587         __ns_name_ntop.
12588         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12589         make it global.  Change all users.  Similar for ns_name_ntop.
12590         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12591         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
12592         directly to detect too small buffer.
12593         * resolv/nss_dns/dns-network.c: Likewise.
12594
12595         * stdio-common/Makefile (tests): Add scanf12.
12596         * stdio-common/scanf12.c: New file.
12597         * stdio-common/scanf12.input: New file.
12598         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12599         floating-point correctly if the number is invalid.
12600
12601         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12602         functions.
12603         * stdio-common/printf_fp.c: Likewise.
12604         * stdio-common/printf_fphex.c: Likewise.
12605         * stdio-common/vfprintf.c: Likewise.
12606
12607
12608 See ChangeLog.9 for earlier changes.