1 2000-02-14 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/powerpc/atomicity.h: Remove white space to avoid
6 2000-02-14 Scott Bambrough <scottb@netwinder.org>
8 * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add
9 Rebel-NetWinder to platform table so _ioperm platform lookup via
10 /proc/cpuinfo works on later version NetWinders.
12 2000-02-13 Ulrich Drepper <drepper@redhat.com>
14 * locale/programs/charmap.c (charmap_read): Remove erronous free
17 * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
18 so test for overflow and handle it.
19 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20 * sysdeps/i386/fpu/s_tanf.S: Likewise.
21 Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
23 * iconvdata/Makefile (modules): Add UTF-16.
24 (distribute): Add utf-16.c.
25 * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
27 * iconvdata/utf-16.c: New file.
28 * iconv/gconv_builtin.h: Remove UTF-16 entries here.
29 * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
30 PR libc/1580 and libc/1581.
32 * iconv/skeleton.c: Increment __invocation_counter after every call
35 2000-02-12 Andreas Jaeger <aj@suse.de>
37 * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
38 declaration to place where it's needed to avoid compiler warning.
39 * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
41 2000-02-12 Ulrich Drepper <drepper@redhat.com>
43 * locale/weightwc.h (findidx): Correct find index value.
45 * locale/nl_langinfo.h: Add casts to prevent warnings.
47 * wctype/iswctype_l.c: Use correct types for mapped data.
48 * wctype/wcfuncs.c: Add one more comment for clarification.
49 * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
50 * wctype/wctrans.c: Likewise.
52 2000-02-12 Andreas Jaeger <aj@suse.de>
54 * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
56 (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
57 (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
58 file and make dependend on RESOLVE.
59 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
60 (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
62 2000-02-11 Ulrich Drepper <drepper@redhat.com>
64 * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
66 * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
67 alias for CURRENCY_SYMBOL.
68 * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
69 information. [PR libc/1583].
71 2000-02-08 Shinya Hanataka <hanataka@abyss.rim.or.jp>
73 * locale/weightwc.h: Fix problem with collating-element.
75 * locale/programs/ld-collate.c (collate_finish): Output wide
76 character collating-symbol, which has no wide strings.
78 * locale/programs/ld-collate.c (collate_output): Fix problem with
79 wide character collating-element.
81 2000-02-09 Andreas Jaeger <aj@suse.de>
83 * time/strptime.c (strptime_internal): Fix pointer dereference.
84 Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
87 2000-02-08 Jakub Jelinek <jakub@redhat.com>
89 * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
90 * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
91 * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
92 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
93 shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
94 * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
95 and oldshmctl to sysdep-routines.
97 2000-02-08 Andreas Jaeger <aj@suse.de>
99 * locale/programs/locale.c (write_locales): Fix handling of
101 Fixes PR libc/1588, reported by Miroslav Holcak
102 <miroslav.holcak@vitkovice.cz>.
104 2000-02-07 Thorsten Kukuk <kukuk@suse.de>
106 * config.make.in: Add infodir.
107 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
110 2000-02-11 Ulrich Drepper <drepper@redhat.com>
112 * posix/getopt.c: Suppress messages if first character of
113 optstring is a colon (PR libc/1584).
115 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
116 and elf_* types to interpret values passed up from the kernel.
117 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
119 * locale/nl_langinfo.c: Correct return value in error case. Don't
120 set errno (PR libc/1582).
121 * manual/locale.texi: Update to reflect change.
123 2000-02-02 Andreas Schwab <schwab@suse.de>
125 * malloc/Makefile (distribute): Add memprof.h.
126 * malloc/memprof.c: Move definition of GETSP and GETTIME to new
128 * sysdeps/generic/memprof.h: New file.
129 * sysdeps/alpha/memprof.h: New file.
130 * sysdeps/i386/memprof.h: New file.
131 * sysdeps/m68k/memprof.h: New file.
132 * sysdeps/mips/memprof.h: New file.
133 * sysdeps/powerpc/memprof.h: New file.
134 * sysdeps/sparc/memprof.h: New file.
136 2000-02-01 Jakub Jelinek <jakub@redhat.com>
138 * sysdeps/unix/sysv/linux/getresgid.c: Move...
139 * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
140 (getresgid): Use getresgid32 if __libc_missing_32bit_uids
142 * sysdeps/unix/sysv/linux/getresuid.c: Move...
143 * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
144 (getresuid): Use getresuid32 if __libc_missing_32bit_uids
146 * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
147 __libc_missing_32bit_uids.
148 (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
150 * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
151 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
152 * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
153 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
154 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
155 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
156 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
157 * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
158 * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
159 * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
160 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
161 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
162 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
163 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
164 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
165 * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
166 * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
167 * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
168 * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
169 * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
170 * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
171 * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
172 * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
173 * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
174 * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
175 * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
176 * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
177 * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
178 * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
179 * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
180 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
181 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
182 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
183 * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
184 Make syscall directly, no stubs needed.
185 (getresgid): Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
188 (getresgid): Likewise.
190 2000-02-11 Ulrich Drepper <drepper@redhat.com>
192 * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
193 Reported by Bruno Haible <haible@ilog.fr>.
195 * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
197 * stdio-common/printf_fp.c: Truely support wide characater output.
198 Finally handle decimal points and thousands separator characters
199 correctly for multibyte output.
200 * stdio-common/printf_size.c: Likewise.
201 * sysdeps/generic/printf_fphex.c: Likewise.
202 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
204 * stdio-common/vfscanf.c: Implement I modifier for numbers to read
205 locale dependent digits.
207 * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
208 decimal point and thousands separator values to wide characters from
209 wide character strings.
210 * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
212 * locale/indigitswc.h: Dereference wcdigits array elements.
214 2000-02-03 Jakub Jelinek <jakub@redhat.com>
216 * stdlib/canonicalize.c (canonicalize): Zero terminate
217 path to copy on error.
219 2000-02-01 Cristian Gafton <gafton@redhat.com>
221 * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
223 2000-01-31 Philip Blundell <philb@gnu.org>
225 * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
227 2000-01-31 Andreas Jaeger <aj@suse.de>
229 * intl/Makefile (generated): msgs.h is generated.
231 * localedata/Makefile (generated-dirs): Add de_DE.437.
233 2000-01-31 Jakub Jelinek <jakub@redhat.com>
235 * config.make.in: Allow default localedir to come from configure.
236 * configure.in: Export libc_cv_localedir.
237 * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
238 stuff into $exec_prefix/lib/locale because it can be shared between
239 32bit and 64bit libraries.
240 * configure: Rebuilt.
241 * sysdeps/unix/sysv/linux/configure: Rebuilt.
243 2000-01-31 Andreas Jaeger <aj@suse.de>
245 * inet/tst-network.c: New file.
246 * inet/Makefile (tests): Add tst-network.
248 * inet/inet_net.c (inet_network): Don't overwrite memory or allow
249 to great last digits.
251 2000-02-10 Andreas Jaeger <aj@suse.de>
253 * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
254 Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
256 2000-02-09 Andreas Jaeger <aj@suse.de>
258 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
260 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
262 2000-02-08 Andreas Jaeger <aj@suse.de>
264 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
266 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
269 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
270 c_ispeed and c_ospeed which are not implemented.
272 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
273 for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
274 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
275 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
276 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
278 2000-02-05 Andreas Jaeger <aj@suse.de>
280 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
281 work - set to 4 in accordance with changes made in the Linux/MIPS
282 kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
285 2000-02-04 Andreas Jaeger <aj@suse.de>
287 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
290 2000-02-03 Andreas Jaeger <aj@suse.de>
292 * sysdeps/mips/abort-instr.h: New file.
294 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
296 * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
298 * sysdeps/mips/stackinfo.h: New file.
300 2000-02-01 Andreas Jaeger <aj@suse.de>
302 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
304 * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
306 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
308 * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
309 Baechle <ralf@gnu.org>.
311 * sysdeps/unix/sysv/linux/mips/brk.c: New file.
313 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
315 * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
317 2000-01-31 Andreas Jaeger <aj@suse.de>
319 * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR
322 2000-01-30 Ulrich Drepper <drepper@redhat.com>
324 * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
326 * sysdeps/alpha/fpu/fesetround.c: Likewise.
327 * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
328 * sysdeps/arm/fpu/fesetround.c: Likewise.
329 * sysdeps/generic/feholdexcpt.c: Likewise.
330 * sysdeps/generic/fesetround.c: Likewise.
331 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
332 * sysdeps/i386/fpu/fesetround.c: Likewise.
333 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
334 * sysdeps/m68k/fpu/fesetround.c: Likewise.
335 * sysdeps/mips/fpu/fesetround.c: Likewise.
336 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
337 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
338 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
339 * sysdeps/sparc/fpu/fesetround.c: Likewise.
340 Patch by Miloslav Trmac <mitr@volny.cz>.
342 * locale/programs/ld-collate.c (struct locale_collate_t): Change
343 type of plane_size and plane_cnt to uint32_t.
344 Reported by Jakub Jelinek.
346 2000-01-29 Jakub Jelinek <jakub@redhat.com>
348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
349 (SYSCALL_ERROR_HANDLER): Optimize.
350 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
351 Include linux/sparc/sysdep.h.
352 Use a different guard define than linux/sparc/sysdep.h.
353 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
354 stubs for inlined syscalls.
355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
356 (SYSCALL_ERROR_HANDLER): Optimize.
357 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
358 Include linux/sparc/sysdep.h.
359 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
360 stubs for inlined syscalls.
361 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
363 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
364 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
366 2000-01-29 Ulrich Drepper <drepper@redhat.com>
368 * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty
369 print. Add checks for _POSIX_MMAPPED_FILES where necessary.
370 (_nl_unload_locale): If locale data was mmapped use munmap.
372 2000-01-29 Andreas Jaeger <aj@suse.de>
374 * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
375 _EXTERN_INLINE, compile inline assembler functions only with gcc.
377 2000-01-29 Ulrich Drepper <drepper@redhat.com>
379 * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
380 * catgets/gencat.c (read_input_file): Remove messages correctly.
381 * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
382 adjacent colons correctly. Correct loops to read territory and
384 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
386 * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
388 Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
390 2000-01-28 Jakub Jelinek <jakub@redhat.com>
392 * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
393 interface with symbol version GLIBC_2.2.
394 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
395 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
396 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
397 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
399 2000-01-27 Scott Bambrough <scottb@netwinder.org>
401 * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
403 * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
404 versioning setrlimit and getrlimit.
406 2000-01-27 Andreas Jaeger <aj@suse.de>
408 * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
409 * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
411 2000-01-27 Ruediger Oertel <ro@suse.de>
413 * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
415 2000-01-29 Ulrich Drepper <drepper@redhat.com>
417 * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
418 correct place to avoid uninitialized memory passed to writev.
420 * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
421 long string in definition.Only enable returning wide character
422 strings if really needed.
423 * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
425 * configure.in: Add check for recent enough sed version.
427 2000-01-28 Ulrich Drepper <drepper@redhat.com>
429 * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
430 _i18n_itoa): Fix parameter lists.
432 * locale/C-monetary.c: Add initializers for new fields.
433 * locale/C-numeric.c: Likewise.
434 * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
435 outdigits.h, and outdigitswc.h.
436 * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
437 _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
438 and _NL_NUMERIC_THOUSANDS_SEP_WC.
439 * locale/indigits.h: New file.
440 * locale/indigitswc.h: New file.
441 * locale/outdigits.h: New file.
442 * locale/outdigitswc.h: New file.
443 * locale/programs/ld-monetary.c: Write out decimal point and
444 thousands separator info in wide character form.
445 * locale/programs/ld-numeric.c: Likewise.
446 * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
447 (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
448 * stdio-common/_i18n_itoa.c: New file.
449 * stdio-common/_i18n_itoa.h: New file.
450 * stdio-common/_i18n_itowa.c: New file.
451 * stdio-common/_i18n_itowa.h: New file.
452 * stdio-common/printf-parse.h: Parse 'I' flag.
453 * stdio-common/printf.h (struct printf_info): Add i18n field.
454 * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
457 2000-01-27 Geoff Keating <geoffk@cygnus.com>
459 * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
462 * sysdeps/unix/sysv/linux/kernel-features.h
463 (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
464 __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
467 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
468 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
469 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
470 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
471 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
472 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
473 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
474 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
475 s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
477 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
478 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
480 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
481 __curbrk off the small data area register. Reported by
482 Andrew Haley <aph@pasanda.cygnus.co.uk>.
484 2000-01-26 Andreas Jaeger <aj@suse.de>
486 * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
488 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
490 * locale/Makefile (distribute): Remove nonexisting files.
491 * sysdeps/powerpc/Dist: Move FPU specific files to...
492 * sysdeps/powerpc/fpu/Dist: ...here. New file.
493 * nss/Makefile: Distribute files for new libdb interface.
494 * math/Makefile (distribute): Add README.libm-test.
495 Patch by Andreas Jaeger.
497 2000-01-26 David McCann <david.mccann@alcatel.at>
499 * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
501 2000-01-25 Andreas Jaeger <aj@suse.de>
503 * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
504 version check since we're using cpp.
506 2000-01-26 Jakub Jelinek <jakub@redhat.com>
508 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
511 2000-01-26 Andreas Jaeger <aj@suse.de>
513 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
514 about unitialised variable kbuf.
515 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
516 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
518 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
520 * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
522 (collate_read): Remove unnecessary `if'.
524 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
526 * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
527 and load appropriate conversions.
528 * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
530 * libio/libioP.h: Declare __libio_codecvt.
531 * manual/stdio.texi: Document ,ccs= option for fopen.
532 * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
533 * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
535 * libio/iofclose.c: Free conversion data if stream was wide-oriented.
537 * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
539 * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
541 * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
542 * posix/testfnm.c: Add a few more tests. Rearrange test output.
544 2000-01-25 Andreas Schwab <schwab@suse.de>
546 * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of
547 FNM_FILE_NAME consistently.
549 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
551 * posix/fnmatch.c: Define STRCOLL appropriately for the loop
553 * posix/fnmatch_loop.c: Undefine STRCOLL.
555 * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
556 kernels with stat64 support.
557 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
558 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
559 Patch by SL Baur <steve@xemacs.org>.
561 * string/strxfrm.c: Don't count in the terminating NUL byte/word.
563 2000-01-24 Paul Eggert <eggert@twinsun.com>
565 * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
566 deciding whether a character falls within a character range.
568 2000-01-24 Paul Eggert <eggert@twinsun.com>
570 * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
573 2000-01-24 Thorsten Kukuk <kukuk@suse.de>
575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
577 2000-01-23 Paul Eggert <eggert@twinsun.com>
579 * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
581 2000-01-23 Paul Eggert <eggert@twinsun.com>
583 * posix/regex.c (compile_range): When matching a character
584 range, use the current collating sequence, as POSIX requires.
586 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
588 * string/argz-stringify.c: Handle case of missing \0 at the end of
591 2000-01-24 Ulrich Drepper <drepper@cygnus.com>
593 * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
596 * locale/programs/ld-collate.c (collate_output): Also handle
597 IGNOREd characters in the simple way when generating the multibyte
600 * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
602 (ctype_finish): ...here. Check for missing codeset name.
604 * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
605 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
607 2000-01-24 Jakub Jelinek <jakub@redhat.com>
609 * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
610 * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
611 * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
612 * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h.
613 * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
614 * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h.
615 * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
616 * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h.
617 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
618 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
619 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
620 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
621 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
622 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
623 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
624 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
625 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
626 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
627 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
628 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
629 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
630 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
631 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
632 * sysdeps/unix/sysv/linux/semget.c: Likewise.
633 * sysdeps/unix/sysv/linux/semop.c: Likewise.
634 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
635 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
636 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
638 2000-01-24 Jakub Jelinek <jakub@redhat.com>
640 * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
641 * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
642 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
643 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
644 * sysdeps/unix/sysv/linux/arm/Versions: Remove
645 setrlimit64@GLIBC_2.1.3.
646 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
647 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
648 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
649 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
650 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
651 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
652 so that setrlimit64@GLIBC_2.1 can report limits above 2G.
653 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
654 setrlimit): Remove syscall stubs, add normal syscalls.
655 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
658 2000-01-22 Andreas Jaeger <aj@suse.de>
660 * localedata/tst-locale.sh: Enable test for de_DE.437.
662 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
664 * string/Versions: Export __strndup.
666 2000-01-23 Philip Blundell <philb@gnu.org>
668 Add basic support for RPC over IPv6:
669 * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
671 (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
673 * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
674 clntudp6_bufcreate): New prototypes.
675 * inet/netinet/in.h (bindresport6): Likewise.
676 * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
677 * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
678 svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
679 bindresvport6 for GLIBC_2.2.
680 * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
681 * sunrpc/rpc_svcout.c: Likewise.
682 * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
683 simple assignment when copying addresses.
684 * sunrpc/svc_udp.c (cache_get): Likewise.
685 * sunrpc/svc_unix.c (rendezvous_request): Likewise.
686 * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
687 sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
689 2000-01-05 Philip Blundell <philb@gnu.org>
691 * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
693 2000-01-23 Andreas Jaeger <aj@suse.de>
695 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
696 parameter to fstat calls.
698 2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
700 * sysdeps/generic/bits/socket.h
701 (__ss_aligntype, struct sockaddr_storage): Make these like Linux
702 version, replacing old type name `__ss_align'.
704 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
706 * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
707 (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
708 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
709 (__lseek, lseek): Make these weak aliases for __libc_lseek.
710 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
711 (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
712 * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
713 (__open, open): Make these weak aliases for __libc_open.
715 * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
717 (anonymous enum for MSG_*): Likewise.
718 (anonymous enum for SO_*): Likewise.
720 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
722 * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
725 2000-01-08 Mark Kettenis <kettenis@gnu.org>
727 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
728 (setitimer_locked): Use it to quantize the timer values. Use
729 quantized timer values to check if the timeout changed.
731 2000-01-22 Andreas Jaeger <aj@suse.de>
733 * sunrpc/rpc/svc.h: Fix description for svc_register.
735 2000-01-23 Mark Kettenis <kettenis@gnu.org>
737 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
739 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
741 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
742 fixes part 2 of bug 1549.
743 * sunrpc/rpc_des.h: Remove unused defines.
745 2000-01-22 Mark Kettenis <kettenis@gnu.org>
747 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
749 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
752 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
753 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
754 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
755 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
756 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
757 and other inline functions for port access.
758 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
761 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
763 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
764 Patch by Bruno Haible <haible@ilog.fr>.
766 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
768 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
769 them all at the end, eliding the final comma.
770 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
772 2000-01-21 Ulrich Drepper <drepper@cygnus.com>
774 * intl/libintl.h: Add format_arg attributes to declarations of new
777 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
778 ngettext, and plural.
779 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
780 (test-srcs): Add tst-gettext.
781 (before-compile): Add $(objpfx)msgs.h.
782 Add rules for plural.c and msgs.h generation and running tst-gettext.\
783 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
785 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
786 dcigettext with appropriate parameters.
787 * intl/dcigettext.c: New file.
788 * intl/dcngettext.c: New file.
789 * intl/dngettext.c: New file.
790 * intl/ngettext.c: New file.
791 * intl/gettextP.h (struct expression): Define.
792 (struct loaded_domain): Add plural and nplurals members.
793 Add prototypes for new internal functions.
794 * intl/libintl.h: Declare new functions. Add optimizations for them.
795 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
796 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
797 header entry and parse and store the expression.
798 * intl/plural.y: New file.
799 * intl/po2test.sed: New file.
800 * intl/tst-gettext.c: New file.
801 * intl/tst-gettext.sh: New file.
802 * manual/message.texi: Document new interfaces.
804 * intl/gettext.c: Call __dcgettext directly.
806 2000-01-20 Ulrich Drepper <drepper@cygnus.com>
808 * manual/getopt.texi (Using the getopt function): Fix description of
809 return value for format string starting with '-' (PR libc/1551).
810 Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
812 * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
813 Patch by jens.moeller@westgeo.com (PR libc/1550).
815 * locale/programs/ld-collate.c (struct element_t): Add wclast
816 and compute it where necessary.
817 (collate_output): Insert indirect references in the right order.
819 * math/Makefile (tests): Add test-misc.
820 * math/test-misc.c: New file.
822 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
824 * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
825 with exponent >31 and < 63 (PR libc/1548).
827 * locale/programs/ld-collate.c (output_weightwc): Return index
828 measured in words, not bytes. Don't write out words for ignored
830 (collate_output): Correct various problems with alignment in the
832 * locale/weight.h: Adjust for last change in ld-collate.c of adding
835 * stdlib/strfmon.c: Don't report an error if final NUL is at the
836 end of the buffer. Set errno correctly if floating-point number
837 would overflow buffer.
839 * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
841 * locale/weight.h (findidx): Little optimization. Correctly return
842 offset in indirect table.
843 * locale/programs/ld-collate.c (struct element_t): Add mblast
844 and compute it where necessary.
845 (insert_weights): Correctly handle missing weights in ellipsis
847 (handle_ellipsis): Correctly enqueue new element.
848 (collate_output): Insert indirect references in the right order.
850 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
852 * wcsmbs/mbrtowc.c: Create temporary state object if no output is
854 * wcsmbs/mbsrtowcs.c: Likewise.
855 * wcsmbs/wcrtomb.c: Likewise.
856 * wcsmbs/wcsrtombs.c: Likewise.
858 * wcsmbs/wcrtomb.c: Compute result correctly for successful call
861 * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
864 * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
865 incomplete but correct.
867 * locale/programs/charmap.c: NUL-terminate names of generated
868 entries for ellipsis.
870 2000-01-18 Andreas Jaeger <aj@suse.de>
872 * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
873 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
874 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
875 _STAT_VER_KERNEL handling up; don't save errno.
876 * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
877 * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
878 * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
879 * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
880 * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
881 * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
882 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
883 * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
884 * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
886 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
888 * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
889 Remove done variable and all uses.
890 * iconv/skeleton.c: Update comment for *written modification.
891 * iconv/gconv_int.h (__gconv): Update comment.
892 Reported by Bruno Haible.
894 2000-01-18 Bruno Haible <haible@ilog.fr>
896 * posix/fnmatch.c (ISWCTYPE): New macro.
897 (__wcschrnul): New function.
898 (BTOWC): New macro. Define it instead of __btowc.
899 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
900 wcsrtombs. Call wctype, not __wctype.
901 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
902 BTOWC instead of __btowc.
904 2000-01-18 Andreas Jaeger <aj@suse.de>
906 * inet/Versions: Add new functions added on 2000-01-17.
908 2000-01-18 Jakub Jelinek <jakub@redhat.com>
910 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
912 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
914 * timezone/antarctica: Update from tzdata2000a.
915 * timezone/asia: Likewise.
916 * timezone/australasia: Likewise.
917 * timezone/backward: Likewise.
918 * timezone/northamerica: Likewise.
919 * timezone/southamerica: Likewise.
920 * timezone/zone.tab: Likewise.
922 * nscd/connections.c (dbs): Use
923 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
926 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
927 address. Suggested by Philip Blundell.
929 * posix/TESTS: Fix expected result for test cases with * with no
932 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
933 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
934 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
935 open call would require read permission.
936 Patch by James Antill <james@and.org>.
938 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
940 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
941 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
942 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
944 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
945 * posix/regex.c (regex_compile): Return appropriate errors for
946 unterminated brace expressions. Detect invalid characters
947 in brace expressions.
948 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
949 * sysdeps/posix/sysconf.c: Include regex.h.
950 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
952 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
954 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
955 AI_NUMERICHOST flag is set, return an error.
956 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
958 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
960 * inet/rexec.c: Implement rexec_af.
961 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
963 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
966 2000-01-17 Jakub Jelinek <jakub@redhat.com>
968 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
969 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
970 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
971 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
972 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
973 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
974 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
975 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
976 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
977 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
978 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
979 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
981 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
983 (__new_msgctl): New function.
984 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
986 (__new_semctl): New function.
987 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
989 (__new_shmctl): New function.
991 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
992 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
993 * sysdeps/unix/sysv/linux/semget.c: Likewise.
994 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
995 * sysdeps/unix/sysv/linux/semop.c: Likewise.
996 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
997 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
998 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1002 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1004 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1006 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1008 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1009 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1010 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1011 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1012 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1015 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1016 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1018 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1019 available on sparc since 2.3.39.
1021 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1023 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1025 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1027 (__real_chown): Return EINVAL if owner or group are out of the range
1029 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1030 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1031 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1032 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1033 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1034 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1035 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1036 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1038 Don't include non-existant header.
1039 (__chown): Return EINVAL if owner or group are out of the range
1041 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1042 setresgid): Inherit standard linux/syscalls.list definitions.
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1044 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1045 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1048 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1050 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1051 from 1989 change in ISO 639.
1053 2000-01-12 Andreas Jaeger <aj@suse.de>
1055 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1056 function; needed for 32bit uid support.
1058 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1061 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1063 * intl/locale.alias: Add entries for galician.
1065 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1066 try to get sequence from charmap with Uxxxxxxxx name.
1067 (charclass_ucs4_ellipsis): Likewise.
1068 (charclass_charcode_ellipsis): Allow byte sequence missing.
1069 (read_writestring): Free allocated memory in case of an error.
1070 (set_class_defaults): Don't search repertoire map for wide character
1071 default values; we know it's UCS4.
1073 * locale/programs/repertoire.c (repertoire_find_value): Just return an
1074 error if no repertoire map was loaded.
1075 (repertoire_find_symbol): Likewise.
1076 (repertoire_find_seq): Likewise.
1078 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
1079 twice, to define singlebyte and multibyte version.
1080 (fnmatch): Differentiate between singlebyte and multibyte locale and
1081 call appropriate internal function.
1082 * posix/fnmatch_loop.c: New file.
1083 * posix/Makefile (distribute): Add fnmatch_loop.c.
1085 * locale/programs/repertoire.c (repertoire_read): Don't print
1086 error message when repertoire map is missing.
1087 (repertoire_complain): Print error message for missing map, but only
1089 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1091 * locale/programs/linereader.c (get_string): Prefer getting names
1092 from charseq entries. Try finding Uxxxxxxxx names in charmap
1093 before trying to map from repertoire.
1095 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1097 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1098 error in last change.
1099 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1101 * stdlib/longlong.h: Fix typo in last patch.
1103 2000-01-12 Andreas Jaeger <aj@suse.de>
1105 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1106 Added for Linux 2.3.39+.
1108 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1110 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1111 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1112 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1113 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1114 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1115 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1116 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1117 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1118 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1119 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1120 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1121 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1122 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1123 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1124 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1126 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1127 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1128 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1129 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1130 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1131 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1132 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1133 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1134 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1135 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1136 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1137 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1138 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1139 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1140 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1141 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1142 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1143 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1144 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1145 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1146 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1147 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1148 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1149 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1150 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1151 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1152 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1153 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1155 2000-01-14 Jakub Jelinek <jakub@redhat.com>
1157 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1159 2000-01-13 Jakub Jelinek <jakub@redhat.com>
1161 * sysdeps/generic/backtrace.c: Include signal.h which
1162 sigcontextinfo.h headers are used to expect.
1163 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1164 (register_dump): Fix a typo in the printout.
1165 Avoid using reg_window, so that asm/ptrace.h is not necessary.
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1167 (ADVANCE_STACK_FRAME): Likewise.
1169 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1170 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1171 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1174 to make it clear this file depends on __WORDSIZE.
1175 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1176 Renamed from have_no_truncate64.
1177 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1180 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1182 * Makeconfig (rpath-dirs): Remove db2.
1183 (dbojdir): Remove variable.
1185 * locale/programs/locfile.h (handle_copy): Take repertoire map
1186 name as parameter, not pointer to repertoire structure.
1187 * locale/programs/ld-address.c: Change caller.
1188 * locale/programs/ld-ctype.c: Likewise.
1189 * locale/programs/ld-identification.c: Likewise.
1190 * locale/programs/ld-measurement.c: Likewise.
1191 * locale/programs/ld-messages.c: Likewise.
1192 * locale/programs/ld-monetary.c: Likewise.
1193 * locale/programs/ld-name.c: Likewise.
1194 * locale/programs/ld-numeric.c: Likewise.
1195 * locale/programs/ld-paper.c: Likewise.
1196 * locale/programs/ld-telephone.c: Likewise.
1197 * locale/programs/ld-time.c: Likewise.
1199 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
1201 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1202 mmap2 is available when compiling but no at runtime.
1204 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
1206 * iconvdata/iso-ir-165.c: New file.
1207 * iconvdata/iso-ir-165.h: New file.
1208 * iconvdata/Makefile: Add rules to build libISOIR165.
1210 * Makefile (install): Correct passing -r parameter to ldconfig.
1212 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1213 Reported by Bruno Haible <haible@ilog.fr>.
1215 2000-01-11 Andreas Schwab <schwab@suse.de>
1217 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1219 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
1221 * nss/getent.c: Add ipv6 support for hosts.
1223 2000-01-05 Philip Blundell <pb@futuretv.com>
1225 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1226 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1227 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1229 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1230 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1231 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1232 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1233 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1234 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1236 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1237 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1238 [subdir=misc] (sysdep_headers): Add sys/elf.h.
1240 2000-01-09 Andreas Jaeger <aj@suse.de>
1242 * manual/install.texi (Tools for Compilation): Update required
1244 (Configuring and compiling): Restore old comments about
1245 configparms; modify to reflect current usage.
1247 2000-01-09 Philip Blundell <philb@gnu.org>
1249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1250 resolution if the hints included AI_NUMERICHOST.
1252 2000-01-11 Andreas Schwab <schwab@suse.de>
1254 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1255 infinite loop to avoid pulling in stdio in the dynamic linker.
1256 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1258 2000-01-10 Andreas Jaeger <aj@suse.de>
1260 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1261 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1263 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1265 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1266 gregset_t, fpregset_t, and NGREG definitions.
1268 * sysdeps/mips/Implies: Add wordsize-32.
1270 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1273 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1276 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1277 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1278 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1279 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1280 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1281 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1282 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1284 2000-01-09 Philip Blundell <philb@gnu.org>
1286 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1287 (dl_platform_init): Allow _dl_platform to be NULL.
1289 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1292 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
1294 * nscd/connections.c (handle_request): Handle systems without
1296 (nscd_run): Likewise.
1298 2000-01-07 Andreas Jaeger <aj@suse.de>
1300 Add support for Berkeley db 3.0.x and merge db support:
1301 * nss/nss_db/dummy-db.h (struct db30): New.
1302 (struct dbc30): New.
1305 * nss/makedb.c: Move all database routines to db-open.c.
1306 (main): Adjust to interface changes.
1307 Load database early to initialize version dependend variables.
1309 * nss/db-open.c: Merge database routines from makedb.c.
1310 Define version dependend constansts as variables.
1311 (load_db): Check also for db 3.
1312 (internal_setent): Call dbopen.
1313 (db_cursor): New function from makedb; handles db 3 now.
1314 (dbopen): New function from makedb; handles db 3.
1316 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1317 different in different DB versions.
1319 * nss/nss_db/nss_db.h: Add version dependend constants as
1320 variables, add exportet interfaces from db-open.c.
1322 * nss/Makefile ($(objpfx)makedb): Link against db-open.
1324 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
1326 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1327 Reported by Jim Meyering.
1329 * time/strftime.c: Pretty printing.
1331 2000-01-07 Andreas Jaeger <aj@suse.de>
1333 * manual/socket.texi (Host Names): Fix example.
1334 Reported by Marco Budde <budde@telos.de>.
1336 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
1338 * localedata/Makefile (install-locales): Create locale directory
1339 if it does not exist.
1341 * locale/programs/charmap.c (charmap_read): Call lr_open here and
1342 not in parse_charmap. Try also the directories on the I18NPATH.
1343 (parse_charmap): Change accordingly.
1345 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1347 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1348 and oldsetrlimit64.c.
1350 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1353 * manual/texinfo.tex: Updated from latest official version.
1355 * debug/Makefile (distribute): Add frame.h.
1357 2000-01-05 Philip Blundell <philb@gnu.org>
1359 * sysdeps/arm/frame.h: New file.
1360 * sysdeps/generic/frame.h: Likewise.
1361 * sysdeps/generic/segfault.c (struct layout): Delete definition;
1362 include the above file instead.
1363 * sysdeps/generic/backtrace.c (struct layout): Likewise.
1364 (__backtrace): Use ADVANCE_STACK_FRAME.
1365 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1366 (ADVANCE_STACK_FRAME): New macro.
1367 (GET_FRAME): Apply above to returned value.
1369 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1371 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1373 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1374 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1376 * io/ftw.c (process_entry): Cache object dev/inode only for
1377 directories (PR libc/1514).
1379 2000-01-05 Andreas Schwab <schwab@suse.de>
1381 * locale/programs/charmap.c (charmap_read): Fix typo.
1383 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1385 * locale/programs/charset.c: Removed.
1387 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1388 * iconvdata/gconv-modules: Likewise.
1389 * iconvdata/iso8859-16.c: New file.
1391 2000-01-05 Andreas Schwab <schwab@suse.de>
1393 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1395 2000-01-05 Andreas Jaeger <aj@suse.de>
1397 * intl/locale.alias: Add lithunian entry.
1398 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1400 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1402 * locale/programs/stringtrans.c: Removed.
1403 * locale/programs/stringtrans.h: Removed.
1404 * locale/programs/linereader.c: Remove #include of stringtrans.h.
1406 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1407 _POSIX_MAPPED_FILES is not defined.
1409 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1412 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1413 _nl_POSIX_name instead of "C" and "POSIX" strings.
1415 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1416 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1417 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
1418 reuse the _nl_C_LC_CTYPE_tolower table.
1419 (_nl_C_LC_CTYPE_toupper32): Likewise.
1420 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1423 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1425 (_nl_C_LC_CTYPE_class32): Likewise.
1427 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1429 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1430 after the operation is done. Let them linger for a user-definable
1432 * rt/aio_cancel.c: Likewise.
1433 Patch by Willian M Shubert <william.m.shubert@intel.com>.
1435 * sysdeps/i386/i686/add_n.S: New file.
1437 2000-01-02 Philip Blundell <philb@gnu.org>
1439 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1440 to obtain port mapping information. Avoid use of mprotect.
1442 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1445 definition from 2.3.36.
1447 2000-01-04 Andreas Jaeger <aj@suse.de>
1449 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1450 (struct db27): Add missing fields byteswapped, join and flags;
1451 remove wrong member handleq.
1452 (struct dbc27): Correct lock field.
1454 * nss/makedb.c: Remove __P.
1456 2000-01-04 Andreas Jaeger <aj@suse.de>
1458 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1459 success, fix a memory leak and clean up function.
1461 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1463 * Makefile (install): Pass $(install_root) to ldconfig.
1464 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1466 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1468 * soft-fp/op-1.h: Fix division for machines using not normalizing
1469 version of udiv_qrnnd in longlong.h.
1470 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1471 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1472 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1473 Patch by Eddie C. Dost <ecd@skynet.be>.
1475 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1477 2000-01-03 Andreas Schwab <schwab@suse.de>
1479 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1480 needed for change in common symbol handing in newer binutils.
1482 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1484 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1485 kernel without mmap2 syscall.
1487 2000-01-03 Philip Blundell <philb@gnu.org>
1489 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1490 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1491 ARM for kernels >= 2.3.35.
1493 2000-01-03 Philip Blundell <philb@gnu.org>
1495 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1496 Optimise error handling a little.
1497 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1499 2000-01-03 Andreas Jaeger <aj@suse.de>
1501 * include/resolv.h: Remove declarations for __ns_name_ntop and
1502 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1504 2000-01-03 Andreas Jaeger <aj@suse.de>
1506 * time/tst-strptime.c (test_tm): Add tests for all fields of
1509 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1511 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1513 2000-01-03 Andreas Jaeger <aj@suse.de>
1515 * string/tester.c (test_strsep): Add one more test.
1517 2000-01-03 Philip Blundell <philb@gnu.org>
1519 * string/tester.c (test_mempcpy): New function.
1521 (test_memcpy): Test unaligned cases too.
1523 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1525 * sysdeps/arm/fpu/bits/mathdef.h: New file.
1527 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
1529 * posix/Makefile (tests): Add tst-mmap.
1530 * posix/tst-mmap.c: New file.
1532 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1533 call before handling error.
1535 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1536 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1538 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1540 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1541 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1543 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1544 * iconvdata/testdata/ISO-2022-KR: Likewise.
1546 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1548 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
1550 * iconvdata/Makefile (distribute): Remove baltic.c.
1551 (modules): Remove BALTIC.
1552 (gen-8bit-gap-modules): Remove baltic.
1553 * iconvdata/baltic.c: Removed.
1555 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1557 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1560 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1561 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1563 * nss/Makefile: Add rules to build makedb.
1564 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1565 * nss/nss_db/dummy-db.h: Likewise.
1566 * nss/makedb.c: New file. Copied from file in db2, modified to not
1567 depend on being linked against libdb.
1569 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
1571 * Makeconfig (all-subdirs): Remove db and db2.
1575 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1576 functions from here...
1577 * nss/db-alias.c: ...and here...
1578 * nss/db-netgrp.c: ...and here...
1579 * nss/nss_db/db-open.c: ...to here. New file.
1580 * nss/nss_db/dummy-db.h: New file.
1581 * nss/nss_db/nss_db.h: New file.
1582 * nss/Depend: Depend in dlfcn, not db2.
1583 * nss/Makefile (libnss_db-routines): Add db-open.
1584 (distribute): Add nss_db.h dummy-db.h.
1585 (libnss_db.so): Replace libdb dependency by $(libdl).
1586 Based on a patch by Zack Weinberg.
1588 * locale/programs/ld-ctype.c: Implement rest of transliteration
1590 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1591 * locale/programs/locfile-token.h: Add tok_translit_ignore.
1593 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1595 * locale/programs/ld-collate.c (collate_output): Emit correct
1596 information for collation elements.
1597 Don't write over end of array idx.
1598 * posix/regex.c: Handle also collation elements at end of range.
1600 * posix/PTESTS: Fix a few typos.
1602 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
1603 no idea where this came from.
1604 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1606 1999-12-31 Andreas Jaeger <aj@suse.de>
1608 * libio/strfile.h: Remove K&R compatibility.
1609 * locale/langinfo.h: Likewise.
1610 * locale/localeconv.c (localeconv): Likewise.
1611 * locale/programs/simple-hash.h: Likewise.
1612 * nis/nis_xdr.h: Likewise.
1613 * nis/rpcsvc/nislib.h: Likewise.
1614 * nis/rpcsvc/nis_callback.h: Likewise.
1615 * nis/rpcsvc/nis.h: Likewise.
1616 * nis/ypclnt.c: Likewise.
1617 * nscd/nscd_proto.h: Likewise.
1618 * nscd/nscd.c: Likewise.
1619 * sysdeps/generic/inttypes.h: Likewise.
1620 * sysdeps/gnu/utmpx.h: Likewise.
1622 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1623 * sunrpc/rpcsvc/rusers.x: Likewise.
1625 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1627 * elf/dl-misc.c: Remove __libc_write prototype since it's already
1628 in include/unistd.h.
1629 * elf/dl-profile.c: Likewise.
1630 * elf/dl-load.c: Likewise for __libc_read.
1632 * elf/dl-profile.c: Remove __P.
1633 * elf/sprof.c: Likewise.
1634 * elf/sln.c: Likewise.
1636 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1638 * locale/langinfo.h: Add constants for wide character collation
1640 * locale/categories.def: Add appropriate entries for collate symbol
1642 * locale/C-collate.c: Add initializers for new entries.
1643 Remove commented out code.
1644 * locale/elem-hash.h: New file.
1645 * locale/Makefile (distribute): Add elem-hash.h.
1646 * locale/programs/ld-collate.c: Implement output of collate symbol
1649 * posix/regex.c: Implement collation class handling.
1651 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1653 * posix/regex.c (regex_compile): Implement equivalence class handling.
1655 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
1657 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1658 (OPCODE_LWZU): New macro.
1659 (OPCODE_ADDIS_HI): New macro.
1660 (OPCODE_LIS_HI): New macro.
1661 (__elf_machine_runtime_setup): Change PLT code-generation scheme
1662 for thread safety even with very large PLTs, better efficiency,
1663 and to fix a cache-flushing bug. Also support the Motorola
1664 8xx processors which have a different cache line size than all
1666 (__elf_machine_fixup_plt): Likewise.
1667 (__process_machine_rela): Don't use elf_machine_fixup_plt.
1669 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1671 * wcsmbs/wcscoll.c: Use multibyte character version.
1672 * wcsmbs/wcsxfrm.c: Likewise.
1673 * string/strcoll.c: Prepare to be used for the wide character version.
1674 * string/strxfrm.c: Likewise.
1675 * locale/weightwc.h: New file.
1677 1999-12-30 Geoff Keating <geoffk@cygnus.com>
1679 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1680 the (void) casts as now feraiseexcept returns a value.
1681 (feclearexcept): Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1684 it interferes with the macros for AIX.
1686 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1688 * locale/programs/ld-collate.c (collate_finish): Always define
1689 weight for UNDEFINED if not defined by the user but don't complain
1690 unless it is needed in the multibyte character table.
1691 (collate_output): Add extra dummy elements in wide char tables in the
1692 same way done for multibyte. Always output undefined entry in
1693 wide character table.
1695 * locale/Makefile (categories): Remove commented-out old definition.
1697 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1698 to new_element if the wide char is not valid.
1699 (handle_ellipsis): Likewise.
1700 (collate_read): It's no problem if the string in the collating element
1701 definition cannot be represented as multibyte or wide char string.
1703 1999-12-13 Andreas Jaeger <aj@suse.de>
1705 * resolv/resolv.h: Remove K&R compatibility.
1707 * resolv/res_libc.c: Move definition of _res after res_init,
1708 res_init should use the threaded specific context.
1710 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1713 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
1715 * locale/langinfo.h: Add constants for wide character collation data.
1716 * locale/categories.def: Add appropriate entries for collate entries.
1717 * locale/C-collate.c: Add initializers for new entries.
1718 * locale/programs/ld-collate.c: Implement output of wide character
1721 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1722 compute wide character table size a bit: it now gives up a bit of
1723 total table size for fewer levels.
1725 * soft-fp/*: Tons of new files to implement floating-point arithmetic
1727 Contributed by Richard Henderson, Jakub Jelinek and others.
1729 1999-12-29 Andreas Jaeger <aj@suse.de>
1731 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1732 <asm/io.h>; remove K&R compatibility; add missing ints.
1734 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1737 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1739 1999-12-29 Andreas Jaeger <aj@suse.de>
1741 * manual/getopt.texi (Using Getopt): Document ordering of options.
1743 1999-12-29 Andreas Jaeger <aj@suse.de>
1745 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1746 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1748 1999-12-14 Andreas Jaeger <aj@suse.de>
1750 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1753 1999-12-28 Jakub Jelinek <jakub@redhat.com>
1755 * elf/sprof.c (load_shobj): Fix error message.
1756 (generate_call_graph): Cast %*s length argument to int.
1757 * locale/programs/localedef.c (construct_output_path): Likewise.
1758 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1760 (ctype_class_new): Likewise.
1761 * locale/programs/ld-time.c (time_finish): Likewise.
1762 * sunrpc/svc_simple.c (register_rpc): Likewise.
1763 * nscd/connections.c (nscd_run, start_threads): Use long instead of
1764 int to avoid cast warnings.
1765 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1767 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1770 * time/strftime.c (my_strftime): Provide wide era string when
1773 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1774 Separate into 32bit and 64bit versions.
1776 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
1778 * iconvdata/Makefile (modules): Add ISO-2022-CN.
1779 Add link rules for this module.
1780 (distribute): Add iso-2022-cn.c and cns11643l2.h.
1781 * iconvdata/cns11643l2.h: New file.
1782 * iconvdata/iso-2022-cn.c: New file.
1783 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1785 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1787 (ucs4_to_cns11643l1): Likewise.
1788 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1790 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1792 Optimize recognition of escape sequences a bit.
1794 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1795 and oldsetrlimit definitions.
1797 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1799 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1800 identifying errors more easily.
1802 * iconvdata/testdata/EUC-CN..UTF8: New file.
1803 * iconvdata/testdata/GBK..UTF8: New file.
1805 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1806 mappings. Fix last patch.
1807 * iconvdata/TESTS: Add GBK.
1808 * iconvdata/testdata/GBK: New file.
1810 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1811 0x2312, and 0x2500..0x254b.
1812 * iconvdata/TESTS: Add EUC-CN.
1813 * iconvdata/testdata/EUC-CN: New file.
1815 * iconvdata/gbgbk.c: New file.
1816 * iconvdata/Makefile (modules): Add GBGBK.
1817 (distribute): Add gbgbk.c.
1818 * iconvdata/gconv-modules: Add entries for GBGBK modules.
1820 * iconvdata/euc-cn.c: Fix comment.
1822 * iconvdata/gbk.c: Optimize the switch statement in the conversion
1825 * locale/programs/charmap.c (charmap_new_char): Recognize special
1826 character names Uxxxx and Pxxxx and initialize the UCS4 value from
1829 1999-12-17 Andreas Jaeger <aj@suse.de>
1831 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1833 1999-12-16 Mark Mitchell <mark@codesourcery.com>
1835 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1836 * stdlib/exit.h (flavor): Add ef_cxa.
1837 (exit_function): Add cxa variant.
1838 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1839 * stdlib/cxa_atexit.c: New file.
1840 * stdlib/cxa_finalize.c: New file.
1842 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1844 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1847 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1849 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1851 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1852 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1854 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1855 of <asm/resource.h>.
1857 1999-12-26 Philip Blundell <philb@gnu.org>
1859 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
1860 argument count for `syscall' to 7.
1861 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1862 with more than five arguments.
1863 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1865 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1867 * locale/programs/ld-collate.c (collate_output): Don't start with empty
1868 extrapool and indirectpool obstacks since we need the offsets to be
1870 (collate_read): Call load_locale, not find_locale.
1871 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1872 wasn't defined in the file also initialize repertoire if possible.
1873 * locale/programs/ld-time.c (time_finish): Fix message string.
1874 * locale/programs/linereader.c: Cast parameters of lr_error to
1875 correct type to prevnet warning.
1876 * locale/programs/localedef.c (load_locale): New file.
1877 * locale/programs/localedef.h: Add its prototype.
1878 * locale/programs/repertoire.c (repertoire_new_char): Add missing
1879 parameters to lr_error call.
1881 * localedata/Makefile: Enable running tests again.
1882 * localedata/tests/test2.def: Adjust syntax to new specification.
1883 * localedata/tests/test3.def: Likewise.
1884 * localedata/tst-trans.sh: Redirect output of program into file.
1886 * string/strcoll.c: Fix many error in new implementation to make it
1887 pass (at least) the test suite.
1889 * locale/Makefile: Don't link localedef statically anymore.
1891 * locale/ld-collate.c (struct element_t): Add field is_character and
1892 use it to distinguish real character from collating elements and
1894 (new_element): Take new parameter to initialize is_character. Change
1896 (handle_ellipsis): Use is_character field to make sure ellipsis is
1897 only used with characters.
1898 (collate_read): Fix reading of collating elements.
1900 * string/strxfrm.c: Correct loop end detection and memory access
1901 in the little optimization at the end.
1903 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1904 emit warnings. Provide default value for mon_decimal_point.
1906 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1907 category wasn't defined.
1908 (collate_output): Likewise.
1910 * locale/programs/ld-address.c: Don't emit message about not defined
1911 category if be_quiet.
1912 * locale/programs/ld-ctype.c: Likewise.
1913 * locale/programs/ld-identification.c: Likewise.
1914 * locale/programs/ld-measurement.c: Likewise.
1915 * locale/programs/ld-messages.c: Likewise.
1916 * locale/programs/ld-monetary.c: Likewise.
1917 * locale/programs/ld-name.c: Likewise.
1918 * locale/programs/ld-numeric.c: Likewise.
1919 * locale/programs/ld-paper.c: Likewise.
1920 * locale/programs/ld-telephone.c: Likewise.
1921 * locale/programs/ld-time.c: Likewise.
1923 * locale/programs/locfile.c (write_locale_data): Correct memory
1924 allocation for fname.
1926 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
1928 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1929 (collate_finish): Test that position is used in all sections for
1932 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
1933 of the index returned by findidx.
1935 * string/strcoll.c: Complete rewrite for new collate implementation.
1936 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1939 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1941 * locale/langinfo.h: Likewise.
1942 * locale/categories.def: Likewise. Remove reference to postload
1944 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
1945 __collate_tablemb, __collate_weightmb, and __collate_extramb.
1946 * locale/localeinfo.h: Remove declaration for removed variables above.
1947 Remove prototype for _nl_get_era_entry.
1948 * locale/weight.h: Complete rewrite for new collate implementation.
1949 * locale/programs/ld-collate.c: Many changes to make output file
1950 usable in strxfrm/strcoll.
1951 * string/strxfrm.c: Complete rewrite for new collate implementation.
1952 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1955 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1957 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1958 transformation values for chars >255.
1959 * wctype/wctrans.c: Return pointer unmodified.
1961 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
1963 * sysdeps/posix/system.c (__libc_system): Check whether command
1964 processor is available if LINE is NULL. Don't return immediately
1965 if wait call returned with EINTR.
1966 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1968 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
1970 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1973 * locale/programs/ld-collate.c: Implement writing out multibyte
1976 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1977 * locale/localeinfo.h: Declare variables only for currently implemented
1978 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1979 * locale/lc-collate.c: Define variables only for currently implemented
1981 * locale/langinfo.h: Define symbols only for currently implemented
1983 * locale/categories.def: Define elements for currently implemented
1985 * locale/C-collate.c: Comment out definitions of arrays with symbol
1986 name definitions etc.
1987 (_nl_C_LC_COLLATE): Update for currently defined information.
1989 * intl/libintl.h: Remove dcgettext macro definition.
1990 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
1992 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
1994 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
1995 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
1997 1999-12-22 Jakub Jelinek <jakub@redhat.com>
1999 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2000 for __fenv_stfsr argument.
2001 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2002 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2004 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2005 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2006 (XSTAT_IS_XSTAT64): Define.
2007 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2008 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2009 and __libc_pwrite64.
2010 Remove oldgetrlimit and oldsetrlimit.
2011 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2012 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2013 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2015 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2016 pointer to the syscall, not address of that pointer.
2017 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2018 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2019 (__syscall_stat64): Provide proper prototype.
2021 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2022 has_no_truncate64 between truncate64 and ftruncate64.
2023 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2025 * sysdeps/unix/sysv/linux/kernel-features.h
2026 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2027 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2029 1999-12-22 Andreas Jaeger <aj@suse.de>
2031 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2032 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2034 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2036 * locale/lc-time.c: Extend structure era_entry.
2037 * locale/localeinfo.h: Likewise.
2038 * locale/lc-time.c: Handle '-' direction used in locale's era part
2040 * time/strptime.c: Likewise.
2041 * time/strftime.c: Likewise.
2042 * locale/programs/ld-time.c: Consider negative values in era part
2044 * time/strptime.c (strptime_internal): Merged Yoshiyama's
2045 %E[CyY] implementation.
2047 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
2049 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2050 of recursive() call.
2051 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2054 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2056 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2057 Patch by Scott Bambrough <scottb@netwinder.org>.
2059 1999-12-21 Andreas Schwab <schwab@suse.de>
2061 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2063 * include/unistd.h: Declare __libc_lseek.
2065 1999-12-21 Andreas Jaeger <aj@suse.de>
2067 * stdlib/longlong.h: Remove __P.
2069 1999-12-21 Andreas Jaeger <aj@suse.de>
2071 * sysdeps/powerpc/fpu/libm-ulps: New file.
2073 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2075 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2076 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2078 1999-12-21 Andreas Jaeger <aj@suse.de>
2080 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2081 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2082 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2083 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2084 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2085 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2086 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2087 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2089 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2090 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2091 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2093 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2095 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2096 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2097 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2098 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2099 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2100 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2101 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2102 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2103 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2104 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2105 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2106 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2107 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2108 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2109 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2110 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2111 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2114 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2116 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2117 before testing for __ASSUME_STAT64_SYSCALL.
2118 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2119 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2121 1999-12-20 Andreas Schwab <schwab@suse.de>
2123 * manual/install.texi (Running make install): Clearify that
2124 install_root should be an absolute file name.
2126 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2128 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2130 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2131 buffer is given to place conversion descriptor in initial state.
2132 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2134 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2135 (according to IANA registry).
2136 Reported by Bruno Haible <haible@ilog.fr>.
2138 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2140 * locale/categories.def: Remove most of the collate definitions.
2141 * locale/langinfo.h: Comment out corresponding definitions.
2142 * locale/programs/locale-spec.c (locale_special): Don't recognize the
2144 * locale/programs/ld-collate.c: Correct and optimize computation of
2145 weights. Set up list of all definitions correctly. Start writing
2146 function to generate output file.
2148 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2149 loop to compute default mapping.
2151 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2153 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2154 cancelation wrapper.
2155 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2156 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2159 1999-12-19 Andreas Jaeger <aj@suse.de>
2161 * sysdeps/generic/libc-start.c: Remove declaration of
2162 __libc_open. Move declaration of __libc_fcntl to ...
2163 * include/fcntl.h: ...here.
2165 * include/unistd.h: Move __libc_open and __libc_open64 to ...
2166 * include/fcntl.h: ...here.
2168 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2171 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2174 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2176 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2179 1999-12-19 Andreas Jaeger <aj@suse.de>
2181 * include/string.h: Mark __strndup with __attribute_malloc__.
2183 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2185 * locale/langinfo.h: Always define CODESET.
2186 (CODESET): Define also as macro.
2188 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2189 generate mantissa output in using malloc if it is larger than
2191 Reported by Jim Meyering <meyering@ascend.com>.
2193 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2195 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2196 available gcc version.
2197 * string/string.h: Mark strdup, __strdup, and strndup with
2198 __attribute_malloc__.
2199 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2200 __attribute_malloc__.
2201 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2202 and __default_morecore with __attribute_malloc__.
2203 Provide default definition for __attribute_malloc__.
2204 * libio/stdio.h: Make tempnam with __attribute_malloc__.
2206 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2207 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2208 * io/Versions: Export __libc_open64 and __libc_lseek64.
2209 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2210 and __libc_pwrite64.
2211 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2213 * sysdeps/generic/pread.c: Likewise.
2214 * sysdeps/generic/pread64.c: Likewise.
2215 * sysdeps/generic/pwrite.c: Likewise.
2216 * sysdeps/generic/pwrite64.c: Likewise.
2217 * sysdeps/posix/open64.c: Likewise.
2218 * sysdeps/posix/pread.c: Likewise.
2219 * sysdeps/posix/pread64.c: Likewise.
2220 * sysdeps/posix/pwrite.c: Likewise.
2221 * sysdeps/posix/pwrite64.c: Likewise.
2222 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2223 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2224 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2225 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2226 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2227 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2228 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2229 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2230 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2232 * sysdeps/posix/open64.c: Help gcc generating better code.
2234 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2237 1999-12-11 H.J. Lu <hjl@gnu.org>
2239 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2242 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2244 * iconvdata/isiri-3342.c: New file.
2245 * iconvdata/Makefile (modules): Add ISIRI-3342.
2246 (distribute): Add isiri-3342.c.
2247 (gen-8bit-gap-modules): Add isiri-3342.
2248 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2250 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2252 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2253 result if necessary.
2255 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2256 unreliable kernel headers.
2257 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2258 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2259 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2260 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2262 1999-12-18 Andreas Jaeger <aj@suse.de>
2264 * config.make.in (datadir): Added.
2265 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2267 1999-12-18 Andreas Jaeger <aj@suse.de>
2269 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2271 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2273 1999-12-18 Andreas Jaeger <aj@suse.de>
2275 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2276 syscall if available.
2277 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2278 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2280 * sysdeps/unix/sysv/linux/kernel-features.h
2281 (__ASSUME_STAT64_SYSCALL): New.
2283 1999-12-17 Scott Bambrough <scottb@netwinder.org>
2285 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2287 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2288 after .text segment fixups.
2290 1999-12-16 Andreas Jaeger <aj@suse.de>
2292 * rt/aio.h: Remove erroneous __restrict declarations.
2294 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2296 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2297 do the job if it is there neither.
2298 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2300 1999-12-16 Andreas Jaeger <aj@suse.de>
2302 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2303 duplicate definition with function __nan.
2304 Closes PR libc/1487 reported by <diana@kai.com>.
2306 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
2308 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2310 * locale/programs/ld-collate.c: Implement handling of absolute
2311 ellipsis. Parsing of file and constructing the internal data
2312 structures should now be complete.
2313 (collate_finish): Start adding support to generate the data
2314 structures which are written out to the file.
2316 * intl/dcgettext.c: Rewrite to handle caching of previous results here
2317 instead of in the dcgettext macro.
2318 * intl/libintl.h (dcgettext): Don't define for systems using this
2319 glibc or systems with tsearch.
2321 * sysdeps/generic/mathdef.h: Protect definitions for math.h
2322 against double inclusion.
2323 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2324 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2325 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2326 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2328 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2331 1999-12-17 Andreas Jaeger <aj@suse.de>
2333 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2336 * rt/Makefile (tests): Added tst-aio64.
2337 Added dependency rules for tst-aio64.
2339 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2342 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
2344 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2345 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2346 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2347 old value (signed long).
2348 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2350 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2351 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2352 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2353 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2354 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2355 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2356 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2357 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2358 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2359 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2360 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2361 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2362 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2366 1999-12-17 Andreas Jaeger <aj@suse.de>
2368 * elf/ldconfig.c: Add new option -l to manualy link shared
2370 (options): Added option.
2371 (parse_opt): Set option.
2372 (main): Handle option.
2373 (manual_link): New function.
2375 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
2377 * string/bits/string2.h: Fix patch from 1999-12-07.
2379 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
2381 * sysdeps/generic/strsep.c: If delim string has only one character
2382 don't run over end of string.
2384 * locale/programs/ld-collate.c (insert_weights): Also update next
2385 pointer of last cursor element.
2386 (insert_value): Return nonzero value if nothing got inserted.
2387 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2389 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2391 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2394 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2396 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2397 Copy sa_flags into kernel sigaction structure.
2399 1999-12-14 Andreas Jaeger <aj@suse.de>
2401 * string/tester.c (test_strsep): More tests for access beyond
2402 the final NUL. The first two tests come from PR libc/1486 by
2403 martinea@iro.umontreal.ca.
2405 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
2407 * nis/ypclnt.c: Correct handling of cached client handles.
2408 (__xdr_ypresp_all): Call callback function for errors, too,
2410 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2411 * nis/nss_compat/compat-initgroups.c: Likewise.
2412 * nis/nss_compat/compat-spwd.c: Likewise.
2413 * nis/nss_nis/nis-alias.c: Likewise.
2414 * nis/nss_nis/nis-ethers.c: Likewise.
2415 * nis/nss_nis/nis-grp.c: Likewise.
2416 * nis/nss_nis/nis-hosts.c: Likewise.
2417 * nis/nss_nis/nis-netgrp.c: Likewise.
2418 * nis/nss_nis/nis-publickey.c: Likewise.
2419 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2420 Map if available, optimize query if name/port and protocol is known.
2422 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
2424 * locale/programs/ld-collate.c (collate_read): Make symbolic
2425 ellipsis work. Remove old and unused code.
2427 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
2429 * locale/programs/ld-collate.c (collate_read): Implement
2430 reorder-section handling.
2432 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
2434 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2436 * locale/programs/ld-collate.c (collate_read): Add handling of
2439 * locale/programs/ld-collate.c: Many changes to implement parsing
2440 of collation definition (still not complete).
2442 1999-12-09 Andreas Jaeger <aj@suse.de>
2444 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2445 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2446 Reported by Christian Starkjohann <cs@obdev.at>.
2448 1999-12-09 Andreas Jaeger <aj@suse.de>
2450 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2452 1999-12-09 Jakub Jelinek <jakub@redhat.com>
2454 * stdlib/longlong.h: Update from latest egcs version.
2456 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2458 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2459 has to preceede __attribute__, otherwise g++ barfs.
2461 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2464 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2468 1999-12-05 Wolfram Gloger <wg@malloc.de>
2470 * malloc/malloc.c (arena_get2): If generating a new arena fails,
2471 try to generate a minimal one and hope for mmap_chunk() to succeed
2474 1999-11-07 Wolfram Gloger <wg@malloc.de>
2476 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2477 mutex_t work as an `in-use' flag even without threads.
2478 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2479 for multiple arenas separately from NO_THREADS.
2480 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2481 fall back to an mmap()ed arena when sbrk() has failed.
2483 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
2485 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2486 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2487 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2488 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2489 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2490 oldgetrlimit and oldsetrlimit.
2491 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2493 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2494 oldsetrlimit rules into 32-bit arch subdirs.
2495 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2497 * locale/programs/ld-collate.c (insert_value): If this is the
2498 first symbol the cursor can be the same as the next pointer.
2500 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
2502 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2504 (allocate_arrays): Allocate memory for map32. Correctly install
2505 default values in it and install defined mappings.
2507 * locale/programs/ld-monetary.c (monetary_finish): Provide default
2508 value for mon_grouping.
2510 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2511 headers are not clean enough.
2513 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2515 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2516 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2518 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2519 * sysdeps/unix/sysv/linux/truncate64.c: New file.
2520 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2521 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2523 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2524 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2525 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2526 _nl_C_LC_CTYPE_tolower32 tables.
2527 Don't compile it names of 14652 classes and maps.
2528 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2529 _NL_CTYPE_TOLOWER32.
2530 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2531 and __ctype32_tolower.
2532 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2533 (ctype_output): Write out map32 values.
2534 (allocate_arrays): Compute mapping tables correctly.
2535 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2536 (towupper): Use __ctype32_toupper.
2537 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2539 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2540 determine tolower mapping for 8bit table if the tolower keyword is
2543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2544 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
2546 1999-12-07 Jakub Jelinek <jakub@redhat.com>
2548 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2549 __stpcpy_small): Cast switch expressions to int to shut up compiler
2552 1999-12-07 Scott Bambrough <scottb@netwinder.org>
2554 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2557 1999-12-06 Andreas Schwab <schwab@suse.de>
2559 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2560 ugetrlimit syscall exists.
2562 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2564 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2566 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
2568 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2569 pointers if character is illegal.
2570 Reported by Bruno Haible <haible@ilog.fr>.
2572 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2573 (increment_counter): New function. Broken out of find_derivation.
2574 (find_derivation): No need for a lock. Increment counter only when
2575 the derivation was already available.
2576 * iconv/gconv_dl.c: Add debugging functions.
2577 (known_compare): We have to use strcmp.
2578 Reported by Bruno Haible <haible@ilog.fr>.
2580 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
2582 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2583 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2584 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2585 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
2587 Reported by Bruno Haible <haible@ilog.fr>.
2589 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2591 1999-12-03 Andreas Jaeger <aj@suse.de>
2593 * nss/getXXbyYY.c: Include <resolv.h>
2594 (FUNCTION_NAME): Use res_ninit instead of res_init.
2596 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2597 declaration and prototypes.
2598 Remove extra _res declaration.
2599 (INTERNAL): Use thread aware res_ninit function.
2601 * inet/gethstbyad_r.c: Include <resolv.h>.
2603 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
2604 res_libc.c. Disabled unneeded functions.
2606 * resolv/res_libc.c: New file.
2608 * Versions.def: Add version GLIBC_2.2 for libpthread.
2609 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2611 * include/resolv.h: Add internal interfaces.
2613 * resolv/Makefile (routines): Add new files.
2614 (libresolv-routines): Likewise.
2615 (distribute): Likewise.
2617 * resolv/gethnamaddr.c: Use thread safe resolver functions.
2618 * resolv/nss_dns/dns-host.c: Likewise.
2619 * resolv/nss_dns/dns-network.c: Likewise.
2621 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2622 * resolv/nsap_addr.c: Likewise.
2623 * resolv/res_comp.c: Likewise.
2624 * resolv/res_debug.c: Likewise.
2625 * resolv/res_init.c: Likewise.
2626 * resolv/res_mkquery.c: Likewise.
2627 * resolv/res_query.c: Likewise.
2628 * resolv/res_send.c: Likewise.
2629 * resolv/resolv.h: Likewise.
2631 * resolv/Versions: Add __res_state and __res_ninit with version
2633 Add new interfaces with version GLIBC_2.2 to libresolv.
2635 * resolv/Banner: Update.
2637 * include/arpa/nameser_compat.h: New file.
2639 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2640 * resolv/ns_netint.c: Likewise.
2641 * resolv/ns_parse.c: Likewise.
2642 * resolv/ns_print.c: Likewise.
2643 * resolv/ns_samedomain.c: Likewise.
2644 * resolv/ns_ttl.c: Likewise.
2645 * resolv/arpa/nameser_compat.h: Likewise.
2646 * resolv/res_debug.h: Likewise.
2648 Some patches are based on work done by Adam D. Bradley
2649 <artdodge@cs.bu.edu>.
2651 1999-11-30 Andreas Jaeger <aj@suse.de>
2654 * elf/Makefile (extra-objs): Added ldconfig-modules.
2655 (ldconfig-modules): New.
2656 Added vpath for xstrdup and xmalloc.
2657 Check for use-ldconfig instead of has-ldconfig.
2658 ($(objpfx)ldconfig): New rule with dependencies.
2659 (distribute): Add new files.
2661 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2662 developed together with Jakub Jelinek <jakub@redhat.com>.
2663 * sysdeps/generic/readelflib.c: Likewise.
2665 * elf/cache.c: New file.
2666 * elf/ldconfig.c: New file.
2667 * elf/ldconfig.h: New file.
2668 * elf/readlib.c: New file.
2670 * Makefile (install): Remove flag -d in ldconfig call.
2672 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2675 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2678 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2679 set always use_ldconfig instead.
2681 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
2683 * sysdeps/generic/bits/stropts.h: Update with LiS types and
2684 values. Patch by David Grothe <dave@gcom.com>.
2686 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2688 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2689 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2690 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2692 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
2694 * locale/lc-time.c (_nl_get_era_entry): Separate eras
2695 initialization as _nl_init_era_entry().
2696 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2697 * locale/lc-time.c (_nl_get_era_year_offset): New function.
2698 * locale/lc-time.c (_nl_get_era_year_start): New function.
2699 * locale/localeinfo.h: Declare new functions.
2700 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2703 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
2705 * posix/regex.c (SYNTAX): Make more portable.
2706 Patch by Aharon Robbins <arnold@skeeve.com>.
2708 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
2710 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2711 nonzero, use cthread_fork to create the signal thread.
2712 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2713 _hurd_msgport_thread here (to self).
2714 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2715 is zero, instead compute child signal thread's starting SP from parent
2716 signal thread's current SP and the threadvar_stack variables.
2717 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2718 These are now referenced weakly by _hurdsig_init.
2720 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2721 &_hurd_itimer_thread not &_hurd_msgport_thread.
2723 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
2725 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2726 without HURD_DPORT_USE to clean up warnings.
2727 * hurd/dtable.c (get_dtable_port): Likewise.
2729 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2730 (install_ctty): Do the changing of the cttyid port cell here, inside
2731 the critical section while we holding the dtable lock.
2732 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2733 the port cell and calling rectty_dtable.
2734 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2735 (install_ctty): Use it inside a critical section, with the lock held.
2736 * sysdeps/mach/hurd/setsid.c (__setsid): Use
2737 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2738 after proc_setsid, having held the dtable lock throughout.
2739 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2740 cttyid port for null and bail out early if so. The dtable lock
2741 serializes us after any cttyid change and its associated dtable update.
2743 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
2745 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2746 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
2747 We don't install this file for users.
2748 * sysdeps/mach/hurd/Dist: Add it.
2749 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2750 Append nfs/nfs.h here.
2752 1999-12-01 Andreas Jaeger <aj@suse.de>
2754 * sysdeps/generic/if_index.c (__protocol_available): Add missing
2757 * stdio/stdio.h: Fix typo.
2758 Patches by Marcus G. Daniels <mgd@santafe.edu>.
2760 1999-12-01 Andreas Jaeger <aj@suse.de>
2762 * scripts/test-installation.pl (installation_problem): Filter out
2765 1999-12-01 Andreas Schwab <schwab@suse.de>
2767 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2768 __rlim_t and __rlim64_t.
2769 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2770 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2772 1999-12-01 Andreas Schwab <schwab@suse.de>
2774 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2775 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2776 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2777 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2778 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2779 new kernel version. Add symbol versions.
2780 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2782 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2783 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2784 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2786 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2787 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2788 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2789 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2790 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2791 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2792 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2793 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2794 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2796 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2799 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
2801 * sysdeps/generic/usleep.c: Fix typo.
2803 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2805 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2808 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2811 * malloc/set-freeres.c: Really use already_called variable.
2813 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2814 function call directly.
2815 * libio/iosetvbuf.c: Likewise.
2817 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2819 * configure.in: Add AIX 4.3 support.
2821 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
2822 standard was issued in 1992.
2823 Reported by Bruno Haible <haible@ilog.fr>.
2825 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2827 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2830 1999-11-29 Andreas Jaeger <aj@suse.de>
2832 * manual/time.texi (Basic CPU Time): Better describe wrap around.
2833 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2835 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2837 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2838 Patch by Bruno Haible <haible@ilog.fr>.
2840 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2842 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2844 1999-11-29 Andreas Schwab <schwab@suse.de>
2846 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2847 __v to __bswap_32_v.
2848 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2849 and __bswap_64_r to avoid clash with __bswap_32 macro.
2851 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
2853 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2856 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
2858 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2859 patch. Use wch instead of idx to compute index.
2860 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2862 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2864 * locale/iso-3166.def: Update from latest official list.
2866 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
2868 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2869 asm/ptrace.h, since this will not be done with 2.3.xx automatically
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2872 1999-11-26 Andreas Jaeger <aj@suse.de>
2874 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2876 1999-11-26 Andreas Jaeger <aj@suse.de>
2878 * inet/rcmd.c: Include stdlib for declaration of free.
2881 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2883 * iconv/gconv.c (__gconv): Always initialize
2884 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2886 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2888 * iconvdata/iso-2022-jp.c: Likewise.
2890 1999-11-25 H.J. Lu <hjl@gnu.org>
2892 * stdlib/exit.c (exit): Run funtions only if
2893 __exit_funcs->idx > 0.
2895 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2897 * manual/charset.texi (iconv Examples): Add iconv call to flush
2898 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
2900 1999-11-25 Andreas Jaeger <aj@suse.de>
2902 * manual/install.texi (Running make install): Better describe
2904 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2906 1999-11-25 Andreas Jaeger <aj@suse.de>
2908 * include/sys/mman.h: Remove K&R compatibility.
2910 1999-11-15 Andreas Jaeger <aj@suse.de>
2912 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2915 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2917 * iconv/iconv_prog.c (process_block): For stateful charsets write
2918 out byte sequence to get to initial state at the end of the file.
2920 1999-11-25 Andreas Schwab <schwab@suse.de>
2922 * Makeconfig: Include sys-dirs and sys-sorted earlier.
2923 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2924 ($(common-objpfx)sysd-sorted): Emit marker when this file is
2927 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
2929 * manual/setjmp.texi: Many changes to correct bad English introduced
2931 * manual/time.texi: Likewise.
2932 Patches by Neil Booth <neil@rosenet.ne.jp>.
2934 * include/string.h: Remove K&R compatibility.
2936 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2938 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2940 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2942 * string/stratcliff.c: Add one more strchr test for something
2943 which was reported to not work (which proofed to be wrong).
2945 * iconv/skeleton.c: It's __is_last, not is_last.
2947 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2949 (allocate_arrays): Likewise.
2950 (find_idx): Correctly increase array size.
2951 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2953 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
2955 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2958 1999-11-23 Andreas Jaeger <aj@suse.de>
2960 * include/sys/select.h: Remove K&R compatibility.
2961 * include/sys/statfs.h: Likewise.
2962 * include/gnu/libc-version.h: Likewise.
2963 * include/db_185.h: Likewise.
2964 * include/dlfcn.h: Likewise.
2965 * include/search.h: Likewise.
2966 * include/setjmp.h: Likewise.
2967 * include/signal.h: Likewise.
2968 * include/stdio.h: Likewise.
2969 * include/unistd.h: Likewise.
2971 1999-11-23 Andreas Jaeger <aj@suse.de>
2973 * include/aio.h: Remove __THROW from internal interfaces. __THROW
2974 is only need in external header files that might be compiled by a
2976 * include/alloca.h: Likewise.
2977 * include/db.h: Likewise.
2978 * include/dirent.h: Likewise.
2979 * include/execinfo.h: Likewise.
2980 * include/fpu_control.h: Likewise.
2981 * include/glob.h: Likewise.
2982 * include/grp.h: Likewise.
2983 * include/libintl.h: Likewise.
2984 * include/math.h: Likewise.
2985 * include/math.h: Likewise.
2986 * include/mntent.h: Likewise.
2987 * include/mntent.h: Likewise.
2988 * include/netdb.h: Likewise.
2989 * include/pwd.h: Likewise.
2990 * include/sched.h: Likewise.
2991 * include/shadow.h: Likewise.
2992 * include/stdlib.h: Likewise.
2993 * include/sys/file.h: Likewise.
2994 * include/sys/gmon.h: Likewise.
2995 * include/sys/ioctl.h: Likewise.
2996 * include/sys/socket.h: Likewise.
2997 * include/sys/stat.h: Likewise.
2998 * include/sys/sysinfo.h: Likewise.
2999 * include/sys/time.h: Likewise.
3000 * include/sys/times.h: Likewise.
3001 * include/sys/uio.h: Likewise.
3002 * include/sys/wait.h: Likewise.
3003 * include/termios.h: Likewise.
3004 * include/time.h: Likewise.
3005 * include/ulimit.h: Likewise.
3006 * include/utmp.h: Likewise.
3007 * include/wchar.h: Likewise.
3009 1999-11-22 Andreas Jaeger <aj@suse.de>
3011 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3012 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
3015 1999-11-22 Jakub Jelinek <jakub@redhat.com>
3017 * sysdeps/generic/siglist.h: Avoid declaring the same field
3018 twice if SIGPWR is defined to SIGLOST.
3019 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3020 not signed, so we should not special case it for negative args.
3021 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3022 memmove, use the one provided in memcpy.S.
3023 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3024 copies like memmove, while the previous version worked like memcpy.
3025 Implement optimized assembly memmove.
3026 * sysdeps/sparc/sparc64/memmove.c: New file.
3028 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3030 * po/cs.po: Update from translators.
3032 1999-11-23 Andreas Jaeger <aj@suse.de>
3034 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3035 (elf_machine_got): Removed, not needed anymore.
3036 (ELF_MACHINE_RELOC_NOPLT): Removed.
3037 (ELF_MACHINE_JMP_SLOT): Added.
3038 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3039 (_RTLD_EPILOGUE): Likewise.
3040 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3041 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3042 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3043 Ralf Baechle <baechle@uni-koblenz.de>.
3045 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3047 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
3049 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3050 name from the locale name. Only use the value in the LC_CTYPE
3053 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3054 file be equal to file size.
3056 * stdlib/longlong.h: Add count_trailing_zeros back.
3058 * stdlib/longlong.h: Update from latest egcs version.
3060 1999-11-22 Andreas Jaeger <aj@suse.de>
3062 * locale/programs/ld-collate.c (insert_value): Correct order of
3063 arguments for lr_error call.
3065 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3066 __syscall_setrlimit.
3068 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3070 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3072 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
3074 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3077 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3078 14652-style definition of new maps and classes.
3080 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
3082 * locale/programs/ld-monetary.c (monetary_finish): Don't print
3083 individual error message if nothing is defined.
3085 * locale/programs/ld-time.c (time_startup): Test for lr being
3088 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3089 decimal_point is not defined.
3091 * wctype/wctrans.c (wctrans): Use correct base index to access
3092 extra mapping tables.
3094 * locale/loadlocale.c (_nl_load_locale): Use actual number of
3095 entries from file and not the fixed (minimal number from the
3098 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3101 1999-11-18 Paul Eggert <eggert@twinsun.com>
3103 * time/strftime.c (my_strftime): Some old compilers object to
3104 '\a', so don't bother optimizing for it.
3106 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3108 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3109 the rlimits structure passed in.
3111 1999-11-19 Andreas Jaeger <aj@suse.de>
3113 * include/sys/resource.h (__setrlimit): Add prototype.
3115 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3117 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3118 entries for rtld_search_dirs[0].
3119 Patch by David Mosberger <davidm@hpl.hp.com>.
3121 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3123 * locale/programs/ld-ctype.c: Don't predefine the character
3124 classes and mappings of ISO 14652.
3126 * locale/programs/ld-ctype.c: Punt if character class definitions
3127 to not consists of tok_bsymbol (for now).
3129 * time/strptime.c (day_of_the_week): Make sure result is never
3131 (strptime_internal): Allow %C without %y.
3133 1999-11-18 Andreas Jaeger <aj@suse.de>
3135 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3138 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3139 of defining *_SUPER_MAGIC.
3140 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3142 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3144 * locale/programs/locale.c: Don't handle LC_ALL together with the
3145 other categories when printing the value.
3146 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3148 * locale/locale.h: Correct comment about LC_ALL.
3150 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3152 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3153 nelems. Correctly compute index for additional character classes.
3154 (ctype_read): Handle charclass and charconv definitions. Also
3155 recognize arbitrary strings as mapping names.
3156 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3157 character era strings.
3158 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3159 and format for wide characters.
3160 * time/strftime.c: Correctly determine era information for wide
3162 * wctype/wctrans.c: Fix after removal of second endianess table.
3163 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3164 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3166 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3167 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3169 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3170 gregset_t, fpregset_t, and NGREG definitions.
3172 * locale/programs/ld-ctype.c: Implement character width information
3175 1999-11-09 Andreas Jaeger <aj@suse.de>
3177 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3179 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3180 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3182 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3184 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3186 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3188 1999-11-07 Andreas Jaeger <aj@suse.de>
3190 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3191 defines from Linux scsi_ioctl.h header.
3193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3195 * sysdeps/unix/sysv/linux/Dist: Likewise.
3197 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3200 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3201 sync with Linux 2.3.26.
3203 1999-11-17 Andreas Jaeger <aj@suse.de>
3205 * shlib-versions: Allow mipsel for libm.
3206 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3208 1999-11-16 Andreas Jaeger <aj@suse.de>
3210 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
3212 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
3214 * locale/programs/ld-ctype.c (set_class_defaults): Set default
3215 value for alpha and alnum correctly.
3217 * locale/programs/ld-address.c (address_output): Fix output of
3220 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
3222 * timezone/asia: Update from tzdata1999j.
3223 * timezone/australasia: Likewise.
3224 * timezone/europe: Likewise.
3225 * timezone/northamerica: Likewise.
3226 * timezone/southamerica: Likewise.
3227 * timezone/zone.tab: Likewise.
3229 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3231 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3232 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3233 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3234 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3235 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3237 1999-11-15 Andreas Jaeger <aj@suse.de>
3239 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3240 __syscall_setrlimit.
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3243 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3245 * scripts/versions.awk: Don't expect to read predecessor versions,
3247 * Versions.def: Remove predecessors. They now get computed.
3249 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3251 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3252 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3254 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3255 * sysdeps/powerpc/stackinfo.h: New file.
3256 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3258 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3260 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3263 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3265 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3266 hurd_directory_name_split.
3267 * Versions.def (libc): Add GLIBC_2.1.3.
3269 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
3271 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3272 to return the location of the null byte written into the string.
3273 (describe_number): Likewise.
3274 (describe_number): Remove assert, not always used with #.
3275 If FLAVOR is null, don't use it.
3276 (describe_number): Take signed argument and print a - if negative.
3277 (_S_msg_report_wait): Report system call number for system calls that
3278 aren't mach_msg. Soup up reporting for mach_msg: If destination port
3279 matches SS->intr_port, bracket port description with [...] to indicate
3280 a Hurd interruptible RPC; if destination port is null, examine the
3281 receive port and report that state; if receive port is also null,
3282 check for timeout and report its value.
3283 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3284 zero iff we managed to examine the stack; take new args RCV_NAME,
3285 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3287 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3288 MACH_PORT_DEAD specially.
3290 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3292 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3293 (__directory_name_split): New function.
3294 * hurd/hurd.h: Declare them.
3295 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3296 __file_name_split, so we ignore trailing slashes properly.
3297 * sysdeps/mach/hurd/rename.c: Likewise.
3299 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
3301 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3302 from current kernel headers.
3304 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3305 SO_PASSCRED defined.
3307 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3309 * locale/C-ctype.c: Fix typo in char class name.
3311 * configure.in: Allow user so specify --enable-kernel=current.
3313 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
3315 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3317 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3319 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3320 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3322 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3324 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3326 * intl/locale.alias: Add Estonian entries.
3327 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3329 1999-11-02 Andreas Jaeger <aj@suse.de>
3331 * Versions.def: Add version GLIBC_2.2 for libm.
3332 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3334 * sysdeps/generic/feenablxcpt.c: Stub file.
3335 * sysdeps/generic/fedisblxcpt.c: Stub file.
3336 * sysdeps/generic/fegetexcept.c: Stub file.
3337 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3338 * sysdeps/i386/fpu/feenablxcpt.c: New file.
3339 * sysdeps/i386/fpu/fegetexcept.c: New file.
3340 * math/Makefile (libm-support): Add new files.
3341 * math/Versions: Add new functions with version GLIBC_2.2.
3342 * manual/arith.texi (Control Functions): Document fegetexcept,
3343 feenableexcept and fedisableexcept.
3345 1999-11-01 Wolfram Gloger <wg@malloc.de>
3347 * malloc/malloc.h: Describe __malloc_initialize_hook.
3348 * manual/memory.texi: Document __malloc_initialize_hook.
3350 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
3352 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3354 1999-11-09 Andreas Jaeger <aj@suse.de>
3356 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3357 implementation for ttyname_r call; fix inverted condition; return
3359 Closes PR libc/1438.
3361 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3363 * math/fenv.h: Include bits/fenvinline.h if optimizing.
3364 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
3365 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
3366 * sysdeps/generic/bits/fenv.h: New file.
3368 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3370 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3373 1999-11-10 Andreas Jaeger <aj@suse.de>
3375 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3377 1999-11-10 Andreas Jaeger <aj@suse.de>
3379 * string/strsignal.c (strsignal): Correct check for snprintf
3381 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3383 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3384 according to changed snprintf return value.
3385 Reported by Lawrence K. Chen <lchen@opentext.com>.
3387 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3388 for ecvt_r and fcvt_r.
3390 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3392 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3393 directory with the reference since this is as secure as using the
3394 object with the dependency.
3395 (_dl_dst_substitute): Likewise.
3397 * elf/dl-load.c (_dl_dst_count): Change strings in first two
3398 strncmp calls to allow reuse.
3399 (_dl_dst_substitute): Likewise.
3401 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
3403 * posix/regex.c (init_syntax_once): move below definition of
3404 ISALNUM etc., then use ISALNUM to init the table, so that
3405 the word ops will work if i18n'ed.
3406 (SYNTAX): And subscript with 0xFF for 8bit character sets.
3408 1999-11-09 Andreas Jaeger <aj@suse.de>
3410 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3411 implementation for ttyname_r call; fix inverted condition; return
3412 ut_user. Closes PR libc/1438.
3414 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3416 * timezone/checktab.awk: Update from tzcode1999h.
3417 * timezone/africa: Update from tzdata1999i.
3418 * timezone/asia: Likewise.
3419 * timezone/australasia: Likewise.
3420 * timezone/backward: Likewise.
3421 * timezone/europe: Likewise.
3422 * timezone/northamerica: Likewise.
3423 * timezone/southamerica: Likewise.
3424 * timezone/iso3166.tab: Likewise.
3425 * timezone/zone.tab: Likewise.
3427 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3428 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
3430 1999-11-09 Andreas Jaeger <aj@suse.de>
3432 * posix/Makefile (tests): Added tst-getlogin.
3434 * posix/tst-getlogin.c: New file, contains simple tests for
3435 getlogin and getlogin_r.
3437 1999-11-09 Andreas Schwab <schwab@suse.de>
3439 * misc/syslog.c: For LOG_PERROR only append a newline if
3442 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
3444 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3447 1999-11-08 Andreas Jaeger <aj@suse.de>
3449 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3450 this fixes a memory leak (closes PR libc/1435).
3452 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3453 reflect memory allocation.
3455 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3456 allocation in _nl_explode_name.
3458 1999-11-06 Andreas Jaeger <aj@suse.de>
3460 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3462 Reported by wes@surety.com, closes PR libc/1432.
3464 1999-11-05 Geoff Keating <geoffk@cygnus.com>
3466 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3467 enumerator lists (-pedantic complains).
3468 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
3469 test for 'one bit set'.
3470 (feclearexcept): Likewise.
3472 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
3474 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3476 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3478 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3481 1999-10-04 Tim Waugh <twaugh@redhat.com>
3483 * posix/wordexp-test.c: More tests.
3485 * posix/wordexp.c (wordexp): Explicit null words should be kept.
3487 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
3489 * locale/programs/linereader.c (get_string): Correct type of buf2
3491 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3492 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3493 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3494 _NL_CTYPE_OUTDIGIT*_WC.
3495 (allocate_arrays): Completely initialize mapping tables.
3496 * locale/programs/ld-time.c (time_startup): We need the wide car
3498 (time_finish): Correct handling of era.
3499 (time_output): Fix a few array indeces.
3500 (time_read): Pass the repertoire map to lr_token.
3502 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
3504 * Versions.def: Add version for libthread_db.
3506 1999-11-02 Andreas Jaeger <aj@suse.de>
3508 * manual/header.texi (Library Summary): The command @indexfonts
3509 doesn't exist anymore, use @smallfonts instead.
3511 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
3513 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3514 instead of duplicating definitions.
3516 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3518 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3520 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3521 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3522 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3523 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3524 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3526 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3528 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3530 * sysdeps/unix/sysv/linux/kernel-features.h
3531 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3532 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3534 * manual/texinfo.tex: Updated.
3536 1999-11-01 Andreas Jaeger <aj@suse.de>
3538 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3540 * inet/gethstbynm2_r.c: Reorder addresses.
3542 1999-09-11 Paul Eggert <eggert@twinsun.com>
3544 * posix/glob.h (glob): If #defining to glob64, do this before
3545 declaring it, so that all declarations and uses match, and do not
3546 declare glob64, to avoid a declaration clash.
3547 (globfree): Likewise with globfree64.
3549 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3551 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3552 Keep the trailing slash unless DIRNAME is just "x:/".
3554 1999-10-11 Andreas Jaeger <aj@suse.de>
3556 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3557 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3558 Closes PR libc/1384.
3560 1999-10-20 Andreas Schwab <schwab@suse.de>
3562 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3563 (generated): Add it here.
3564 (before-compile): Add libm-test.c.
3565 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3567 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3570 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3572 * Makefile (pdf): New goal.
3573 * manual/Makefile: Add definitions and rules for PDF generation.
3575 * Versions.def (libm): Add GLIBC_2.1.3.
3577 ISO C99 TR1 changes various fe* functions to return an error value.
3578 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3579 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3580 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3581 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3582 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3583 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3584 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3585 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3586 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3587 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3588 * sysdeps/arm/fpu/fegetenv.c: Likewise.
3589 * sysdeps/arm/fpu/fesetenv.c: Likewise.
3590 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3591 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3592 * sysdeps/generic/fclrexcpt.c: Likewise.
3593 * sysdeps/generic/fegetenv.c: Likewise.
3594 * sysdeps/generic/fesetenv.c: Likewise.
3595 * sysdeps/generic/feupdateenv.c: Likewise.
3596 * sysdeps/generic/fgetexcptflg.c: Likewise.
3597 * sysdeps/generic/fraiseexcpt.c: Likewise.
3598 * sysdeps/generic/fsetexcptflg.c: Likewise.
3599 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3600 * sysdeps/i386/fpu/fegetenv.c: Likewise.
3601 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3602 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3603 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3604 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3605 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3606 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3607 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3608 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3609 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3610 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3611 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3612 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3613 * sysdeps/mips/fclrexcpt.c: Likewise.
3614 * sysdeps/mips/fegetenv.c: Likewise.
3615 * sysdeps/mips/fesetenv.c: Likewise.
3616 * sysdeps/mips/feupdateenv.c: Likewise.
3617 * sysdeps/mips/fgetexcptflg.c: Likewise.
3618 * sysdeps/powerpc/fclrexcpt.c: Likewise.
3619 * sysdeps/powerpc/fegetenv.c: Likewise.
3620 * sysdeps/powerpc/fesetenv.c: Likewise.
3621 * sysdeps/powerpc/feupdateenv.c: Likewise.
3622 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3623 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3624 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3625 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3626 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3627 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3628 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3629 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3630 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3631 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3632 * math/fenv.h: Adjust prototypes.: Likewise.
3633 * manual/arith.texi: Adjust documentation for these changes.
3635 * manual/arith.texi: Document feraiseexcept.
3637 * sysdeps/powerpc/fegetenv.c: Moved to...
3638 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3639 * sysdeps/powerpc/fegetround.c: Moved to...
3640 * sysdeps/powerpc/fpu/fegetround.c: ...here.
3641 * sysdeps/powerpc/feholdexcpt.c: Moved to...
3642 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3643 * sysdeps/powerpc/fesetenv.c: Moved to...
3644 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3645 * sysdeps/powerpc/fenv_libc.h: Moved to...
3646 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3647 * sysdeps/powerpc/feupdateenv.c: Moved to...
3648 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3649 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3650 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3651 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3652 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3653 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3654 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3655 * sysdeps/powerpc/ftestexcept.c: Moved to...
3656 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3657 * sysdeps/powerpc/fesetround.c: Moved to...
3658 * sysdeps/powerpc/fpu/fesetround.c: ...here
3659 * sysdeps/powerpc/fenv_const.c: Moved to...
3660 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3662 * sysdeps/mips/fclrexcpt.c: Moved to...
3663 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3664 * sysdeps/mips/fegetenv.c: Moved to...
3665 * sysdeps/mips/fpu/fegetenv.c: ...here.
3666 * sysdeps/mips/fegetround.c: Moved to...
3667 * sysdeps/mips/fpu/fegetround.c: ...here.
3668 * sysdeps/mips/fesetenv.c: Moved to...
3669 * sysdeps/mips/fpu/fesetenv.c: ...here.
3670 * sysdeps/mips/fesetround.c: Moved to...
3671 * sysdeps/mips/fpu/fesetround.c: ...here.
3672 * sysdeps/mips/feupdateenv.c: Moved to...
3673 * sysdeps/mips/fpu/feupdateenv.c: ...here.
3674 * sysdeps/mips/fgetexcptflg.c: Moved to...
3675 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3676 * sysdeps/mips/ftestexcept.c: Moved to...
3677 * sysdeps/mips/fpu/ftestexcept.c: ...here.
3679 1999-10-29 Jakub Jelinek <jakub@redhat.com>
3681 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3682 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3683 libraries from statically linked programs.
3684 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3685 fix for sigaction on SPARC.
3686 Patches by David S. Miller <davem@redhat.com>.
3688 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3689 gregset_t and other required structures and defines for SPARC 64bit
3690 ABI as well, not only 32bit ABI.
3692 1999-10-31 Andreas Jaeger <aj@suse.de>
3694 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3695 by __USE_ISOC99 and update comments.
3697 * math/complex.h: Update comments for ISO C99.
3698 * math/fenv.h: Likewise.
3699 * math/test-fenv.c: Likewise.
3700 * math/tgmath.h: Likewise.
3701 * libio/stdio.h: Likewise.
3702 * posix/sys/types.h: Likewise.
3703 * sysdeps/generic/inttypes.h: Likewise.
3704 * sysdeps/generic/stdint.h: Likewise.
3706 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3708 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3710 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3711 recognize _ISOC99_SOURCE.
3712 * libio/stdio.h: Likewise.
3713 * math/math.h: Likewise.
3714 * math/bits/mathcalls.h: Likewise.
3715 * math/stdio.h: Likewise.
3716 * stdlib/stdlib.h: Likewise.
3717 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3718 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3719 * sysdeps/arm/bits/huge_val.h: Likewise.
3720 * sysdeps/generic/bits/mathdef.h: Likewise.
3721 * sysdeps/i386/bits/huge_val.h: Likewise.
3722 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3723 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3724 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3725 * sysdeps/m68k/bits/huge_val.h: Likewise.
3726 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3727 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3728 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3729 * sysdeps/powerpc/bits/mathinline.h: Likewise.
3730 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3731 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3732 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3733 * wcsmbs/wchar.h: Likewise.
3735 * sysdeps/powerpc/bits/mathdef.h: Moved to...
3736 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3737 * sysdeps/powerpc/bits/mathinline.h: Moved to...
3738 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3739 * sysdeps/powerpc/bits/fenv.h: Moved to...
3740 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3742 1999-10-31 Andreas Jaeger <aj@suse.de>
3744 * manual/math.texi (Errors in Math Functions): Correct TeX code.
3746 1999-10-31 Andreas Jaeger <aj@suse.de>
3748 * math/libm-test.inc: Change comments to use ISO C99 instead of
3750 * math/w_lgamma.c: Likewise.
3751 * math/w_lgammaf.c: Likewise.
3752 * math/w_lgammal.c: Likewise.
3753 * math/test-fenv.c: Likewise.
3754 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3756 * sysdeps/generic/printf_fphex.c: Likewise.
3758 1999-10-31 Andreas Jaeger <aj@suse.de>
3760 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3762 * manual/math.texi: Change ISO C9x to ISO C99.
3763 * manual/startup.texi: Likewise.
3764 * manual/stdio.texi: Likewise.
3766 1999-10-31 Andreas Jaeger <aj@suse.de>
3768 * manual/arith.texi: Change ISO C9x to ISO C99.
3769 * manual/time.texi (Low-Level Time String Parsing): Likewise.
3771 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
3773 * socket/Makefile (distribute): Add ifreq.h.
3775 * manual/time.texi (Formatting Date and Time): Revise comments about
3776 origins of the formats with ISO C99 references.
3778 1999-10-30 Andreas Jaeger <aj@suse.de>
3780 * sysdeps/unix/sysv/linux/ifreq.h: New file.
3782 1999-10-29 Andreas Jaeger <aj@suse.de>
3784 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3785 input format; mention that strtof and strtold are part of ISO C99.
3787 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3789 * manual/math.texi (Errors in Math Functions): New section.
3790 * math/libm-err-tab.pl: Moved to...
3791 * manual/libm-err-tab.pl: ...here.
3792 * manual/Makefile: Add rules for math function error table generation.
3794 * stdlib/tst-strtod.c: Add more hexadecimal tests.
3796 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3797 != 1 correctly and more than one digit before decimal point..
3799 1999-10-27 Andreas Jaeger <aj@suse.de>
3801 * sysdeps/generic/ifreq.h: New file.
3803 * resolv/res_hconf.c: Add missing includes to get all prototypes.
3804 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
3805 Reported by John DiMarco <jdd@cs.toronto.edu>.
3807 (_res_hconf_reorder_addrs): Made thread safe.
3808 (free_mem): New function, needed for malloc debugging.
3810 1999-10-29 Andreas Jaeger <aj@suse.de>
3812 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3813 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3814 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3815 opensock to use __opensock.
3817 * socket/Makefile (routines): Add opensock.
3819 * include/sys/socket.h (__opensock): Add prototype declaration.
3821 1999-10-29 Andreas Jaeger <aj@suse.de>
3823 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3825 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3827 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3828 new constant from Linux 2.3.25pre1.
3830 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3832 1999-10-29 Andreas Jaeger <aj@suse.de>
3834 * math/libm-err-tab.pl: New file to generate a table of
3835 libm-test-ulps values.
3837 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3840 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3841 struct sigcontext* object as second parameter for profil_counter.
3842 Patches by Jakub Jelinek <jakub@redhat.com>.
3844 1999-10-29 Andreas Jaeger <aj@suse.de>
3846 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3847 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3849 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3850 efs, qnx4 and reiser file systems.
3852 1999-10-29 Andreas Jaeger <aj@suse.de>
3854 * locale/Makefile (others): Set to localedef and locale for make
3857 * debug/Makefile (generated): Add xtrace for make clean to work.
3859 1999-10-29 Andreas Jaeger <aj@suse.de>
3861 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3863 1999-10-25 Andreas Jaeger <aj@suse.de>
3865 * math/libm-test.inc: Added code to ignore the given max ulps.
3866 (print_max_error): Check for ignore_max_ulp.
3867 (check_float_internal): Likewise.
3868 (parse_opt): Parse --ignore-max-ulp.
3869 (main): Initialize ignore_max_ulp.
3871 1999-10-26 Andreas Jaeger <aj@suse.de>
3873 * stdlib/msort.c: Include <alloca.h> for prototype.
3874 Remove K&R compatibility and _quicksort prototype.
3876 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3878 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3879 Remove K&R compatibility.
3880 Move prototype declaration to include/stdlib.h.
3881 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3883 * include/stdlib.h: Prototype declaration for _quicksort.
3885 1999-10-27 Andreas Jaeger <aj@suse.de>
3887 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3888 shifted a bit too much.
3889 Reported by Eugen Dedu <dedu@ese-metz.fr>.
3891 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3893 * resolv/gethnamaddr.c: Account bytes needed for alignment in
3894 buflen. Patch by Olaf Kirch <okir@lst.de>.
3896 * md5-crypt/md5test.c: Correct names of MD5 functions after
3897 removing of public names.
3899 * configure.in: Don't allow --enable-kernel without parameter.
3901 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3903 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3906 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
3908 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
3909 only used internally.
3910 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3911 remove weak alias for public names.
3912 * md5-crypt/md5.c: Remove weak aliase.
3914 1999-10-25 Andreas Jaeger <aj@suse.de>
3916 * math/README.libm-test: New file, documents libm-test.inc.
3918 1999-10-25 Andreas Jaeger <aj@suse.de>
3920 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3922 (print_ulps_file): Fix loops to not read @tests and @functions
3923 since those are not initialized with -n now.
3924 (parse_ulps): Set $results{..}{"kind"}.
3926 1999-10-25 Andreas Jaeger <aj@suse.de>
3928 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3930 * math/libm-test.inc (check_float_internal): Don't print ulps for
3933 1999-10-20 Andreas Jaeger <aj@suse.de>
3935 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3937 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3939 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
3941 * math/libm-test.inc: Disable some boundary case tests for inline
3944 * math/math.h: Pretty printing.
3946 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3947 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3948 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3949 * sysdeps/i386/fpu/e_log10.S: Likewise.
3950 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3951 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3952 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3953 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3954 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3955 * sysdeps/i386/fpu/s_log2.S: Likewise.
3956 * sysdeps/i386/fpu/s_log2f.S: Likewise.
3957 * sysdeps/i386/fpu/s_log2l.S: Likewise.
3959 * sysdeps/i386/fpu/libm-test-ulps: New file.
3961 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3963 (pow): Correct case x == 0.
3964 (__sgn1l): Correct handling of -0.0.
3966 1999-10-22 Andreas Jaeger <aj@suse.de>
3968 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3969 (atan_test): Likewise.
3970 (atanh_test): Likewise.
3971 (atan2_test): Likewise.
3972 (carg_test): Likewise.
3973 (ceil_test): Likewise.
3974 (cos_test): Likewise.
3975 (cosh_test): Likewise.
3976 (cpow_test): Likewise.
3977 (erf_test): Likewise.
3978 (erfc_test): Likewise.
3979 (exp_test): Likewise.
3980 (exp10_test): Likewise.
3981 (exp2_test): Likewise.
3982 (expm1_test): Likewise.
3983 (fabs_test): Likewise.
3984 (floor_test): Likewise.
3985 (fmod_test): Likewise.
3986 (gamma_test): Likewise.
3987 (lgamma_test): Likewise.
3988 (log10_test): Likewise.
3989 (log1p_test): Likewise.
3990 (log2_test): Likewise.
3991 (logb_test): Likewise.
3992 (nearbyint_test): Likewise.
3993 (remainder_test): Likewise.
3994 (remquo_test): Likewise.
3995 (sin_test): Likewise.
3996 (sincos_test): Likewise.
3997 (sinh_test): Likewise.
3998 (sqrt_test): Likewise.
3999 (tan_test): Likewise.
4000 (tanh_test): Likewise.
4001 (tgamma_test): Likewise.
4003 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
4005 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4007 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4009 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4010 for -Inf and return NaN.
4012 * configure.in: Correct test for Cygnus gcc versions.
4014 1999-10-21 Andreas Jaeger <aj@suse.de>
4016 * math/libm-test.inc (cimag_test): New function, tests cimag.
4017 (creal_test): New function, tests creal.
4018 (conj_test): New function, tests conj.
4019 (main): Add new functions.
4021 1999-10-20 Andreas Jaeger <aj@suse.de>
4023 * math/libm-test.inc: Rewrite to allow different deltas for real
4024 and imaginary part of complex functions.
4025 * math/gen-libm-test.pl: Likewise.
4027 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
4029 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4032 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4034 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4035 for -Inf and return NaN.
4037 * math/gen-libm-test.pl: Fix program name in help message.
4039 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4041 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4043 * sysdeps/i386/Implies: Correct order of libm directories.
4045 1999-10-19 Andreas Jaeger <aj@suse.de>
4047 * include/bits/ipc.h: Remove K&R compatibility.
4048 * include/libintl.h: Likewise.
4049 * include/math.h: Likewise.
4050 * include/mntent.h: Likewise
4051 * include/netdb.h: Likewise.
4052 * include/pwd.h: Likewise.
4053 * include/sched.h: Likewise.
4054 * include/shadow.h: Likewise
4055 * include/stdlib.h: Likewise.
4056 * include/sys/file.h: Likewise.
4057 * include/sys/gmon.h: Likewise.
4058 * include/sys/ioctl.h: Likewise.
4059 * include/sys/mman.h: Likewise.
4060 * include/sys/resource.h: Likewise.
4061 * include/sys/socket.h: Likewise.
4062 * include/sys/stat.h: Likewise.
4063 * include/sys/sysinfo.h: Likewise.
4064 * include/sys/time.h: Likewise.
4065 * include/sys/times.h: Likewise.
4066 * include/sys/uio.h: Likewise.
4067 * include/sys/wait.h: Likewise.
4068 * include/termios.h: Likewise.
4069 * include/time.h: Likewise.
4070 * include/ulimit.h: Likewise.
4071 * include/utmp.h: Likewise.
4072 * include/wchar.h: Likewise.
4073 * include/wctype.h: Likewise.
4075 1999-10-19 Andreas Jaeger <aj@suse.de>
4077 * math/libm-test.inc: Remove one K&R compatibility.
4078 (main): Enable nexttoward_test.
4080 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4081 libm-test-ulps.h; pretty print output a bit.
4083 1999-10-19 Andreas Jaeger <aj@suse.de>
4085 * iconv/iconv_prog.c (main): Set exit value in case that reading
4086 from stdin failed [PR libc/1404].
4088 1999-10-18 Andreas Jaeger <aj@suse.de>
4090 Added improved math testsuite:
4091 * math/libm-test.inc: New file, contains all tests from
4092 libm-test.c but in a different form.
4093 * math/libm-test.c: Removed.
4094 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4095 * math/gen-libm-test.pl: New file: Preprocessor.
4096 * math/test-double.c: Adopted to new testsuite.
4097 * math/test-idouble.c: Likewise.
4098 * math/test-float.c: Likewise.
4099 * math/test-ifloat.c: Likewise.
4100 * math/test-ldouble.c: Likewise.
4101 * math/test-ildoubl.c: Likewise.
4102 * math/Makefile: Added rules to generate new suite.
4104 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4106 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4107 Patch by J. Richard Sladkey <jrs@world.std.com>.
4109 * scripts/config.sub: Update from latest autoconf version.
4110 * scripts/config.guess: Likewise.
4112 1999-10-18 Andreas Jaeger <aj@suse.de>
4114 * inet/arpa/inet.h: Remove K&R compatibility.
4115 * math/fenv.h: Likewise.
4117 1999-10-18 Andreas Jaeger <aj@suse.de>
4119 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4120 kernel_sigaction): Remove K&R compatibility.
4121 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4122 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4123 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4124 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4125 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4126 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4127 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4128 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4129 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4130 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4131 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4132 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4133 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4134 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4135 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4136 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4137 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4139 1999-10-18 Andreas Jaeger <aj@suse.de>
4141 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4142 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4144 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4146 * po/gl.po: New file.
4148 1999-10-18 Andreas Schwab <schwab@suse.de>
4150 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4151 namespace selection.
4153 1999-10-18 Andreas Schwab <schwab@suse.de>
4155 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4156 clash with the TERM environment variable.
4158 1999-10-18 Andreas Jaeger <aj@suse.de>
4160 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4161 returns now NaN + i NaN.
4162 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4163 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4165 1999-10-18 Andreas Jaeger <aj@suse.de>
4167 * include/aio.h: Remove K&R compatiblity.
4168 * include/alloca.h: Likewise.
4169 * include/db.h: Likewise.
4170 * include/dirent.h: Likewise.
4171 * include/fcntl.h: Likewise.
4172 * include/fpu_control.h: Likewise.
4173 * include/glob.h: Likewise.
4174 * include/grp.h: Likewise.
4175 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4176 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4177 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4178 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4180 * include/execinfo.h: Add __THROW.
4182 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4184 * sysdeps/mips/Implies: Remove wordsize-32 reference.
4185 * sysdeps/mips/mips3/Implies: Add it here.
4187 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
4189 * elf/elf.h: Add various platform and architecture extensions.
4191 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4192 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4195 * socket/sys/socket.h: Remove K&R compatibility.
4197 1999-10-16 Andreas Jaeger <aj@suse.de>
4199 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4201 1999-10-15 Andreas Jaeger <aj@suse.de>
4203 * stdlib/Makefile (tests): Added tst-xpg-basename.
4205 * stdlib/tst-xpg-basename.c: New test file.
4207 1999-10-14 Cristian Gafton <gafton@redhat.com>
4209 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4211 1999-10-14 Andreas Jaeger <aj@suse.de>
4213 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
4214 endian version works for both endiannesses.
4216 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4219 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4221 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4222 register names unconditionally, only if __USE_GNU.
4224 * debug/Makefile: Fix rules to generate pcprofiledump.
4226 * include/ucontext.h: New file.
4228 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4230 1999-10-12 Andreas Jaeger <aj@suse.de>
4232 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4234 * math/basic-test.c: Fix typo.
4236 * locale/programs/xstrdup.c: Include string.h for glibc
4237 compilation to get string prototypes.
4239 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4240 gregset_t and fpregset_t.
4242 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4243 warnings. Correct value for x == 0.
4245 * argp/argp-help.c: Remove broken definition of flockfile and
4248 1999-10-12 Andreas Schwab <schwab@suse.de>
4250 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4251 generic Linux version.
4253 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4255 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4257 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4259 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4260 and fpregset_t definitions.
4262 * malloc/memprof.c (GETSP): Define for PowerPC.
4263 (GETTIME): Fix generic version.
4265 1999-10-10 Philip Blundell <philb@gnu.org>
4267 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4270 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4272 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4273 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4275 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4277 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4279 * sysdeps/powerpc/e_sqrt.c: Moved to...
4280 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4281 * sysdeps/powerpc/e_sqrtf.c: Moved to...
4282 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4284 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4285 * sysdeps/powerpc/sub_n.S: Likewise.
4286 * sysdeps/powerpc/strlen.S: Likewise.
4287 * sysdeps/powerpc/strcpy.S: Likewise.
4288 * sysdeps/powerpc/strcmp.S: Likewise.
4289 * sysdeps/powerpc/strchr.S: Likewise.
4290 * sysdeps/powerpc/stpcpy.S: Likewise.
4291 * sysdeps/powerpc/setjmp.S: Likewise.
4292 * sysdeps/powerpc/rshift.S: Likewise.
4293 * sysdeps/powerpc/ppc-mcount.S: Likewise.
4294 * sysdeps/powerpc/mul_1.S: Likewise.
4295 * sysdeps/powerpc/memset.S: Likewise.
4296 * sysdeps/powerpc/lshift.S: Likewise.
4297 * sysdeps/powerpc/dl-start.S: Likewise.
4298 * sysdeps/powerpc/bzero.S: Likewise.
4299 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4300 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4301 * sysdeps/powerpc/addmul_1.S: Likewise.
4302 * sysdeps/powerpc/add_n.S: Likewise.
4303 * sysdeps/powerpc/__longjmp.S: Likewise.
4304 * sysdeps/powerpc/elf/start.S: Likewise.
4306 1999-10-11 Cristian Gafton <gafton@redhat.com>
4308 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4311 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
4313 * stdlib/atexit.c (initial): New variable. Use to initialize
4315 * stdlib/exit.c (exit): Beware to not free statically allocated
4316 list element [PR libc/1305].
4318 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4319 slash before the basename [PR libc/1383].
4321 * argp/argp.h: Fix typo in last patch.
4323 * sysdeps/powerpc/sysdep.h: New file.
4324 * sysdeps/unix/powerpc/sysdep.h: New file.
4325 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4326 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4327 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4328 instead of bare numbers.
4329 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4330 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4331 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4333 * sysdeps/hppa/sysdep.h: New file.
4335 1999-10-10 Andreas Jaeger <aj@suse.de>
4337 * misc/sgtty.h: Fix typo in last patch.
4339 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
4341 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4342 * sysdeps/powerpc/s_copysign.S: Move to...
4343 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
4344 * sysdeps/powerpc/s_copysignf.S: Move to...
4345 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4346 * sysdeps/powerpc/s_fabs.S: Move to...
4347 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
4348 * sysdeps/powerpc/s_fabsf.S: Move to...
4349 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4350 * sysdeps/powerpc/s_fdim.c: Move to...
4351 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4352 * sysdeps/powerpc/s_fdimf.c: Move to...
4353 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4354 * sysdeps/powerpc/s_fmax.S: Move to...
4355 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
4356 * sysdeps/powerpc/s_fmaxf.S: Move to...
4357 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4358 * sysdeps/powerpc/s_fmin.S: Move to...
4359 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
4360 * sysdeps/powerpc/s_fminf.S: Move to...
4361 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4362 * sysdeps/powerpc/s_isnan.S: Move to...
4363 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4364 * sysdeps/powerpc/s_isnanf.S: Move to...
4365 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4366 * sysdeps/powerpc/s_llrint.c: Move to...
4367 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4368 * sysdeps/powerpc/s_llrintf.c: Move to...
4369 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4370 * sysdeps/powerpc/s_llround.c: Move to...
4371 * sysdeps/powerpc/fpu/s_llround.c: ...here.
4372 * sysdeps/powerpc/s_llroundf.c: Move to...
4373 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4374 * sysdeps/powerpc/s_lrint.c: Move to...
4375 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4376 * sysdeps/powerpc/s_lrintf.S: Move to...
4377 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4378 * sysdeps/powerpc/s_lround.c: Move to...
4379 * sysdeps/powerpc/fpu/s_lround.c: ...here.
4380 * sysdeps/powerpc/s_lroundf.c: Move to...
4381 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4382 * sysdeps/powerpc/s_rint.c: Move to...
4383 * sysdeps/powerpc/fpu/s_rint.c: ...here.
4384 * sysdeps/powerpc/s_rintf.c: Move to...
4385 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4386 * sysdeps/powerpc/t_sqrt.c: Move to...
4387 * sysdeps/powerpc/fpu/t_sqrt: ...here.
4388 * sysdeps/powerpc/w_sqrt.c: Move to...
4389 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4390 * sysdeps/powerpc/w_sqrtf.c: Move to...
4391 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4392 * configure.in: Support platforms which have no .text pseudo-op.
4393 Patches partly by Jimi X <jimix@pobox.com>.
4395 * Makeconfig: Look also in all subdirs for shlib-versions files.
4397 * malloc/memprof.sh: Fix --help string a bit.
4399 * argp/argp.h: Remove K&R compatiblity.
4400 * assert/assert.h: Likewise.
4401 * catgets/nl_types.h: Likewise.
4402 * ctype/ctype.h: Likewise.
4403 * db/db.h: Likewise.
4404 * db/ndbm.h: Likewise.
4405 * db2/db.h: Likewise.
4406 * db2/db_185.h: Likewise.
4407 * debug/execinfo.h: Likewise.
4408 * dirent/dirent.h: Likewise.
4409 * dlfcn/dlfcn.h: Likewise.
4410 * gmon/sys/gmon.h: Likewise.
4411 * grp/grp.h: Likewise.
4412 * iconv/gconv.h: Likewise.
4413 * iconv/iconv.h: Likewise.
4414 * include/execinfo.h: Likewise.
4415 * inet/aliases.h: Likewise.
4416 * inet/netinet/ether.h: Likewise.
4417 * inet/netinet/in.h: Likewise.
4418 * intl/libintl.h: Likewise.
4419 * io/fcntl.h: Likewise.
4420 * io/fts.h: Likewise.
4421 * io/ftw.h: Likewise.
4422 * io/utime.h: Likewise.
4423 * io/sys/poll.h: Likewise.
4424 * io/sys/stat.h: Likewise.
4425 * io/sys/statfs.h: Likewise.
4426 * io/sys/statvfs.h: Likewise.
4427 * libio/libio.h: Likewise.
4428 * libio/stdio.h: Likewise.
4429 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4430 * locale/locale.h: Likewise.
4431 * login/pty.h: Likewise.
4432 * login/utmp.h: Likewise.
4433 * malloc/mcheck.h: Likewise.
4434 * math/complex.h: Likewise.
4435 * math/math.h: Likewise.
4436 * math/math_private.h: Likewise.
4437 * misc/err.h: Likewise.
4438 * misc/fstab.h: Likewise.
4439 * misc/libgen.h: Likewise.
4440 * misc/mntent.h: Likewise.
4441 * misc/regexp.h: Likewise.
4442 * misc/search.h: Likewise.
4443 * misc/sgtty.h: Likewise.
4444 * misc/ttyent.h: Likewise.
4445 * misc/sys/cdefs.h: Likewise.
4446 * misc/sys/file.h: Likewise.
4447 * misc/sys/ioctl.h: Likewise.
4448 * misc/sys/mman.h: Likewise.
4449 * misc/sys/select.h: Likewise.
4450 * misc/sys/syslog.h: Likewise.
4451 * misc/sys/uio.h: Likewise.
4452 * misc/sys/ustat.h: Likewise.
4453 * nss/nss.h: Likewise.
4454 * posix/sched.h: Likewise.
4455 * posix/unistd.h: Likewise.
4456 * posix/wordexp.h: Likewise.
4457 * posix/sys/times.h: Likewise.
4458 * posix/sys/utsname.h: Likewise.
4459 * posix/sys/wait.h: Likewise.
4460 * pwd/pwd.h: Likewise.
4461 * resolv/netdb.h: Likewise.
4462 * resolv/resolv.h: Likewise.
4463 * resource/ulimit.h: Likewise.
4464 * resource/sys/resource.h: Likewise.
4465 * resource/sys/vlimit.h: Likewise.
4466 * resource/sys/vtimes.h: Likewise.
4467 * rt/aio.h: Likewise.
4468 * setjmp/setjmp.h: Likewise.
4469 * shadow/shadow.h: Likewise.
4470 * signal/signal.h: Likewise.
4471 * socket/socket.h: Likewise.
4472 * stdio/stdio.h: Likewise.
4473 * stdio-common/_itoa.h: Likewise.
4474 * stdio-common/_itowa.h: Likewise.
4475 * stdio-common/printf.h: Likewise.
4476 * stdlib/alloca.h: Likewise.
4477 * stdlib/fmtmsg.h: Likewise.
4478 * stdlib/monetary.h: Likewise.
4479 * stdlib/stdlib.h: Likewise.
4480 * stdlib/ucontext.h: Likewise.
4481 * streams/stropts.h: Likewise.
4482 * string/argz.h: Likewise.
4483 * string/envz.h: Likewise.
4484 * string/string.h: Likewise.
4485 * string/strings.h: Likewise.
4486 * string/bits/string2.h: Likewise.
4487 * sunrpc/rpc/auth.h: Likewise.
4488 * sunrpc/rpc/auth_des.h: Likewise.
4489 * sunrpc/rpc/auth_unix.h: Likewise.
4490 * sunrpc/rpc/clnt.h: Likewise.
4491 * sunrpc/rpc/des_crypt.h: Likewise.
4492 * sunrpc/rpc/netdb.h: Likewise.
4493 * sunrpc/rpc/pmap_clnt.h: Likewise.
4494 * sunrpc/rpc/pmap_prot.h: Likewise.
4495 * sunrpc/rpc/pmap_rmt.h: Likewise.
4496 * sunrpc/rpc/rpc_msg.h: Likewise.
4497 * sunrpc/rpc/svc.h: Likewise.
4498 * sunrpc/rpc/svc_auth.h: Likewise.
4499 * sunrpc/rpc/xdr.h: Likewise.
4500 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4501 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4502 * sysvipc/sys/ipc.h: Likewise.
4503 * sysvipc/sys/msg.h: Likewise.
4504 * sysvipc/sys/sem.h: Likewise.
4505 * sysvipc/sys/shm.h: Likewise.
4506 * termios/termios.h: Likewise.
4507 * time/time.h: Likewise.
4508 * time/sys/time.h: Likewise.
4509 * time/sys/timeb.h: Likewise.
4510 * wcsmbs/wchar.h: Likewise.
4511 * wctype/wctype.h: Likewise.
4513 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
4515 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4516 _GNU_SOURCE be defined.
4518 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4520 * ctype/ctype.h: Pretty print.
4522 * po/cs.po: Fix typos.
4524 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4525 handling of empty entries. [PR libc/1345]
4526 Patch by Thorsten Kukuk <kukuk@suse.de>.
4528 1999-10-08 Andreas Schwab <schwab@suse.de>
4530 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
4532 1999-10-08 Andreas Schwab <schwab@suse.de>
4534 * debug/pcprofiledump.c: Fix typos.
4536 1999-10-07 Andreas Jaeger <aj@suse.de>
4538 * math/Makefile (tests): Added basic-tests.
4540 * math/basic-test.c: New file. Contains function basic_tests from
4543 1999-10-07 Andreas Schwab <schwab@suse.de>
4545 * malloc/memprof.sh: Fix quoting bugs.
4547 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4549 * timezone/europe: Update from tzdata1999h.
4551 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4553 * elf/elf.h: Update from last gABI draft.
4555 * elf/elf.h: Remove EM_486 entry.
4556 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4559 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4561 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4562 Add rules for both programs.
4563 * debug/pcprofiledump.c: New file.
4564 * debug/xtrace.sh: New file.
4565 * debug/pcprofile.c: Allow creating output file. Add magic signature
4566 to let reader recognize file format.
4568 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
4570 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4572 1999-10-05 Andreas Jaeger <aj@suse.de>
4574 * locale/programs/ld-identification.c: Fix typo in comment.
4575 * locale/programs/ld-messages.c: Likewise.
4576 * locale/programs/ld-monetary.c: Likewise.
4577 * locale/programs/ld-name.c: Likewise.
4579 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4580 (collate_read): Remove unnecessary comparisons with ignore_content.
4582 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4584 (ctype_read): Remove unnecessary comparisons with ignore_content.
4585 Fix typos in comments.
4587 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4588 comparisons with ignore_content.
4590 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
4594 * time/time.h: Move __gmtime_r declaration to ...
4595 * include/time.h: ...here.
4597 1999-10-05 Andreas Jaeger <aj@suse.de>
4599 * manual/message.texi (The message catalog files): Fix description
4600 to match gencat implementation and Unix98: Message fields are
4601 separated by a single blank space.
4603 1999-10-05 Andreas Jaeger <aj@suse.de>
4605 * manual/string.texi (Search Functions): Add missing end for
4606 memrchr description.
4608 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4610 * malloc/memprof.sh: Various small cleanups. Add short options.
4611 Write error messages to stderr.
4613 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4615 * malloc/memprof.sh: Take options to control memprofstat.
4617 * malloc/Makefile: Add rule to generate memprof script.
4618 * malloc/memprof.sh: New file.
4620 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4623 1999-10-04 Andreas Jaeger <aj@suse.de>
4625 * configure.in: Allow makeinfo 4.*.
4627 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4629 * stdio-common/vfprintf.c: Correct last patch and use outchar
4630 instead of PUTC to output single characters.
4631 * stdio-common/Makefile (tests): Add bug13.
4632 * stdio-common/bug13.c: New file.
4634 * configure.in: Add additional options --with-gd-include and
4635 --with-gd-lib to help people with strange installations.
4637 * malloc/Makefile: Add libdl dependency to libmemprof.so.
4638 * malloc/Depend: New file.
4640 1999-10-04 Andreas Jaeger <aj@suse.de>
4642 * timezone/README: Change wording to not mention the current
4643 version. This way we can't forget to update the file.
4645 1999-10-04 Andreas Jaeger <aj@suse.de>
4647 * manual/time.texi (Basic CPU Time): Fix typo.
4648 Reported by Ben Pfaff <pfaffben@msu.edu>.
4650 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4652 * string/string.h: Move __memrchr declaration to ...
4653 * include/string.h: ...here.
4655 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4657 * string/Makefile (routines): Add memrchr.
4659 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4660 Correct order of tests for matching bytes.
4662 * string/tester.c: Add tests for memrchr.
4664 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4665 Start from the last character and take decrement not increment
4666 into account for correction in return line. Add memrchr alias.
4667 * sysdeps/i386/bits/string.h: Likewise.
4669 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4671 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4673 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4675 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4677 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4680 * string/Versions: Export memrchr.
4682 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4684 * misc/Versions (GLIBC_2.2): Add getloadavg.
4685 * misc/Makefile (routines): Add getloadavg.
4686 * sysdeps/generic/getloadavg.c: New file.
4687 * sysdeps/mach/getloadavg.c: New file.
4688 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4690 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4691 * sysdeps/i386/bits/string.h (__memrchr): New function.
4692 * string/string.h: Declare memrchr, __memrchr.
4693 * manual/string.texi (Search Functions): Document memrchr.
4695 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4697 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4698 CFLAGS-memprofstat.c, and LIBGD variables.
4699 * config.make.in: Add LIBGD.
4700 * malloc/Makefile: Add rules to generate libmemprof.so and
4702 * malloc/memprof.c: New file.
4703 * malloc/memprofstat.c: New file.
4705 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
4707 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4709 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4710 (inet_ntop6): Likewise.
4712 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4715 * resolv/tst-aton.c (main): Add more tests.
4717 * resolv/inet_addr.c (inet_aton): Correct some problems with to
4718 large numbers. Optimize a bit.
4720 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4722 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4723 account for added '0'.
4725 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4726 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
4727 len argument to be greater than needed address size.
4729 1999-10-01 Andreas Jaeger <aj@suse.de>
4731 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4733 * intl/finddomain.c (_nl_find_domain): Likewise.
4735 1999-09-30 Andreas Schwab <schwab@suse.de>
4737 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4739 1999-09-30 Andreas Jaeger <aj@suse.de>
4741 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4742 * sysdeps/i386/rshift.S: Likewise.
4743 * sysdeps/i386/strchrnul.S: Likewise.
4744 * sysdeps/i386/strchr.S: Likewise.
4745 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4748 1999-09-30 Andreas Jaeger <aj@suse.de>
4750 * manual/examples/pipe.c: Close other end of pipe to make example work.
4752 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4754 * timezone/checktab.awk: Update from tzcode1999g.
4755 * timezone/tzselect.ksh: Likewise.
4756 * timezone/africa: Update from tzdata1999g.
4757 * timezone/asia: Likewise.
4758 * timezone/australasia: Likewise.
4759 * timezone/europe: Likewise.
4760 * timezone/northamerica: Likewise.
4761 * timezone/southamerica: Likewise.
4762 * timezone/iso3166.tab: Likewise.
4763 * timezone/zone.tab: Likewise.
4765 1999-09-27 Andreas Jaeger <aj@suse.de>
4767 * resolv/netdb.h: Remove declaration of getnodebyname. It has
4768 been renamed to getipnodebyname. Move flags around.
4770 1999-09-27 Andreas Schwab <schwab@suse.de>
4772 * manual/message.texi (Locating gettext catalog): Fix typos.
4774 1999-09-27 Andreas Jaeger <aj@suse.de>
4776 * manual/socket.texi (Out-of-Band Data): Correct example program,
4777 rename some variables for clarity.
4778 Reported by James Antill <james@and.org>, close PR libc/1329.
4780 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
4782 * locale/programs/ld-collate.c (insert_value): Add hack to not
4783 crash in incomplete collate implementation.
4785 * locale/programs/ld-collate.c (read_directions): Read new token
4786 after accepting sorting rule.
4788 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
4790 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4791 error message printing. Correctly test whether all characters of
4792 current token are used.
4793 (ctype_read): NUL terminate last_str.
4795 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
4797 * nscd/connections.c: Invalidate caches on request.
4798 * nscd/nscd-client.h: Add INVALIDATE to request_type.
4799 * nscd/nscd.c: Add invalidate cache option.
4800 * nscd/nscd.conf: Change log directory to /var/log (FHS).
4802 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
4804 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4805 not ovverwrite last group member with NULL pointer.
4806 Reported by Thomas Winder <thomas.winder@newlogic.at>.
4808 1999-09-24 Andreas Jaeger <aj@suse.de>
4810 * stdio-common/tst-printf.c (main): Add a testcase for large
4811 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4813 1999-09-24 Andreas Schwab <schwab@suse.de>
4815 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
4817 1999-09-24 Andreas Jaeger <aj@suse.de>
4819 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4820 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
4822 1999-09-23 Mark Kettenis <kettenis@gnu.org>
4824 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4825 variable. Define MORECORE_CLEARS to 2.
4827 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4828 doesn't clear the contents of memory that is reallocated after
4829 decrementing the break value first. Update comment about
4830 MORECORE_CLEARS, explaining the meaning of the values it can be
4833 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
4835 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4838 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4844 1999-09-22 Andreas Jaeger <aj@suse.de>
4846 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4847 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4849 1999-09-22 Andreas Schwab <schwab@suse.de>
4851 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4853 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4855 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4856 the source directory. Fixes PR libc/1059.
4858 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
4860 * locale/programs/repertoire.c (repertoire_find_value): Abort if
4861 rep parameter is NULL.
4862 (repertoire_find_symbol): Likewise.
4863 (repertoire_find_seq): Likewise.
4865 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
4867 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4868 returned errno value in some cases.
4870 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4872 * iconvdata/Makefile (modules): Add GBK.
4873 (distribute): Add gbk.c.
4874 * iconvdata/gbk.c: New file.
4875 * iconvdata/gconv-modules: Add GBK entry.
4876 Contributed by Sean Chen <sean.chen@turbolinux.com>.
4878 * locale/programs/ld-monetary.c (monetary_output): Remove
4881 * locale/programs/ld-time.c (time_output): Correct expected number
4884 * manual/filesys.texi (Testing File Access): Correct description of
4887 1999-080-25 H.J. Lu <hjl@gnu.org>
4889 * csu/defs.awk (.end): Only match with leading white spaces.
4892 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4894 * stdlib/isomac.c: Add va_copy to allowed macros.
4896 * po/pl.po: Updated.
4898 1999-09-17 Andreas Schwab <schwab@suse.de>
4900 * Makefile (clean): Also remove $(postclean) files.
4902 1999-09-15 Andreas Jaeger <aj@suse.de>
4904 * pwd/Makefile (otherlibs): Add for building with static-nss.
4905 * inet/Makefile (otherlibs): Likewise.
4907 1999-09-15 Andreas Jaeger <aj@suse.de>
4909 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4910 function definition to avoid a compilation failure.
4912 1999-09-15 Andreas Jaeger <aj@suse.de>
4914 * stdlib/tst-environ.c (main): Add getenv regression test for
4915 environment variable that's one character long.
4917 1999-09-15 Andreas Jaeger <aj@suse.de>
4919 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4920 signal definitions to let glibc compile with older Linux versions
4921 (2.0.10 to 2.1.100 or so).
4923 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
4925 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4926 return zero to indicate no children died yet (assuming WNOHANG).
4928 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4930 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
4932 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4934 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4935 Return _hurd_pgrp instead of 0.
4937 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
4939 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4940 pages rather than just reprotecting them. This way we don't hold on
4941 to the backing space.
4943 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4944 Use __munmap instead of __vm_deallocate.
4946 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
4948 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4949 returned errno value in some cases.
4951 1999-09-17 Andreas Jaeger <aj@suse.de>
4953 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4954 to override user settings.
4956 1999-09-17 Andreas Schwab <schwab@suse.de>
4958 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4959 using a pointer to it.
4961 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
4963 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4964 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4966 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
4968 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4970 * elf/elf.h (PF_MASKOS): New definition.
4971 (EM_VAX): New definition.
4973 1999-08-09 Scott Bambrough <scottb@netwinder.org>
4975 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4976 'unsigned char ftype[8]', and 'unsigned int init_flag' to
4977 struct user_fp. These were added in version 2.2.12 of the
4979 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4980 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4981 The generic procfs.h included <asm/elf.h>. This causes
4982 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
4983 are included in the same source file. Found when building GDB.
4985 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
4987 * locale/langinfo.h: Remove byte-order dependent names.
4988 * locale/categories.def: Update after removal of byte-order dependent
4990 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
4991 with magic number in other byte order.
4992 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
4993 * locale/C-collate.c: Remove initializers for other byte-order.
4994 * locale/C-ctype.c: Likewise.
4995 * locale/C-monetary.c: Likewise.
4996 * locale/C-paper.c: Likewise.
4997 * locale/C-time.c: Likewise.
4998 * locale/lc-collate.c: Remove byte-order oriented initialization.
4999 * locale/lc-ctype.c: Likewise.
5000 * locale/lc-monetary.c: Likewise.
5001 * locale/lc-time.c: Likewise.
5002 * locale/programs/ld-address.c: Don't generate output in both
5004 * locale/programs/ld-ctype.c: Likewise.
5005 * locale/programs/ld-paper.c: Likewise.
5006 * locale/programs/ld-time.c: Likewise.
5007 * time/strftime.c (NLW): Don't use different byte-orders.
5008 * wctype/cname-lookup.h (cname_lookup): Likewise.
5010 * Makeconfig (localedir): Define using libdir, not datadir.
5011 (msgcatdir): New variable.
5012 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5013 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5015 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5016 (CPPFLAGS): Define paths using msgcatdir.
5017 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5018 * po/Makefile (mo-installed): Define using msgcatdir.
5020 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5022 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
5024 * stdio-common/vfprintf.c: Remove limitation on size of precision
5027 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5028 glibc by defining internal_function if it isn't already.
5030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5031 fails don't rely on errno value.
5032 (getanswer_r): Set *ERRNOP in error cases.
5034 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5035 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5036 associated data. Test for matching numeric address and family.
5037 (getaddrinfo): Remember EAI_NODATA result and return this in case
5039 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5041 * locale/programs/ld-address.c: Fix handling of non-existing
5042 definitions for this category. Correctly ignore content of this
5043 category is this is necessary.
5044 * locale/programs/ld-collate.c: Likewise.
5045 * locale/programs/ld-ctype.c: Likewise.
5046 * locale/programs/ld-identification.c: Likewise.
5047 * locale/programs/ld-measurement.c: Likewise.
5048 * locale/programs/ld-messages.c: Likewise.
5049 * locale/programs/ld-monetary.c: Likewise.
5050 * locale/programs/ld-name.c: Likewise.
5051 * locale/programs/ld-numeric.c: Likewise.
5052 * locale/programs/ld-paper.c: Likewise.
5053 * locale/programs/ld-telephone.c: Likewise.
5054 * locale/programs/ld-time.c: Likewise.
5055 * locale/programs/locfile.h (handle_copy): Take extra parameter
5056 with result pointer. Fill in name of locale from which to copy.
5057 Correctly read token after `END'.
5059 * locale/programs/localedef.c (main): Correct handling copy.
5060 (add_to_readlist): Take extra parameter which says whether we
5061 are supposed to read the file or not.
5062 (find_locale): Call add_to_readlist with extra parameter set to 0.
5064 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5065 instead of wrong number in array definitions.
5066 (add_to_readlist): Update prototype.
5068 * locale/programs/locfile.c (locfile_read): Mark categories not
5069 available in source file as read.
5070 (write_all_categories): Fix typo.
5072 * locale/programs/locales.h: Removed.
5074 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5076 * elf/elf.h (SHF_MASKOS): Added.
5078 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5080 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5082 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5084 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5086 * configure.in: Fix make version test for make 3.77.95 and later
5088 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5090 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5092 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5094 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5097 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5099 1999-09-09 Andreas Schwab <schwab@suse.de>
5101 * elf/link.h: Fix comment.
5103 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5105 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5107 * math/math.h: Pretty print.
5109 1999-09-10 Andreas Schwab <schwab@suse.de>
5111 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5112 character variable on bigendian platforms without unaligned memory
5115 1999-09-07 Cristian Gafton <gafton@redhat.com>
5117 * sysdeps/unix/sysv/linux/sys/raw.h: New file
5118 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5119 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5121 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5123 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5125 * time/ap.c: Removed. It was not used.
5126 * time/date.c: Likewise.
5127 * sysdeps/unix/nlist.c: Likewise.
5128 * sysdeps/generic/nlist.c: Likewise.
5129 * sysdeps/generic/varargs.h: Likewise.
5130 * stdio-common/scanf11.c: Likewise.
5131 * stdio-common/scanf6.c: Likewise.
5132 * scripts/=__ify: Likewise.
5133 * scripts/printsources: Likewise.
5134 * resolv/getnetnamadr.c: Likewise.
5135 * posix/id.c: Likewise.
5136 * misc/ioctltst.c: Likewise.
5137 * misc/nlist.h: Likewise.
5138 * math/test-math.h: Likewise.
5139 * include/nlist.h: Likewise.
5141 1999-09-06 Andreas Schwab <schwab@suse.de>
5143 * time/tzset.c (compute_change): Replace slow loop to compute T by
5146 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5148 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5149 escape sequences out even if the character itself does not fit
5152 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5154 1999-08-31 H.J. Lu <hjl@gnu.org>
5156 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5158 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
5160 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5161 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5162 (_hurd_priority_which_map):
5164 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
5166 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5168 1999-09-03 Andreas Schwab <schwab@suse.de>
5170 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5171 fork from __syscall_fork to __libc_fork.
5172 * posix/Versions: Add __libc_fork and __vfork to version
5175 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5177 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5178 dependencies in sort.
5180 1999-09-01 H.J. Lu <hjl@gnu.org>
5182 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5184 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5185 <sys/user.h> instead of <asm/user.h>.
5187 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
5189 * elf/elf.h: Update PARISC-specific flags and symbolic names.
5191 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
5193 * elf/elf.h: Update PARISC relocations.
5195 1999-08-31 Scott Bambrough <scottb@netwinder.org>
5197 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5198 #ifdef statement to prevent it from being included twice.
5199 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5200 #include <bits/armsigctx.h>.
5202 1999-08-31 Andreas Schwab <schwab@suse.de>
5204 * locale/C-collate.c: Add missing initialisations.
5205 * locale/C-ctype.c: Likewise.
5207 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
5209 * time/strftime.c (my_strftime): Remove unneeded variable len.
5211 * time/strptime.c: Undo last change.
5213 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
5215 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5216 Change charset.h to charmap.h.
5217 (categories): Add new categories. Leave out collate for now.
5219 * locale/categories.def: Add definitions for new categories.
5220 * locale/langinfo.h: Likewise.
5221 * locale/locale.h: Likewise.
5222 * locale/C-address.c: New file.
5223 * locale/C-identification.c: New file.
5224 * locale/C-measurement.c: New file.
5225 * locale/C-name.c: New file.
5226 * locale/C-paper.c: New file.
5227 * locale/C-telephone.c: New file.
5228 * locale/lc-address.c: Likewise.
5229 * locale/lc-identification.c: Likewise.
5230 * locale/lc-measurement.c: Likewise.
5231 * locale/lc-name.c: Likewise.
5232 * locale/lc-paper.c: Likewise.
5233 * locale/lc-telephone.c: Likewise.
5234 * locale/C-ctype.c: Update for locale rewrite.
5235 * locale/C-messages.c: Likewise.
5236 * locale/C-monetary.c: Likewise.
5237 * locale/C-time.c: Likewise.
5238 * locale/lc-collate.c: Likewise.
5239 * locale/lc-ctype.c: Likewise.
5240 * locale/lc-monetary.c: Likewise.
5241 * locale/lc-time.c: Likewise.
5242 * locale/localeinfo.h: Likewise.
5243 * locale/newlocale.c: Likewise.
5244 * locale/setlocale.c: Likewise.
5245 * locale/weight.h: Likewise.
5246 * locale/findlocale.c: Unconditionally use mmap.
5247 Handle new categories.
5248 * locale/loadlocale.c: Likewise.
5249 * locale/iso-3166.def: New file.
5250 * locale/iso-639.def: New file.
5251 * locale/programs/charmap-kw.gperf: Add new keywords.
5252 * locale/programs/locfile-kw.gperf: Likewise.
5253 * locale/programs/locfile-token.h: Define new tokens.
5254 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5255 * locale/programs/charmap.h: New file.
5256 * locale/programs/charset.h: Removed.
5257 * locale/programs/config.h: Add __LC_LAST.
5258 * locale/programs/lc-address.c: New file.
5259 * locale/programs/lc-identification.c: New file.
5260 * locale/programs/lc-measurement.c: New file.
5261 * locale/programs/lc-name.c: New file.
5262 * locale/programs/lc-paper.c: New file.
5263 * locale/programs/lc-telephone.c: New file.
5264 * locale/programs/lc-collate.c: Update for locale rewrite.
5265 * locale/programs/lc-ctype.c: Likewise.
5266 * locale/programs/lc-messages.c: Likewise.
5267 * locale/programs/lc-monetary.c: Likewise.
5268 * locale/programs/lc-numeric.c: Likewise.
5269 * locale/programs/lc-time.c: Likewise.
5270 * locale/programs/locale.c: Likewise.
5271 * locale/programs/localedef.c: Likewise.
5272 * locale/programs/locfile.c: Likewise.
5273 * locale/programs/repertoire.c: Likewise.
5274 * locale/programs/repertoire.h: Likewise.
5275 * locale/programs/locfile.c: Update prototypes.
5276 Update handle_copy definition.
5277 * locale/programs/linereader.c: Add handling of wide char strings and
5278 new definition file syntax.
5279 * locale/programs/linereader.h (struct token): Add elements for wide
5281 * locale/programs/locale-spec.c: Disable handling of collation
5283 * locale/programs/simple-hash.h: Cleanup.
5284 * locale/programs/stringtrans.h: Handle quite of end of line.
5285 * string/strcoll.c: Fall back on strcmp for now.
5286 * string/strxfrm.c: Fall back on strncpy/strlen for now.
5287 * time/strftime.c: Use new wide character data for wcsftime.
5288 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5289 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5291 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5292 compiling for i386 to avoid i686-like GOT pointer computation.
5294 * db2/db_int.h: Change tsl_t type to u_int32_t.
5295 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5296 * db2/mutex/alpha.h: New file.
5297 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
5298 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5300 Patches by Richard Henderson.
5302 * stdlib/tst-environ.c: Add cast to avoid warning.
5303 * timezone/test-tz.c: Use setenv instead of putenv.
5305 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5307 * manual/libc.texinfo: Update version and date.
5309 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5311 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5312 (File System Interface): Correct entry.
5313 (Permission Bits): Add missing commata after @xref.
5315 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5317 * timezone/tst-timezone.c (main): Don't pass const strings to
5318 putenv to avoid warnings.
5320 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5322 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
5324 * nis/Versions: Add _nss_*_getipnodebyname_r.
5325 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5326 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5327 * nss/Versions: Add _nss_files_getipnodebyname_r.
5329 1999-08-28 H.J. Lu <hjl@gnu.org>
5331 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5334 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5336 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5338 * inet/netinet/in.h: Likewise.
5339 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5340 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5342 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
5344 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5345 thresholds for SUID binaries. [PR libc/1277]
5347 * posix/regexbug1.c: Add one more similar case.
5349 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5351 * manual/install.texi (Running make install): Give examples for
5352 timezone and locale installation.
5354 1999-08-28 Zack Weinberg <zack@bitmover.com>
5356 * glibcbug.in: Get CCVERSION from autoconf substitution.
5357 * configure.in: Calculate and substitute CCVERSION.
5359 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5361 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5362 partially reverting a patch from 1998-12-29. We just can't change
5363 the flags, kernels with different flags lead to
5366 1999-08-26 Andreas Schwab <schwab@suse.de>
5368 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5370 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5372 * inet/rexec.c (rexec): Free memory if strings were allocated in
5373 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
5375 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5377 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5379 * manual/argp.texi: Fixing language and typos.
5380 * manual/conf.texi: Likewise.
5381 * manual/contrib.texi: Likewise.
5382 * manual/ctype.texi: Likewise.
5383 * manual/filesys.texi: Likewise.
5384 * manual/install.texi: Likewise.
5385 * manual/job.texi: Likewise.
5386 * manual/lang.texi: Likewise.
5387 * manual/llio.texi: Likewise.
5388 * manual/locale.texi: Likewise.
5389 * manual/math.texi: Likewise.
5390 * manual/nss.texi: Likewise.
5391 * manual/pipe.texi: Likewise.
5392 * manual/signal.texi: Likewise.
5393 * manual/socket.texi: Likewise.
5394 * manual/stdio.texi: Likewise.
5395 * manual/sysinfo.texi: Likewise.
5396 * manual/users.texi: Likewise.
5397 Patches by Neil Booth <NeilB@earthling.net>.
5399 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5401 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5402 unsigned to avoid warning. [PR libc/1271].
5404 * conform/conformtest.pl: Allow testing regex.h which requires
5405 sys/types.h being included.
5407 * conform/data/regex.h-data: Allow *_t types.
5408 * conform/data/pwd.h-data: Likewise.
5409 * conform/data/sched.h-data: Likewise.
5410 * conform/data/pthread.h-data: Likewise.
5411 * conform/data/search.h-data: Likewise.
5413 * misc/search.h: Avoid namespace pollution.
5415 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5416 pwd.h, and pthread.h.
5417 * conform/data/pthread.h-data: New file.
5418 * conform/data/pwd.h-data: New file.
5419 * conform/data/regex.h-data: New file.
5420 * conform/data/sched.h-data: New file.
5421 * conform/data/search.h-data: New file.
5423 * NAMESPACE: Add REG_ for regex.h.
5425 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5428 * configure.in (libc_cv_asm_global_directive): Indent .text in
5429 test code so that the lame HPUX compiler recognizes it.
5430 * sysdeps/hppa/bits/endian.h: New file.
5431 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5432 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5433 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5434 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5436 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5437 Patch by John Tobey <jtobey@banta-im.com>.
5439 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5441 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5442 old_siocfifconf definition to toplevel.
5443 (__protocol_available): Remove old_siocfifconf definition.
5445 1999-08-25 Mark Kettenis <kettenis@gnu.org>
5447 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5448 really dealing with a master pseudo terminal, and really returning
5449 the name of the associated slave pseudo terminal by checking the
5451 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5452 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5454 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5456 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5457 underscore in _llseek entry.
5459 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5462 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5463 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5465 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5466 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5468 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5470 * inet/Makefile (routines): Add getipnodebynm.
5471 * inet/getipnodebynm.c: New file.
5472 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5474 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5475 EXTRA_ARGS_VALUE is not already done.
5476 (internal_getent): Allow extra parameters and pass them to parse_line.
5477 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5478 (_nss_files_get##name##_r): Likewise.
5479 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5480 and EXTRA_ARGS_VALUE to pass flags and type to parser.
5481 Add getipnodebyname function.
5482 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5483 EXTRA_ARGS_VALUE is not already done.
5484 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5485 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5487 (_nss_db_get##name##_r): Pass extra parameters to lookup.
5488 (_nss_db_get,ENTNAME_r): Likewise.
5489 * sysdeps/generic/if_index.c (__protocol_available): New function.
5490 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5492 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5494 * login/pty-private.h: Move to...
5495 * sysdeps/generic/pty-private.h: ...here.
5496 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
5498 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5501 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5504 * conform/conformtest.pl (@headers): Add monetary.h-data,
5505 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5506 * conform/data/monetary.h-data: New file.
5507 * conform/data/mqueue.h-data: New file.
5508 * conform/data/ndbm.h-data: New file.
5509 * conform/data/nl_types.h.h-data: New file.
5510 * conform/data/poll.h-data: New file.
5512 * stdio-common/Makefile (test): Add tst-cookie.
5513 * stdio-common/tst-cookie.c: New file.
5515 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5516 changed in last patch. Reported by Ralf Baechle.
5518 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5520 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5522 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5523 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5525 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5527 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5530 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5532 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5534 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5536 * misc/libgen.h: Don't take basename macro as taking arguments.
5538 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5540 * sysdeps/i386/bits/huge_val.h: Likewise.
5541 * sysdeps/i386/bits/huge_val.h: Likewise.
5542 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5543 * sysdeps/m68k/bits/huge_val.h: Likewise.
5544 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5545 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5547 * conform/Makefile: New file.
5548 * conform/conformtest.pl: New file.
5549 * conform/data/aio.h-data: New file.
5550 * conform/data/assert.h-data: New file.
5551 * conform/data/cpio.h-data: New file.
5552 * conform/data/ctype.h-data: New file.
5553 * conform/data/dirent.h-data: New file.
5554 * conform/data/dlfcn.h-data: New file.
5555 * conform/data/errno.h-data: New file.
5556 * conform/data/fcntl.h-data: New file.
5557 * conform/data/float.h-data: New file.
5558 * conform/data/fmtmsg.h-data: New file.
5559 * conform/data/fnmatch.h-data: New file.
5560 * conform/data/ftw.h-data: New file.
5561 * conform/data/glob.h-data: New file.
5562 * conform/data/grp.h-data: New file.
5563 * conform/data/iconv.h-data: New file.
5564 * conform/data/inttypes.h-data: New file.
5565 * conform/data/iso646.h-data: New file.
5566 * conform/data/langinfo.h-data: New file.
5567 * conform/data/libgen.h-data: New file.
5568 * conform/data/locale.h-data: New file.
5569 * conform/data/math.h-data: New file.
5571 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5573 * posix/execvp.c (execvp): Correct copying of file name.
5575 1999-08-23 Mark Kettenis <kettenis@gnu.org>
5577 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5579 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5581 * stdio-common/Makefile: Move addition to routines to the right place.
5583 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5585 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
5586 since mips*-linux has ECANCELED.
5588 1999-08-23 Andreas Schwab <schwab@suse.de>
5590 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5591 SIGCONTEXT_EXTRA_ARGS.
5592 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5593 * sysdeps/generic/sigcontextinfo.h: Likewise.
5594 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5595 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5596 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5597 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5598 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5601 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5603 * posix/regexbug1.c: Make it an error if the test fails.
5605 1999-08-23 Andreas Schwab <schwab@suse.de>
5607 * posix/regex.c (re_match_2_internal): Correct check for charset
5608 after exactn in loop.
5610 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
5612 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5613 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5614 Patch by Joel Klecker.
5616 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5617 (__gconv_find_transform): Update prototype.
5618 (__gconv_open): Likewise.
5619 * iconv/gconv_open.c: Take extra parameter and pass it to
5620 __gconv_find_transform.
5621 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5622 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
5624 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5625 * wcsmbs/wcsmbsload.c: Likewise.
5626 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5628 * intl/gettextP.h: Likewise.
5629 * intl/loadmsgcat.c: Likewise.
5631 * posix/regexbug1.c: New file.
5632 * posix/Makefile (tests): Add regexbug1.
5634 1999-08-22 Mark Kettenis <kettenis@gnu.org>
5636 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5637 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5638 installing PORT in the descriptor cell.
5640 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
5642 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5643 TIMEOUT as outputs of the asm to indicate that the signal thread
5645 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5646 mach_msg if only sending or only receiving (i.e., not an RPC). When
5647 making an RPC that might get interrupted, save OPTION and the portion
5648 of the message buffer that gets clobbered by an EINTR reply message,
5649 and properly restore them before attempting to retry the request
5652 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5654 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5655 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5656 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5657 stdio is used instead of libio.
5658 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5659 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5660 to make the code compile again when stdio is used instead of
5662 (vfprintf): Only check for correct orientation if ORIENT is
5664 * stdio-common/Makefile (routines): Only add vfwprintf and
5665 vfwscanf if we're using libio.
5667 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5669 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5670 any additional prototype just as we do for libio.
5672 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5674 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5675 TZNAME_MAX. These limits are not X/Open specific.
5676 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5679 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5681 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5682 UIO_MAXIOV is left undefined in sys/uio.h.
5683 * stdio-common/stdio_lim.h.in: Adapt for change above.
5685 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5687 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5688 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5689 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5691 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
5693 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5695 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
5697 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5699 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5700 call. It should not be necessary andis harmful for Alpha.
5702 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5703 type. [PR libc/1269]
5705 * posix/execvp.c (execvp): Allocate array name of correct size.
5706 Optimize inner loop. Use execve directly, not execv.
5708 * elf/elf.h: Corrected SHT_ values from new draft.
5710 * intl/gettextP.h (struct loaded_domain): Add conv element.
5711 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5712 Instead of returning found message directly convert it using iconv
5713 if a conversion was found when opening the file.
5714 * intl/loadinfo.h: Protect against multiple inclusion.
5715 Declare _nl_find_msg.
5716 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5717 in the message file and if necessary find approrpiate
5718 conversion to match currently selected charset.
5719 * include/libintl.h: Declare __dgettext and __dcgettext.
5720 * include/iconv.h: New file.
5722 1999-08-20 Andreas Schwab <schwab@suse.de>
5724 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5726 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
5728 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
5729 all threads [PR libc/1223].
5731 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5734 * configure.in: Search for programs with prefix gnu* and g* first.
5737 * dirent/Makefile (routines): Add getdents64.
5738 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5740 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5741 compiled with _FILE_OFFSET_BITS=64.
5742 * sysdeps/generic/getdents64.c: New file.
5743 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5744 __lseek for getdirentries64 definition.
5746 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5748 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5749 _FILE_OFFSET_BITS=64.
5751 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5754 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5755 after we have the lock.
5757 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5758 Patch by Richard Henderson.
5760 1999-08-19 Andreas Schwab <schwab@suse.de>
5762 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5763 and call _IO_fwide, to get the wide stream state initialized
5764 correctly. Don't set _IO_JUMPS.
5765 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5766 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
5767 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5770 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5772 * math/libm-test.c (jn_test): Fix typo in description.
5773 (erfc_test): Add some more tests.
5774 (erf_test): Add some more tests.
5776 1999-08-19 Andreas Schwab <schwab@suse.de>
5778 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5779 expression using $(exceptions).
5781 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5783 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5785 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5786 allocated so far. [PR libc/1261].
5788 * math/libm-test.c (j0_test): Adjust deltas for m68k.
5789 (jn_test): Likewise.
5791 * dirent/dirent.h: Only define ino64_t if not already done.
5792 * posix/sys/types.h: Likewise.
5794 * ctype/ctype.h: Avoid useless #endif #if pairs.
5796 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5797 (seekdir): Fix type of second parameter.
5798 * sysdeps/generic/seekdir.c: Likewise.
5799 * sysdeps/mach/hurd/seekdir.c: Likewise.
5800 * sysdeps/unix/seekdir.c: Likewise.
5802 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5804 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5806 * manual/install.texi (Configuring and compiling): Clarify ix86
5809 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5811 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5812 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5813 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5814 stdio_lim.h. Define LONG_BIT and WORD_BIT.
5816 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5818 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5820 * misc/search.h: Don't define NULL.
5822 * posix/sys/types.h: Define blksize_t if it hasn't happened.
5823 Only define key_t and blkcnt_t if it hasn't happened before.
5824 Define blksize_t if not happened before.
5825 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
5826 * sysdeps/generic/bits/types.h: Define __blksize_t.
5827 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5828 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5829 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5830 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5831 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5832 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5834 (struct stat64): Likewise.
5835 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5836 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5837 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5838 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5839 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5840 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5841 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5843 * stdlib/getsubopt.c: Correct type of second argument.
5844 * stdlib/stdlib.h: Likewise.
5846 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
5849 * sysdeps/generic/putenv.c: Correct type of parameter.
5850 * stdlib/stdlib.h: Likewise.
5852 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5853 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5854 * sysvips/sys/msg.h: Likewise.
5856 * sysdeps/generic/semop.c: Correct type of third parameter.
5857 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5858 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
5861 * sysdeps/generic/shmget.c: Correct type of second parameter.
5862 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5863 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
5864 Declare __getpagesize here.
5866 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5868 * sysdeps/gnu/bits/ipc.h: Likewise.
5869 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5870 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5871 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5872 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5875 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5877 * debug/versions: Export __cyg_profile_func_enter and
5878 __cyg_profile_func_exit.
5880 * math/bits/mathcalls.h: Pretty print.
5882 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5884 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5885 case for new tzdata.
5887 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5889 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5890 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5891 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5892 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5894 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5896 * sysdeps/generic/ualarm.c (ualarm): Change return value and
5897 parameter type to useconds_t.
5898 * sysdeps/unix/bsd/ualarm.c: Likewise.
5900 * sysdeps/generic/usleep.c (usleep): Change parameter type to
5902 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5903 * sysdeps/mach/usleep.c: Likewise.
5905 * locale/weight.h: Include <errno.h>.
5907 * posix/sys/types.h: Define type useconds_t if not done already.
5908 * posix/unistd.h: Likewise. Use this in ualarm and usleep
5910 * sysdeps/generic/bits/types.h: Define type __useconds_t.
5911 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5912 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5913 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5914 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5915 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5917 * dirent/dirent.h (telldir): Change return type to long int.
5918 * sysdeps/generic/telldir.c: Likewise.
5919 * sysdeps/mach/hurd/telldir.c: Likewise.
5920 * sysdeps/unix/telldir.c: Likewise.
5921 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
5923 * locale/weight.h: Set errno if an invalid character is found.
5925 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5927 * math/libm-test.c (erfc_test): Add test for example from PR
5929 (erf_test): Likewise.
5931 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5933 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5934 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
5936 * timezone/private.h: Update from tzcode1999e.
5937 * timezone/zic.c: Likewise.
5939 * timezone/africa: Update from tzdata1999e.
5940 * timezone/antarctica: Likewise.
5941 * timezone/asia: Likewise.
5942 * timezone/australasia: Likewise.
5943 * timezone/europe: Likewise.
5944 * timezone/leapseconds: Likewise.
5945 * timezone/northamerica: Likewise.
5946 * timezone/southamerica: Likewise.
5948 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5949 and write correct number of bytes in case of %ls with precision.
5950 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5952 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
5954 * nscd/nscd.init: Test for kernel version and make LSB compliant.
5955 Patch by Christian Gafton.
5957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5958 O_RSYNC. Patch by Christian Gafton.
5960 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5961 possibly unterminated strings for %ls when a precision is
5963 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5965 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5966 update_conversion_ptrs.
5967 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5969 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5971 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5972 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5974 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5975 * wcsmbs/tst-wcsnlen.c: New file.
5977 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5979 * libio/ioputs.c (_IO_puts): Add missing brace.
5981 1999-07-20 Geoff Keating <geoffk@cygnus.com>
5983 * math/libm-test.c: Tweak deltas for a clean run on ppc.
5985 1999-08-10 H.J. Lu <hjl@gnu.org>
5987 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
5988 (vfprintf): Likewise.
5989 * stdio-common/vfscanf.c (ORIENT): Likewise.
5990 * libio/genops.c (__underflow): Likewise.
5991 (__uflow): Likewise.
5992 * libio/iofputs.c (_IO_fputs): Likewise.
5993 * libio/ioftell.c (_IO_ftell): Likewise.
5994 * libio/iofwrite.c (_IO_fwrite): Likewise.
5995 * libio/ioputs.c (_IO_puts): Likewise.
5996 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5997 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5999 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6001 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6003 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6005 * manual/job.texi (Process Group Functions): Document getpgid,
6008 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6010 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6011 initialize si_pid from it.
6012 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6014 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6015 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6016 (struct requestlist): Likewise.
6017 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6018 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
6020 (__aio_notify): Pass caller PID to __aio_notify_only.
6021 * rt/aio_suspend.c: Initialize caller_pid.
6022 * rt/lio_listio.c: Likewise.
6023 * rt/lio_listio64.c: Likewise.
6025 * rt/lio_listio.c: If nothing has to be done free mutex before
6027 * rt/lio_listio64.c: Likewise.
6029 1999-08-10 H.J. Lu <hjl@gnu.org>
6031 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6034 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6036 * elf/elf.h: Define ElfXX_Versym.
6037 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6040 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6041 for string output correctly in the wide character case.
6042 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6044 * intl/locale.alias: Add catalan.
6046 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6048 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6050 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6052 * po/pt_BR.po: New file.
6054 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6056 * math/libm-test.c (yn_test): Adjust deltas for i386.
6057 (ccosh_test): Likewise.
6058 (jn_test): Likewise.
6060 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6062 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6064 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6066 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6069 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6071 * configure.in: install-sh lives now in scripts subdir.
6072 PR libc/1255 (bug 4).
6074 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6076 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6081 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
6083 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6085 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6087 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6090 1999-08-10 Andreas Schwab <schwab@suse.de>
6092 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6095 1999-08-09 Scott Bambrough <scottb@netwinder.org>
6097 * elf/elf.h: Added definition of ELFOSABI_ARM.
6098 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6099 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6100 object's header and ABI values are acceptable.
6101 (VALID_ELF_HEADER): New macro; provide default definition.
6102 (VALID_ELF_OSABI): New macro; provide default definition.
6103 (VALID_ELF_ABIVERSION): New macro; provide default definition.
6104 * sysdeps/arm/dl-machine.h Define ARM specific versions of
6105 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6107 1999-08-09 Andreas Schwab <schwab@suse.de>
6109 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6111 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
6113 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6115 1999-08-09 Andreas Schwab <schwab@suse.de>
6117 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6119 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
6121 * sysdeps/ieee754/ieee754.h: Handle platforms with special
6122 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
6124 * string/bits/string2.h: Mark void* operations as extensions.
6125 * sysdeps/i386/i486/bits/string.h: Likewise.
6127 * debug/Makefile (routines): Add noophooks.
6128 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
6129 * debug/noophooks.c: New file.
6130 * debug/pcprofile.c: New file.
6132 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6134 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6135 systems which allow using the functions also on non-seekable
6138 * resolv/res_send.c (res_send): Recompute timeout for poll for
6139 each jump to `wait'.
6141 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6142 braces to avoid warnings.
6143 (IN6ADDR_LOOPBACK_INIT): Likewise.
6145 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6148 1999-08-06 H.J. Lu <hjl@gnu.org>
6150 * malloc/malloc.c: Initialize __libc_pagesize early.
6152 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6154 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6157 * inet/Makefile (tests): Add tst-ipnode.
6158 * inet/tst-ipnode.c: New file.
6160 1999-08-06 Andreas Schwab <schwab@suse.de>
6162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6164 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6165 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6166 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6168 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6169 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6171 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
6173 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6174 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6175 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6177 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6179 * resolv/res_send.c (res_send): Don't test file descriptor for
6180 range, we use poll now. [PR libc/1240]
6182 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
6184 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6185 2.0 defined if they are not available.
6187 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
6189 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6192 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
6194 * rt/aio_read.c: Fix return value.
6195 * rt/aio_read64.c: Likewise.
6196 Reported by Christian Gafton.
6198 * rt/aio_write.c: Fix return value.
6199 * rt/aio_write64.c: Likewise.
6200 * rt/aio_fsync.c: Likewise.
6202 * rt/aio_misc.c: Set errno at correct place.
6204 * rt/aio_fsync.c: Test OP parameter for correct values.
6206 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6208 1999-08-04 Andreas Schwab <schwab@suse.de>
6210 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6211 Initialize result to one.
6212 (GET_NPROCS_CONF_PARSER): Likewise.
6214 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
6216 * inet/ether_hton.c: Pass errno pointer to NSS function.
6217 * inet/getnetgrent_r.c: Likewise.
6218 Reported by Marty Leisner <leisner@rochester.rr.com>.
6220 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6222 * nis/nis_callback.c: Fix port problem on big-endian machines
6223 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6224 fields are always 32 bit.
6225 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6227 * nis/nss_nis/nis-service.c: Remove htons, port is always in
6229 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6231 1999-08-03 Andreas Schwab <schwab@suse.de>
6233 * sysdeps/posix/sigset.c: Unblock the signal after setting its
6234 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6235 avoid two calls to sigprocmask.
6237 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6239 * sysdeps/generic/s_nexttowardf.c: Fix typo.
6241 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
6243 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6244 Only allow rt signal frames. No SA_SIGINFO signals will have the
6245 siginfo_t just not filled out with SI_NOINFO code.
6246 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6247 (register_dump): Take the above change into account.
6248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6249 (rt_signal_frame): Likewise.
6251 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6253 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6255 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6256 instead of select().
6258 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6260 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6261 nexttoward so something else so that aliasing works.
6263 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6265 * sysdeps/generic/math_ldbl.h: Fix typo.
6266 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6267 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6269 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6271 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
6273 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
6275 * elf/Makefile (tests): Add resolvfail. Add rules to build the
6277 * elf/resolvfail.c: New file.
6279 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6280 pass it to _dl_lookup_symbol.
6282 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6283 bit. Reword message.
6285 * dlfcn/dlerror.c: Make code thread-safe.
6287 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
6289 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6290 initializer in CHECK: a bit size, not the type code repeated!
6292 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6294 * string/tester.c: Add tests with constant arguments for strcpy
6297 1999-07-31 H.J. Lu <hjl@gnu.org>
6299 * string/bits/string2.h (__strcpy_small): Fix a typo.
6301 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6303 * Makeconfig (link-libc): Always define it, not only for shared
6306 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6307 * sysdeps/i386/fpu/e_powf.S: Likewise.
6308 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
6310 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6311 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
6313 1999-07-30 Andreas Schwab <schwab@suse.de>
6315 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6317 (__get_nprocs): Use it.
6318 (__get_nprocs_conf): Define as separate function if
6319 GET_NPROCS_CONF_PARSER is defined.
6320 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6322 * include/sys/sysinfo.h: New file.
6323 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6325 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6327 1999-07-30 H.J. Lu <hjl@gnu.org>
6329 * libio/iofflush.c (fflush_unlocked): Weak aliase if
6330 _IO_MTSAFE_IO is not defined.
6331 * libio/clearerr.c (clearerr_unlocked): Likewise.
6332 * libio/feof.c (feof_unlocked): Likewise.
6333 * libio/ferror.c (ferror_unlocked): Likewise.
6334 * libio/fputc.c (fputc_unlocked): Likewise.
6335 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6336 * libio/getchar.c (getchar_unlocked): Likewise.
6337 * libio/putc.c (putc_unlocked): Likewise.
6338 * libio/putchar.c (putchar_unlocked): Likewise.
6340 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
6342 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6343 svc_max_pollfd and svc_pollfd to GLIBC_2.2
6344 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6345 for svc_run/poll interface.
6346 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6347 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6349 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6350 rewrite other svc_getreq* functions to use svc_getreq_common.
6351 * sunrpc/svc_run.c: Use poll().
6353 1999-07-30 Andreas Schwab <schwab@suse.de>
6355 * Makerules: Put sysd-versions and Versions.all on
6356 postclean-generated instead of common-generated.
6358 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6360 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6361 around and CLOCKS_PER_SEC is 1e6.
6363 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
6365 * configure.in: Add test for local label subtraction.
6366 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6367 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6368 labels to reduce number of runtime relocations and move jump
6369 tables in read-only seciton.
6371 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
6372 assignment cannot be moved.
6374 1999-07-29 H.J. Lu <hjl@gnu.org>
6376 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6377 if no threads are used.
6379 * libio/iofwrite.c: Add weak alias for _unlocked function if not
6381 * libio/iofread.c: Likewise.
6382 * libio/iofgets.c: Likewise.
6383 * libio/iofputs.c: Likewise.
6385 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6388 * stdlib/mbtowc.c: Include <string.h>.
6389 * stdlib/wctomb.c: Likewise.
6390 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6391 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6393 * misc/mntent_r.c: Include <alloca.h>.
6394 * elf/dl-runtime.c: Likewise.
6396 1999-07-29 Andreas Schwab <schwab@suse.de>
6398 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6399 all floating point formats supported by gcc. Error out for
6400 unhandled precisions.
6401 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6402 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6403 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6405 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
6407 * sysdeps/generic/setenv.c: Move setenv code in new function
6408 __add_to_environ. Add new parameter specifying already
6409 constructed string for the environment.
6410 (setenv): Call __add_to_environ with new parameter set to NULL.
6411 (unsetenv): Really test all elements for duplicated name. Missed those
6412 cases where the two are following each other.
6413 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6414 * include/stdlib.h: Add prototype of __add_to_environ.
6415 * stdlib/tst-environ.c: New file.
6416 * stdlib/Makefile (tests): Add tst-environ.
6418 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6420 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6421 argument in realloc call.
6422 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6424 Reported by Danny Braniss <danny@cs.huji.ac.il>.
6426 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6428 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6430 * misc/efgcvt_r.c: Likewise.
6431 * misc/qefgcvt.c: Likewise.
6432 * misc/qefgcvt_r.c: Likewise.
6433 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6436 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6438 * manual/math.texi (FP Function Optimization): Mention drawbacks.
6440 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6442 * stdlib/mblen.c: Use static state.
6443 Reported by Bruno Haible <haible@ilog.fr>.
6445 * stdlib/mbtowc.c: Reset state for s == NULL.
6446 * stdlib/wctomb.c: Likewise.
6447 Reported by Bruno Haible <haible@ilog.fr>.
6449 * stdlib/mbstowcs.c: Do not use global state.
6450 Reported by Bruno Haible <haible@ilog.fr>.
6452 1999-07-28 Andeas Schwab <schwab@suse.de>
6454 * iconvdata/Makefile: Don't try to run iconv tests when cross
6457 1999-07-27 Mark Kettenis <kettenis@gnu.org>
6459 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6460 assembler code to switch stacks and call init1 outside this
6461 function. Inside `init' the code was optimized away by gcc
6462 2.95 since it was "clearly" unreachable.
6463 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6464 Do something similar for the trampoline code.
6466 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
6468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6469 for the hinted protocol.
6471 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6473 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6475 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6477 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6478 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6479 * elf/dl-load.c (_dl_map_object): Likewise.
6480 * elf/do-lookup.h (do_lookup*): Likewise.
6481 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6482 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6484 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6486 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6488 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6489 * sysdeps/generic/getpgrp.c: Likewise.
6490 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6491 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6492 Patch by John Tobey <jtobey@banta-im.com>.
6494 * sysdeps/posix/wait3.c: Help compiling in presence of
6495 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
6497 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6499 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6500 as much as possible. Declare them using .register pseudo-op if they
6502 * sysdeps/sparc/sparc64/lshift.S: Likewise.
6503 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6504 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6505 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6506 * sysdeps/sparc/sparc64/memset.S: Likewise.
6507 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6508 * sysdeps/sparc/sparc64/rshift.S: Likewise.
6509 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6510 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6511 * sysdeps/sparc/sparc64/strcat.S: Likewise.
6512 * sysdeps/sparc/sparc64/strchr.S: Likewise.
6513 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6514 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6515 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6516 * sysdeps/sparc/sparc64/strlen.S: Likewise.
6517 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6518 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6519 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6520 * sysdeps/sparc/sparc64/strspn.S: Likewise.
6521 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6522 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6523 Optimize trampoline code for .plt4-.plt32767.
6524 Fix trampolines for .plt32768+.
6526 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6528 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6530 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6531 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6532 libc's private use (as assembly routine clobber it anyway).
6534 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6536 * README.template (configurations): The crypt add-on has a new
6538 * manual/install.texi (Installation): Likewise.
6540 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6542 * time/time.h: Add forward for struct sigevent. Unix98 maybe
6543 requires to have a full definition but we wait for a bug report
6544 based on the test suite.
6546 * sysdeps/generic/clock_getres.c: New file.
6547 * sysdeps/generic/clock_gettime.c: New file.
6548 * sysdeps/generic/clock_settime.c: New file.
6549 * sysdeps/generic/timer_create.c: New file.
6550 * sysdeps/generic/timer_delete.c: New file.
6551 * sysdeps/generic/timer_getoverr.c: New file.
6552 * sysdeps/generic/timer_gettime.c: New file.
6553 * sysdeps/generic/timer_settime.c: New file.
6555 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6556 CLOCK_REALTIME, and TIMER_ABSTIME.
6557 * sysdeps/mach/hurd/bits/time.h: Likewise.
6558 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6559 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6561 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6563 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6566 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6568 * time/Makefile (routines): Add clock_getres, clock_gettime,
6569 clock_setres, timer_create, timer_delete, timer_getoverr,
6570 timer_gettime, and timer_settime.
6572 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6573 POSIX.1b. Add prototypes for clock and timer functions.
6575 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
6577 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6578 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6580 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6582 * stdlib/wcstombs.c: Do not use global state.
6583 Reported by Bruno Haible <haible@ilog.fr>.
6585 * wcsmbs/wctob.c: Avoid sign extension when returning character.
6586 Reported by Bruno Haible <haible@ilog.fr>.
6588 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6589 of wide characters to convert do it right and don't overestimate
6590 by multiplying with MB_CUR_MAX.
6591 Reported by Bruno Haible <haible@ilog.fr>.
6593 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
6595 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6596 (__stpcpy_small): Likewise.
6597 Union has no __uc member but __c.
6599 1999-07-26 Andreas Schwab <schwab@suse.de>
6601 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6603 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6605 * libio/iofclose.c (_IO_new_fclose): Only fall back on
6606 _IO_old_fclose if doing versioning.
6608 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6610 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6612 * misc/mntent_r.c: Allow spaces and tabs in entry names by
6613 encoding these characters.
6614 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6616 * string/bits/string2.h: Fix aliasing problems.
6617 * sysdeps/i386/i486/bits/string.h: Likewise.
6618 * sysdeps/i386/bits/string.h: Likewise.
6620 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
6622 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6623 * elf/rtld.c (dl_main): Don't call malloc() between
6624 re-relocating the dynamic linker and running the application's crt0.
6626 1999-07-21 Paul D. Smith <psmith@gnu.org>
6628 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6629 glob.h to get __P() macro.
6631 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6633 (__strchrnul): This won't exist outside GLIBC, so create one.
6635 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6637 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6638 __ino64_t should be 32bit unsigned type on sparc32.
6639 Define __off64_t to __quad_t instead of __int64_t.
6640 Make __pic_pid_t unsigned on sparc32.
6642 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6644 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6647 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6649 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6650 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
6652 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
6654 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6657 * resolv/res_send.c: Add locks for res_send and res_close use.
6659 * elf/Makefile (dl-routines): Add preinit.
6660 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6661 * elf/link.h (struct link_map): Add new field l_preinitcount.
6662 * elf/dl-preinit.c: New file.
6663 * elf/dynamic-link.h: Initialize l_preinitcount.
6664 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6666 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6667 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
6669 * elf/dl-init.c: Handle DT_INIT_ARRAY.
6670 * elf/dynamic-link.h: Change parameters. Now only get link_map
6671 pointer. Calculate l_initcount.
6673 * elf/link.h (struct link_map): Add l_runpath_dirs.
6674 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6675 * elf/dl-load.c: Pretty print.
6676 (decompose_rpath): Take new parameter with info from where the path
6677 comes. Pass it the fillin_rpath.
6678 (_dl_init_paths): Initialize l_runpath_dirs.
6679 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6680 Search using RUNPATH after LD_LIBRARY_PATH.
6681 * elf/dl-support.c: Adjust comment.
6682 * elf/rtld.c: Adjust help message.
6684 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6686 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6689 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
6691 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6692 match BSD value; previous value of 1<<8 was a typo. I bet nothing
6693 ever used this, so I'm not going to worry about compatibility.
6694 [__USE_GNU] (IUCLC, OLCUC): New macros.
6696 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
6698 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6700 * elf/elf.h: Add ET_LOOS and ET_HIOS.
6701 Add various EM_* constants.
6702 Add SHN_LOOS and SHN_HIOS.
6703 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6704 Add SHF_MERGE and SHF_STRINGS.
6705 (ElfXX_Sym): Update description of st_other field.
6707 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6709 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6710 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6711 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6713 * posix/unistd.h: Move declaration of __libc_enable_secure to...
6714 * include/unistd.h: ...here.
6716 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6717 * elf/dl-deps.c (expand_dst): Likewise.
6719 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6720 based on DT_FLAGS value.
6722 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6723 Add test for symbols marked STV_HIDDEN.
6724 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6725 add undef_map. Compute reference_name locally. Update call to
6727 (_dl_lookup_symbol_skip): Likewise.
6728 (_dl_lookup_versioned_symbol): Likewise.
6729 (_dl_lookup_versioned_symbol_skip): Likewise.
6730 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6731 * elf/dl-runtime.c: Likewise.
6732 * elf/dl-sym.c: Likewise.
6733 * elf/dl-symbol.c: Likewise.
6734 * elf/ldsodefs.h: Adjust prototypes.
6736 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6737 handle appropriately. Add comment about DT_TEXTREL.
6738 * elf/dl-runtime.c: Likewise.
6740 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
6742 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6743 * elf/ldsodefs.h: Declare it.
6744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6746 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
6747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6748 (elf_machine_lazy_rel): Likewise.
6749 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6750 (elf_machine_lazy_rel): Likewise.
6751 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6752 (elf_machine_lazy_rel): Likewise.
6753 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6754 (elf_machine_lazy_rel): Likewise.
6755 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6756 (elf_machine_lazy_rel): Likewise.
6757 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6758 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6759 (elf_machine_lazy_rel): Likewise.
6760 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6761 (elf_machine_lazy_rel): Likewise.
6762 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6763 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6764 _dl_reloc_bad_type instead of _dl_signal_error.
6765 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6767 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6769 * sysdeps/mach/_strerror.c: Include <libintl.h>.
6771 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
6773 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6774 hurd_signal_preemptor matches but its `preemptor' field is null, use
6775 its `handler' field directly. This is to comply with behavior
6776 documented in <hurd/sigpreempt.h>.
6778 1999-07-21 Andreas Schwab <schwab@suse.de>
6780 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6781 when reading from write-only stream.
6782 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6783 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6785 1999-07-21 Andreas Schwab <schwab@suse.de>
6787 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6790 1999-07-21 Mark Kettenis <kettenis@gnu.org>
6792 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6794 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6796 (__libc_write): Call __pwrite instead of __pread.
6798 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6800 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6801 __vm_allocate calls.
6803 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
6804 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6806 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6807 _hurd_fd_read with new OFFSET argument set to -1.
6808 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6811 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
6813 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6814 descriptor table sent in the RPC.
6816 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6818 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
6819 bill@taniwha.org [PR libc/1211].
6821 1999-07-19 Andreas Schwab <schwab@suse.de>
6823 * libio/Makefile (routines): Add fwprintf.
6825 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6826 * math/w_sqrt.c: Moved to ...
6827 * sysdeps/generic/w_sqrt.c: ... here.
6828 * math/w_sqrtf.c: Moved to ...
6829 * sysdeps/generic/w_sqrtf.c: ... here.
6831 * Make-dist (generic-dirs): New variable.
6832 (try-sysdeps, +sysdep-names): Use it.
6833 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
6834 instead of $(lib)-routines.
6835 * elf/Makefile (distribute): Add dl-cache.h.
6836 * db2/Makefile (distribute): Add all new files.
6837 * iconvdata/Makefile (distribute): Don't distribute CVS
6839 * math/Makefile (distribute): Remove machine/endian.h, add
6841 * stdio-common/Makefile (distribute): Add _itowa.h.
6842 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6843 * sysdeps/gnu/Dist: Add eval.c
6844 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6845 dlfcn]: Add to this instead of libdl-routines.
6846 * sysdeps/ieee754/ldbl-128/Dist: New file.
6847 * sysdeps/mach/hurd/Dist: Add siglist.h
6848 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6850 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
6852 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6854 * inet/Makefile (routines): Add getipnodebyad and freehostent.
6855 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6856 * inet/freehostent.c: New file.
6857 * inet/getipnodebyad.c: New file.
6858 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6859 and getipnodebyname. The latter comes soon.
6860 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6861 Add support for getipnode* functions.
6863 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6864 Set h_aliases to NULL and not to a pointer to an array with a NULL
6865 pointer following XNS 5.2.
6867 * posix/sched.h: Remove internal interfaces.
6868 * include/sched.h: Add internal interfaces.
6870 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6872 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6874 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6875 and return an error in this case.
6876 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6879 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6881 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6882 1999-07-17 and adjust len parameter.
6883 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6884 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6885 * manual/socket.texi (Host Names): Likewise.
6886 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6887 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6889 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6890 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6891 (ht_gethostbyaddr): Likewise.
6892 (_gethtbyaddr): Likewise.
6894 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6896 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6898 * include/netdb.h: Likewise.
6899 * inet/gethstbyad.c: Correct type of len parameter.
6900 * inet/gethstbyad_r.c: Likewise.
6902 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6904 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
6906 * include/libc-symbol.h: Clean up definitions of weak_alias,
6907 strong_alias, symbol_version, etc. etc.
6908 * posix/getopt.h: Use ctype.h to get features.h included, and don't
6909 include it at all if __GNU_LIBRARY__ is already defined.
6911 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6913 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6915 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6917 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6918 type for tv_usec element.
6919 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6920 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6921 * sysdeps/generic/bits/time.h: Likewise.
6922 * sysdeps/mach/hurd/bits/time.h: Likewise.
6923 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6924 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6925 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6926 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6927 * sysdeps/generic/bits/types.h: Likewise.
6928 * posix/sys/types.h: Define suseconds_t for X/Open.
6930 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6932 * stdio-common/bug1.c: Avoid memory leak.
6934 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6935 program deterministic.
6936 * sysdeps/i386/fpu/e_powf.S: Likewise.
6937 * sysdeps/i386/fpu/e_powl.S: Likewise.
6939 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
6941 * math/Makefile: Add t_sincosl and k_sincosl support routines.
6942 * math/math_private.h (__kernel_sincosl): New declaration.
6943 * sysdeps/generic/t_sincosl.c: New file.
6944 * sysdeps/generic/k_sincosl.c: New file.
6945 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6946 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6947 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6948 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6949 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6950 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6952 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6955 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6957 * posix/unistd.h: Use __PMT for exit.
6959 1999-07-15 Philip Blundell <pb@nexus.co.uk>
6961 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6962 _outw, _outl): Added to GLIBC_2.1.2.
6964 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6966 * posix/fnmatch.h: Use __name instead of __string in prototype to
6967 allow use outside glibc.
6969 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
6971 * time/tst-strptime.c (main): Add one more test case. Produce
6972 output even when result is ok.
6974 * time/strptime.c (get_number): Handle number parsing more
6975 consistent with strftime. Only parse a given number of digits.
6976 (get_alt_number): Fix implementation. Was broken.
6977 (strptime_internal): Add third parameter to get_number and
6978 get_alt_number calls.
6980 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6982 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
6983 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
6984 try both 32bit and 64bit dynamic linker.
6985 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
6986 script on all sparc targets.
6988 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6990 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
6993 1999-07-13 Andreas Schwab <schwab@suse.de>
6995 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
6996 inlining. Fixes PR libc/1198.
6998 1999-07-14 Andreas Schwab <schwab@suse.de>
7000 * Makerules (common-generated): Don't prepend $(common-objpfx).
7002 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
7004 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7005 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7006 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7007 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7009 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7011 * sysdeps/arm/Implies: Likewise.
7012 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7013 ieee754/ldbl-96 instead of ieee754.
7014 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7015 * sysdeps/generic/e_atanhl.c: New file.
7016 * sysdeps/generic/e_coshl.c: New file.
7017 * sysdeps/generic/e_sinhl.c: New file.
7018 * sysdeps/generic/e_gammal_r.c: New file.
7019 * sysdeps/generic/e_hypotl.c: New file.
7020 * sysdeps/generic/s_cbrtl.c: New file.
7021 * sysdeps/generic/s_asinhl.c: New file.
7022 * sysdeps/generic/s_tanhl.c: New file.
7023 * sysdeps/generic/w_expl.c: New file.
7024 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7026 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7027 ieee754/ldbl-96 instead of ieee754.
7028 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7029 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7031 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7033 * sysdeps/mips/mips64/Implies: Likewise.
7034 * sysdeps/powerpc/Implies: Likewise.
7035 * sysdeps/sparc/Implies: Remove.
7036 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7038 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7039 and ieee754/ldbl-128.
7041 * sysdeps/sparc/bits/wordsize.h: Remove.
7042 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7043 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7045 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7046 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7047 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7048 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7049 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7052 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7053 of carries. Optimize.
7055 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7056 * sysdeps/generic/e_exp10.c: ...here.
7057 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7058 * sysdeps/generic/e_exp10f.c: ...here.
7059 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7060 * sysdeps/generic/e_exp10l.c: ...here.
7061 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7062 * sysdeps/generic/e_scalb.c: ...here.
7063 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7064 * sysdeps/generic/e_scalbf.c: ...here.
7065 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7066 * sysdeps/generic/e_scalbl.c: ...here.
7067 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7068 * sysdeps/generic/s_cacos.c: ...here.
7069 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7070 * sysdeps/generic/s_cacosf.c: ...here.
7071 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7072 * sysdeps/generic/s_cacosh.c: ...here.
7073 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7074 * sysdeps/generic/s_cacoshf.c: ...here.
7075 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7076 * sysdeps/generic/s_cacoshl.c: ...here.
7077 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7078 * sysdeps/generic/s_cacosl.c: ...here.
7079 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7080 * sysdeps/generic/s_casin.c: ...here.
7081 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7082 * sysdeps/generic/s_casinf.c: ...here.
7083 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7084 * sysdeps/generic/s_casinh.c: ...here.
7085 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7086 * sysdeps/generic/s_casinhf.c: ...here.
7087 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7088 * sysdeps/generic/s_casinhl.c: ...here.
7089 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7090 * sysdeps/generic/s_casinl.c: ...here.
7091 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7092 * sysdeps/generic/s_catan.c: ...here.
7093 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7094 * sysdeps/generic/s_catanf.c: ...here.
7095 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7096 * sysdeps/generic/s_catanh.c: ...here.
7097 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7098 * sysdeps/generic/s_catanhf.c: ...here.
7099 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7100 * sysdeps/generic/s_catanhl.c: ...here.
7101 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7102 * sysdeps/generic/s_catanl.c: ...here.
7103 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7104 * sysdeps/generic/s_ccos.c: ...here.
7105 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7106 * sysdeps/generic/s_ccosf.c: ...here.
7107 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7108 * sysdeps/generic/s_ccosh.c: ...here.
7109 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7110 * sysdeps/generic/s_ccoshf.c: ...here.
7111 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7112 * sysdeps/generic/s_ccoshl.c: ...here.
7113 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7114 * sysdeps/generic/s_ccosl.c: ...here.
7115 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7116 * sysdeps/generic/s_cexp.c: ...here.
7117 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7118 * sysdeps/generic/s_cexpf.c: ...here.
7119 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7120 * sysdeps/generic/s_cexpl.c: ...here.
7121 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7122 * sysdeps/generic/s_clog.c: ...here.
7123 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7124 * sysdeps/generic/s_clog10.c: ...here.
7125 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7126 * sysdeps/generic/s_clog10f.c: ...here.
7127 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7128 * sysdeps/generic/s_clog10l.c: ...here.
7129 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7130 * sysdeps/generic/s_clogf.c: ...here.
7131 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7132 * sysdeps/generic/s_clogl.c: ...here.
7133 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7134 * sysdeps/generic/s_cpow.c: ...here.
7135 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7136 * sysdeps/generic/s_cpowf.c: ...here.
7137 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7138 * sysdeps/generic/s_cpowl.c: ...here.
7139 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7140 * sysdeps/generic/s_cproj.c: ...here.
7141 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7142 * sysdeps/generic/s_cprojf.c: ...here.
7143 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7144 * sysdeps/generic/s_cprojl.c: ...here.
7145 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7146 * sysdeps/generic/s_csin.c: ...here.
7147 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7148 * sysdeps/generic/s_csinf.c: ...here.
7149 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7150 * sysdeps/generic/s_csinh.c: ...here.
7151 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7152 * sysdeps/generic/s_csinhf.c: ...here.
7153 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7154 * sysdeps/generic/s_csinhl.c: ...here.
7155 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7156 * sysdeps/generic/s_csinl.c: ...here.
7157 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7158 * sysdeps/generic/s_csqrt.c: ...here.
7159 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7160 * sysdeps/generic/s_csqrtf.c: ...here.
7161 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7162 * sysdeps/generic/s_csqrtl.c: ...here.
7163 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7164 * sysdeps/generic/s_ctan.c: ...here.
7165 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7166 * sysdeps/generic/s_ctanf.c: ...here.
7167 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7168 * sysdeps/generic/s_ctanh.c: ...here.
7169 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7170 * sysdeps/generic/s_ctanhf.c: ...here.
7171 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7172 * sysdeps/generic/s_ctanhl.c: ...here.
7173 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7174 * sysdeps/generic/s_ctanl.c: ...here.
7175 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7176 * sysdeps/generic/s_fdim.c: ...here.
7177 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7178 * sysdeps/generic/s_fdimf.c: ...here.
7179 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7180 * sysdeps/generic/s_fdiml.c: ...here.
7181 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7182 * sysdeps/generic/s_fma.c: ...here.
7183 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7184 * sysdeps/generic/s_fmaf.c: ...here.
7185 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7186 * sysdeps/generic/s_fmal.c: ...here.
7187 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7188 * sysdeps/generic/s_fmax.c: ...here.
7189 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7190 * sysdeps/generic/s_fmaxf.c: ...here.
7191 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7192 * sysdeps/generic/s_fmaxl.c: ...here.
7193 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7194 * sysdeps/generic/s_fmin.c: ...here.
7195 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7196 * sysdeps/generic/s_fminf.c: ...here.
7197 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7198 * sysdeps/generic/s_fminl.c: ...here.
7199 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7200 * sysdeps/generic/s_ldexp.c: ...here.
7201 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7202 * sysdeps/generic/s_ldexpf.c: ...here.
7203 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7204 * sysdeps/generic/s_ldexpl.c: ...here.
7205 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7206 * sysdeps/generic/s_nan.c: ...here.
7207 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7208 * sysdeps/generic/s_nanf.c: ...here.
7209 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7210 * sysdeps/generic/s_nanl.c: ...here.
7211 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7212 * sysdeps/generic/s_significand.c: ...here.
7213 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7214 * sysdeps/generic/s_significandf.c: ...here.
7215 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7216 * sysdeps/generic/s_significandl.c: ...here.
7217 Avoid conversion from int to double and then to long double.
7218 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7219 * math/w_acos.c: ...here.
7220 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7221 * math/w_acosf.c: ...here.
7222 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7223 * math/w_acosh.c: ...here.
7224 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7225 * math/w_acoshf.c: ...here.
7226 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7227 * math/w_acoshl.c: ...here.
7228 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7229 * math/w_acosl.c: ...here.
7230 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7231 * math/w_asin.c: ...here.
7232 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7233 * math/w_asinf.c: ...here.
7234 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7235 * math/w_asinl.c: ...here.
7236 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7237 * math/w_atan2.c: ...here.
7238 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7239 * math/w_atan2f.c: ...here.
7240 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7241 * math/w_atan2l.c: ...here.
7242 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7243 * math/w_atanh.c: ...here.
7244 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7245 * math/w_atanhf.c: ...here.
7246 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7247 * math/w_atanhl.c: ...here.
7248 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7249 * math/w_cosh.c: ...here.
7250 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7251 * math/w_coshf.c: ...here.
7252 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7253 * math/w_coshl.c: ...here.
7254 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7255 * math/w_drem.c: ...here.
7256 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7257 * math/w_dremf.c: ...here.
7258 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7259 * math/w_dreml.c: ...here.
7260 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7261 * math/w_exp10.c: ...here.
7262 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7263 * math/w_exp10f.c: ...here.
7264 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7265 * math/w_exp10l.c: ...here.
7266 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7267 * math/w_exp2.c: ...here.
7268 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7269 * math/w_exp2f.c: ...here.
7270 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7271 * math/w_exp2l.c: ...here.
7272 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7273 * math/w_fmod.c: ...here.
7274 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7275 * math/w_fmodf.c: ...here.
7276 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7277 * math/w_fmodl.c: ...here.
7278 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7279 * math/w_hypot.c: ...here.
7280 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7281 * math/w_hypotf.c: ...here.
7282 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7283 * math/w_hypotl.c: ...here.
7284 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7285 * math/w_j0.c: ...here.
7286 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7287 * math/w_j0f.c: ...here.
7288 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7289 * math/w_j0l.c: ...here.
7290 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7291 * math/w_j1.c: ...here.
7292 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7293 * math/w_j1f.c: ...here.
7294 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7295 * math/w_j1l.c: ...here.
7296 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7297 * math/w_jn.c: ...here.
7298 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7299 * math/w_jnf.c: ...here.
7300 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7301 * math/w_jnl.c: ...here.
7302 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7303 * math/w_lgamma.c: ...here.
7304 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7305 * math/w_lgamma_r.c: ...here.
7306 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7307 * math/w_lgammaf.c: ...here.
7308 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7309 * math/w_lgammaf_r.c: ...here.
7310 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7311 * math/w_lgammal.c: ...here.
7312 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7313 * math/w_lgammal_r.c: ...here.
7314 * sysdeps/libm-ieee754/w_log.c: Moved to ...
7315 * math/w_log.c: ...here.
7316 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7317 * math/w_log10.c: ...here.
7318 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7319 * math/w_log10f.c: ...here.
7320 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7321 * math/w_log10l.c: ...here.
7322 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7323 * math/w_logf.c: ...here.
7324 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7325 * math/w_logl.c: ...here.
7326 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7327 * math/w_pow.c: ...here.
7328 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7329 * math/w_powf.c: ...here.
7330 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7331 * math/w_powl.c: ...here.
7332 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7333 * math/w_remainder.c: ...here.
7334 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7335 * math/w_remainderf.c: ...here.
7336 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7337 * math/w_remainderl.c: ...here.
7338 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7339 * math/w_scalb.c: ...here.
7340 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7341 * math/w_scalbf.c: ...here.
7342 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7343 * math/w_scalbl.c: ...here.
7344 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7345 * math/w_sinh.c: ...here.
7346 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7347 * math/w_sinhf.c: ...here.
7348 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7349 * math/w_sinhl.c: ...here.
7350 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7351 * math/w_sqrt.c: ...here.
7352 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7353 * math/w_sqrtf.c: ...here.
7354 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7355 * math/w_sqrtl.c: ...here.
7356 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7357 * math/w_tgamma.c: ...here.
7358 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7359 * math/w_tgammaf.c: ...here.
7360 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7361 * math/w_tgammal.c: ...here.
7362 * sysdeps/libm-i387/e_acos.S: Moved to ...
7363 * sysdeps/i386/fpu/e_acos.S: ...here.
7364 * sysdeps/libm-i387/e_acosf.S: Moved to ...
7365 * sysdeps/i386/fpu/e_acosf.S: ...here.
7366 * sysdeps/libm-i387/e_acosh.S: Moved to ...
7367 * sysdeps/i386/fpu/e_acosh.S: ...here.
7368 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7369 * sysdeps/i386/fpu/e_acoshf.S: ...here.
7370 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7371 * sysdeps/i386/fpu/e_acoshl.S: ...here.
7372 * sysdeps/libm-i387/e_acosl.S: Moved to ...
7373 * sysdeps/i386/fpu/e_acosl.S: ...here.
7374 * sysdeps/libm-i387/e_asin.S: Moved to ...
7375 * sysdeps/i386/fpu/e_asin.S: ...here.
7376 * sysdeps/libm-i387/e_asinf.S: Moved to ...
7377 * sysdeps/i386/fpu/e_asinf.S: ...here.
7378 * sysdeps/libm-i387/e_asinl.S: Moved to ...
7379 * sysdeps/i386/fpu/e_asinl.S: ...here.
7380 * sysdeps/libm-i387/e_atan2.S: Moved to ...
7381 * sysdeps/i386/fpu/e_atan2.S: ...here.
7382 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7383 * sysdeps/i386/fpu/e_atan2f.S: ...here.
7384 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7385 * sysdeps/i386/fpu/e_atan2l.S: ...here.
7386 * sysdeps/libm-i387/e_atanh.S: Moved to ...
7387 * sysdeps/i386/fpu/e_atanh.S: ...here.
7388 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7389 * sysdeps/i386/fpu/e_atanhf.S: ...here.
7390 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7391 * sysdeps/i386/fpu/e_atanhl.S: ...here.
7392 * sysdeps/libm-i387/e_exp.S: Moved to ...
7393 * sysdeps/i386/fpu/e_exp.S: ...here.
7394 * sysdeps/libm-i387/e_exp10.S: Moved to ...
7395 * sysdeps/i386/fpu/e_exp10.S: ...here.
7396 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7397 * sysdeps/i386/fpu/e_exp10f.S: ...here.
7398 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7399 * sysdeps/i386/fpu/e_exp10l.S: ...here.
7400 * sysdeps/libm-i387/e_expf.S: Moved to ...
7401 * sysdeps/i386/fpu/e_expf.S: ...here.
7402 * sysdeps/libm-i387/e_expl.S: Moved to ...
7403 * sysdeps/i386/fpu/e_expl.S: ...here.
7404 * sysdeps/libm-i387/e_fmod.S: Moved to ...
7405 * sysdeps/i386/fpu/e_fmod.S: ...here.
7406 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7407 * sysdeps/i386/fpu/e_fmodf.S: ...here.
7408 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7409 * sysdeps/i386/fpu/e_fmodl.S: ...here.
7410 * sysdeps/libm-i387/e_hypot.S: Moved to ...
7411 * sysdeps/i386/fpu/e_hypot.S: ...here.
7412 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7413 * sysdeps/i386/fpu/e_hypotf.S: ...here.
7414 * sysdeps/libm-i387/e_log.S: Moved to ...
7415 * sysdeps/i386/fpu/e_log.S: ...here.
7416 * sysdeps/libm-i387/e_log10.S: Moved to ...
7417 * sysdeps/i386/fpu/e_log10.S: ...here.
7418 * sysdeps/libm-i387/e_log10f.S: Moved to ...
7419 * sysdeps/i386/fpu/e_log10f.S: ...here.
7420 * sysdeps/libm-i387/e_log10l.S: Moved to ...
7421 * sysdeps/i386/fpu/e_log10l.S: ...here.
7422 * sysdeps/libm-i387/e_logf.S: Moved to ...
7423 * sysdeps/i386/fpu/e_logf.S: ...here.
7424 * sysdeps/libm-i387/e_logl.S: Moved to ...
7425 * sysdeps/i386/fpu/e_logl.S: ...here.
7426 * sysdeps/libm-i387/e_pow.S: Moved to ...
7427 * sysdeps/i386/fpu/e_pow.S: ...here.
7428 * sysdeps/libm-i387/e_powf.S: Moved to ...
7429 * sysdeps/i386/fpu/e_powf.S: ...here.
7430 * sysdeps/libm-i387/e_powl.S: Moved to ...
7431 * sysdeps/i386/fpu/e_powl.S: ...here.
7432 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7433 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7434 * sysdeps/libm-i387/e_remainder.S: Moved to ...
7435 * sysdeps/i386/fpu/e_remainder.S: ...here.
7436 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7437 * sysdeps/i386/fpu/e_remainderf.S: ...here.
7438 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7439 * sysdeps/i386/fpu/e_remainderl.S: ...here.
7440 * sysdeps/libm-i387/e_scalb.S: Moved to ...
7441 * sysdeps/i386/fpu/e_scalb.S: ...here.
7442 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7443 * sysdeps/i386/fpu/e_scalbf.S: ...here.
7444 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7445 * sysdeps/i386/fpu/e_scalbl.S: ...here.
7446 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7447 * sysdeps/i386/fpu/e_sqrt.S: ...here.
7448 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7449 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7450 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7451 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7452 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7453 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7454 * sysdeps/libm-i387/s_asinh.S: Moved to ...
7455 * sysdeps/i386/fpu/s_asinh.S: ...here.
7456 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7457 * sysdeps/i386/fpu/s_asinhf.S: ...here.
7458 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7459 * sysdeps/i386/fpu/s_asinhl.S: ...here.
7460 * sysdeps/libm-i387/s_atan.S: Moved to ...
7461 * sysdeps/i386/fpu/s_atan.S: ...here.
7462 * sysdeps/libm-i387/s_atanf.S: Moved to ...
7463 * sysdeps/i386/fpu/s_atanf.S: ...here.
7464 * sysdeps/libm-i387/s_atanl.S: Moved to ...
7465 * sysdeps/i386/fpu/s_atanl.S: ...here.
7466 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7467 * sysdeps/i386/fpu/s_cbrt.S: ...here.
7468 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7469 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7470 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7471 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7472 * sysdeps/libm-i387/s_ceil.S: Moved to ...
7473 * sysdeps/i386/fpu/s_ceil.S: ...here.
7474 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7475 * sysdeps/i386/fpu/s_ceilf.S: ...here.
7476 * sysdeps/libm-i387/s_ceill.S: Moved to ...
7477 * sysdeps/i386/fpu/s_ceill.S: ...here.
7478 * sysdeps/libm-i387/s_cexp.S: Moved to ...
7479 * sysdeps/i386/fpu/s_cexp.S: ...here.
7480 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7481 * sysdeps/i386/fpu/s_cexpf.S: ...here.
7482 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7483 * sysdeps/i386/fpu/s_cexpl.S: ...here.
7484 * sysdeps/libm-i387/s_copysign.S: Moved to ...
7485 * sysdeps/i386/fpu/s_copysign.S: ...here.
7486 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7487 * sysdeps/i386/fpu/s_copysignf.S: ...here.
7488 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7489 * sysdeps/i386/fpu/s_copysignl.S: ...here.
7490 * sysdeps/libm-i387/s_cos.S: Moved to ...
7491 * sysdeps/i386/fpu/s_cos.S: ...here.
7492 * sysdeps/libm-i387/s_cosf.S: Moved to ...
7493 * sysdeps/i386/fpu/s_cosf.S: ...here.
7494 * sysdeps/libm-i387/s_cosl.S: Moved to ...
7495 * sysdeps/i386/fpu/s_cosl.S: ...here.
7496 * sysdeps/libm-i387/s_exp2.S: Moved to ...
7497 * sysdeps/i386/fpu/s_exp2.S: ...here.
7498 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7499 * sysdeps/i386/fpu/s_exp2f.S: ...here.
7500 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7501 * sysdeps/i386/fpu/s_exp2l.S: ...here.
7502 * sysdeps/libm-i387/s_expm1.S: Moved to ...
7503 * sysdeps/i386/fpu/s_expm1.S: ...here.
7504 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7505 * sysdeps/i386/fpu/s_expm1f.S: ...here.
7506 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7507 * sysdeps/i386/fpu/s_expm1l.S: ...here.
7508 * sysdeps/libm-i387/s_fdim.S: Moved to ...
7509 * sysdeps/i386/fpu/s_fdim.S: ...here.
7510 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7511 * sysdeps/i386/fpu/s_fdimf.S: ...here.
7512 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7513 * sysdeps/i386/fpu/s_fdiml.S: ...here.
7514 * sysdeps/libm-i387/s_finite.S: Moved to ...
7515 * sysdeps/i386/fpu/s_finite.S: ...here.
7516 * sysdeps/libm-i387/s_finitef.S: Moved to ...
7517 * sysdeps/i386/fpu/s_finitef.S: ...here.
7518 * sysdeps/libm-i387/s_finitel.S: Moved to ...
7519 * sysdeps/i386/fpu/s_finitel.S: ...here.
7520 * sysdeps/libm-i387/s_floor.S: Moved to ...
7521 * sysdeps/i386/fpu/s_floor.S: ...here.
7522 * sysdeps/libm-i387/s_floorf.S: Moved to ...
7523 * sysdeps/i386/fpu/s_floorf.S: ...here.
7524 * sysdeps/libm-i387/s_floorl.S: Moved to ...
7525 * sysdeps/i386/fpu/s_floorl.S: ...here.
7526 * sysdeps/libm-i387/s_fma.S: Moved to ...
7527 * sysdeps/i386/fpu/s_fma.S: ...here.
7528 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7529 * sysdeps/i386/fpu/s_fmaf.S: ...here.
7530 * sysdeps/libm-i387/s_fmal.S: Moved to ...
7531 * sysdeps/i386/fpu/s_fmal.S: ...here.
7532 * sysdeps/libm-i387/s_fmax.S: Moved to ...
7533 * sysdeps/i386/fpu/s_fmax.S: ...here.
7534 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7535 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7536 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7537 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7538 * sysdeps/libm-i387/s_fmin.S: Moved to ...
7539 * sysdeps/i386/fpu/s_fmin.S: ...here.
7540 * sysdeps/libm-i387/s_fminf.S: Moved to ...
7541 * sysdeps/i386/fpu/s_fminf.S: ...here.
7542 * sysdeps/libm-i387/s_fminl.S: Moved to ...
7543 * sysdeps/i386/fpu/s_fminl.S: ...here.
7544 * sysdeps/libm-i387/s_frexp.S: Moved to ...
7545 * sysdeps/i386/fpu/s_frexp.S: ...here.
7546 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7547 * sysdeps/i386/fpu/s_frexpf.S: ...here.
7548 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7549 * sysdeps/i386/fpu/s_frexpl.S: ...here.
7550 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7551 * sysdeps/i386/fpu/s_ilogb.S: ...here.
7552 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7553 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7554 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7555 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7556 * sysdeps/libm-i387/s_llrint.S: Moved to ...
7557 * sysdeps/i386/fpu/s_llrint.S: ...here.
7558 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7559 * sysdeps/i386/fpu/s_llrintf.S: ...here.
7560 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7561 * sysdeps/i386/fpu/s_llrintl.S: ...here.
7562 * sysdeps/libm-i387/s_log1p.S: Moved to ...
7563 * sysdeps/i386/fpu/s_log1p.S: ...here.
7564 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7565 * sysdeps/i386/fpu/s_log1pf.S: ...here.
7566 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7567 * sysdeps/i386/fpu/s_log1pl.S: ...here.
7568 * sysdeps/libm-i387/s_log2.S: Moved to ...
7569 * sysdeps/i386/fpu/s_log2.S: ...here.
7570 * sysdeps/libm-i387/s_log2f.S: Moved to ...
7571 * sysdeps/i386/fpu/s_log2f.S: ...here.
7572 * sysdeps/libm-i387/s_log2l.S: Moved to ...
7573 * sysdeps/i386/fpu/s_log2l.S: ...here.
7574 * sysdeps/libm-i387/s_logb.S: Moved to ...
7575 * sysdeps/i386/fpu/s_logb.S: ...here.
7576 * sysdeps/libm-i387/s_logbf.S: Moved to ...
7577 * sysdeps/i386/fpu/s_logbf.S: ...here.
7578 * sysdeps/libm-i387/s_logbl.S: Moved to ...
7579 * sysdeps/i386/fpu/s_logbl.S: ...here.
7580 * sysdeps/libm-i387/s_lrint.S: Moved to ...
7581 * sysdeps/i386/fpu/s_lrint.S: ...here.
7582 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7583 * sysdeps/i386/fpu/s_lrintf.S: ...here.
7584 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7585 * sysdeps/i386/fpu/s_lrintl.S: ...here.
7586 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7587 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7588 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7589 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7590 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7591 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7592 * sysdeps/libm-i387/s_remquo.S: Moved to ...
7593 * sysdeps/i386/fpu/s_remquo.S: ...here.
7594 * sysdeps/libm-i387/s_remquof.S: Moved to ...
7595 * sysdeps/i386/fpu/s_remquof.S: ...here.
7596 * sysdeps/libm-i387/s_remquol.S: Moved to ...
7597 * sysdeps/i386/fpu/s_remquol.S: ...here.
7598 * sysdeps/libm-i387/s_rint.S: Moved to ...
7599 * sysdeps/i386/fpu/s_rint.S: ...here.
7600 * sysdeps/libm-i387/s_rintf.S: Moved to ...
7601 * sysdeps/i386/fpu/s_rintf.S: ...here.
7602 * sysdeps/libm-i387/s_rintl.S: Moved to ...
7603 * sysdeps/i386/fpu/s_rintl.S: ...here.
7604 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7605 * sysdeps/i386/fpu/s_scalbn.S: ...here.
7606 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7607 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7608 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7609 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7610 * sysdeps/libm-i387/s_significand.S: Moved to ...
7611 * sysdeps/i386/fpu/s_significand.S: ...here.
7612 * sysdeps/libm-i387/s_significandf.S: Moved to ...
7613 * sysdeps/i386/fpu/s_significandf.S: ...here.
7614 * sysdeps/libm-i387/s_significandl.S: Moved to ...
7615 * sysdeps/i386/fpu/s_significandl.S: ...here.
7616 * sysdeps/libm-i387/s_sin.S: Moved to ...
7617 * sysdeps/i386/fpu/s_sin.S: ...here.
7618 * sysdeps/libm-i387/s_sincos.S: Moved to ...
7619 * sysdeps/i386/fpu/s_sincos.S: ...here.
7620 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7621 * sysdeps/i386/fpu/s_sincosf.S: ...here.
7622 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7623 * sysdeps/i386/fpu/s_sincosl.S: ...here.
7624 * sysdeps/libm-i387/s_sinf.S: Moved to ...
7625 * sysdeps/i386/fpu/s_sinf.S: ...here.
7626 * sysdeps/libm-i387/s_sinl.S: Moved to ...
7627 * sysdeps/i386/fpu/s_sinl.S: ...here.
7628 * sysdeps/libm-i387/s_tan.S: Moved to ...
7629 * sysdeps/i386/fpu/s_tan.S: ...here.
7630 * sysdeps/libm-i387/s_tanf.S: Moved to ...
7631 * sysdeps/i386/fpu/s_tanf.S: ...here.
7632 * sysdeps/libm-i387/s_tanl.S: Moved to ...
7633 * sysdeps/i386/fpu/s_tanl.S: ...here.
7634 * sysdeps/libm-i387/s_trunc.S: Moved to ...
7635 * sysdeps/i386/fpu/s_trunc.S: ...here.
7636 * sysdeps/libm-i387/s_truncf.S: Moved to ...
7637 * sysdeps/i386/fpu/s_truncf.S: ...here.
7638 * sysdeps/libm-i387/s_truncl.S: Moved to ...
7639 * sysdeps/i386/fpu/s_truncl.S: ...here.
7640 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7641 * sysdeps/ieee754/k_standard.c: ...here.
7642 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7643 * sysdeps/ieee754/s_lib_version.c: ...here.
7644 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7645 * sysdeps/ieee754/s_matherr.c: ...here.
7646 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7647 * sysdeps/ieee754/s_signgam.c: ...here.
7648 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7649 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7650 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7651 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7652 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7653 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7654 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7655 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7656 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7657 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7658 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7659 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7660 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7661 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7662 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7663 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7664 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7665 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7666 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7667 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7668 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7669 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7670 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7671 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7672 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7673 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7674 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7675 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7676 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7677 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7678 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7679 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7680 * sysdeps/libm-ieee754/e_log.c: Moved to ...
7681 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7682 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7683 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7684 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7685 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7686 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7687 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7688 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7689 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7690 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7691 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7692 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7693 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7694 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7695 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7696 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7697 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7698 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7699 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7700 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7701 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7702 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7703 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7704 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7705 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7706 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7707 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7708 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7709 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7710 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7711 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7712 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7713 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7714 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7715 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7716 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7717 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7718 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7719 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7720 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7721 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7722 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7723 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7724 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7725 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7726 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7727 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7728 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7729 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7730 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7731 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7732 (__isnan): Comment above function says it returns 0 or 1, but it
7733 used to return 0 or -1.
7734 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7735 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7736 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7737 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7738 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7739 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7740 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7741 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7742 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7743 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7744 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7745 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7746 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7747 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7748 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7749 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7750 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7751 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7752 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7753 * sysdeps/generic/s_nextafter.c: ...here.
7754 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7755 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7756 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7757 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7758 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7759 * sysdeps/libm-ieee754/s_round.c: Moved to ...
7760 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7761 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7762 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7763 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7764 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7765 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7766 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7767 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7768 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7769 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7770 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7771 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7772 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7773 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7774 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7775 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7776 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7777 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7778 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7779 * sysdeps/ieee754/mpn2flt.c: Moved to ...
7780 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7781 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7782 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7783 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7784 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7785 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7786 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7787 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7788 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7789 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7790 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7791 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7792 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7793 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7794 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7795 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7796 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7797 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7798 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7799 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7800 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7801 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7802 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7803 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7804 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7805 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7806 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7807 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7808 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7809 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7810 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7811 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7812 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7813 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7814 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7815 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7816 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7817 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7818 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7819 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7820 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7821 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7822 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7823 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7824 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7825 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7826 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7827 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7828 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7829 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7830 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7831 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7832 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7833 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7834 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7835 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7836 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7837 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7838 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7839 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7840 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7841 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7842 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7843 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7844 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7845 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7846 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7847 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7848 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7849 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7850 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7851 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7852 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7853 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7854 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7855 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7856 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7857 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7858 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7859 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7860 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7861 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7862 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7863 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7864 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7865 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7866 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7867 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7868 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7869 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7870 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7871 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7872 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7873 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7874 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7875 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7876 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7877 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7878 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7879 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7880 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7881 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7882 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7883 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7884 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7885 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7886 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7887 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7888 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7889 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7890 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7891 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7892 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7893 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7894 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7895 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7896 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7897 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7898 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7899 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7900 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7901 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7902 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7903 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7904 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7905 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7906 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7907 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7908 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7909 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7910 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7911 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7912 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7913 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7914 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7915 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7916 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7917 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7918 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7919 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7920 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7921 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7922 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7923 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7924 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7925 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7926 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7927 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7928 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7929 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7930 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7931 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7932 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7933 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7934 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7935 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7936 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7937 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7938 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7939 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7940 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7941 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7942 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7943 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7944 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7945 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7946 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7947 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7948 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7949 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7950 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7951 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7952 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7953 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7954 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7955 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7957 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7959 (__nearbyintl): Fix for exponents 2^30.
7960 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7961 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7962 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7963 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7964 (__rintl): Fix for exponents 2^30.
7965 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7966 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7967 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7968 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7969 (__scalbnl): Fix exponent for subnormal result.
7970 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7971 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7972 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7973 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7974 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7975 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7976 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7977 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7978 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7979 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7980 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7981 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
7982 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
7983 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
7984 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
7985 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
7986 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
7987 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
7988 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
7989 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
7990 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
7991 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
7992 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
7993 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
7994 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
7995 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
7996 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
7997 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
7998 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
7999 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8000 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8002 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8003 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8004 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8005 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8006 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8007 * sysdeps/i386/fpu/s_scalbln.c: ...here.
8008 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8009 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8010 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8011 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8012 * sysdeps/libm-i387/t_exp.c: Moved to ...
8013 * sysdeps/i386/fpu/t_exp.c: ...here.
8014 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8015 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8016 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8017 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8018 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8019 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8020 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8021 * sysdeps/i386/fpu/s_isinfl.c: ...here.
8022 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8023 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8024 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8025 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8026 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8028 Fix exponent for subnormal result.
8029 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8030 * sysdeps/generic/s_nexttowardl.c: ...here.
8031 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8032 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8033 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8034 * sysdeps/i386/fpu/s_isnanl.c: ...here.
8035 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8036 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8037 Comment above function says it returns 0 or 1, but it used to return
8039 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8040 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8041 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8042 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8043 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8044 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8045 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8046 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8047 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8048 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8049 Cannot compare exponents with different biases without adjusting.
8050 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8051 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8052 Cannot compare exponents with different biases without adjusting.
8053 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8054 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8055 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8056 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8057 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8058 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8059 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8060 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8061 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8062 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8063 * sysdeps/libm-ieee754/Dist: Split into ...
8064 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8065 * sysdeps/ieee754/flt-32/Dist: ...this file.
8067 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8068 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8069 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8070 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8071 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8072 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8073 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8074 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8075 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8076 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8077 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8078 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8079 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8080 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8081 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8082 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8083 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8084 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8085 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8086 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8087 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8088 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8089 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8090 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8091 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8092 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8093 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8094 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8095 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8096 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8097 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8098 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8099 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8100 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8101 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8102 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8104 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8105 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8106 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8107 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8108 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8110 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8111 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8112 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8113 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8115 * sysdeps/generic/math_ldbl.h: New file.
8116 * sysdeps/generic/s_nexttowardf.c: New file.
8117 * sysdeps/generic/strtold.c: New file.
8118 * sysdeps/generic/ldbl2mpn.c: New file.
8120 * math/machine/endian.h: Remove.
8121 * sysdeps/i386/fpu/Implies: Remove.
8122 * sysdeps/ieee754/Implies: Remove.
8124 * math/math_private.h: Move long double macros to math_ldbl.h
8127 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8129 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8130 connections without a hostname set address to localhost address.
8132 1999-07-11 H.J. Lu <hjl@gnu.org>
8134 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8135 nscd's own strong version of the get[a-z]*_r function.
8136 * nscd/hstcache.c: Likewise.
8137 * nscd/pwdcache.c: Likewise.
8139 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8141 * configure.in: Recognize 2.95 as gcc version number.
8142 Patch by Joel Klecker <jk@espy.org>.
8144 1999-07-12 Andreas Schwab <schwab@suse.de>
8146 * elf/rtld.c (dl_main): When putting back the interpreter object
8147 handle the case where a missing object might occur in the list of
8148 objects but not in the search list when in trace mode.
8150 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
8152 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8153 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8154 _nss_hesiod_initgroups.
8156 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8158 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8159 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8160 Initialize it from &__data_start if defined, or else &_end.
8162 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8164 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8165 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8167 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8169 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8171 1999-07-09 H.J. Lu <hjl@gnu.org>
8173 * Versions.def (GLIBC_2.1.2): Added.
8175 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8176 old one as GLIBC_2.0.
8177 * nss/getXXbyYY_r.c: Likewise.
8179 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8181 * inet/Versions (getaliasbyname_r, getaliasent_r,
8182 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8183 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8184 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8185 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8186 getservbyname_r): Likewise.
8187 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8188 * shadow/Versions (getspent_r, getspnam_r): Likewise.
8190 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8192 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8194 (__memset_cc): Likewise.
8196 * sysdeps/generic/libc-start.c: For SUID binaries check whether
8197 the standard file descriptors are open.
8198 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8200 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8201 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8202 range of mmap. If not fail.
8203 Patches by Daniel Jacobowitz <dan@debian.org>.
8205 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8206 before the relocation happened.
8207 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8209 * Versions.def (libnsl): Add GLIBC_2.2.
8210 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8212 1999-07-08 Cristian Gafton <gafton@redhat.com>
8214 * nis/yp_xdr.c (xdr_ypall): New function.
8216 1999-07-09 Andreas Schwab <schwab@suse.de>
8218 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8220 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8222 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8224 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8225 * hesiod/hesiod-grp.c: Add initgroups support.
8226 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8228 1999-07-08 Andreas Schwab <schwab@suse.de>
8230 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8232 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8235 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8237 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8239 1999-07-08 Andreas Schwab <schwab@suse.de>
8241 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8243 1999-07-08 Andreas Schwab <schwab@suse.de>
8245 * libio/fileno.c: Return -1 instead of EOF and set errno if the
8246 stream is not a real file stream.
8248 1999-07-08 Andreas Schwab <schwab@suse.de>
8250 * manual/charset.texi: Fix typos.
8252 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8254 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8256 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
8258 * dlfcn: New directory. Move the following files from elf:
8259 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8260 dlopenold.c, dlsym.c, dlvsym.c.
8261 * dlfcn/Makefile: New file.
8262 * dlfcn/Versions: New file.
8263 * dlfcn/dlsym.c: All ELF-specific code split out to new
8265 * dlfcn/dlvsym.c: All ELF-specific code split out to new
8267 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
8270 * dlfcn/dladdr.c: Remove all references to ELF data structures
8272 * dlfcn/dlclose.c: Likewise.
8273 * dlfcn/dlerror.c: Likewise.
8274 * dlfcn/dlopen.c: Likewise.
8275 * dlfcn/dlopenold.c: Likewise.
8277 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8278 yes, empty otherwise.
8279 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8280 depending on build-shared.
8281 (subdirs): Add $(dlfcn).
8282 (rpath-dirs): Add dlfcn.
8283 * elf/Makefile: Remove all references to libdl or its
8284 components, except the ones relating to the test cases.
8285 (routines): Add dl-sym.
8286 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8289 * elf/dl-close.c (_dl_close): Change argument to void *.
8290 * elf/dl-open.c (_dl_open): Change return type to void *.
8291 * elf/eval.c: Removed.
8292 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8293 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8294 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
8296 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8297 Include real header from dlfcn directory.
8298 * include/ldsodefs.h: Removed.
8300 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8301 * nss/getXXbyYY_r.c: Likewise.
8302 * nss/getXXent_r.c: Likewise.
8303 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
8304 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
8305 * iconv/skeleton.c: Don't include ldsodefs.h.
8306 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
8308 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8310 * sysdeps/generic/setenv.c: Describe problem.
8312 * malloc/malloc.c (request2size): Also set errno if failing.
8314 * malloc/malloc.c (request2size): Take care of overflow in
8317 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
8318 (NULL, != 0) correctly.
8320 * elf/dl-load.c: Use a few more __builtin_expect.
8322 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8325 1999-07-07 Andreas Schwab <schwab@suse.de>
8327 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8328 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8329 (_PATH_DEVPTMX): Use _PATH_DEV.
8331 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8333 * malloc/tst-malloc.c: New file. Tests some basic functionality.
8334 * malloc/Makefile (tests): Add tst-malloc.
8336 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8338 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8341 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8343 Patch by Jay Estabrook.
8345 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8347 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8348 Patch by Cristian Gafton.
8350 1999-07-02 Cristian Gafton <gafton@redhat.com>
8352 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8353 instead of "return NULL" to make C++ happy.
8355 1999-07-04 Mark Kettenis <kettenis@gnu.org>
8357 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8358 allowed by the file access mode of the open file.
8360 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8362 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8365 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
8367 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8368 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8369 * sysdeps/sparc/sparc64/rshift.S: Likewise.
8370 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8372 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8374 * malloc/malloc.c (request2size): Check for overflow and return
8375 NULL whenever it is encountered.
8377 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
8379 * sysdeps/posix/tempname.c (__gen_tempname): Add
8380 ability to create directories. Replace OPENIT and LARGEFILE
8381 args with a single flags parameter.
8382 * sysdeps/generic/tempname.c: Likewise.
8383 * include/stdio.h: Adjust prototype of __gen_tempname to
8384 match. Define symbolic constants for second argument.
8386 * misc/mkdtemp.c: New file, provides new function mkdtemp().
8387 * stdlib/stdlib.h: Prototype it.
8388 * misc/Versions: Export it.
8389 * misc/Makefile (routines): Add mktemp.
8390 * manual/filesys.texi: Document it.
8392 * misc/mktemp.c: Adjust call of __gen_tempname to match new
8394 * misc/mkstemp.c: Likewise.
8395 * stdio-common/tempnam.c: Likewise.
8396 * stdio-common/tmpfile.c: Likewise.
8397 * stdio-common/tmpfile64.c: Likewise.
8398 * stdio-common/tmpnam.c: Likewise.
8399 * stdio-common/tmpnam_r.c: Likewise.
8401 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
8403 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8404 R_SPARC_OLO10 relocations.
8405 * elf/elf.h (R_SPARC_OLO10): Fix comment.
8407 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
8409 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
8410 doesn't belong in the tests, but in the wordexp implementation.
8412 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8415 1999-07-01 Cristian Gafton <gafton@redhat.com>
8417 * time/strptime.c (strptime): Initialize the tm struct first to avoid
8418 returning bogus results on incomplete data.
8419 (strptime_internal): day_of_the_week() requres both tm_mon and
8420 tm_mday to be initialized.
8421 Compute them first if they are not given.
8422 (strptime_internal): (have_mon, have_mday): New variables.
8424 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8426 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8428 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8430 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8431 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8433 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8435 * posix/wordexp.c (parse_tilde): Handle failing call to
8436 get.*_r functions correctly for non-existing entry.
8437 * sysdeps/posix/cuserid.c (cuserid): Likewise.
8438 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8440 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8442 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8443 getxxbyYY_r functions correctly for non-existing entry.
8444 * sunrpc/getrpcport.c: Likewise.
8445 * sunrpc/clnt_simp.c: Likewise.
8446 * inet/rexec.c: Likewise.
8447 * sunrpc/clnt_gen.c: Likewise.
8448 * inet/rcmd.c: Likewise.
8449 * sysdeps/generic/glob.c: Likewise.
8451 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8453 * pwd/Makefile (tests): Add rules for tst-getpw.
8455 * pwd/tst-getpw.c: New program to test getpw.
8457 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8459 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8462 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8464 * manual/arith.texi (System V Number Conversion): Fix the
8465 description which confused pointer and value to pointer.
8466 Reported by Andries.Brouwer@cwi.nl.
8468 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8470 * pwd/getpw.c (__getpw): Check for NULL result pointer.
8472 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8474 * manual/users.texi (Lookup User): Document POSIX return
8475 semantics for getpwuid_r and getgrgid_r.
8477 * manual/socket.texi (Host Names): Document that the result
8478 pointer is null in case of error or host not found and fix a
8479 typo. Give a small example.
8481 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8483 * pwd/getpw.c: Add warning since no buffer size is given and
8484 therefore no overrun tests are possible.
8486 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8488 * pwd/pwd.h: Add getpw prototype declaration.
8490 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8492 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8493 * wcsmbs/wcschr.c: Likewise.
8495 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8497 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8499 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8500 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8501 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8503 * elf/dl-dst.h: Fix typo.
8504 * elf/dl-open.c: Likewise.
8506 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
8508 * elf/dl-libc.c: New file, provides three functions:
8509 __libc_dlopen, __libc_dlclose, __libc_dlsym.
8510 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
8511 * elf/Makefile (routines): Add dl-libc.c.
8512 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8514 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8516 * iconv/gconv.c: Include dlfcn.h.
8517 * iconv/gconv_db.c: Likewise.
8518 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
8520 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8521 `handle' to a void *.
8522 (__gconv_find_func): Delete prototype.
8524 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
8525 dlerror_run and related functions and structs. Use
8526 __libc_dlopen, __libc_dlsym, __libc_dlclose.
8527 * nss/nsswitch.c: Likewise.
8529 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8531 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8534 * sunrpc/getrpcport.c: Test for gethostbyname_r function
8537 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8539 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8540 functions correctly.
8542 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8544 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
8547 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8549 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8551 * manual/string.texi (Copying and Concatenation): Mention that
8552 strndup is a GNU extension.
8554 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8556 * pwd/getpw.c (__getpw): Fix check for error return.
8558 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8560 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8561 occurence of the aux object start with the current list entry, not
8562 the new one. Adjust tail pointer in the unique list. Explain how
8563 the meaning of the variables changes [PR libc/1168].
8565 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8567 * sysdeps/m68k/fpu/Dist: New file.
8569 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8571 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8573 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
8574 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8575 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8576 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8577 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8578 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8579 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8580 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8581 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8582 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8583 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8584 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8585 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8586 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8587 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8588 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8590 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
8592 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8593 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8594 _EXTERN_INLINE, use a macro specific to each file,
8595 _HURD_FD_H_EXTERN_INLINE and the like.
8596 * hurd/Makefile (inline-headers): New variable.
8597 (routines): Remove hurdinline. Add $(inlines).
8598 (inlines): New variable.
8599 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8600 (generated): Append those here.
8601 * hurd/hurdinline.c: File removed.
8603 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8605 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8607 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8609 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8611 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
8613 * string/bits/string2.h (strnlen): Remove extra prototype.
8615 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8617 * manual/filesys.texi (Working on Directory Trees): Fix typos.
8618 Reported by Andries.Brouwer@cwi.nl.
8620 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
8622 * nscd/connections.c (handle_request): Use correct type for optlen
8625 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8626 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8628 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
8630 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8631 * nscd/pwdcache.c: Likewise.
8632 * nscd/hstcache.c: Likewise.
8634 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8636 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8638 * posix/getopt.h: Include stdio.h.
8640 * manual/arith.texi: Document restriction of ndigit parameter of
8642 * misc/efgcvt.c: Define NDIGIT_MAX.
8643 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8644 Do not dynamically allocate the static buffers. They are small enough.
8645 * misc/efgcvt_r.c: Define NDIGIT_MAX.
8646 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8647 * misc/qefgcvt.c: Define NDIGIT_MAX.
8648 * misc/qefgcvt_r.c: Likewise.
8649 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8651 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
8653 * libio/stdio.h: Define stdin, stdout, stderr as macros.
8654 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8655 These are *pragmas* not macros.
8656 * wcsmbs/wchar.h: Fix comment.
8658 * grp/grp.h: Use __foo_t_defined convention to typedef things
8660 * io/sys/stat.h: Likewise.
8661 * libio/stdio.h: Likewise.
8662 * posix/unistd.h: Likewise.
8663 * posix/sys/types.h: Likewise.
8664 * posix/sys/wait.h: Likewise.
8665 * pwd/pwd.h: Likewise.
8666 * signal/signal.h: Likewise.
8667 * sysdeps/generic/stdint.h: Likewise.
8668 * sysdeps/gnu/utmpx.h: Likewise.
8669 * termios/termios.h: Likewise.
8671 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8673 * stdio/fputc.c: Don't define alias if fputc is defined as a
8675 * stdio/putc.c: Define weak alias here since it is not done
8678 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8680 * assert/assert.h: Don't produce `defined' as part of macro
8683 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
8685 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8686 OFFSET argument of (off_t) -1.
8687 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8688 OFFSET argument of (off_t) -1.
8690 * sysdeps/mach/hurd/pwrite.c: New file.
8691 * sysdeps/mach/hurd/pread.c: New file.
8693 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8694 pass it in the RPC instead of always -1.
8695 * hurd/fd-write.c (_hurd_fd_write): Likewise.
8696 * hurd/hurd/fd.h: Update decls.
8698 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8700 * libio/wscanf.c: Include <wchar.h> for prototype.
8702 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
8704 * manual/io.texi. Fix typos.
8705 * manual/stdio.texi: Likewise.
8706 Patches by Brian Youmans <3diff@gnu.org>.
8708 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
8710 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8711 bits of two words differ.
8713 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8715 * libio/Makefile (routines): Add putwchar and putwchar_u.
8717 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8718 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
8719 stdout. Fix parameter name.
8721 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8722 * libio/getchar_u.c: Likewise.
8724 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8726 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8728 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8729 macro expansion---it's undefined. Properly parenthesize
8730 substituted parameters.
8731 (__GLIBC_PREREQ): Likewise.
8733 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
8735 * Makeconfig (CPPFLAGS): Revert last change. It has too many
8738 * stdlib/longlong.h: Provide __P definition if not already
8741 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8743 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
8745 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8747 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8749 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8751 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8753 * stdio-common/vfprintf.c (group_member): Make parameters and
8754 return types pointers to CHAR_T instead of UCHAR_T.
8755 (vfprintf): Change type of work_buffer, workend and string to
8756 CHAR_T pointer/array.
8757 (process_arg, process_string_arg): Adjust/remove casts. Add
8758 missing use of L_ macro.
8759 (printf_unknown): Add missing uses of L_ macro.
8761 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8763 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8766 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8768 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
8769 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8770 (__wunderflow): Likewise.
8771 (_IO_switch_to_wget_mode): Likewise.
8772 (_IO_init_wmarker): Likewise.
8774 * libio/wfileops.c (_IO_wfile_seekoff): Call
8775 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8776 (_IO_wfile_jumps): Fix pbackfail entry.
8778 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8779 function if the stream is currently unoriented.
8781 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
8783 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8784 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
8785 __gnuc_va_list in v*w(printf|scanf) prototypes.
8787 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8789 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8790 1999-03-29 to iopopen also here.
8791 Reported by Richard Braakman <dark@xs4all.nl>.
8793 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8795 * include/features.h: Use __GNUC_PREREQ.
8796 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8798 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8800 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8801 Change EOF to WEOF and remove cast.
8802 (UNGETC): Remove macro.
8803 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8804 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8805 Change ISASCII to isascii and MBRLEN to mbrlen.
8806 (parse_one_spec): Compare info.spec always against wchar_t
8808 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8809 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8810 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8812 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8814 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8815 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8816 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8817 oldiofsetpos64 only if doing versioning.
8819 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8821 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8823 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8825 * libio/libio.h: Fix last patch.
8827 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8829 * libio/libio.h (_IO_putwc): Correct type of first argument.
8830 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8831 putwc_unlocked, putwchar_unlocked): Likewise.
8832 * libio/fputwc.c: Likewise.
8833 * libio/fputwc_unlocked.c: Likewise.
8834 * libio/putwc.c: Likewise.
8835 * libio/putwc_unlocked.c: Likewise.
8836 * libio/putwchar.c: Likewise.
8837 * libio/putwchar_unlocked.c: Likewise.
8839 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
8841 * sysdeps/gnu/siglist.h: File moved to ...
8842 * sysdeps/generic/siglist.h: ... here. This file should be usable for
8843 any platform, since it just associates the SIG* macros with text names
8844 and descriptions. For any signal macros do not exist on every
8845 platform, we can use #ifdef tests here and still use this single
8846 common file for all platforms.
8847 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
8848 should be usable for all platforms after the binary compatibility
8849 stuff in the current sysdeps/gnu version is no longer required.
8850 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8851 * sysdeps/generic/make_siglist.c: File removed.
8852 * sysdeps/mach/hurd/siglist.h: Use #include_next.
8853 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8855 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
8857 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8858 * sysdeps/gnu/siglist.c: ... here.
8859 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8860 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8861 * sysdeps/gnu/siglist.h: New file, contents from linux version.
8862 Add entry for SIGLOST protected by #ifdef.
8863 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8864 and define OLD_SIGLIST_SIZE_STR.
8865 * sysdeps/mach/hurd/siglist.h: New file, likewise.
8867 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8869 * include/features.h: Define new macros __GNUC_PREREQ and
8870 __GLIBC_PREREQ which can be used to test the version of gcc
8871 and glibc respectively.
8873 * assert/assert.h: Use __GNUC_PREREQ.
8874 * intl/libintl.h: Likewise.
8875 * math/complex.h: Likewise.
8876 * math/tgmath.h: Likewise.
8877 * misc/sys/cdefs.h: Likewise.
8878 * posix/sys/types.h: Likewise.
8879 * socket/sys/socket.h: Likewise.
8880 * string/bits/string2.h: Likewise.
8881 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8882 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8884 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8886 * include/libintl.h: Declare _libc_intl_domainname here.
8887 Define _ and N_ here.
8888 * include/libc-symbols.h: Don't include <libintl.h>. Don't
8889 define _ and N_. Don't declare _libc_intl_domainname.
8890 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8892 * db2/config.h: Don't include sys/stat.h or define
8893 HAVE_ST_BLKSIZE here...
8894 * db2/compat.h: ...do it here.
8896 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8898 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8899 * iconv/iconv.c: Include stddef.h for NULL.
8900 * malloc/malloc.h: Include features.h.
8901 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8903 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8904 into the generated file.
8905 * sysdeps/gnu/errlist.awk: Likewise.
8906 * sysdeps/gnu/errlist.c: Rebuilt.
8908 * assert/assert-perr.c: Include libintl.h.
8909 * assert/assert.c: Likewise.
8910 * elf/dl-open.c: Likewise.
8911 * elf/dlsym.c: Likewise.
8912 * elf/dlvsym.c: Likewise.
8913 * iconv/iconv_prog.c: Likewise.
8914 * inet/rcmd.c: Likewise.
8915 * inet/ruserpass.c: Likewise.
8916 * locale/programs/charset.c: Likewise.
8917 * locale/programs/ld-collate.c: Likewise.
8918 * locale/programs/ld-ctype.c: Likewise.
8919 * locale/programs/ld-messages.c: Likewise.
8920 * locale/programs/ld-monetary.c: Likewise.
8921 * locale/programs/ld-numeric.c: Likewise.
8922 * locale/programs/ld-time.c: Likewise.
8923 * locale/programs/locfile.c: Likewise.
8924 * locale/programs/repertoire.c: Likewise.
8925 * login/programs/database.c: Likewise.
8926 * login/programs/request.c: Likewise.
8927 * malloc/mcheck.c: Likewise.
8928 * misc/error.c: Likewise.
8929 * nis/nis_call.c: Likewise.
8930 * nis/nis_callback.c: Likewise.
8931 * nis/nis_error.c: Likewise.
8932 * nis/nis_local_names.c: Likewise.
8933 * nis/nis_print.c: Likewise.
8934 * nis/nis_print_group_entry.c: Likewise.
8935 * nis/ypclnt.c: Likewise.
8936 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8937 * nscd/cache.c: Likewise.
8938 * nscd/connections.c: Likewise.
8939 * nscd/grpcache.c: Likewise.
8940 * nscd/hstcache.c: Likewise.
8941 * nscd/nscd_conf.c: Likewise.
8942 * nscd/nscd_stat.c: Likewise.
8943 * nscd/pwdcache.c: Likewise.
8944 * posix/id.c: Likewise.
8945 * resolv/herror.c: Likewise.
8946 * stdio-common/psignal.c: Likewise.
8947 * string/strsignal.c: Likewise.
8948 * sunrpc/auth_unix.c: Likewise.
8949 * sunrpc/clnt_perr.c: Likewise.
8950 * sunrpc/clnt_raw.c: Likewise.
8951 * sunrpc/clnt_tcp.c: Likewise.
8952 * sunrpc/clnt_udp.c: Likewise.
8953 * sunrpc/clnt_unix.c: Likewise.
8954 * sunrpc/get_myaddr.c: Likewise.
8955 * sunrpc/pm_getmaps.c: Likewise.
8956 * sunrpc/pmap_clnt.c: Likewise.
8957 * sunrpc/pmap_rmt.c: Likewise.
8958 * sunrpc/rpc_main.c: Likewise.
8959 * sunrpc/rpc_scan.c: Likewise.
8960 * sunrpc/svc_run.c: Likewise.
8961 * sunrpc/svc_simple.c: Likewise.
8962 * sunrpc/svc_tcp.c: Likewise.
8963 * sunrpc/svc_udp.c: Likewise.
8964 * sunrpc/svc_unix.c: Likewise.
8965 * sunrpc/xdr_rec.c: Likewise.
8966 * sunrpc/xdr_ref.c: Likewise.
8967 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8968 * sysdeps/posix/gai_strerror.c: Likewise.
8969 * sysdeps/unix/siglist.c: Likewise.
8970 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8971 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8972 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8973 * timezone/zic.c: Likewise.
8975 1999-06-18 H.J. Lu <hjl@gnu.org>
8977 * localedata/Makefile (charmaps): Exclude SCCS.
8978 (locales): Likewise.
8979 (repertoiremaps): Likewise.
8981 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
8983 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
8984 * sysdeps/generic/bsd-setjmp.c: Likewise.
8986 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
8988 * iconv/gconv_open.c: Include string.h for memset prototype.
8990 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
8993 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
8994 assignment to avoid warning on 64bit platforms.
8996 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8998 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9000 * nss/getXXbyYY_r.c: Return error code not -1.
9001 * nss/getXXent_r.c: Likewise.
9002 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9004 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9005 value > 0 for error.
9006 * nscd/nscd_gethst_r.c: Likewise.
9007 * nscd/nscd_getpw_r.c: Likewise.
9009 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9011 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9014 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9016 * nscd/nscd_nischeck.c: Fix typos.
9018 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9020 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9021 always when oact is NULL.
9022 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9024 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9026 * math/libm-test.c (jn_test): Adjust delta.
9028 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9030 * libio/vwprintf.c: Include <wchar.h> for prototypes.
9031 * libio/wprintf.c: Likewise.
9033 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9035 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9036 to not write beyond allocated memory.
9037 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9039 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9041 * malloc/mtrace.c: Keep lock while printing output lines.
9042 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9044 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
9046 * configure.in: Add warnings about broken code.
9048 * Versions.def: Add GLIBC_2.2 for libc.
9050 * iconv/gconv.h: Make header suitable for inclusion in public header
9051 by protecting all names with __.
9052 * iconv/gconv.c: Adapt for symbol name changes.
9053 * iconv/gconv.h: Likewise.
9054 * iconv/gconv_builtin.c: Likewise.
9055 * iconv/gconv_close.c: Likewise.
9056 * iconv/gconv_db.c: Likewise.
9057 * iconv/gconv_dl.c: Likewise.
9058 * iconv/gconv_int.h: Likewise.
9059 * iconv/gconv_open.c: Likewise.
9060 * iconv/gconv_simple.c: Likewise.
9061 * iconv/iconv.c: Likewise.
9062 * iconv/iconv_close.c: Likewise.
9063 * iconv/iconv_open.c: Likewise.
9064 * iconv/loop.c: Likewise.
9065 * iconv/skeleton.c: Likewise.
9066 * iconvdata/8bit-gap.c: Likewise.
9067 * iconvdata/8bit-generic.c: Likewise.
9068 * iconvdata/ansi_x3.110.c: Likewise.
9069 * iconvdata/big5.c: Likewise.
9070 * iconvdata/cns11643.h: Likewise.
9071 * iconvdata/cns11643l1.h: Likewise.
9072 * iconvdata/euc-cn.c: Likewise.
9073 * iconvdata/euc-jp.c: Likewise.
9074 * iconvdata/euc-kr.c: Likewise.
9075 * iconvdata/euc-tw.c: Likewise.
9076 * iconvdata/gb2312.h: Likewise.
9077 * iconvdata/iso-2022-jp.c: Likewise.
9078 * iconvdata/iso-2022-kr.c: Likewise.
9079 * iconvdata/iso646.c: Likewise.
9080 * iconvdata/iso8859-1.c: Likewise.
9081 * iconvdata/iso_6937-2.c: Likewise.
9082 * iconvdata/iso_6937.c: Likewise.
9083 * iconvdata/jis0201.h: Likewise.
9084 * iconvdata/jis0208.h: Likewise.
9085 * iconvdata/jis0212.h: Likewise.
9086 * iconvdata/johab.c: Likewise.
9087 * iconvdata/ksc5601.h: Likewise.
9088 * iconvdata/sjis.c: Likewise.
9089 * iconvdata/t.61.c: Likewise.
9090 * iconvdata/uhc.c: Likewise.
9091 * stdlib/mblen.c: Likewise.
9092 * stdlib/mbtowc.c: Likewise.
9093 * stdlib/wctomb.c: Likewise.
9094 * wcsmbs/btowc.c: Likewise.
9095 * wcsmbs/mbrtowc.c: Likewise.
9096 * wcsmbs/mbsnrtowcs.c: Likewise.
9097 * wcsmbs/mbsrtowcs.c: Likewise.
9098 * wcsmbs/wchar.h: Likewise.
9099 * wcsmbs/wcrtomb.c: Likewise.
9100 * wcsmbs/wcsmbsload.c: Likewise.
9101 * wcsmbs/wcsmbsload.h: Likewise.
9102 * wcsmbs/wcsnrtombs.c: Likewise.
9103 * wcsmbs/wcsrtombs.c: Likewise.
9104 * wcsmbs/wctob.c: Likewise.
9106 * include/limits.h (MB_LEN_MAX): Increase to 16.
9108 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
9110 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9111 * include/wchar.h: Change mbstate_t to __mbstate_t.
9113 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9114 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9115 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9116 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9117 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9118 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9120 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9121 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9122 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9123 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9124 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9125 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9126 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9127 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9129 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
9130 Extend _IO_file contain pointer to codecvt, widedata and mode.
9131 (_IO_getwc_unlocked): New macro.
9132 (_IO_putwc_unlocked): New macro.
9133 (_IO_fwide): New macro.
9134 * libio/libioP.h: Add new prototypes and adjust existing declarations.
9135 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9136 buffers based on mode.
9137 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9139 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9140 flag to be enough to signal unallocated buffer. For wide oriented
9141 stream don't make it linebuffered. Don't use _IO_do_flush, use
9142 _IO_new_do_write directly.
9143 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9144 (_IO_file_seek): Likewise.
9145 * libio/genops.c (_IO_least_marker): Make global.
9146 (__underflow): Orient stream if not already done.
9147 (__uflow): Likewise.
9148 (_IO_default_seekpos): Change to type _IO_off64_t.
9149 (_IO_default_seekoff): Likewise.
9150 (_IO_default_seek): Likewise.
9151 (_IO_no_init): New function. Similar to _IO_init but allows to orient
9153 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
9155 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
9157 * libio/ftello64.c: Likewise.
9158 * libio/ioftell.c: Likewise.
9159 * libio/iofopncook.c: Likewise.
9160 * libio/ioseekoff.c: Likewise.
9161 * libio/ioseekpos.c: Likewise.
9162 * libio/oldfileops.c: Likewise.
9163 * libio/iofgetpos.c: Store state of conversion if necessary.
9164 * libio/iofgetpos64.c: Likewise.
9165 * libio/iofsetpos.c: Restore conversion state if necessary.
9166 * libio/iofsetpos64.c: Likewise.
9167 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9168 * libio/iofopen.c: Likewise.
9169 * libio/iofopen64.c: Likewise.
9170 * libio/iopopen.c: Likewise.
9171 * libio/iovdprintf.c: Likewise.
9172 * libio/iovsprintf.c: Likewise.
9173 * libio/iovsscanf.c: Likewise.
9174 * libio/memstream.c: Likewise.
9175 * libio/obprintf.c: Likewise.
9176 * libio/iofputs.c: Orient stream if not already happened.
9177 * libio/iofputs_u.c: Likewise.
9178 * libio/iofwrite.c: Likewise.
9179 * libio/iofwrite_u.c: Likewise.
9180 * libio/ioputs.c: Likewise.
9181 * libio/iosetbuffer.c: Handle not yet oriented stream.
9182 * libio/iosetvbuf.c: Likewise.
9183 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9184 * libio/stdfiles.c: Likewise.
9185 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9187 (_IO_str_seekoff): Use _IO_off64_t.
9188 * libio/vasprintf.c: Pre-orient stream.
9189 * libio/vsnprintf.c: Likewise.
9190 * libio/fputwc.c: New file.
9191 * libio/fputwc_u.c: New file.
9192 * libio/fwprintf.c: New file.
9193 * libio/fwscanf.c: New file.
9194 * libio/getwc.c: New file.
9195 * libio/getwc_u.c: New file.
9196 * libio/getwchar.c: New file.
9197 * libio/getwchar_u.c: New file.
9198 * libio/iofgetws.c: New file.
9199 * libio/iofgetws_u.c: New file.
9200 * libio/iofputws.c: New file.
9201 * libio/iofputws_u.c: New file.
9202 * libio/iofwide.c: New file.
9203 * libio/iogetwline.c: New file.
9204 * libio/ioungetwc.c: New file.
9205 * libio/iovswscanf.c: New file.
9206 * libio/iowpadn.c: New file.
9207 * libio/oldiofgetpos.c: New file.
9208 * libio/oldiofgetpos64.c: New file.
9209 * libio/oldiofsetpos.c: New file.
9210 * libio/oldiofsetpos64.c: New file.
9211 * libio/putwc.c: New file.
9212 * libio/putwc_u.c: New file.
9213 * libio/putwchar.c: New file.
9214 * libio/putwchar_u.c: New file.
9215 * libio/swprintf.c: New file.
9216 * libio/swscanf.c: New file.
9217 * libio/tst_swprintf.c: New file.
9218 * libio/tst_swscanf.c: New file.
9219 * libio/tst_wprintf.c: New file.
9220 * libio/tst_wscanf.c: New file.
9221 * libio/tst_wscanf.input: New file.
9222 * libio/vswprintf.c: New file.
9223 * libio/vwprintf.c: New file.
9224 * libio/vwscanf.c: New file.
9225 * libio/wfiledoalloc.c: New file.
9226 * libio/wfileops.c: New file.
9227 * libio/wgenops.c: New file.
9228 * libio/wprintf.c: New file.
9229 * libio/wscanf.c: New file.
9230 * libio/wstrops.c: New file.
9231 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9232 vfwprintf, and vfwscanf.
9233 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9235 * stdio-common/_itowa.c: New file.
9236 * stdio-common/_itowa.h: New file.
9237 * stdio-common/itoa-digits.c: Minimal optimization.
9238 * stdio-common/itowa-digits.c: New file.
9239 * stdio-common/printf-parse.h: Allow use in wide character context.
9240 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9241 * stdio-common/printf.h (printf_info): Add wide bit.
9242 * stdio-common/printf_fp.c: Determine from wide bit whether stream
9243 is wide oriented or not.
9244 * stdio-common/printf_size.c: Likewise.
9245 * sysdeps/generic/printf_fphex.c: Likewise.
9246 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9247 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9249 * stdio-common/vfscand.c: Likewise.
9250 * stdio-common/vfwprintf.c: New file.
9251 * stdio-common/vfwscanf.c: New file.
9253 * time/Makefile (routines): Add wcsftime.
9254 (tests): Add tst_wcsftime.
9255 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9256 * time/strftime.c: Make usable as wcsftime.
9257 * time/wcsftime.c: New file.
9258 * time/tst_wcsftime.c: New file.
9260 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9261 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9262 * wcsmbs/wcschrnul.c: New file.
9263 * wcsmbs/wmemcpy.c: New file.
9264 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9265 * wcsmbs/wmemmove.c: Likewise for wmemmove.
9267 * manual/stdio.texi: Document is_char and wide element if printf_info.
9269 * manual/time.texi: Document wcsftime.
9271 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9272 __wmemmove, __wcschrnul, and __vfwscanf.
9274 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9275 * locale/C-time.c: Adapt for above change.
9276 * locale/categories.def: Likewise.
9277 * locale/localeinfo.h: Likewise.
9278 * localedata/Makefile: Don't run tests for now.
9280 * manual/errno.texi: Fix typos.
9281 * manual/memory.texi: Likewise.
9282 * manual/ctype.texi: Likewise.
9283 Patches by Brian Youmans <3diff@gnu.org>.
9285 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9287 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9289 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9291 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9293 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9294 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9296 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9298 * db2/db/db.c: Restore __nss_db_open alias.
9299 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9301 * db2/os/os_rw.c (__os_write): Maintain const correctness.
9302 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9304 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9306 * stdio-common/printf-parse.h (parse_one_spec): Don't set
9307 is_longlong if not necessary.
9309 1999-06-15 H.J. Lu <hjl@gnu.org>
9311 * Make-dist (sysdep_dirs): Exclude SCCS.
9312 * MakeTAGS (sysdep_dirs): Likewise.
9314 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9316 * posix/regex.c (re_error_msgid): Remove extra commas.
9318 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
9320 * stdlib/tst-strtoll.c: New file.
9321 * stdlib/Makefile (tests): Add tst-strtoll.c
9322 * stdlib/strtol.c: It is not generally true that if
9323 (unsigned)a*(unsigned)b overflows, then the result is
9326 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
9328 * nscd/connections.c (handle_request): Only root is allowed to
9329 send GETSTAT request in non secure mode.
9330 * nscd/nscd.c: Print error message if other then root try to
9333 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9335 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9337 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9339 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9340 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9342 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9344 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9345 for character to search, to help the compiler.
9346 * sysdeps/generic/strchrnul.c: Likewise.
9347 * sysdeps/generic/memchr.c: Likewise.
9348 * sysdeps/generic/memccpy.c: Likewise.
9349 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
9351 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9353 * sysdeps/m68k/memchr.S: New file.
9354 * sysdeps/m68k/rawmemchr.S: New file.
9355 * sysdeps/m68k/strchr.S: New file.
9356 * sysdeps/m68k/strchrnul.S: New file.
9358 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
9360 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9361 add `memory' clobber; optimise for constant `val'.
9362 (atomic_add): Likewise.
9363 (test_and_set): Remove `volatile'; add `memory' clobber; be more
9364 like the original `test_and_set'.
9365 (compare_and_swap): Remove `volatile'; add `memory' clobber;
9366 optimise for constant `oldval'.
9367 (always_swap): Remove `volatile'; add `memory' clobber.
9369 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9371 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9372 functions for gcc <= 2.7.x.
9374 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
9376 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9379 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
9381 * db2/Makefile (distribute): Remove files which do not exist
9384 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9385 definitions to calm down gcc.
9387 * db2/db.h: Update from db 2.7.5.
9388 * db2/db_185.h: Likewise.
9389 * db2/db_int.h: Likewise.
9390 * db2/btree/bt_compare.c: Likewise.
9391 * db2/btree/bt_conv.c: Likewise.
9392 * db2/btree/bt_curadj.c: Likewise.
9393 * db2/btree/bt_cursor.c: Likewise.
9394 * db2/btree/bt_delete.c: Likewise.
9395 * db2/btree/bt_open.c: Likewise.
9396 * db2/btree/bt_page.c: Likewise.
9397 * db2/btree/bt_put.c: Likewise.
9398 * db2/btree/bt_rec.c: Likewise.
9399 * db2/btree/bt_recno.c: Likewise.
9400 * db2/btree/bt_rsearch.c: Likewise.
9401 * db2/btree/bt_search.c: Likewise.
9402 * db2/btree/bt_split.c: Likewise.
9403 * db2/btree/bt_stat.c: Likewise.
9404 * db2/btree/btree_auto.c: Likewise.
9405 * db2/common/db_appinit.c: Likewise.
9406 * db2/common/db_apprec.c: Likewise.
9407 * db2/common/db_err.c: Likewise.
9408 * db2/common/db_region.c: Likewise.
9409 * db2/common/db_salloc.c: Likewise.
9410 * db2/db/db.c: Likewise.
9411 * db2/db/db.src: Likewise.
9412 * db2/db/db_am.c: Likewise.
9413 * db2/db/db_auto.c: Likewise.
9414 * db2/db/db_dispatch.c: Likewise.
9415 * db2/db/db_dup.c: Likewise.
9416 * db2/db/db_iface.c: Likewise.
9417 * db2/db/db_join.c: Likewise.
9418 * db2/db/db_overflow.c: Likewise.
9419 * db2/db/db_pr.c: Likewise.
9420 * db2/db/db_rec.c: Likewise.
9421 * db2/db/db_ret.c: Likewise.
9422 * db2/db185/db185.c: Likewise.
9423 * db2/dbm/dbm.c: Likewise.
9424 * db2/hash/hash.c: Likewise.
9425 * db2/hash/hash_auto.c: Likewise.
9426 * db2/hash/hash_dup.c: Likewise.
9427 * db2/hash/hash_page.c: Likewise.
9428 * db2/hash/hash_rec.c: Likewise.
9429 * db2/hash/hash_stat.c: Likewise.
9430 * db2/include/btree.h: Likewise.
9431 * db2/include/btree_ext.h: Likewise.
9432 * db2/include/clib_ext.h: Likewise.
9433 * db2/include/common_ext.h: Likewise.
9434 * db2/include/db_am.h: Likewise.
9435 * db2/include/db_auto.h: Likewise.
9436 * db2/include/db_cxx.h: Likewise.
9437 * db2/include/db_ext.h: Likewise.
9438 * db2/include/db_join.h: Likewise.
9439 * db2/include/db_page.h: Likewise.
9440 * db2/include/hash.h: Likewise.
9441 * db2/include/hash_ext.h: Likewise.
9442 * db2/include/lock.h: Likewise.
9443 * db2/include/lock_ext.h: Likewise.
9444 * db2/include/log.h: Likewise.
9445 * db2/include/log_ext.h: Likewise.
9446 * db2/include/mp.h: Likewise.
9447 * db2/include/mp_ext.h: Likewise.
9448 * db2/include/os.h: Likewise.
9449 * db2/include/os_ext.h: Likewise.
9450 * db2/include/os_func.h: Likewise.
9451 * db2/include/txn.h: Likewise.
9452 * db2/include/txn_auto.h: Likewise.
9453 * db2/include/txn_ext.h: Likewise.
9454 * db2/include/xa.h: Likewise.
9455 * db2/include/xa_ext.h: Likewise.
9456 * db2/lock/lock.c: Likewise.
9457 * db2/lock/lock_conflict.c: Likewise.
9458 * db2/lock/lock_deadlock.c: Likewise.
9459 * db2/lock/lock_region.c: Likewise.
9460 * db2/lock/lock_util.c: Likewise.
9461 * db2/log/log.c: Likewise.
9462 * db2/log/log_archive.c: Likewise.
9463 * db2/log/log_auto.c: Likewise.
9464 * db2/log/log_findckp.c: Likewise.
9465 * db2/log/log_get.c: Likewise.
9466 * db2/log/log_put.c: Likewise.
9467 * db2/log/log_rec.c: Likewise.
9468 * db2/log/log_register.c: Likewise.
9469 * db2/mp/mp_bh.c: Likewise.
9470 * db2/mp/mp_fget.c: Likewise.
9471 * db2/mp/mp_fopen.c: Likewise.
9472 * db2/mp/mp_fput.c: Likewise.
9473 * db2/mp/mp_fset.c: Likewise.
9474 * db2/mp/mp_open.c: Likewise.
9475 * db2/mp/mp_pr.c: Likewise.
9476 * db2/mp/mp_region.c: Likewise.
9477 * db2/mp/mp_sync.c: Likewise.
9478 * db2/mutex/mutex.c: Likewise.
9479 * db2/mutex/uts4_cc.s: Likewise.
9480 * db2/os/os_abs.c: Likewise.
9481 * db2/os/os_alloc.c: Likewise.
9482 * db2/os/os_config.c: Likewise.
9483 * db2/os/os_dir.c: Likewise.
9484 * db2/os/os_fid.c: Likewise.
9485 * db2/os/os_fsync.c: Likewise.
9486 * db2/os/os_map.c: Likewise.
9487 * db2/os/os_oflags.c: Likewise.
9488 * db2/os/os_open.c: Likewise.
9489 * db2/os/os_rw.c: Likewise.
9490 * db2/os/os_seek.c: Likewise.
9491 * db2/os/os_sleep.c: Likewise.
9492 * db2/os/os_spin.c: Likewise.
9493 * db2/os/os_stat.c: Likewise.
9494 * db2/os/os_tmpdir.c: Likewise.
9495 * db2/os/os_unlink.c: Likewise.
9496 * db2/progs/db_archive/db_archive.c: Likewise.
9497 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9498 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9499 * db2/progs/db_dump/db_dump.c: Likewise.
9500 * db2/progs/db_load/db_load.c: Likewise.
9501 * db2/progs/db_printlog/README: Likewise.
9502 * db2/progs/db_printlog/commit.awk: Likewise.
9503 * db2/progs/db_printlog/count.awk: Likewise.
9504 * db2/progs/db_printlog/db_printlog.c: Likewise.
9505 * db2/progs/db_printlog/pgno.awk: Likewise.
9506 * db2/progs/db_printlog/range.awk: Likewise.
9507 * db2/progs/db_printlog/status.awk: Likewise.
9508 * db2/progs/db_printlog/txn.awk: Likewise.
9509 * db2/progs/db_recover/db_recover.c: Likewise.
9510 * db2/progs/db_stat/db_stat.c: Likewise.
9511 * db2/txn/txn.c: Likewise.
9512 * db2/txn/txn.src: Likewise.
9513 * db2/txn/txn_auto.c: Likewise.
9514 * db2/txn/txn_rec.c: Likewise.
9515 * db2/xa/xa.c: Likewise.
9516 * db2/xa/xa_db.c: Likewise.
9517 * db2/xa/xa_map.c: Likewise.
9519 * db2/btree/bt_close.c: Removed.
9520 * db2/db/db_thread.c: Likewise.
9521 * db2/hash/hash_debug.c: Likewise.
9522 * db2/include/db.h.src: Likewise.
9523 * db2/include/db_int.h.src: Likewise.
9524 * db2/include/os_jump.h: Likewise.
9525 * db2/mutex/alpha.dec: Likewise.
9526 * db2/mutex/alpha.gcc: Likewise.
9527 * db2/mutex/parisc.hp: Likewise.
9528 * db2/mutex/uts4.cc.s: Likewise.
9530 * db2/Makefile: Add new routines, remove old for 2.7.5.
9531 * db2/Versions: Add internal function names for the helper programs.
9532 * db2/makedb.c: Update for new cursor callback.
9533 * Versions.def: Define versions for libdb.
9535 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
9537 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9538 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9539 * nscd/nscd_nischeck.c: New file.
9540 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9542 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9544 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9545 MSG_* flags from Linux 2.2.9.
9547 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9549 * Makeconfig (static-start-installed-name): Set to
9550 $(start-installed-name) if not defined.
9551 (+link-static): Use $(static-start-installed-name) instead of
9552 $(start-installed-name).
9553 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9556 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9558 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9559 inserting a send right into the child instead of unconditionally
9560 copying the send right.
9562 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
9564 * locale/lc-time.c: Add free_mem function to free if necessary
9565 statically allocated memory.
9567 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
9569 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9570 bias from the raw exponent.
9572 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9574 * inet/arpa/tftp.h: Move attribute declaration in right position.
9576 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
9578 * nscd/nscd.c: Add -S options for separate caching of data for
9579 every user. So one user couldn't see the data another user
9580 has gotten with his credentials.
9581 * nscd/nscd.h: Add new prototypes.
9582 * nscd/cache.c: Compare owner of cache entry if in secure mode.
9583 * nscd/connections.c: Check on shutdown if caller really was root.
9584 In secure mode get uid of caller.
9585 * nscd/grpcache.c: Add support for new secure group mode.
9586 * nscd/hstcache.c: Add support for new secure hosts mode.
9587 * nscd/pwdcache.c: Add support for new secure passwd mode.
9589 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9591 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9592 of user-provided buffer.
9594 1999-06-11 Mark Kettenis <kettenis@gnu.org>
9596 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9597 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9599 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
9601 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9604 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9605 returning after last entry.
9606 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9608 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
9610 * misc/sysexits.h: Remove advertising clause of copyright.
9611 * resolv/getnetnamadr.c: Likewise.
9612 * sysdeps/vax/bcopy.s: Likewise.
9613 * sysdeps/vax/bzero.s: Likewise.
9614 * sysdeps/vax/ffs.s: Likewise.
9615 * sysdeps/vax/memchr.s: Likewise.
9616 * sysdeps/vax/memcmp.s: Likewise.
9617 * sysdeps/vax/memmove.s: Likewise.
9618 * sysdeps/vax/memset.s: Likewise.
9619 * sysdeps/vax/strcat.s: Likewise.
9620 * sysdeps/vax/strchr.s: Likewise.
9621 * sysdeps/vax/strcmp.s: Likewise.
9622 * sysdeps/vax/strcpy.s: Likewise.
9623 * sysdeps/vax/strcspn.s: Likewise.
9624 * sysdeps/vax/strlen.s: Likewise.
9625 * sysdeps/vax/strncat.s: Likewise.
9626 * sysdeps/vax/strncmp.s: Likewise.
9627 * sysdeps/vax/strncpy.s: Likewise.
9628 * sysdeps/vax/strpbrk.s: Likewise.
9629 * sysdeps/vax/strrchr.s: Likewise.
9630 * sysdeps/vax/strsep.s: Likewise.
9631 * sysdeps/vax/strspn.s: Likewise.
9632 * sysdeps/vax/strstr.s: Likewise.
9634 * libio/iofopncook.c: Adjust for renaming of structure elements.
9635 * libio/libio.h: Define cookie functions with all the names.
9637 * pwd/fgetpwent_r.c: Set errno in the correct way.
9638 * shadow/fgetspent_r.c: Likewise.
9639 * pwd/fgetpwent.c: Handle long lines correctly. Little
9640 optimizations. Free static buffer when debugging memory handling.
9641 * shadow/fgetspent.c: Likewise.
9643 * grp/fgetgrent.c: Little optimization in loop.
9645 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9647 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9650 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
9652 * stdlib/longlong.h: gas changed sethi handling when without
9653 %hi(). Fix assembly.
9654 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9655 port specific cache id checks.
9656 * sysdeps/generic/dl-cache.h: New file.
9657 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9659 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9661 * gmon/gmon.c: Remove advertising clause of copyright.
9662 * gmon/mcount.c: Likewise.
9663 * gmon/sys/gmon.h: Likewise.
9664 * inet/arpa/ftp.h: Likewise.
9665 * inet/arpa/telnet.h: Likewise.
9666 * inet/arpa/tftp.h: Likewise.
9667 * inet/inet_lnaof.c: Likewise.
9668 * inet/inet_mkadr.c: Likewise.
9669 * inet/inet_net.c: Likewise.
9670 * inet/inet_netof.c: Likewise.
9671 * inet/protocols/routed.h: Likewise.
9672 * inet/protocols/rwhod.h: Likewise.
9673 * inet/protocols/talkd.h: Likewise.
9674 * inet/protocols/timed.h: Likewise.
9675 * inet/rcmd.c: Likewise.
9676 * inet/rexec.c: Likewise.
9677 * inet/ruserpass.c: Likewise.
9678 * io/fts.c: Likewise.
9679 * io/fts.h: Likewise.
9680 * login/login_tty.c: Likewise.
9681 * misc/fstab.h: Likewise.
9682 * misc/getttyent.c: Likewise.
9683 * misc/getusershell.c: Likewise.
9684 * misc/sys/queue.h: Likewise.
9685 * misc/sys/syslog.h: Likewise.
9686 * misc/syslog.c: Likewise.
9687 * misc/ttyent.h: Likewise.
9688 * misc/ttyslot.c: Likewise.
9689 * resolv/arpa/nameser.h: Likewise.
9690 * resolv/gethnamaddr.c: Likewise.
9691 * resolv/herror.c: Likewise.
9692 * resolv/inet_addr.c: Likewise.
9693 * resolv/mapv4v6addr.h: Likewise.
9694 * resolv/mapv4v6hostent.h: Likewise.
9695 * resolv/nss_dns/dns-host.c: Likewise.
9696 * resolv/nss_dns/dns-network.c: Likewise.
9697 * resolv/res_comp.c: Likewise.
9698 * resolv/res_data.c: Likewise.
9699 * resolv/res_debug.c: Likewise.
9700 * resolv/res_init.c: Likewise.
9701 * resolv/res_mkquery.c: Likewise.
9702 * resolv/res_query.c: Likewise.
9703 * resolv/res_send.c: Likewise.
9704 * resolv/resolv.h: Likewise.
9705 * sysdeps/generic/div.c: Likewise.
9706 * sysdeps/generic/netinet/ip.h: Likewise.
9707 * sysdeps/generic/netinet/tcp.h: Likewise.
9708 * sysdeps/generic/paths.h: Likewise.
9709 * sysdeps/generic/prof-freq.c: Likewise.
9710 * sysdeps/generic/sys/ttydefaults.h: Likewise.
9711 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9712 * sysdeps/gnu/netinet/tcp.h: Likewise.
9713 * sysdeps/ieee754/support.c: Likewise.
9714 * sysdeps/mach/hurd/sys/param.h: Likewise.
9715 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9716 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9717 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9718 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9719 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9720 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9721 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9722 * sysdeps/unix/sysv/linux/paths.h: Likewise.
9723 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9724 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9725 * sysdeps/vax/DEFS.h: Likewise.
9726 * termios/sys/ttychars.h: Likewise.
9727 * misc/daemon.c: Likewise. Call fork.
9729 * grp/fgetgrent.c (buffer): Make file local variable.
9730 (free_mem): New function. Call for malloc debugging.
9732 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9734 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9736 * grp/Makefile: Add rules for tst_fgetgrent.
9738 * grp/tst_fgetgrent.c: Rewritten to read only one file.
9740 * grp/tst_fgetgrent.sh: New file.
9742 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9744 * grp/Makefile (tests): Add tst_fgetgrent.
9745 * grp/tst_fgetgrent.c: New file.
9746 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9748 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
9750 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9751 be POSIX compliant. Prior definition was broken for Hurd.
9752 Reported by Mark Kettenis <kettenis@gnu.org>.
9754 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9756 * ctype/ctype.h: Protect __tobody code by __extension__.
9758 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9760 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9761 reading and reset in case the buffer was too small.
9763 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9766 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9768 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9769 another SIOGIFNAME typo.
9771 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9773 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9775 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9778 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9780 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9781 the precision if the mantissa is zero.
9783 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9785 * manual/lang.texi (Floating Point Parameters): GCC already
9786 supports long double for a long time.
9788 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9790 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9791 yn_test): Increase some epsilons.
9793 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9795 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9798 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9800 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9801 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9802 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9803 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9805 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9806 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9807 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9808 * sysdeps/libm-ieee754/w_j1.c: Likewise.
9809 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9810 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9811 * sysdeps/libm-ieee754/w_jn.c: Likewise.
9812 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9813 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9815 * stdio-common/vfprintf.c: Correct typos.
9817 * math/libm-test.c (jn_test): Adjust delta.
9818 (y1_test): Likewise.
9819 (yn_test): Likewise.
9821 * elf/do-lookup.h: It should never happen that if we expect a versioned
9822 symbol from a file the file has no version table. This should have
9823 been checked in dl-version.c.
9824 * elf/dl-lookup.c: Include assert.h.
9826 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9829 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9831 1999-06-06 Andi Kleen <ak@muc.de>
9833 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9836 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9838 * math/libm-test.c (yn_test): Change one delta.
9839 (jn_test): Likewise.
9840 (j1_test): Likewise.
9841 (y0_test): Likewise.
9843 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9845 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9846 avoid multiple calls to getpagesize() which might be a syscall.
9848 1999-06-06 Philip Blundell <philb@gnu.org>
9850 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9852 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9854 * manual/install.texi (Running make install): Correct typo in
9855 dynamic linker invocation.
9857 1999-06-05 Philip Blundell <philb@gnu.org>
9859 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9860 problems with GOT addressing.
9862 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9864 * malloc/malloc.c (check_action): Change into bitmap so that both
9865 diagnostic and abort can be requested by setting it to 3.
9866 (mALLOC_SET_STATe): Disable malloc checking if necessary.
9868 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
9870 * configure.in: Few changes for HPUX.
9872 * scripts/config.guess: Update from latest version.
9873 * scripts/config.sub: Likewise.
9875 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9877 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9878 map files. Closes PR libc/1147.
9880 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9882 * math/libm-test.c (main): Add new test functions.
9883 (jn_test): New tests.
9884 (j1_test): Add some more tests.
9885 (j0_test): Add some more tests.
9886 (y0_test): Add some more tests.
9887 (y1_test): Add some more tests.
9889 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9891 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9892 Patch by mhagger@dera.gov.uk [PR libc/1145].
9894 * math/libm-test.c (y1_test): New tests.
9895 (y0_test): Likewise.
9896 (j1_test): Likewise.
9897 (j0_test): Likewise.
9898 (main): Added new tests.
9900 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
9902 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9904 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9906 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9907 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9909 1999-06-02 David S. Miller <davem@redhat.com>
9911 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9914 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
9916 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9917 and elide compatibility code if possible.
9919 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
9921 * manual/llio.texi: Remove menu entry for removed section.
9923 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9925 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9928 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9930 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9933 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
9935 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9937 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9939 * manual/stdio.texi: Fix some typos.
9941 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9943 * malloc/malloc.h: Properly handle future GCC versions.
9945 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9947 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9948 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
9949 text of error message.
9951 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9953 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9955 * manual/filesys.texi: Extend (f)truncate documentation.
9956 * manual/llio.texi: Remove duplicate (f)truncate definition.
9958 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9960 * manual/stdio.texi (Formatted Output Functions): Mention
9961 semantics of snprintf in glibc 2.0.
9962 Reported by Ben Pfaff <pfaffben@msu.edu>.
9964 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9966 * include/features.h (__GLIBC_MINOR__): Bump to 2.
9968 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
9970 * math/libm-test.c: Adjust a few more deltas for the poor ARM
9973 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9975 * configure.in: Fix typo.
9977 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9979 * manual/socket.texi (Host Names): Remove statement that h_errno
9980 needs to be declared since this isn't true anymore.
9981 Closes PR libc/1138.
9983 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
9985 * config.h.in: Add __LINUX_KERNEL_VERSION.
9986 * configure.in: Recognize --enable-kernel.
9987 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
9988 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
9990 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
9991 given perform runtime test.
9993 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
9994 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
9995 minimal supported kernel is known to have the feature.
9996 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9997 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9998 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9999 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10000 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10001 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10002 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10003 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10004 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10005 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10006 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10007 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10008 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10009 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10010 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10012 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10014 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10016 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10018 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
10020 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10021 Optimized sparc64 routines.
10023 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10025 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10026 they are the same as ints.
10027 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10029 * version.h (VERSION): Bump to 2.1.90.
10030 (RELEASE): Mark as development.
10032 * stdio-common/vfprintf.c (vfprintf): Don't implement special
10033 handling for long long if it is the same as long.
10034 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10036 * stdlib/strtol.c: Moved to ...
10037 * sysdeps/generic/strtol.c: ...here.
10038 * stdlib/strtoul.c: Moved to ...
10039 * sysdeps/generic/strtoul.c: ...here.
10040 * stdlib/strtoll.c: Moved to ...
10041 * sysdeps/generic/strtoll.c: ...here.
10042 * stdlib/strtoull.c: Moved to ...
10043 * sysdeps/generic/strtoull.c: ...here.
10044 * stdlib/strtol_l.c: Moved to ...
10045 * sysdeps/generic/strtol_l.c: ...here.
10046 * stdlib/strtoul_l.c: Moved to ...
10047 * sysdeps/generic/strtoul_l.c: ...here.
10048 * stdlib/strtoll_l.c: Moved to ...
10049 * sysdeps/generic/strtoll_l.c: ...here.
10050 * stdlib/strtoull_l.c: Moved to ...
10051 * sysdeps/generic/strtoull_l.c: ...here.
10053 * sysdeps/wordsize-64/strtol.c: New file.
10054 * sysdeps/wordsize-64/strtoul.c: New file.
10055 * sysdeps/wordsize-64/strtoll.c: New file.
10056 * sysdeps/wordsize-64/strtoull.c: New file.
10057 * sysdeps/wordsize-64/strtol_l.c: New file.
10058 * sysdeps/wordsize-64/strtoul_l.c: New file.
10059 * sysdeps/wordsize-64/strtoll_l.c: New file.
10060 * sysdeps/wordsize-64/strtoull_l.c: New file.
10062 * wcsmbs/wcstol.c: Moved to ...
10063 * sysdeps/generic/wcstol.c: ...here.
10064 * wcsmbs/wcstoul.c: Moved to ...
10065 * sysdeps/generic/wcstoul.c: ...here.
10066 * wcsmbs/wcstoll.c: Moved to ...
10067 * sysdeps/generic/wcstoll.c: ...here.
10068 * wcsmbs/wcstoull.c: Moved to ...
10069 * sysdeps/generic/wcstoull.c: ...here.
10070 * wcsmbs/wcstol_l.c: Moved to ...
10071 * sysdeps/generic/wcstol_l.c: ...here.
10072 * wcsmbs/wcstoul_l.c: Moved to ...
10073 * sysdeps/generic/wcstoul_l.c: ...here.
10074 * wcsmbs/wcstoll_l.c: Moved to ...
10075 * sysdeps/generic/wcstoll_l.c: ...here.
10076 * wcsmbs/wcstoull_l.c: Moved to ...
10077 * sysdeps/generic/wcstoull_l.c: ...here.
10079 * sysdeps/wordsize-64/wcstol.c: New file.
10080 * sysdeps/wordsize-64/wcstoul.c: New file.
10081 * sysdeps/wordsize-64/wcstoll.c: New file.
10082 * sysdeps/wordsize-64/wcstoull.c: New file.
10083 * sysdeps/wordsize-64/wcstol_l.c: New file.
10084 * sysdeps/wordsize-64/wcstoul_l.c: New file.
10085 * sysdeps/wordsize-64/wcstoll_l.c: New file.
10086 * sysdeps/wordsize-64/wcstoull_l.c: New file.
10088 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
10090 * sysdeps/sparc/bits/wordsize.h: New file.
10091 * sysdeps/sparc/fpu/bits/fenv.h: New file.
10092 * sysdeps/sparc/fpu/fpu_control.h: New file.
10093 * sysdeps/sparc/gmp-mparam.h: New file.
10095 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10096 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10097 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10098 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10099 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10100 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10102 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10103 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10104 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10105 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10107 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10108 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10109 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10110 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10111 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10113 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
10115 * login/openpty.c (openpty): Make sure pty does not because
10118 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10120 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
10122 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10123 Do proper error return.
10125 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10127 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10128 of __P in the rest of glibc; define __MALLOC_PMT and use it.
10129 Reported by Stephan Kulow <coolo@kde.org>.
10131 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
10133 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10135 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10137 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10139 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10140 names to protect from user's macro namespace.
10141 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10142 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10143 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10144 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10145 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10147 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10148 sysdeps/arm/fpu/fesetenv.c: Likewise.
10149 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10150 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10151 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10152 * sysdeps/mips/fesetenv.c: Likewise.
10154 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
10156 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10158 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
10160 * configure.in: Recognize and allow gcc 2.95.
10162 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10164 * sysdeps/generic/bits/elfclass.h: Version common to
10165 wordsize-32 and wordsize-64.
10166 * sysdeps/generic/bits/environments.h: Ditto.
10167 * sysdeps/generic/stdint.h: Ditto.
10168 * sysdeps/generic/inttypes.h: Ditto.
10170 * sysdeps/generic/bits/wordsize.h: New file.
10171 * stdlib/Makefile: Add bits/wordsize.h to headers.
10173 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10175 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10176 headers to be used for 32bit and 64bit ABI compilations.
10177 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10178 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10179 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10180 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10181 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10183 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10184 * sysdeps/wordsize-64/bits/environments.h: Remove.
10185 * sysdeps/wordsize-64/stdint.h: Remove.
10186 * sysdeps/wordsize-64/inttypes.h: Remove.
10187 * sysdeps/wordsize-64/bits/wordsize.h: New file.
10189 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10190 * sysdeps/wordsize-32/bits/environments.h: Remove.
10191 * sysdeps/wordsize-32/stdint.h: Remove.
10192 * sysdeps/wordsize-32/inttypes.h: Remove.
10193 * sysdeps/wordsize-32/bits/wordsize.h: New file.
10195 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10197 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10198 __align_cpy_16): New functions.
10199 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10201 * sysdeps/sparc/sparc32/Versions: New file.
10202 * sysdeps/sparc/sparc64/Versions: New file.
10203 * sysdeps/sparc/Versions: Remove.
10205 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10207 * sysdeps/unix/sysv/linux/configure.in:
10208 On sparc64-*-linux*, set slibdir to /lib64 if prefix
10209 is /usr, plus set libdir to ${exec_prefix}/lib64.
10210 * sysdeps/unix/sysv/linux/configure: Regenerated.
10211 * config.make.in: Propagate libdir settings from configure
10213 * shlib-versions: sparc64-*-linux* dynamic linker is
10214 /lib64/ld-linux.so.2.
10216 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
10218 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10221 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
10223 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10224 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10226 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10227 contains garbage in bits 8-63.
10228 * sysdeps/sparc/sparc64/memset.S: Ditto.
10229 * sysdeps/sparc/sparc64/strchr.S: Ditto.
10231 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
10233 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10235 1999-05-17 David S. Miller <davem@redhat.com>
10237 * sysdeps/sparc/sparc32/atomicity.h: New file.
10238 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10239 * sysdeps/sparc/sparc64/atomicity.h: New file.
10240 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10243 1999-05-18 Richard Henderson <rth@twiddle.net>
10245 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
10247 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
10249 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10250 posix/sys/types.h: Handle the case of __GNUC__=3,
10251 __GNUC_MINOR__=(anything).
10253 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10255 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10258 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10260 * elf/Makefile (distribute): Remove dl-origin.h.
10261 Add dl-dst.h and gen-trusted-dirs.awk.
10263 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10265 * sysdeps/i386/i486/Versions: New file with inline functions from
10266 sysdeps/i386/i486/bits/string.h for now.
10268 * sysdeps/i386/Versions: Add inline functions from
10269 sysdeps/i386/bits/string.h.
10271 * string/Versions: Add inline functions from <bits/string2.h>.
10273 * string/Makefile (routines): Add string-inlines.
10274 * string/string-inlines.c: New file, used for implementation of
10275 extern inline functions.
10277 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10278 non inlined versions of functions.
10279 * string/bits/string2.h: Likewise.
10280 * sysdeps/i386/bits/string.h: Likewise.
10282 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10284 * inet/arpa/tftp.h: Add second packed attribute.
10286 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10288 * malloc/malloc.c: Cleanup to bring in line with released
10289 stand-alone version `ptmalloc'. Update some comments.
10290 (internal_function): Move fallback definition so that the source
10291 compiles outside of libc, and use it in more places.
10292 (malloc_atfork): Fix when malloc_check is in use.
10294 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10296 * stdlib/tst-strtod.c: Fix typo.
10298 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10300 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10301 const incorrectness.
10303 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10305 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10307 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
10309 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10310 * sunrpc/key_call.c: Fix memory leak, close file handle.
10311 * nis/nis_creategroup.c: Use malloc instead of calloc,
10312 set ctime and mtime.
10313 * nis/nis_subr.c: Check for realloc result.
10314 * nis/nis_file.c: Fix memory leak.
10315 * nis/nis_table.c: Pretty print.
10316 * nis/nis_getservlist.c: Likewise.
10317 * nis/nis_ismember.c: Likewise.
10318 * nis/nis_lookup.c: Likewise.
10319 * nis/nis_ping.c: Likewise.
10320 * nis/nis_removemember.c: Likewise.
10321 * nis/nis_util.c: Likewise, check calloc result.
10323 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10325 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10326 * sysdeps/generic/sys/socketvar.h: ... here.
10327 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10328 * sysdeps/generic/netinet/in_systm.h: ... here.
10329 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10332 * inet/Makefile (headers): Add netinet/in_systm.h here.
10333 * socket/Makefile (headers): Add sys/socketvar.h here.
10335 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
10337 * stdlib/strtol.c: Optimize inner loop of long long versions.
10339 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10340 Unix98. Add forward declaration of struct utmp.
10342 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10344 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10347 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10348 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
10349 memory allocation results.
10351 1999-05-14 Mark Kettenis <kettenis@gnu.org>
10353 * sysdeps/generic/getutmp.c: Include <string.h>
10354 (getutmp): Rewrite to only copy those members that are really
10355 present in `struct utmp'.
10356 * sysdeps/generic/getutmpx.c: Likewise.
10358 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10360 * nss/getXXbyYY.c: Add free_mem function which disposes all
10361 statically allocated memory when debugging.
10362 * nss/getXXent.c: Likewise.
10363 * nss/nsswitch.c: Likewise.
10365 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
10367 * sysdeps/gnu/getutmpx.c: New file.
10368 * sysdeps/gnu/getutmp.c: New file.
10370 1999-05-13 H.J. Lu <hjl@gnu.org>
10372 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10373 (getutmp): Likewise.
10375 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10376 getutmpx for login.
10378 * sysdeps/gnu/utmpx.h (getutmp): Added.
10379 (getutmpx): Likewise.
10381 * sysdeps/generic/getutmp.c: New file.
10383 * sysdeps/generic/getutmpx.c: New file.
10385 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10387 * glibcbug.in (BUGGLIBC): Change address to
10388 libc-alpha@sourceware.cygnus.com.
10390 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10392 * resolv/arpa/nameser.h: Add C++ protectors.
10394 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10396 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
10397 Elad Tsur <eladts@post.tau.ac.il>.
10399 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
10401 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10402 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10403 lazily if LD_BIND_NOW is not set.
10404 * elf/dl-support.c (_dl_lazy): New variable.
10405 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10406 * elf/rtld.c (_dl_lazy): new global variable.
10407 ( dl_main): Remove lazy, replace it by _dl_lazy.
10409 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10411 * locale/setlocale.c (new_composite_name): Check also whether the
10412 first category name differs.
10414 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10416 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10419 1999-05-11 Philip Blundell <pb@nexus.co.uk>
10421 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10422 structure; storage suitable for any socket address.
10423 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10425 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10426 sockaddr_storage): Likewise.
10428 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10431 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
10433 * hesiod/Versions: Change _nss_hesiod_getpwuid and
10434 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10435 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
10437 1999-05-09 Mark Kettenis <kettenis@gnu.org>
10439 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10440 if the file is empty.
10442 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
10444 * elf/do-lookup.h: Fix typo in comment.
10446 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10447 f_bsize to help some broken programs.
10449 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10451 * stdio-common/vfprintf.c: Fix typo.
10453 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
10455 * elf/link.h (struct link_map): New field l_phdr_allocated.
10456 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10457 the program header being part of any loaded segment. If it is not
10458 allocate memory and set l_phdr_allocated flag.
10459 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10461 * nss/digits_dots.c: Correct return value interpretation of
10462 inet_ntoa. Fix PR libc/1109.
10464 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
10466 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10468 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
10470 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10471 * stdlib/fpioconst.c: Move #endif before end of struct.
10473 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
10475 * Versions.def (ld.so): Add GLIBC_2.1.1.
10476 * elf/Makefile (routines): Add dl-origin.
10477 (tests): Add origtest. Add dependencies for the program.
10478 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10479 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10480 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
10481 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10482 DT_AUXILIARY, and DT_FILTER filenames.
10483 * elf/dl-load.c (expand_dynamic_string_token): Explode into
10484 two functions and three macros.
10485 (_dl_dst_count, _dl_dst_substitute): New functions.
10486 * elf/dl-dst.h: New file.
10487 * elf/dl-open.c (_dl_open): Take extra parameter with address of
10488 caller. Pass address in args structure.
10489 (dl_open_worker): Recognize and expand DSTs in filename.
10490 * elf/ldsodefs.h (_dl_open): Adapt prototype.
10491 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10492 (__dlopen_check): Pass caller address to dlopen_doit in args.
10493 * elf/dlopendoit.c: Likewise.
10494 * iconv/gconv_dl.c: Adapt call of _dl_open.
10495 * nss/nsswitch.c: Likewise.
10496 * elf/origtest.c: New file.
10497 * sysdeps/generic/dl-origin.h: Moved to...
10498 * sysdeps/generic/dl-origin.c: ...here.
10499 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10500 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10502 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10503 with specific bases and only few bits set in second word.
10505 * timezone/Makefile (install-others): Create target directory
10506 before creating tzfiles.
10508 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
10510 * nis/nis_file.c (readColdStartFile): Allocate memory only after
10511 the file is opened successfully.
10513 * nis/nis_table.c: Fix some memory leaks.
10515 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
10517 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10520 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10521 around DST. Correctly ignore ORIGIN IN SUID binaries.
10523 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
10525 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10526 * sysdeps/generic/strtok.c: Likewise.
10528 * string/tester.c: Add test of rawmemchr.
10530 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10531 specification. It's not necessary.
10533 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10534 * elf/gen-trusted-dirs.awk: New file.
10535 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
10536 from SYSTEM_DIRS macro.
10537 (system_dirs_len): New variable. Contains lengths of system_dirs
10539 (fillin_rpath): Rewrite for systems_dirs being a simple string.
10540 Improve string comparisons. Change parameter trusted to be a flag.
10541 Change all callers.
10542 (_dt_init_paths): Improve using new format for system_dirs.
10544 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10545 $ORIGIN for SUID binaries.
10547 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10549 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10551 * sunrpc/Makefile: Generate dependencies for all flavors of
10553 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10556 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10558 * elf/dlopenold.c: Move #if down after includes to get
10559 dependencies right.
10561 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10563 * sysdeps/generic/bzero.c: Undefine __bzero.
10565 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10567 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10568 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10569 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10570 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10572 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10573 parameter to struct gaih_servtuple *. Adapt appropriately.
10574 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10575 This fixes a memory leak.
10576 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10578 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10579 and fpregset_t definition. They are defined in ucontext.h.
10581 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10583 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10584 and struct ether_header must be packed on the ARM. The default
10585 alignment constraints add padding to the end of the structures.
10587 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10589 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
10590 default alignment constraints add padding to the end of the
10591 structure and between members.
10593 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10595 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10596 _dl_cache_libcmp instead of strcmp.
10598 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10600 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10602 1998-03-30 Joel Klecker <espy@debian.org>
10604 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10605 (sysdep-others,install-bin): Add lddlibc4.
10607 1999-05-02 H.J. Lu <hjl@gnu.org>
10609 * timezone/zic.c (dolink): Remove the symlink destination first.
10611 * catgets/open_catalog.c (__open_catalog): Set catalog->status
10612 to "nonexisting" if failed to open the file.
10614 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
10616 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10619 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10620 Prevent warnings from multiplication with 0x01010101 by another cast.
10622 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10624 * string/bits/string2.h (memset): Revert to previous version if
10625 unaligned writes are not available.
10627 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10629 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10630 better code in presence of the asm.
10632 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10634 * stdlib/fmtmsg.c (keywords): Increase array size for faster
10637 * locale/localeinfo.h (_nl_category_names): Increase array element
10638 size for faster indexing.
10639 * locale/setlocale.c (_nl_category_names): Adjusted.
10641 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10643 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10645 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10647 * sysdeps/m68k/stackinfo.h: New file.
10649 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10651 * string/tester.c (test_strchrnul): New function.
10652 (test_memset): Test one more special case.
10654 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10657 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10660 * string/bits/string2.h: Fix bugs I introduced in last change.
10662 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10664 Extend memset optimization.
10665 Correct i686 version of memchr.
10667 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
10669 * sysdeps/i386/bzero.c: Add #undef __bzero.
10671 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10672 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10673 exec server simulated a SIGTRAP before we even started up, so gdb is
10676 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10678 * nss/digits_dots.c: Always initialize not_ok.
10680 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
10682 * string/bits/string2.h (memset): Avoid arithmetic overflow at
10683 compile time, which produces obnoxious warnings. If GCCv2 is
10684 in use, map __bzero to __builtin_memset to enable that
10687 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10689 * string/bits/string2.h: Add more memset optimizations.
10691 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10693 * resolv/inet_pton.c (inet_pton4): Little optimizations.
10694 (inet_pton6): Likewise.
10696 * nss/getXXbyYY_r.c: Include assert.h.
10697 * nss/getXXbyYY.c: Likewise.
10699 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10701 * termios/tcgetsid.c (tcgetsid): Rename variable to
10702 tiocgsid_does_not_work.
10704 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10706 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10708 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10710 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10711 This allows e.g. gethostbyname to accept "10.1234".
10712 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10714 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10715 non quad IPv4 numbers.
10717 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10719 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10721 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10723 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10724 * argp/argp-parse.c (_argp_hang): Likewise.
10725 * argp/argp-pv.c (argp_program_version): Likewise.
10726 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10727 * inet/ether_hton.c (ether_hton, startp): Likewise.
10728 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10729 * inet/getnetgrent_r.c (setup, startp): Likewise.
10730 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10731 * intl/localealias.c (string_space, string_space_act, string_space_max,
10732 nmap, maxmap): Likewise.
10733 * libio/iopopen.c (proc_file_chain): Likewise.
10734 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10735 * locale/lc-collate.c (__collate_table, __collate_extra,
10736 __collate_element_hash, __collate_element_strings,
10737 __collate_element_values): Likewise.
10738 * malloc/mcheck.c (mcheck_used): Likewise.
10739 * malloc/mtrace.c (added_atexit_handler): Likewise.
10740 * malloc/set-freeres.c (already_called): Likewise.
10741 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10742 * misc/syslog.c (LogStat, LogTag): Likewise.
10743 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10744 * nss/getXXbyYY_r.c (startp): Likewise.
10745 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10746 * posix/regex.c (init_syntax_once) [done]: Likewise.
10748 * string/strfry.c (init): Likewise.
10749 * sunrpc/svc_run.c (svc_top): Likewise.
10750 * posix/euidaccess.c (have_ids): Likewise.
10751 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10752 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10753 * time/getdate.c (getdate_err): Likewise.
10754 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10756 * time/tzset.c (old_tz, is_initialized): Likewise.
10758 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10759 of static data with zero.
10760 * signal/allocrtsig.c (init): Likewise.
10762 * string/Makefile (routines): Add strchrnul.
10763 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10764 * string/string.c: Add strchrnul prototype.
10765 * include/string.h: Add __strchrnul prototype.
10766 * sysdeps/generic/strchrnul.c: New file.
10767 * sysdeps/i386/strchrnul.S: New file.
10768 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10769 * sysdeps/i386/i486/bits/string.c: Likewise.
10770 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10771 * inet/ether_line.c (ether_line): Likewise.
10772 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10773 * nss/nsswitch.c (nss_parse_file): Likewise.
10774 * posix/execvp.c (execvp): Likewise.
10775 * posix/fnmatch.c (internal_fnmatch): Likewise.
10776 * resolv/res_hconf.c (_res_hconv_init): Likewise.
10777 * resolv/res_init.c (res_init): Likewise.
10778 * stdlib/fmtmsg.c (init): Likewise.
10779 * stdlib/getsubopt.c (getsubopt): Likewise.
10781 * catgets/catgets.c (catopen): Only allocate one memory block.
10782 (catclose): Only one free call necessary.
10784 * catgets/open_catalog.c (__open_catalog): Simplify handling of
10787 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10788 of real functions. Simplify _tolower and _toupper.
10790 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10793 * iconv/gconv.h (struct gconv_info): Change data element from pointer
10794 to array of size 0.
10795 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10796 * iconv/gconv_close.c (__gconv_close): Don't free data.
10798 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10801 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
10802 for error while inserting in tree.
10804 * include/time.h: Pretty print.
10806 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10807 in table and lots of relocations.
10808 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10809 string pointers in table and lots of relocations.
10811 * intl/finddomain.c: Remove definition of strchr macro.
10813 * io/ftw.c (nftw_arr, ftw_arr): Make const.
10815 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10817 * locale/localeinfo.h (_nl_category_names): Change into an array with
10818 fixed width char string elements.
10819 * locale/setlocale.c (_nl_category_names): Likewise.
10820 (_nl_current): Make global.
10821 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
10823 * malloc/Makefile (distribute): Add stackinfo.h.
10824 * sysdeps/generic/stackinfo.h: New file.
10825 * sysdeps/i386/stackinfo.h: New file.
10826 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10827 * posix/execle.c: Likewise.
10828 * posix/execlp.c: Likewise.
10830 * nis/nis_table.c (__create_ib_request): Always use realloc.
10832 * posix/execvp.c (execute): Rename to script_execute and keep only
10833 code to execute using shell.
10834 (execvp): Call execv directly and only fall back on script_execute.
10836 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10837 and always use xdigits instead.
10839 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10842 * stdlib/fpioconst.h (__tens): New declaration.
10843 (struct mp_power): Remove array, add arrayoff element.
10844 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10845 __tens array and add in _fpioconst_pow10 offsets into __tens.
10846 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10847 * stdlib/strtod.c: Likewise.
10849 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10851 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10853 * stdlib/atexit.c (__exit_funcs): Don't initialize.
10855 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10857 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10858 a single and an array with offsets.
10860 * sunrpc/des_soft.c (partab): Make it const.
10862 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10863 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10864 (__key_decryptsession_pk_LOCAL): Likewise.
10865 (__key_gendes_LOCAL): Likewise.
10866 (MESSENGER): Mark const.
10867 (key_call_private_main): Don't initialize with 0.
10868 (use_keyenvoy): Don't initialize with 0.
10869 (key_call): Rewrite to reverse logic of use_doors variable.
10871 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10872 (startp): Don't initialize with zero.
10874 * sunrpc/openchild.c (_openchild): Make first argument const.
10876 * sunrpc/pmap_rmt.c (timeout): Mark const.
10877 * sunrpc/xcrypt.c (hex): Likewise.
10879 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10880 initialization of global variables.
10881 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10882 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10883 * termios/tcgetsid.c: Likewise.
10885 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10888 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10889 block. Add function to free memory if wanted.
10890 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10892 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10894 * wcsmbs/wmemset.c: Little code optimization.
10896 1999-04-23 Paul Eggert <eggert@twinsun.com>
10898 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10901 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
10903 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10904 implementation and just always fail with ENOSYS. This entry point is
10905 obsolete. Add link warning to that effect.
10907 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10909 * hurd/get-host.c: Include <hurd/lookup.h>.
10911 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10913 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10916 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10918 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10919 ISO C9x and Unix98.
10921 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10923 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10924 Patch by Peter Miller <millerp@canb.auug.org.au>.
10926 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
10928 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10929 prefers loopback device.
10931 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10933 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10934 no_leading_period change.
10936 * posix/testfnm.c: More test cases.
10938 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
10940 * include/dirent.h: Remove __getdirentries declaration, add __getdents
10942 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10943 * sysdeps/unix/readdir_r.c: Likewise.
10944 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10945 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10946 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10947 __getdirentries. Remove fourth argument.
10948 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10949 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10950 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10951 Add getdirentries and getdirentries64.
10952 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10954 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10955 pointer in case of an invalid [[: expression.
10957 * posix/testfnm.c: Add more test cases.
10959 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10961 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10962 set, pass EXEC_SIGTRAP flag in exec RPC.
10964 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10966 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
10967 extra parameter. Fix several more bugs involving wildcard and
10969 (fnmatch): New function. Call internal_fnmatch.
10971 * posix/testfnm.c: More test cases.
10973 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10975 * manual/install.texi (Configuring and compiling): Explain that
10976 files are changed in the source directory.
10977 Closes PR libc/981.
10978 (Configuring and compiling): Explain situation with PARALLELMFLAGS
10979 in the source directory.
10981 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10983 * locale/programs/ld-ctype.c: Spelling fixes.
10984 (ctype_finish): Fix argument of error message format.
10985 * locale/programs/ld-messages.c: Spelling fixes.
10986 * locale/programs/ld-monetary.c: Spelling fixes.
10987 * locale/programs/ld-time.c (time_finish): Make sure that name and
10988 format of era_entries are adjacent.
10989 (time_output): Reduce the size of the io vector.
10991 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10993 * manual/filesys.texi (Attribute Meanings): Move a misplaced
10996 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10998 * locale/programs/ld-collate.c (collate_output): Convert
10999 undefined_offset to an array index. Fix computation of other
11000 endian extra table.
11002 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
11004 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11005 return success with empty value.
11007 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11009 * posix/fnmatch.c: Include string.h also for glibc.
11010 (fnmatch, case '?'): Optimize if cascades a bit.
11011 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11013 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11015 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
11017 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11018 * iconv/gconv_int.h: Declare UTF16 functions.
11019 * iconv/gconv_simple.c: Add UTF16 conversion functions.
11021 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11023 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11024 be used correctly as parameter for parse_dollars/parse_tilde.
11026 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11028 * manual/conf.texi (Utility Limits): Remove duplicate description
11031 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
11033 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11034 outbufend for dst==NULL.
11036 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11038 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11040 Fixes PR libc/1084.
11042 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11043 Fixes PR libc/1083.
11045 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
11047 * sunrpc/Makefile: Remove special handling of bootparam.x,
11048 add rpcsvc/bootparam.h to headers.
11049 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11050 * sunrpc/rpcsvc/bootparam.x: Renamed to...
11051 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11053 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11055 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11056 detect and handle invalid descriptors.
11058 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
11060 * timezone/zic.c (dolink): Append complete path not only filename
11063 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11065 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11067 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
11069 * iconvdata/gconv-modules: Rename CP874 to IBM874.
11070 * iconvdata/Makefile: Likewise.
11071 * iconvdata/cp874.h: Removed.
11072 * iconvdata/cp874.c: Renamed to...
11073 * iconvdata/ibm874.c: ...this.
11075 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11077 * sysdeps/unix/sysv/linux/bits/types.h: Correct
11078 signed/unsigned-ness of blkcnt and fsblkcnt.
11079 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11080 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11082 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11083 SOL_AAL, and SOL_IRDA.
11085 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11087 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
11088 include "linux_fsinfo.h".
11089 Based on a patch by H.J. Lu <hjl@gnu.org>.
11091 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
11093 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11095 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11097 * nscd/cache.c (prune_cache): Only disable file checking for
11098 future if the file does not exist.
11099 Update file_mtime if cache was flushed.
11101 1999-04-15 David S. Miller <davem@redhat.com>
11103 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11104 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11106 1999-04-15 Scott Bambrough <scottb@netwinder.org>
11108 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11109 compilation of file.
11111 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11113 * Versions.def: Add GLIBC_2.1.1 to libpthread.
11115 * iconvdata/Makefile (modules): Add KOI8-U.
11116 (distribute): Add koi8-u.c.
11117 (gen-8bit-gap-modules): Add koi8-u.
11118 * iconvdata/gconv-modules: Add KOI8-U entries.
11119 * iconvdata/koi8-u.c: New file.
11121 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
11123 * sunrpc/auth_des.c: 64bit fixes, security fixes.
11124 * sunrpc/auth_none.c: Pretty print.
11125 * sunrpc/auth_unix.c: Likewise.
11126 * sunrpc/authdes_prot.c: Likewise.
11127 * sunrpc/authuxprot.c: Likewise.
11128 * sunrpc/bindrsvprt.c: Likewise.
11129 * sunrpc/clnt_gen.c: Likewise.
11130 * sunrpc/rpc/xdr.h: Likewise.
11131 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11132 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11133 * sunrpc/rtime.c: Use new rpc_timeval.
11134 * sunrpc/svc_authux.c: Don't use *long pointers.
11135 * sunrpc/svcauth_des.c: Likewise + security fixes.
11136 * sunrpc/xdr_mem.c: Don't use *long pointers.
11137 * sunrpc/xdr_rec.c: Likewise.
11138 * sunrpc/xdr_sizeof.c: Likewise.
11139 * sunrpc/xdr_stdio.c: Likewise.
11141 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11143 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11144 so that it is redone for each sending.
11146 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11148 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11150 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11152 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11153 known to not exist don't try to load shared objects.
11154 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11156 * nscd/cache.c (prune_cache): The table might not be unused. In
11157 this case do nothing.
11159 * catgets/gencat.c (read_input_file): Don't drop white spaces
11160 between number/identifier and string.
11161 Patch by Dima Barsky <dima@pwd.hp.com>.
11162 If no white space at all follows number/identifier remove existing
11163 message with the number/identifier.
11165 1999-04-14 H.J. Lu <hjl@gnu.org>
11167 * sunrpc/clnt_udp.c (is_network_up): New function.
11168 (clntudp_call): Call is_network_up () to check if any network
11169 interface is up in case of timeout.
11171 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11173 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11174 * wctype/Makefile (tests): Add test_wcfuncs.
11176 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
11178 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11180 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11182 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11183 instead of CFLAGS. For gnulib and string directories use
11184 -Wa,-Av9a gcc ASFLAGS.
11185 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11186 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11187 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11188 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11189 the same way as sparc-*.
11191 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
11193 * locale/programs/locfile.c (locfile_read): Fix typo.
11194 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11196 1999-04-14 Scott Bambrough <scottb@netwinder.org>
11198 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11199 restarted after being interrupted by a signal. The parameters on
11200 the stack were corrupted by the signal handler.
11202 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11203 restarted after being interrupted by a signal. The parameters on
11204 the stack were corrupted by the signal handler.
11206 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11208 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11209 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11211 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
11213 * posix/wordexp-test.c: In field-splitting test cases where
11214 subshells were involved, unset IFS first: some shells (ash) use
11215 IFS even when no expansion is performed.
11217 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11219 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11220 the real end of the chunk, not some random point inbetween.
11221 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
11222 obstack when growing. Use fast version of obstack_blank when
11224 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11225 allocating the vtable pointer.
11226 (_IO_obstack_vprintf): Adjust for above change and avoid
11227 unnecessary casts. Use fast version of obstack_blank when
11229 Fixes PR libc/1075.
11231 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
11233 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
11234 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11236 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
11238 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11239 is seen, as well as fixing semantics. Don't reset the word count
11240 to zero when an invalid character is seen, but leave it as it was
11241 (this makes a difference with WRDE_APPEND).
11243 * posix/wordexp-test.c: More test cases.
11245 * posix/wordexp.c (parse_param): In words like ${var#pattern},
11246 always expand pattern when it is needed. Also, handle quoting in
11249 1999-04-12 Philip Blundell <philb@gnu.org>
11251 * elf/elf.h: Update ARM definitions to match current gas2.
11253 * sysdeps/arm/bits/endian.h: Support big endian operation.
11255 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11256 Don't bother range checking the port number.
11258 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11260 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11261 the syscall name in assembler output for ease of debugging.
11263 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11264 compiler behaviour.
11265 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11266 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11267 (sysdep_routines): Add sigrestorer.
11269 * string/tester.c (test_strcpy): Add new tests for unaligned
11271 * sysdeps/arm/bits/string.h: Delete inline implementations of
11274 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
11276 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11278 1999-04-10 Mark Kettenis <kettenis@gnu.org>
11280 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11282 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11284 * iconvdata/Makefile (modules): Add TIS-620.
11285 (distribute): Add tis-620.c.
11286 (gen-8bit-gap-modules): tis-620.
11287 * iconvdata/tis-620.c: New file.
11288 * iconvdata/gconv-modules: Add TIS-620 entries.
11290 * iconvdata/asmo_449.c: Correct comment.
11292 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11294 * manual/install.texi (Configuring and compiling): Comment out
11295 description of --disable-static since this doesn't work currently
11296 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11298 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11300 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11302 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11304 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11306 * scripts/test-installation.pl (installation_problem): Skip
11307 libnss1_* libraries from glibc-compat add-on.
11309 1999-04-07 H.J. Lu <hjl@gnu.org>
11311 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11313 * posix/Versions (__waitpid): Likewise.
11315 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11317 * manual/install.texi (Reporting Bugs): Add section about reported
11318 bugs and correct email address of glibcbug script.
11320 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
11322 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11323 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11324 xdr_u_longlong_t. Based on patch from Dan Shechter
11325 <damageboy@isdn.net.il>.
11326 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11327 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11329 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11331 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11333 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11334 directly if getdents returns with error set.
11336 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11338 * locale/langinfo.h (THOUSEP): Rename second occurence of
11339 THOUSANDS_SEP to THOUSEP.
11340 Reported by Roman Belenov <roman@nstl.nnov.ru>.
11342 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
11344 * hurd/STATUS: File removed. Moved items that are still relevant into
11345 TODO list in hurd source.
11347 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11349 * sysdeps/mach/hurd/bits/time.h: New file.
11350 * sysdeps/mach/hurd/getrusage.c: New file.
11351 * sysdeps/mach/hurd/clk_tck.c: New file.
11352 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11353 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11354 (sysdep_routines): Add clk_tck.
11355 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11358 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
11360 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11361 (closelog): But instead here.
11362 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11364 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11366 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11367 the source directory. Fixes PR libc/1059.
11369 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11372 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11374 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
11376 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11377 * iconvdata/testdata/ISO-8859-14: New file.
11378 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11379 * iconvdata/testdata/ISO-8859-15: New file.
11380 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11382 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11384 * iconvdata/testdata/CP1258: New file.
11385 * iconvdata/testdata/CP1258..UTF8: New file.
11386 * iconvdata/TESTS: Add CP1258 entry.
11388 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11390 * timezone/africa: Update from tzdata1999d.
11391 * timezone/europe: Likewise.
11392 * timezone/northamerica: Likewise.
11394 1999-03-31 Mark Kettenis <kettenis@gnu.org>
11396 * login/programs/pt_chown.c (main): Save effective user ID before
11397 dropping priviliges and use this to check if the program is
11398 properly installed.
11400 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11402 * iconvdata/testdata/CP1254: Update for charmap changes.
11403 * iconvdata/testdata/CP1254..UTF8: Likewise.
11404 * iconvdata/testdata/CP1255: Likewise.
11405 * iconvdata/testdata/CP1255..UTF8: Likewise.
11406 * iconvdata/testdata/CP1256: Likewise.
11407 * iconvdata/testdata/CP1256..UTF8: Likewise.
11408 * iconvdata/testdata/CP1257: Likewise.
11409 * iconvdata/testdata/CP1257..UTF8: Likewise.
11411 * iconvdata/Makefile (distribute): Remove cp1258.h.
11412 (gen-8bit-gap-modules): Add cp1258.
11413 * iconvdata/cp1258.h: Removed.
11415 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11417 * timezone/tst-timezone.c (tests): Add more cases.
11418 (check_tzvars): Mark errors clearer.
11421 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
11423 * login/programs/pt_chown.c: Drop privileges if invoked with
11424 arguments. Don't close the master pty.
11426 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11428 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11429 Minor optimization.
11431 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
11433 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11434 relocation for SUID binaries.
11436 1999-03-29 Paul Eggert <eggert@twinsun.com>
11438 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11439 while in child process.
11441 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
11443 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11444 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11445 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11446 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11447 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11449 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11450 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11451 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11452 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11453 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11454 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11455 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11456 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11457 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11458 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11459 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11460 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11461 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11462 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11463 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11464 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11465 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11466 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11467 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11468 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11469 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11470 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11471 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11472 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11473 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11474 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11476 * sysdeps/sparc/sparc32/bcopy.c: New file.
11477 * sysdeps/sparc/sparc32/bzero.c: New file.
11478 * sysdeps/sparc/sparc32/memchr.S: New file.
11479 * sysdeps/sparc/sparc32/memcpy.S: New file.
11480 * sysdeps/sparc/sparc32/memmove.c: New file.
11481 * sysdeps/sparc/sparc32/memset.S: New file.
11482 * sysdeps/sparc/sparc32/stpcpy.S: New file.
11483 * sysdeps/sparc/sparc32/strchr.S: New file.
11484 * sysdeps/sparc/sparc32/strrchr.c: New file.
11485 * sysdeps/sparc/sparc32/strcpy.S: New file.
11486 * sysdeps/sparc/sparc32/strlen.S: New file.
11487 * sysdeps/sparc/sparc32/strcat.S: New file.
11488 * sysdeps/sparc/sparc32/strcmp.S: New file.
11490 * sysdeps/sparc/sparc64/bcopy.c: New file.
11491 * sysdeps/sparc/sparc64/bzero.c: New file.
11492 * sysdeps/sparc/sparc64/memchr.S: New file.
11493 * sysdeps/sparc/sparc64/memcmp.S: New file.
11494 * sysdeps/sparc/sparc64/memcpy.S: New file.
11495 * sysdeps/sparc/sparc64/memset.S: New file.
11496 * sysdeps/sparc/sparc64/stpcpy.S: New file.
11497 * sysdeps/sparc/sparc64/strcat.S: New file.
11498 * sysdeps/sparc/sparc64/strchr.S: New file.
11499 * sysdeps/sparc/sparc64/strcmp.S: New file.
11500 * sysdeps/sparc/sparc64/strcpy.S: New file.
11501 * sysdeps/sparc/sparc64/strcspn.S: New file.
11502 * sysdeps/sparc/sparc64/strlen.S: New file.
11503 * sysdeps/sparc/sparc64/strncpy.S: New file.
11504 * sysdeps/sparc/sparc64/strpbrk.S: New file.
11505 * sysdeps/sparc/sparc64/strrchr.c: New file.
11506 * sysdeps/sparc/sparc64/strspn.S: New file.
11507 * sysdeps/sparc/sparc64/stpncpy.S: New file.
11508 * sysdeps/sparc/sparc64/strncmp.S: New file.
11510 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11511 Append -fPIC, don't replace.
11513 * configure.in: Recognize sparcv8plus / sparcv9.
11515 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11517 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11518 char * to avoid C++ warning.
11519 Patch by yasushi@cs.washington.edu [PR libc/1035].
11521 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11523 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11524 declared in stdlib.h, correct return value of mkstemp.
11525 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11527 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11530 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11532 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11535 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11536 inline functions. Closes PR libc/1049.
11538 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11540 * timezone/README: Update from tzdata1999c and tzcode1999c.
11542 * timezone/africa: Update from tzdata1999c.
11543 * timezone/antarctica: Likewise.
11544 * timezone/asia: Likewise.
11545 * timezone/australasia: Likewise.
11546 * timezone/europe: Likewise.
11547 * timezone/northamerica: Likewise.
11548 * timezone/southamerica: Likewise.
11549 * timezone/zone.tab: Likewise.
11551 * timezone/zic.c: Update from tzcode1999c.
11553 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11555 * Makerules: Add $(common-objpfx)Versions.all to common-generated
11556 outside of ifndef avoid-generated.
11558 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11560 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11562 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11564 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11565 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11567 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11569 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11570 if we build the profiled library.
11572 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11574 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
11575 Jaeger <aj@arthur.rhein-neckar.de>
11577 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
11579 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11580 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11581 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11583 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
11585 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11586 works properly in subdirs.
11588 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
11590 * sysdeps/mach/hurd/Makefile: Undo last change.
11591 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11592 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11594 * mach/Machrules (+preinit, +postinit, +interp,
11595 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
11596 linked just like other shared libraries.
11597 (interface.so): Fix typo in defn, so it works.
11598 ($(objpfx)$(interface.so)): Make it depend on libc.so.
11600 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
11602 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11603 $(link-rpcuserlibs).
11605 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11607 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11608 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11609 targets if not building shared libraries.
11611 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11613 * configure.in: Also look in $PATH when searching for
11614 install-info. Remove autoconf bug workaround and require autoconf
11617 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11619 * db/Makefile: Don't try to install shared library link if not
11620 building with shared libs.
11622 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11624 * rt/Makefile: Link against static library if no shared lib is
11627 * localedata/Makefile: The shells scripts implementing the test
11628 require the dynamic linker which is not available with
11629 --disable-shared. Skip the test if --disable-shared is given.
11631 * linuxthreads/Makefile: Link test against static libpthread if no
11632 shared lib is available.
11634 * iconvdata/Makefile (tests): Run iconv-test only if we're
11635 building shared libraries.
11636 * elf/Makefile (tests): Likewise for elf tests.
11638 * posix/Makefile: The test frameworks globtest and wordexp-test
11639 require the dynamic linker which is not available with
11640 --disable-shared. Skip the test if --disable-shared is given.
11642 * grp/Makefile (otherlibs): For static nss build link against
11645 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11647 * debug/Makefile (install-bin): Install and build catchsegv only
11648 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
11651 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11653 * time/tzfile.c (__tzfile_read): Handle the case where there are
11654 transitions but no DST.
11656 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
11658 * mach/Machrules (extra-libs-others): Add $(interface-library) here
11659 too, so it gets built in the others pass rather than the lib pass.
11660 This is necessary since the RPC libraries need to be linked against
11663 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
11665 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11668 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11669 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11670 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11671 versions of lib{mach,hurd}user.so without reference to libc.so,
11672 then link libc.so against that to get deps and symbol versions, then
11673 finally link real lib*user.so against libc.so.
11675 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11676 Support whole-file locking (only) by using the file_lock RPC. This
11677 has very wrong semantics, but is better than nothing for the time
11678 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
11679 protocols that will be somewhat hairy to specify.)
11681 1999-03-17 Mark Kettenis <kettenis@gnu.org>
11683 * sysdeps/mach/hurd/ptsname.c: New file.
11685 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11687 * timezone/asia: Fix rule in Asia/Nicosia entry.
11689 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11691 * manual/getopt.texi (Using Getopt): Explain "::" in option
11692 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
11694 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
11696 * sunrpc/clnt_unix.c: Fix creation of parameters for
11697 sendmsg/recvmsg on non intel platforms.
11698 * sunrpc/svc_unix.c: Likewise.
11700 1999-03-18 Philip Blundell <philb@gnu.org>
11702 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
11705 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11707 * timezone/africa: Update from tzdata1999b.
11708 * timezone/asia: Likewise.
11709 * timezone/australasia: Likewise.
11710 * timezone/europe: Likewise.
11711 * timezone/northamerica: Likewise.
11712 * timezone/southamerica: Likewise.
11713 * timezone/zone.tab: Likewise.
11715 * timezone/README: Mention tzdata1999b.
11717 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
11719 * sysdeps/generic/segfault.c (write_strsignal): New function.
11720 (catch_segfault): Use it instead of calling strsignal.
11722 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11724 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11725 char to avoid warning.
11727 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11729 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11731 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11732 outbuf to unsigned char to avoid warning.
11734 1999-03-11 David S. Miller <davem@redhat.com>
11736 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11738 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11740 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11742 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11744 (gconv_step_data): Likewise.
11745 * iconv/gconv_int.h (__gconv): Likewise.
11746 (__BUILINT_TRANS): Likewise.
11747 * iconv/gconv.c (__gconv): Likewise.
11748 * iconv/iconv.c (iconv): Add casts for call of __gconv.
11749 * iconv/skeleton.c: Change local parameters and variable from `char' to
11750 `unsigned char'. Remove casts from calls into modules.
11751 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11752 `char' to `unsigned char'.
11753 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11754 * wcsmbs/mbrtowc.c: Likewise.
11755 * wcsmbs/mbsnrtowcs.c: Likewise.
11756 * wcsmbs/mbsrtowcs.c: Likewise.
11757 * wcsmbs/wcrtomb.c: Likewise.
11758 * wcsmbs/wcsnrtombs.c: Likewise.
11759 * wcsmbs/wcsrtombs.c: Likewise.
11760 * wcsmbs/wctob.c: Likewise.
11762 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11764 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11765 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11766 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11767 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11768 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11769 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11771 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11773 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11774 _hurd_select if TIMEMOUT is -1.
11776 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11778 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11780 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11782 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11783 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11785 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11787 * manual/libc.texinfo: Undo last change for now.
11789 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11791 * intl/locale.alias: Add entries for Croatian.
11792 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11794 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11796 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11797 if the opened master pty really is a pty. `isatty' checks for
11798 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
11799 if we are out of pty's.
11801 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11803 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11804 opened file is closed on exec.
11805 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11808 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11810 * manual/llio.texi (File Position Primitive): Reformat @end
11811 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11813 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
11815 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11817 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11818 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11820 * locale/programs/localedef.c (main): Initialize `cat' to please
11823 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
11825 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11826 check for root-owned symlinks and reject them too.
11828 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11830 * stdio-common/printf_fphex.c: Move to ...
11831 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
11832 extended precision number.
11833 * sysdeps/m68k/printf_fphex.c: New file.
11835 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11837 * manual/stdio.texi: Fix typos.
11839 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
11841 * version.h (VERSION): Bump to 2.1.1.
11843 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
11845 * nis/ypclnt.c: Try only twice to connect to NIS server.
11847 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11849 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11851 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11853 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11854 (DENORM_EXP): New define. Use it as the exponent for a denormal.
11855 * stdlib/strtold.c: Moved to ...
11856 * sysdeps/generic/strtold.c: ... here.
11857 * sysdeps/m68k/strtold.c: New file.
11859 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11861 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11862 point if the precision is zero, even if the mantissa is non-zero.
11864 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11866 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11867 arguments into the request message buffer inside `send_rpc'
11868 subfunction. We must repeat the marshalling when retrying the RPC
11869 after a SIGTTOU delivery.
11871 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11872 path when there is no ctty port.
11873 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11874 Move sigstate check inside loop so we recheck after handling a signal.
11876 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11878 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11879 O_EXLOCK are BSD extensions.
11880 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11882 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
11884 * manual/signal.texi (Termination in Handler): Correct example.
11885 Install default handler before reraising the signal.
11886 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11888 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
11890 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11891 null, in which case send an empty string.
11893 1999-03-02 Mark Kettenis <kettenis@gnu.org>
11895 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11896 backward compatibility EH functions to be linked when using
11897 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11899 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11902 /dev/pts status may change during runtime.
11904 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11906 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11907 change. /dev/pts status can change during runtime.
11909 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
11911 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11912 poll reports error.
11913 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11914 add some more sanity checks.
11915 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11918 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
11920 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11921 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11922 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11923 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11924 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11926 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11927 * nis/nis_print.c: Fix ctime argument for platforms where
11928 sizeof (time_t) != sizeof (int).
11930 1999-03-07 Mark Kettenis <kettenis@gnu.org>
11932 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11933 CLOCKS_PER_SEC instead of CLK_TCK.
11935 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
11937 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11938 whether /dev/pts is available.
11939 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11942 * posix/globtest.sh: Make common_objpfx path absolute and and db2
11943 and hesiod directory to library path [PR libc/1007].
11945 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11947 * resolv/inet_addr.c (inet_aton): Don't allow componets >
11948 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11950 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
11952 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11953 DT_PLTGOT has already been relocated.
11954 (__elf_machine_fixup_plt): Likewise.
11957 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
11959 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11961 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
11963 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11964 and fold string to uppercase [PR libc/1005].
11966 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11968 * elf/dl-load.c (lose): Fix return type.
11970 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
11972 * sysdeps/mach/hurd/bits/fcntl.h
11973 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11974 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11975 set O_NOTRANS as well.
11976 (__hurd_file_name_lookup_retry): At successful end of lookup,
11977 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11978 it is a translated node not owned by root.
11979 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11980 on the file name passed to LOOKUP.
11982 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
11984 * manual/time.texi (High Resolution Timer): Correct computation in
11985 example. Reported by jjf@devel.cemsys.com.
11987 1999-03-02 Philip Blundell <pb@nexus.co.uk>
11989 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11990 entry is already relocated.
11992 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11994 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
11995 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
11997 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11999 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12000 uc_link which is the right name according to Unix98.
12001 Reported by Craig Metz [PR libc/1001].
12002 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12003 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12004 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12005 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12006 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12009 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12011 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12014 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12016 * iconvdata/Makefile: Always include iconv-rules, but disable rule
12017 to regenerate it if avoid-generated.
12019 * Makeconfig: Always include sys-dirs, but disable rule to
12020 regenerate it when avoid-generated.
12022 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12023 rule to generate sysd-syscalls.
12025 * elf/Makefile (generated): Remove $(objpfx) from names.
12027 1999-02-28 Mark Kettenis <kettenis@gnu.org>
12029 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12030 actual length if the adress length is smaller than the input
12031 value. Change type of *LEN paramater to socklen_t.
12032 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12033 * sysdeps/mach/hurd/accept.c (accept): Likewise.
12034 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12035 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12036 paramater to socklen_t.
12038 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
12040 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12041 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12044 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12046 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12047 __get_phys_pages): Cast &HBI to silence warning.
12049 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12050 * hurd/hurdchdir.c: New file.
12051 * hurd/hurdfchdir.c: New file.
12052 * sysdeps/mach/hurd/chroot.c: Call
12053 _hurd_change_directory_port_from_name to do the work.
12054 * sysdeps/mach/hurd/chdir.c: Likewise.
12055 * sysdeps/mach/hurd/fchdir.c: Call
12056 _hurd_change_directory_port_from_fd to do the work.
12057 * hurd/fchroot.c: Likewise.
12058 * hurd/hurd.h: Declare them.
12060 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
12062 * elf/dl-load.c (lose): Add more comments to explain the `why'.
12063 (_dl_map_object): Remove redundant test.
12065 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12067 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12068 try to _hurd_port_free a lower-numbered descriptor that was not in any
12071 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12073 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12074 declaration for ____wcstod_l_internal.
12076 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12077 __strtod_internal prototype.
12078 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12079 (____strtold_l_internal): Add prototype declaration.
12080 (__strtold_l): Call correct function.
12082 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
12084 * elf/elf.h: Add 32bit HPPA definitions.
12086 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12088 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12089 non-checked heap is restored when malloc checking was requested by
12091 (struct malloc_state): Add using_malloc_checking.
12092 (MALLOC_STATE_VERSION): Increment minor.
12093 (using_malloc_checking, disallow_malloc_check): New variables.
12094 (__malloc_check_init): Use them.
12095 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12096 that it can the chunk is properly instrumented when malloc
12097 checking is enabled. Set the new using_malloc_checking field.
12098 (malloc_hook_ini): Correct signature when _LIBC is not defined.
12100 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12102 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12103 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12106 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12107 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12108 if ld.so is the main program.
12110 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
12112 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12113 large for work_buffer, allocate new buffer.
12114 (printf_unknown): Likewise. [PR libc/988]
12116 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12118 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12119 instead of stat and fstat.
12120 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12122 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12124 * elf/dl-error.c (_dl_signal_cerror): New function.
12125 (_dl_signal_error): Don't call receiver function.
12126 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12127 instead of _dl_signal_error when reporting references to undefined
12128 symbols or versions.
12129 (_dl_lookup_versioned_symbol): Likewise.
12130 (_dl_lookup_versioned_symbol_skip): Likewise.
12131 * elf/dl-version.c (match_symbol): Likewise.
12133 * elf/ldsodefs.h: Declare _dl_signal_cerror.
12135 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12137 * misc/getttyent.c (getttyent): Release lock on stream later to
12138 also protect global variable zapchar.
12140 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12141 __times [PR libc/990].
12143 1999-02-21 David S. Miller <davem@redhat.com>
12145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12146 parentheses in Feb 2 changes.
12147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12149 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12151 * sysdeps/generic/glob.c (glob): Save previous errno.
12153 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
12155 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12156 lookup functions if it is too small.
12158 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
12160 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12161 for tracing to the scope lists.
12162 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12163 DT_SYMTAB is always available according to ELF spec.
12165 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12166 call test whether there is any scope left.
12167 (_dl_lookup_versioned_symbol_skip): Likewise.
12169 * elf/Makefile (distribute): Add do-lookup.h.
12170 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
12171 * elf/dl-lookup.c: Move do_lookup function in separate file and
12172 include the file twice, for handling versioning and without it.
12174 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12175 entry is already relocated.
12176 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12177 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12178 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12179 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12183 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12186 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12187 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12188 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12189 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12190 rel and rela relocations can both happen and skip one test if this
12192 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12194 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12196 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12198 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12199 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12200 (_dl_map_object): DT_STRTAB entry is already relocated.
12201 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12203 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12205 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12206 DT_VERSYM entries are already relocated.
12207 (profile_fixup): Likewise.
12208 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
12210 (match_symbol): DT_STRTAB entry is already relocated.
12211 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
12212 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12213 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
12214 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12215 (find_needed): DT_STRTAB entry is already relocated.
12216 (dl_main): Pass extra argument to elf_get_dynamic_info.
12217 DT_STRTAB entry is already relocated.
12218 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12219 DT_PLTGOT entries are already relocated.
12220 (elf_machine_rela): Likewise for DT_SYMTAB.
12221 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12223 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12224 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12227 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12228 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12229 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12230 * sysdeps/mips/mips64/dl-machine.h: Likewise.
12232 * grp/initgroups.c (initgroups): If function in current module was
12233 successful don't stop but continue to process to get all the groups.
12235 * elf/dl-load.c (_dl_map_object_from_fd): Use global
12236 _dl_pf_to_proot array to convert p_flags value.
12237 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12239 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12240 loop to clear `info'.
12242 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12243 do the work and don't use inline assembler.
12245 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
12247 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12248 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12249 noreturn, and prevent it from being inlined.
12250 Define LOSE appropriately.
12251 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12252 Optimize decoding of p_flags for certain platforms.
12254 1999-02-19 Philip Blundell <pb@nexus.co.uk>
12256 * Makeconfig (link-libc): When doing a static link, make sure that
12257 libgcc.a is included both before and after libc.a.
12259 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
12261 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12262 sp_warn, sp_inact, sp_expire and sp_flag.
12264 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
12266 * elf/link.h (link_map): Add l_dev and l_ino.
12267 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12268 loaded shared object with all loaded objects. Initialize l_ino
12269 and l_dev in case it's new.
12270 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12272 * elf/Makefile: Compile and run new test.
12273 * elf/multiload.c: New file.
12275 * nss/nsswitch.h (service_user): Change name field from const char *
12277 (name_database_entry): Likewise.
12278 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12279 for change of `service_user'.
12280 (nss_getline): Adjust memory allocation for change of
12281 `name_database_entry'.
12283 * catgets/catgets.c: Correctly handle NLSPATH from environment
12286 * io/Makefile (routines): Add lock64.
12287 * io/Versions: Add lockf64 for GLIBC_2.1.1.
12288 * sysdeps/generic/lockf64.c: New file.
12290 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12292 * string/bits/string2.h: Only use strncmp optimization if count
12293 argument is constant.
12295 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
12297 * sysdeps/mach/hurd/revoke.c: New file.
12299 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12301 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12302 int to avoid warning about `ISO C restricts enumerator values to
12305 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12307 * elf/dlfcn.h: Fix typo.
12308 * sysdeps/generic/bits/dlfcn.h: Likewise.
12309 * sysdeps/mips/bits/dlfcn.h: Likewise.
12311 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12313 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12314 for the case N == 0.
12316 * db2/Makefile (distribute): Add LICENSE.
12318 1999-02-03 Jeff Bailey <jbailey@nisa.net>
12320 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12323 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12325 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12327 * time/mktime.c: Use ISO C form for function definitions and
12328 remove unnecessary prototypes.
12330 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12332 * time/time.h: Avoid unneccesary #ifdef.
12334 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
12336 * stdio-common/_itoa.c (_itoa): Correct parameters to
12339 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12341 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12342 before (e.g. in glob.h).
12343 Closes PR libc/959.
12345 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12347 * sysdeps/mips/fpu_control.h: Fix typo.
12348 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12351 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
12353 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12354 the "unused" ends of the sockets. Let pipes be bidirectional.
12356 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12361 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12363 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
12364 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12366 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12367 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12369 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12371 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12373 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12375 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
12376 check for priority mask.
12378 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
12380 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12381 Reported by Craig Metz <cmetz@inner.net> .
12383 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12385 * stdio-common/Makefile (tests): tllformat added.
12387 * stdio-common/tllformat.c: New program, based on tiformat.c with
12388 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12390 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12392 * posix/test-vfork.c: Fix exit status test.
12394 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12396 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12397 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12399 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12401 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12402 of separare explicit comparisons.
12404 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12406 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12409 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12412 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12414 * po/el.po: Update from translation team.
12416 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12418 * intl/locale.alias: Fix slovenian entry [PR libc/948].
12420 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12422 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12423 * inet/ruserpass.c: Likewise.
12424 * locale/programs/stringtrans.c: Likewise.
12425 * locale/programs/localedef.c: Likewise.
12426 * nscd/grpcache.c: Likewise.
12427 * nss/nss_files/files-XXX.c: Likewise.
12428 * stdlib/canonicalize.c: Likewise.
12429 * sysdeps/posix/sigwait.c: Likewise.
12431 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12433 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12434 even on 64 bit platforms.
12436 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12437 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12439 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12441 * intl/dcgettext.c: Include locale.h is available.
12443 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12445 * po/nl.po: Update from translation team.
12447 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12449 * Makefile: Allow calling goals for po subdir.
12451 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12452 signal definitions.
12454 * po/el.po: New file.
12456 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12458 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12459 when processing DT_SYMBOLIC objects.
12461 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12463 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12464 program headers without PT_PHDR only require that they are
12465 contained within one of the loaded segments. Don't use assert,
12466 since that would be a bug in the object, not the dynamic linker.
12468 1999-02-08 Richard Henderson <rth@cygnus.com>
12470 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12471 restore all call-clobbered fp regs.
12473 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12475 * po/cs.po: New file.
12477 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12480 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12482 * signal/signal.h: Don't declare __libc_allocate_rtsig.
12483 * include/signal.h: Declare __libc_allocate_rtsig here.
12485 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12486 point functions, not do_lookup since the later can be called more
12489 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
12491 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12492 macro, so that architectures which need to add some special
12493 offset to stack pointer can share this file.
12495 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12496 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12497 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12498 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12500 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12501 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12502 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12503 between sparc32 and sparc64.
12505 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12506 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12507 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12508 between sparc32 and sparc64.
12510 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12511 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12512 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12513 between sparc32 and sparc64.
12515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12517 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12518 between sparc32 and sparc64.
12520 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12522 * Versions.def: New version GLIBC_2.1.1 for libc.
12523 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12524 * stdlib/labs.c: Moved to...
12525 * sysdeps/generic/labs.c: ...here.
12526 * stdlib/llabs.c: Moved to...
12527 * sysdeps/generic/llabs.c: ...here.
12528 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12529 header. Declare _Exit.
12530 * sysdeps/generic/_exit.c: Add alias _Exit.
12531 * sysdeps/mach/hurd/_exit.c: Likewise.
12532 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12533 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12534 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12535 * sysdeps/unix/_exit.c: Likewise.
12536 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12537 imaxdiv and imaxabs. Declare lldiv_t if necessary.
12538 * sysdeps/wordsize-64/inttypes.h: Likewise.
12539 * sysdeps/wordsize-32/llabs.c: New file.
12540 * sysdeps/wordsize-32/lldiv.c: New file.
12541 * sysdeps/wordsize-64/labs.c: New file.
12542 * sysdeps/wordsize-64/ldiv.c: New file.
12543 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12544 * manual/startup.texi: Document _Exit.
12546 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12548 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12550 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
12552 * Versions.def: Add versions for ld.so.
12553 * csu/Versions: Remove __libc_stack_end here.
12554 * elf/Versions: Split libc definitions in libc and ld.so definitions.
12555 * elf/Makefile (ld-map): Change to ld.so.map.
12556 * scripts/versions.awk: Recognize dot in library names.
12558 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12559 Don't use __tolower and __toupper in inline functions.
12560 Add optimizing macros for tolower and toupper.
12561 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12562 (_toupper): Don't use __toupper.
12563 * ctype/ctype.c (tolower): Don't use __tolower.
12564 (toupper): Don't use toupper.
12566 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12568 * resolv/Versions (libresolv): Export __ns_name_unpack and
12570 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12571 make it global. Change all users. Similar for ns_name_ntop.
12572 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12573 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
12574 directly to detect too small buffer.
12575 * resolv/nss_dns/dns-network.c: Likewise.
12577 * stdio-common/Makefile (tests): Add scanf12.
12578 * stdio-common/scanf12.c: New file.
12579 * stdio-common/scanf12.input: New file.
12580 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12581 floating-point correctly if the number is invalid.
12583 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12585 * stdio-common/printf_fp.c: Likewise.
12586 * stdio-common/printf_fphex.c: Likewise.
12587 * stdio-common/vfprintf.c: Likewise.
12590 See ChangeLog.9 for earlier changes.