1 2000-02-19 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
4 definition compatible with definition in 2.1.2 and before.
5 (struct ucontext): Use fpregset_t.
6 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
7 as pointer to fpregset_t.
9 2000-02-18 Ulrich Drepper <drepper@redhat.com>
11 * string/bits/string2.h (strnlen): Add cast to prevent warning.
13 * nscd/connections.c (handle_request): Don't abort() if unknown
16 2000-02-17 Ulrich Drepper <drepper@redhat.com>
18 * nscd/hstcache.c (cache_addhst): Don't cache name->record entries
19 if more than one IP address is available.
21 2000-02-17 Jakub Jelinek <jakub@redhat.com>
23 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
25 2000-02-16 Ulrich Drepper <drepper@redhat.com>
27 * locale/programs/charmap.c (charmap_read): Find charmap also in
28 the standard directory.
30 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
33 * sysdeps/unix/sysv/linux/execve.c: Pretty print.
36 * po/pl.po: Update from translation team.
38 2000-02-16 Andreas Jaeger <aj@suse.de>
40 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
43 2000-02-16 Andreas Jaeger <aj@suse.de>
45 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
48 2000-02-15 Andreas Jaeger <aj@suse.de>
50 * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
52 2000-02-15 Andreas Jaeger <aj@suse.de>
54 * math/libm-test.inc (nearbyint_test): Add some tests.
55 (rint_test): Likewise.
57 2000-02-14 Ulrich Drepper <drepper@redhat.com>
59 * locale/programs/repertoire.c (repertoire_new_char): NUL
60 terminated names of character in range.
62 * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
63 Define and initialize use_outdigits in the inner loops.
65 * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
66 not exist. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
68 * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
69 enable it. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
70 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
71 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
73 2000-02-14 Andreas Jaeger <aj@suse.de>
75 * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
77 2000-02-14 Ulrich Drepper <drepper@redhat.com>
79 * manual/job.texi: Fix typos.
80 * manual/process.texi: Likewise.
81 * manual/signal.texi: Likewise.
83 * sysdeps/powerpc/atomicity.h: Remove white space to avoid
86 2000-02-14 Scott Bambrough <scottb@netwinder.org>
88 * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add
89 Rebel-NetWinder to platform table so _ioperm platform lookup via
90 /proc/cpuinfo works on later version NetWinders.
92 2000-02-13 Ulrich Drepper <drepper@redhat.com>
94 * locale/programs/charmap.c (charmap_read): Remove erronous free
97 * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
98 so test for overflow and handle it.
99 * sysdeps/i386/fpu/s_sinf.S: Likewise.
100 * sysdeps/i386/fpu/s_tanf.S: Likewise.
101 Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
103 * iconvdata/Makefile (modules): Add UTF-16.
104 (distribute): Add utf-16.c.
105 * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
107 * iconvdata/utf-16.c: New file.
108 * iconv/gconv_builtin.h: Remove UTF-16 entries here.
109 * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
110 PR libc/1580 and libc/1581.
112 * iconv/skeleton.c: Increment __invocation_counter after every call
115 2000-02-12 Andreas Jaeger <aj@suse.de>
117 * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
118 declaration to place where it's needed to avoid compiler warning.
119 * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
121 2000-02-12 Ulrich Drepper <drepper@redhat.com>
123 * locale/weightwc.h (findidx): Correct find index value.
125 * locale/nl_langinfo.h: Add casts to prevent warnings.
127 * wctype/iswctype_l.c: Use correct types for mapped data.
128 * wctype/wcfuncs.c: Add one more comment for clarification.
129 * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
130 * wctype/wctrans.c: Likewise.
132 2000-02-12 Andreas Jaeger <aj@suse.de>
134 * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
136 (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
137 (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
138 file and make dependend on RESOLVE.
139 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
140 (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
142 2000-02-11 Ulrich Drepper <drepper@redhat.com>
144 * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
146 * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
147 alias for CURRENCY_SYMBOL.
148 * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
149 information. [PR libc/1583].
151 2000-02-08 Shinya Hanataka <hanataka@abyss.rim.or.jp>
153 * locale/weightwc.h: Fix problem with collating-element.
155 * locale/programs/ld-collate.c (collate_finish): Output wide
156 character collating-symbol, which has no wide strings.
158 * locale/programs/ld-collate.c (collate_output): Fix problem with
159 wide character collating-element.
161 2000-02-09 Andreas Jaeger <aj@suse.de>
163 * time/strptime.c (strptime_internal): Fix pointer dereference.
164 Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
167 2000-02-08 Jakub Jelinek <jakub@redhat.com>
169 * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
170 * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
171 * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
172 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
173 shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
174 * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
175 and oldshmctl to sysdep-routines.
177 2000-02-08 Andreas Jaeger <aj@suse.de>
179 * locale/programs/locale.c (write_locales): Fix handling of
181 Fixes PR libc/1588, reported by Miroslav Holcak
182 <miroslav.holcak@vitkovice.cz>.
184 2000-02-07 Thorsten Kukuk <kukuk@suse.de>
186 * config.make.in: Add infodir.
187 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
190 2000-02-11 Ulrich Drepper <drepper@redhat.com>
192 * posix/getopt.c: Suppress messages if first character of
193 optstring is a colon (PR libc/1584).
195 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
196 and elf_* types to interpret values passed up from the kernel.
197 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
199 * locale/nl_langinfo.c: Correct return value in error case. Don't
200 set errno (PR libc/1582).
201 * manual/locale.texi: Update to reflect change.
203 2000-02-02 Andreas Schwab <schwab@suse.de>
205 * malloc/Makefile (distribute): Add memprof.h.
206 * malloc/memprof.c: Move definition of GETSP and GETTIME to new
208 * sysdeps/generic/memprof.h: New file.
209 * sysdeps/alpha/memprof.h: New file.
210 * sysdeps/i386/memprof.h: New file.
211 * sysdeps/m68k/memprof.h: New file.
212 * sysdeps/mips/memprof.h: New file.
213 * sysdeps/powerpc/memprof.h: New file.
214 * sysdeps/sparc/memprof.h: New file.
216 2000-02-01 Jakub Jelinek <jakub@redhat.com>
218 * sysdeps/unix/sysv/linux/getresgid.c: Move...
219 * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
220 (getresgid): Use getresgid32 if __libc_missing_32bit_uids
222 * sysdeps/unix/sysv/linux/getresuid.c: Move...
223 * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
224 (getresuid): Use getresuid32 if __libc_missing_32bit_uids
226 * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
227 __libc_missing_32bit_uids.
228 (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
230 * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
231 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
232 * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
233 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
234 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
235 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
236 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
237 * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
238 * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
239 * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
240 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
241 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
242 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
243 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
244 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
245 * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
246 * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
247 * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
248 * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
249 * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
250 * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
251 * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
252 * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
253 * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
254 * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
255 * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
256 * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
257 * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
258 * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
259 * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
260 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
261 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
262 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
263 * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
264 Make syscall directly, no stubs needed.
265 (getresgid): Likewise.
266 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
268 (getresgid): Likewise.
270 2000-02-11 Ulrich Drepper <drepper@redhat.com>
272 * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
273 Reported by Bruno Haible <haible@ilog.fr>.
275 * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
277 * stdio-common/printf_fp.c: Truely support wide characater output.
278 Finally handle decimal points and thousands separator characters
279 correctly for multibyte output.
280 * stdio-common/printf_size.c: Likewise.
281 * sysdeps/generic/printf_fphex.c: Likewise.
282 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
284 * stdio-common/vfscanf.c: Implement I modifier for numbers to read
285 locale dependent digits.
287 * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
288 decimal point and thousands separator values to wide characters from
289 wide character strings.
290 * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
292 * locale/indigitswc.h: Dereference wcdigits array elements.
294 2000-02-03 Jakub Jelinek <jakub@redhat.com>
296 * stdlib/canonicalize.c (canonicalize): Zero terminate
297 path to copy on error.
299 2000-02-01 Cristian Gafton <gafton@redhat.com>
301 * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
303 2000-01-31 Philip Blundell <philb@gnu.org>
305 * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
307 2000-01-31 Andreas Jaeger <aj@suse.de>
309 * intl/Makefile (generated): msgs.h is generated.
311 * localedata/Makefile (generated-dirs): Add de_DE.437.
313 2000-01-31 Jakub Jelinek <jakub@redhat.com>
315 * config.make.in: Allow default localedir to come from configure.
316 * configure.in: Export libc_cv_localedir.
317 * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
318 stuff into $exec_prefix/lib/locale because it can be shared between
319 32bit and 64bit libraries.
320 * configure: Rebuilt.
321 * sysdeps/unix/sysv/linux/configure: Rebuilt.
323 2000-01-31 Andreas Jaeger <aj@suse.de>
325 * inet/tst-network.c: New file.
326 * inet/Makefile (tests): Add tst-network.
328 * inet/inet_net.c (inet_network): Don't overwrite memory or allow
329 to great last digits.
331 2000-02-10 Andreas Jaeger <aj@suse.de>
333 * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
334 Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
336 2000-02-09 Andreas Jaeger <aj@suse.de>
338 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
340 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
342 2000-02-08 Andreas Jaeger <aj@suse.de>
344 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
346 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
349 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
350 c_ispeed and c_ospeed which are not implemented.
352 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
353 for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
354 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
355 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
356 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
358 2000-02-05 Andreas Jaeger <aj@suse.de>
360 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
361 work - set to 4 in accordance with changes made in the Linux/MIPS
362 kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
365 2000-02-04 Andreas Jaeger <aj@suse.de>
367 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
370 2000-02-03 Andreas Jaeger <aj@suse.de>
372 * sysdeps/mips/abort-instr.h: New file.
374 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
376 * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
378 * sysdeps/mips/stackinfo.h: New file.
380 2000-02-01 Andreas Jaeger <aj@suse.de>
382 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
384 * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
386 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
388 * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
389 Baechle <ralf@gnu.org>.
391 * sysdeps/unix/sysv/linux/mips/brk.c: New file.
393 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
395 * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
397 2000-01-31 Andreas Jaeger <aj@suse.de>
399 * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR
402 2000-01-30 Ulrich Drepper <drepper@redhat.com>
404 * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
406 * sysdeps/alpha/fpu/fesetround.c: Likewise.
407 * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
408 * sysdeps/arm/fpu/fesetround.c: Likewise.
409 * sysdeps/generic/feholdexcpt.c: Likewise.
410 * sysdeps/generic/fesetround.c: Likewise.
411 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
412 * sysdeps/i386/fpu/fesetround.c: Likewise.
413 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
414 * sysdeps/m68k/fpu/fesetround.c: Likewise.
415 * sysdeps/mips/fpu/fesetround.c: Likewise.
416 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
417 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
418 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
419 * sysdeps/sparc/fpu/fesetround.c: Likewise.
420 Patch by Miloslav Trmac <mitr@volny.cz>.
422 * locale/programs/ld-collate.c (struct locale_collate_t): Change
423 type of plane_size and plane_cnt to uint32_t.
424 Reported by Jakub Jelinek.
426 2000-01-29 Jakub Jelinek <jakub@redhat.com>
428 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
429 (SYSCALL_ERROR_HANDLER): Optimize.
430 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
431 Include linux/sparc/sysdep.h.
432 Use a different guard define than linux/sparc/sysdep.h.
433 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
434 stubs for inlined syscalls.
435 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
436 (SYSCALL_ERROR_HANDLER): Optimize.
437 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
438 Include linux/sparc/sysdep.h.
439 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
440 stubs for inlined syscalls.
441 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
443 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
444 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
446 2000-01-29 Ulrich Drepper <drepper@redhat.com>
448 * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty
449 print. Add checks for _POSIX_MMAPPED_FILES where necessary.
450 (_nl_unload_locale): If locale data was mmapped use munmap.
452 2000-01-29 Andreas Jaeger <aj@suse.de>
454 * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
455 _EXTERN_INLINE, compile inline assembler functions only with gcc.
457 2000-01-29 Ulrich Drepper <drepper@redhat.com>
459 * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
460 * catgets/gencat.c (read_input_file): Remove messages correctly.
461 * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
462 adjacent colons correctly. Correct loops to read territory and
464 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
466 * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
468 Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
470 2000-01-28 Jakub Jelinek <jakub@redhat.com>
472 * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
473 interface with symbol version GLIBC_2.2.
474 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
475 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
476 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
477 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
479 2000-01-27 Scott Bambrough <scottb@netwinder.org>
481 * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
483 * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
484 versioning setrlimit and getrlimit.
486 2000-01-27 Andreas Jaeger <aj@suse.de>
488 * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
489 * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
491 2000-01-27 Ruediger Oertel <ro@suse.de>
493 * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
495 2000-01-29 Ulrich Drepper <drepper@redhat.com>
497 * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
498 correct place to avoid uninitialized memory passed to writev.
500 * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
501 long string in definition.Only enable returning wide character
502 strings if really needed.
503 * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
505 * configure.in: Add check for recent enough sed version.
507 2000-01-28 Ulrich Drepper <drepper@redhat.com>
509 * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
510 _i18n_itoa): Fix parameter lists.
512 * locale/C-monetary.c: Add initializers for new fields.
513 * locale/C-numeric.c: Likewise.
514 * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
515 outdigits.h, and outdigitswc.h.
516 * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
517 _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
518 and _NL_NUMERIC_THOUSANDS_SEP_WC.
519 * locale/indigits.h: New file.
520 * locale/indigitswc.h: New file.
521 * locale/outdigits.h: New file.
522 * locale/outdigitswc.h: New file.
523 * locale/programs/ld-monetary.c: Write out decimal point and
524 thousands separator info in wide character form.
525 * locale/programs/ld-numeric.c: Likewise.
526 * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
527 (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
528 * stdio-common/_i18n_itoa.c: New file.
529 * stdio-common/_i18n_itoa.h: New file.
530 * stdio-common/_i18n_itowa.c: New file.
531 * stdio-common/_i18n_itowa.h: New file.
532 * stdio-common/printf-parse.h: Parse 'I' flag.
533 * stdio-common/printf.h (struct printf_info): Add i18n field.
534 * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
537 2000-01-27 Geoff Keating <geoffk@cygnus.com>
539 * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
542 * sysdeps/unix/sysv/linux/kernel-features.h
543 (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
544 __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
547 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
548 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
549 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
550 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
551 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
552 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
553 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
554 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
555 s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
557 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
558 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
560 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
561 __curbrk off the small data area register. Reported by
562 Andrew Haley <aph@pasanda.cygnus.co.uk>.
564 2000-01-26 Andreas Jaeger <aj@suse.de>
566 * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
568 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
570 * locale/Makefile (distribute): Remove nonexisting files.
571 * sysdeps/powerpc/Dist: Move FPU specific files to...
572 * sysdeps/powerpc/fpu/Dist: ...here. New file.
573 * nss/Makefile: Distribute files for new libdb interface.
574 * math/Makefile (distribute): Add README.libm-test.
575 Patch by Andreas Jaeger.
577 2000-01-26 David McCann <david.mccann@alcatel.at>
579 * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
581 2000-01-25 Andreas Jaeger <aj@suse.de>
583 * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
584 version check since we're using cpp.
586 2000-01-26 Jakub Jelinek <jakub@redhat.com>
588 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
591 2000-01-26 Andreas Jaeger <aj@suse.de>
593 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
594 about unitialised variable kbuf.
595 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
596 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
598 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
600 * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
602 (collate_read): Remove unnecessary `if'.
604 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
606 * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
607 and load appropriate conversions.
608 * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
610 * libio/libioP.h: Declare __libio_codecvt.
611 * manual/stdio.texi: Document ,ccs= option for fopen.
612 * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
613 * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
615 * libio/iofclose.c: Free conversion data if stream was wide-oriented.
617 * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
619 * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
621 * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
622 * posix/testfnm.c: Add a few more tests. Rearrange test output.
624 2000-01-25 Andreas Schwab <schwab@suse.de>
626 * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of
627 FNM_FILE_NAME consistently.
629 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
631 * posix/fnmatch.c: Define STRCOLL appropriately for the loop
633 * posix/fnmatch_loop.c: Undefine STRCOLL.
635 * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
636 kernels with stat64 support.
637 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
638 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
639 Patch by SL Baur <steve@xemacs.org>.
641 * string/strxfrm.c: Don't count in the terminating NUL byte/word.
643 2000-01-24 Paul Eggert <eggert@twinsun.com>
645 * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
646 deciding whether a character falls within a character range.
648 2000-01-24 Paul Eggert <eggert@twinsun.com>
650 * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
653 2000-01-24 Thorsten Kukuk <kukuk@suse.de>
655 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
657 2000-01-23 Paul Eggert <eggert@twinsun.com>
659 * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
661 2000-01-23 Paul Eggert <eggert@twinsun.com>
663 * posix/regex.c (compile_range): When matching a character
664 range, use the current collating sequence, as POSIX requires.
666 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
668 * string/argz-stringify.c: Handle case of missing \0 at the end of
671 2000-01-24 Ulrich Drepper <drepper@cygnus.com>
673 * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
676 * locale/programs/ld-collate.c (collate_output): Also handle
677 IGNOREd characters in the simple way when generating the multibyte
680 * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
682 (ctype_finish): ...here. Check for missing codeset name.
684 * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
685 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
687 2000-01-24 Jakub Jelinek <jakub@redhat.com>
689 * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
690 * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
691 * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
692 * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h.
693 * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
694 * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h.
695 * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
696 * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h.
697 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
698 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
699 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
700 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
701 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
702 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
703 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
705 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
706 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
707 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
708 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
709 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
710 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
711 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
712 * sysdeps/unix/sysv/linux/semget.c: Likewise.
713 * sysdeps/unix/sysv/linux/semop.c: Likewise.
714 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
715 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
716 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
718 2000-01-24 Jakub Jelinek <jakub@redhat.com>
720 * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
721 * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
722 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
723 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
724 * sysdeps/unix/sysv/linux/arm/Versions: Remove
725 setrlimit64@GLIBC_2.1.3.
726 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
727 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
728 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
729 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
730 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
731 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
732 so that setrlimit64@GLIBC_2.1 can report limits above 2G.
733 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
734 setrlimit): Remove syscall stubs, add normal syscalls.
735 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
738 2000-01-22 Andreas Jaeger <aj@suse.de>
740 * localedata/tst-locale.sh: Enable test for de_DE.437.
742 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
744 * string/Versions: Export __strndup.
746 2000-01-23 Philip Blundell <philb@gnu.org>
748 Add basic support for RPC over IPv6:
749 * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
751 (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
753 * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
754 clntudp6_bufcreate): New prototypes.
755 * inet/netinet/in.h (bindresport6): Likewise.
756 * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
757 * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
758 svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
759 bindresvport6 for GLIBC_2.2.
760 * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
761 * sunrpc/rpc_svcout.c: Likewise.
762 * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
763 simple assignment when copying addresses.
764 * sunrpc/svc_udp.c (cache_get): Likewise.
765 * sunrpc/svc_unix.c (rendezvous_request): Likewise.
766 * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
767 sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
769 2000-01-05 Philip Blundell <philb@gnu.org>
771 * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
773 2000-01-23 Andreas Jaeger <aj@suse.de>
775 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
776 parameter to fstat calls.
778 2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
780 * sysdeps/generic/bits/socket.h
781 (__ss_aligntype, struct sockaddr_storage): Make these like Linux
782 version, replacing old type name `__ss_align'.
784 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
786 * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
787 (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
788 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
789 (__lseek, lseek): Make these weak aliases for __libc_lseek.
790 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
791 (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
792 * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
793 (__open, open): Make these weak aliases for __libc_open.
795 * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
797 (anonymous enum for MSG_*): Likewise.
798 (anonymous enum for SO_*): Likewise.
800 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
802 * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
805 2000-01-08 Mark Kettenis <kettenis@gnu.org>
807 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
808 (setitimer_locked): Use it to quantize the timer values. Use
809 quantized timer values to check if the timeout changed.
811 2000-01-22 Andreas Jaeger <aj@suse.de>
813 * sunrpc/rpc/svc.h: Fix description for svc_register.
815 2000-01-23 Mark Kettenis <kettenis@gnu.org>
817 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
819 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
821 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
822 fixes part 2 of bug 1549.
823 * sunrpc/rpc_des.h: Remove unused defines.
825 2000-01-22 Mark Kettenis <kettenis@gnu.org>
827 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
829 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
832 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
833 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
834 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
835 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
836 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
837 and other inline functions for port access.
838 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
841 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
843 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
844 Patch by Bruno Haible <haible@ilog.fr>.
846 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
848 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
849 them all at the end, eliding the final comma.
850 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
852 2000-01-21 Ulrich Drepper <drepper@cygnus.com>
854 * intl/libintl.h: Add format_arg attributes to declarations of new
857 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
858 ngettext, and plural.
859 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
860 (test-srcs): Add tst-gettext.
861 (before-compile): Add $(objpfx)msgs.h.
862 Add rules for plural.c and msgs.h generation and running tst-gettext.\
863 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
865 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
866 dcigettext with appropriate parameters.
867 * intl/dcigettext.c: New file.
868 * intl/dcngettext.c: New file.
869 * intl/dngettext.c: New file.
870 * intl/ngettext.c: New file.
871 * intl/gettextP.h (struct expression): Define.
872 (struct loaded_domain): Add plural and nplurals members.
873 Add prototypes for new internal functions.
874 * intl/libintl.h: Declare new functions. Add optimizations for them.
875 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
876 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
877 header entry and parse and store the expression.
878 * intl/plural.y: New file.
879 * intl/po2test.sed: New file.
880 * intl/tst-gettext.c: New file.
881 * intl/tst-gettext.sh: New file.
882 * manual/message.texi: Document new interfaces.
884 * intl/gettext.c: Call __dcgettext directly.
886 2000-01-20 Ulrich Drepper <drepper@cygnus.com>
888 * manual/getopt.texi (Using the getopt function): Fix description of
889 return value for format string starting with '-' (PR libc/1551).
890 Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
892 * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
893 Patch by jens.moeller@westgeo.com (PR libc/1550).
895 * locale/programs/ld-collate.c (struct element_t): Add wclast
896 and compute it where necessary.
897 (collate_output): Insert indirect references in the right order.
899 * math/Makefile (tests): Add test-misc.
900 * math/test-misc.c: New file.
902 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
904 * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
905 with exponent >31 and < 63 (PR libc/1548).
907 * locale/programs/ld-collate.c (output_weightwc): Return index
908 measured in words, not bytes. Don't write out words for ignored
910 (collate_output): Correct various problems with alignment in the
912 * locale/weight.h: Adjust for last change in ld-collate.c of adding
915 * stdlib/strfmon.c: Don't report an error if final NUL is at the
916 end of the buffer. Set errno correctly if floating-point number
917 would overflow buffer.
919 * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
921 * locale/weight.h (findidx): Little optimization. Correctly return
922 offset in indirect table.
923 * locale/programs/ld-collate.c (struct element_t): Add mblast
924 and compute it where necessary.
925 (insert_weights): Correctly handle missing weights in ellipsis
927 (handle_ellipsis): Correctly enqueue new element.
928 (collate_output): Insert indirect references in the right order.
930 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
932 * wcsmbs/mbrtowc.c: Create temporary state object if no output is
934 * wcsmbs/mbsrtowcs.c: Likewise.
935 * wcsmbs/wcrtomb.c: Likewise.
936 * wcsmbs/wcsrtombs.c: Likewise.
938 * wcsmbs/wcrtomb.c: Compute result correctly for successful call
941 * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
944 * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
945 incomplete but correct.
947 * locale/programs/charmap.c: NUL-terminate names of generated
948 entries for ellipsis.
950 2000-01-18 Andreas Jaeger <aj@suse.de>
952 * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
953 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
954 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
955 _STAT_VER_KERNEL handling up; don't save errno.
956 * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
957 * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
958 * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
959 * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
960 * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
961 * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
962 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
963 * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
964 * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
966 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
968 * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
969 Remove done variable and all uses.
970 * iconv/skeleton.c: Update comment for *written modification.
971 * iconv/gconv_int.h (__gconv): Update comment.
972 Reported by Bruno Haible.
974 2000-01-18 Bruno Haible <haible@ilog.fr>
976 * posix/fnmatch.c (ISWCTYPE): New macro.
977 (__wcschrnul): New function.
978 (BTOWC): New macro. Define it instead of __btowc.
979 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
980 wcsrtombs. Call wctype, not __wctype.
981 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
982 BTOWC instead of __btowc.
984 2000-01-18 Andreas Jaeger <aj@suse.de>
986 * inet/Versions: Add new functions added on 2000-01-17.
988 2000-01-18 Jakub Jelinek <jakub@redhat.com>
990 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
992 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
994 * timezone/antarctica: Update from tzdata2000a.
995 * timezone/asia: Likewise.
996 * timezone/australasia: Likewise.
997 * timezone/backward: Likewise.
998 * timezone/northamerica: Likewise.
999 * timezone/southamerica: Likewise.
1000 * timezone/zone.tab: Likewise.
1002 * nscd/connections.c (dbs): Use
1003 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
1006 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
1007 address. Suggested by Philip Blundell.
1009 * posix/TESTS: Fix expected result for test cases with * with no
1012 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
1013 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
1014 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
1015 open call would require read permission.
1016 Patch by James Antill <james@and.org>.
1018 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
1020 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
1021 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
1022 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1024 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
1025 * posix/regex.c (regex_compile): Return appropriate errors for
1026 unterminated brace expressions. Detect invalid characters
1027 in brace expressions.
1028 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
1029 * sysdeps/posix/sysconf.c: Include regex.h.
1030 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
1032 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1034 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
1035 AI_NUMERICHOST flag is set, return an error.
1036 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1038 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
1040 * inet/rexec.c: Implement rexec_af.
1041 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1043 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
1046 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1048 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
1049 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
1050 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
1051 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
1052 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
1053 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
1054 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
1055 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
1056 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
1057 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
1058 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
1059 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
1061 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1062 Renamed from msgctl.
1063 (__new_msgctl): New function.
1064 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1065 Renamed from semctl.
1066 (__new_semctl): New function.
1067 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1068 Renamed from shmctl.
1069 (__new_shmctl): New function.
1071 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1072 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1073 * sysdeps/unix/sysv/linux/semget.c: Likewise.
1074 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1075 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1076 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1077 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1078 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1080 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1081 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1082 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1084 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1086 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1088 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1089 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1090 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1091 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1095 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1096 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1098 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1099 available on sparc since 2.3.39.
1101 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1103 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1105 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1107 (__real_chown): Return EINVAL if owner or group are out of the range
1109 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1110 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1111 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1112 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1113 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1114 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1115 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1116 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1118 Don't include non-existant header.
1119 (__chown): Return EINVAL if owner or group are out of the range
1121 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1122 setresgid): Inherit standard linux/syscalls.list definitions.
1123 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1124 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1125 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1128 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1130 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1131 from 1989 change in ISO 639.
1133 2000-01-12 Andreas Jaeger <aj@suse.de>
1135 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1136 function; needed for 32bit uid support.
1138 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1141 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1143 * intl/locale.alias: Add entries for galician.
1145 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1146 try to get sequence from charmap with Uxxxxxxxx name.
1147 (charclass_ucs4_ellipsis): Likewise.
1148 (charclass_charcode_ellipsis): Allow byte sequence missing.
1149 (read_writestring): Free allocated memory in case of an error.
1150 (set_class_defaults): Don't search repertoire map for wide character
1151 default values; we know it's UCS4.
1153 * locale/programs/repertoire.c (repertoire_find_value): Just return an
1154 error if no repertoire map was loaded.
1155 (repertoire_find_symbol): Likewise.
1156 (repertoire_find_seq): Likewise.
1158 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
1159 twice, to define singlebyte and multibyte version.
1160 (fnmatch): Differentiate between singlebyte and multibyte locale and
1161 call appropriate internal function.
1162 * posix/fnmatch_loop.c: New file.
1163 * posix/Makefile (distribute): Add fnmatch_loop.c.
1165 * locale/programs/repertoire.c (repertoire_read): Don't print
1166 error message when repertoire map is missing.
1167 (repertoire_complain): Print error message for missing map, but only
1169 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1171 * locale/programs/linereader.c (get_string): Prefer getting names
1172 from charseq entries. Try finding Uxxxxxxxx names in charmap
1173 before trying to map from repertoire.
1175 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1177 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1178 error in last change.
1179 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1181 * stdlib/longlong.h: Fix typo in last patch.
1183 2000-01-12 Andreas Jaeger <aj@suse.de>
1185 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1186 Added for Linux 2.3.39+.
1188 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1190 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1191 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1192 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1193 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1194 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1195 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1196 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1197 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1198 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1199 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1200 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1201 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1202 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1203 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1204 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1206 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1207 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1208 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1209 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1210 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1211 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1212 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1213 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1214 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1215 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1216 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1217 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1218 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1219 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1220 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1221 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1222 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1223 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1224 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1225 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1226 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1227 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1228 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1229 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1230 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1231 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1232 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1233 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1235 2000-01-14 Jakub Jelinek <jakub@redhat.com>
1237 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1239 2000-01-13 Jakub Jelinek <jakub@redhat.com>
1241 * sysdeps/generic/backtrace.c: Include signal.h which
1242 sigcontextinfo.h headers are used to expect.
1243 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1244 (register_dump): Fix a typo in the printout.
1245 Avoid using reg_window, so that asm/ptrace.h is not necessary.
1246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1247 (ADVANCE_STACK_FRAME): Likewise.
1249 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1250 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1251 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1254 to make it clear this file depends on __WORDSIZE.
1255 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1256 Renamed from have_no_truncate64.
1257 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1260 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1262 * Makeconfig (rpath-dirs): Remove db2.
1263 (dbojdir): Remove variable.
1265 * locale/programs/locfile.h (handle_copy): Take repertoire map
1266 name as parameter, not pointer to repertoire structure.
1267 * locale/programs/ld-address.c: Change caller.
1268 * locale/programs/ld-ctype.c: Likewise.
1269 * locale/programs/ld-identification.c: Likewise.
1270 * locale/programs/ld-measurement.c: Likewise.
1271 * locale/programs/ld-messages.c: Likewise.
1272 * locale/programs/ld-monetary.c: Likewise.
1273 * locale/programs/ld-name.c: Likewise.
1274 * locale/programs/ld-numeric.c: Likewise.
1275 * locale/programs/ld-paper.c: Likewise.
1276 * locale/programs/ld-telephone.c: Likewise.
1277 * locale/programs/ld-time.c: Likewise.
1279 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
1281 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1282 mmap2 is available when compiling but no at runtime.
1284 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
1286 * iconvdata/iso-ir-165.c: New file.
1287 * iconvdata/iso-ir-165.h: New file.
1288 * iconvdata/Makefile: Add rules to build libISOIR165.
1290 * Makefile (install): Correct passing -r parameter to ldconfig.
1292 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1293 Reported by Bruno Haible <haible@ilog.fr>.
1295 2000-01-11 Andreas Schwab <schwab@suse.de>
1297 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1299 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
1301 * nss/getent.c: Add ipv6 support for hosts.
1303 2000-01-05 Philip Blundell <pb@futuretv.com>
1305 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1306 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1307 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1309 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1310 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1311 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1312 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1313 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1314 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1316 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1317 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1318 [subdir=misc] (sysdep_headers): Add sys/elf.h.
1320 2000-01-09 Andreas Jaeger <aj@suse.de>
1322 * manual/install.texi (Tools for Compilation): Update required
1324 (Configuring and compiling): Restore old comments about
1325 configparms; modify to reflect current usage.
1327 2000-01-09 Philip Blundell <philb@gnu.org>
1329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1330 resolution if the hints included AI_NUMERICHOST.
1332 2000-01-11 Andreas Schwab <schwab@suse.de>
1334 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1335 infinite loop to avoid pulling in stdio in the dynamic linker.
1336 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1338 2000-01-10 Andreas Jaeger <aj@suse.de>
1340 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1341 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1343 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1345 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1346 gregset_t, fpregset_t, and NGREG definitions.
1348 * sysdeps/mips/Implies: Add wordsize-32.
1350 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1353 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1356 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1357 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1358 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1359 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1360 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1361 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1362 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1364 2000-01-09 Philip Blundell <philb@gnu.org>
1366 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1367 (dl_platform_init): Allow _dl_platform to be NULL.
1369 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1372 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
1374 * nscd/connections.c (handle_request): Handle systems without
1376 (nscd_run): Likewise.
1378 2000-01-07 Andreas Jaeger <aj@suse.de>
1380 Add support for Berkeley db 3.0.x and merge db support:
1381 * nss/nss_db/dummy-db.h (struct db30): New.
1382 (struct dbc30): New.
1385 * nss/makedb.c: Move all database routines to db-open.c.
1386 (main): Adjust to interface changes.
1387 Load database early to initialize version dependend variables.
1389 * nss/db-open.c: Merge database routines from makedb.c.
1390 Define version dependend constansts as variables.
1391 (load_db): Check also for db 3.
1392 (internal_setent): Call dbopen.
1393 (db_cursor): New function from makedb; handles db 3 now.
1394 (dbopen): New function from makedb; handles db 3.
1396 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1397 different in different DB versions.
1399 * nss/nss_db/nss_db.h: Add version dependend constants as
1400 variables, add exportet interfaces from db-open.c.
1402 * nss/Makefile ($(objpfx)makedb): Link against db-open.
1404 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
1406 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1407 Reported by Jim Meyering.
1409 * time/strftime.c: Pretty printing.
1411 2000-01-07 Andreas Jaeger <aj@suse.de>
1413 * manual/socket.texi (Host Names): Fix example.
1414 Reported by Marco Budde <budde@telos.de>.
1416 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
1418 * localedata/Makefile (install-locales): Create locale directory
1419 if it does not exist.
1421 * locale/programs/charmap.c (charmap_read): Call lr_open here and
1422 not in parse_charmap. Try also the directories on the I18NPATH.
1423 (parse_charmap): Change accordingly.
1425 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1427 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1428 and oldsetrlimit64.c.
1430 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1433 * manual/texinfo.tex: Updated from latest official version.
1435 * debug/Makefile (distribute): Add frame.h.
1437 2000-01-05 Philip Blundell <philb@gnu.org>
1439 * sysdeps/arm/frame.h: New file.
1440 * sysdeps/generic/frame.h: Likewise.
1441 * sysdeps/generic/segfault.c (struct layout): Delete definition;
1442 include the above file instead.
1443 * sysdeps/generic/backtrace.c (struct layout): Likewise.
1444 (__backtrace): Use ADVANCE_STACK_FRAME.
1445 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1446 (ADVANCE_STACK_FRAME): New macro.
1447 (GET_FRAME): Apply above to returned value.
1449 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1451 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1453 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1454 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1456 * io/ftw.c (process_entry): Cache object dev/inode only for
1457 directories (PR libc/1514).
1459 2000-01-05 Andreas Schwab <schwab@suse.de>
1461 * locale/programs/charmap.c (charmap_read): Fix typo.
1463 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1465 * locale/programs/charset.c: Removed.
1467 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1468 * iconvdata/gconv-modules: Likewise.
1469 * iconvdata/iso8859-16.c: New file.
1471 2000-01-05 Andreas Schwab <schwab@suse.de>
1473 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1475 2000-01-05 Andreas Jaeger <aj@suse.de>
1477 * intl/locale.alias: Add lithunian entry.
1478 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1480 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1482 * locale/programs/stringtrans.c: Removed.
1483 * locale/programs/stringtrans.h: Removed.
1484 * locale/programs/linereader.c: Remove #include of stringtrans.h.
1486 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1487 _POSIX_MAPPED_FILES is not defined.
1489 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1492 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1493 _nl_POSIX_name instead of "C" and "POSIX" strings.
1495 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1496 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1497 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
1498 reuse the _nl_C_LC_CTYPE_tolower table.
1499 (_nl_C_LC_CTYPE_toupper32): Likewise.
1500 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1503 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1505 (_nl_C_LC_CTYPE_class32): Likewise.
1507 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1509 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1510 after the operation is done. Let them linger for a user-definable
1512 * rt/aio_cancel.c: Likewise.
1513 Patch by Willian M Shubert <william.m.shubert@intel.com>.
1515 * sysdeps/i386/i686/add_n.S: New file.
1517 2000-01-02 Philip Blundell <philb@gnu.org>
1519 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1520 to obtain port mapping information. Avoid use of mprotect.
1522 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1525 definition from 2.3.36.
1527 2000-01-04 Andreas Jaeger <aj@suse.de>
1529 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1530 (struct db27): Add missing fields byteswapped, join and flags;
1531 remove wrong member handleq.
1532 (struct dbc27): Correct lock field.
1534 * nss/makedb.c: Remove __P.
1536 2000-01-04 Andreas Jaeger <aj@suse.de>
1538 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1539 success, fix a memory leak and clean up function.
1541 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1543 * Makefile (install): Pass $(install_root) to ldconfig.
1544 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1546 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1548 * soft-fp/op-1.h: Fix division for machines using not normalizing
1549 version of udiv_qrnnd in longlong.h.
1550 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1551 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1552 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1553 Patch by Eddie C. Dost <ecd@skynet.be>.
1555 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1557 2000-01-03 Andreas Schwab <schwab@suse.de>
1559 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1560 needed for change in common symbol handing in newer binutils.
1562 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1564 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1565 kernel without mmap2 syscall.
1567 2000-01-03 Philip Blundell <philb@gnu.org>
1569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1570 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1571 ARM for kernels >= 2.3.35.
1573 2000-01-03 Philip Blundell <philb@gnu.org>
1575 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1576 Optimise error handling a little.
1577 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1579 2000-01-03 Andreas Jaeger <aj@suse.de>
1581 * include/resolv.h: Remove declarations for __ns_name_ntop and
1582 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1584 2000-01-03 Andreas Jaeger <aj@suse.de>
1586 * time/tst-strptime.c (test_tm): Add tests for all fields of
1589 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1591 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1593 2000-01-03 Andreas Jaeger <aj@suse.de>
1595 * string/tester.c (test_strsep): Add one more test.
1597 2000-01-03 Philip Blundell <philb@gnu.org>
1599 * string/tester.c (test_mempcpy): New function.
1601 (test_memcpy): Test unaligned cases too.
1603 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1605 * sysdeps/arm/fpu/bits/mathdef.h: New file.
1607 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
1609 * posix/Makefile (tests): Add tst-mmap.
1610 * posix/tst-mmap.c: New file.
1612 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1613 call before handling error.
1615 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1616 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1618 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1620 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1621 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1623 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1624 * iconvdata/testdata/ISO-2022-KR: Likewise.
1626 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1628 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
1630 * iconvdata/Makefile (distribute): Remove baltic.c.
1631 (modules): Remove BALTIC.
1632 (gen-8bit-gap-modules): Remove baltic.
1633 * iconvdata/baltic.c: Removed.
1635 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1637 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1639 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1640 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1641 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1643 * nss/Makefile: Add rules to build makedb.
1644 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1645 * nss/nss_db/dummy-db.h: Likewise.
1646 * nss/makedb.c: New file. Copied from file in db2, modified to not
1647 depend on being linked against libdb.
1649 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
1651 * Makeconfig (all-subdirs): Remove db and db2.
1655 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1656 functions from here...
1657 * nss/db-alias.c: ...and here...
1658 * nss/db-netgrp.c: ...and here...
1659 * nss/nss_db/db-open.c: ...to here. New file.
1660 * nss/nss_db/dummy-db.h: New file.
1661 * nss/nss_db/nss_db.h: New file.
1662 * nss/Depend: Depend in dlfcn, not db2.
1663 * nss/Makefile (libnss_db-routines): Add db-open.
1664 (distribute): Add nss_db.h dummy-db.h.
1665 (libnss_db.so): Replace libdb dependency by $(libdl).
1666 Based on a patch by Zack Weinberg.
1668 * locale/programs/ld-ctype.c: Implement rest of transliteration
1670 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1671 * locale/programs/locfile-token.h: Add tok_translit_ignore.
1673 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1675 * locale/programs/ld-collate.c (collate_output): Emit correct
1676 information for collation elements.
1677 Don't write over end of array idx.
1678 * posix/regex.c: Handle also collation elements at end of range.
1680 * posix/PTESTS: Fix a few typos.
1682 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
1683 no idea where this came from.
1684 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1686 1999-12-31 Andreas Jaeger <aj@suse.de>
1688 * libio/strfile.h: Remove K&R compatibility.
1689 * locale/langinfo.h: Likewise.
1690 * locale/localeconv.c (localeconv): Likewise.
1691 * locale/programs/simple-hash.h: Likewise.
1692 * nis/nis_xdr.h: Likewise.
1693 * nis/rpcsvc/nislib.h: Likewise.
1694 * nis/rpcsvc/nis_callback.h: Likewise.
1695 * nis/rpcsvc/nis.h: Likewise.
1696 * nis/ypclnt.c: Likewise.
1697 * nscd/nscd_proto.h: Likewise.
1698 * nscd/nscd.c: Likewise.
1699 * sysdeps/generic/inttypes.h: Likewise.
1700 * sysdeps/gnu/utmpx.h: Likewise.
1702 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1703 * sunrpc/rpcsvc/rusers.x: Likewise.
1705 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1707 * elf/dl-misc.c: Remove __libc_write prototype since it's already
1708 in include/unistd.h.
1709 * elf/dl-profile.c: Likewise.
1710 * elf/dl-load.c: Likewise for __libc_read.
1712 * elf/dl-profile.c: Remove __P.
1713 * elf/sprof.c: Likewise.
1714 * elf/sln.c: Likewise.
1716 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1718 * locale/langinfo.h: Add constants for wide character collation
1720 * locale/categories.def: Add appropriate entries for collate symbol
1722 * locale/C-collate.c: Add initializers for new entries.
1723 Remove commented out code.
1724 * locale/elem-hash.h: New file.
1725 * locale/Makefile (distribute): Add elem-hash.h.
1726 * locale/programs/ld-collate.c: Implement output of collate symbol
1729 * posix/regex.c: Implement collation class handling.
1731 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1733 * posix/regex.c (regex_compile): Implement equivalence class handling.
1735 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
1737 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1738 (OPCODE_LWZU): New macro.
1739 (OPCODE_ADDIS_HI): New macro.
1740 (OPCODE_LIS_HI): New macro.
1741 (__elf_machine_runtime_setup): Change PLT code-generation scheme
1742 for thread safety even with very large PLTs, better efficiency,
1743 and to fix a cache-flushing bug. Also support the Motorola
1744 8xx processors which have a different cache line size than all
1746 (__elf_machine_fixup_plt): Likewise.
1747 (__process_machine_rela): Don't use elf_machine_fixup_plt.
1749 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1751 * wcsmbs/wcscoll.c: Use multibyte character version.
1752 * wcsmbs/wcsxfrm.c: Likewise.
1753 * string/strcoll.c: Prepare to be used for the wide character version.
1754 * string/strxfrm.c: Likewise.
1755 * locale/weightwc.h: New file.
1757 1999-12-30 Geoff Keating <geoffk@cygnus.com>
1759 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1760 the (void) casts as now feraiseexcept returns a value.
1761 (feclearexcept): Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1764 it interferes with the macros for AIX.
1766 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1768 * locale/programs/ld-collate.c (collate_finish): Always define
1769 weight for UNDEFINED if not defined by the user but don't complain
1770 unless it is needed in the multibyte character table.
1771 (collate_output): Add extra dummy elements in wide char tables in the
1772 same way done for multibyte. Always output undefined entry in
1773 wide character table.
1775 * locale/Makefile (categories): Remove commented-out old definition.
1777 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1778 to new_element if the wide char is not valid.
1779 (handle_ellipsis): Likewise.
1780 (collate_read): It's no problem if the string in the collating element
1781 definition cannot be represented as multibyte or wide char string.
1783 1999-12-13 Andreas Jaeger <aj@suse.de>
1785 * resolv/resolv.h: Remove K&R compatibility.
1787 * resolv/res_libc.c: Move definition of _res after res_init,
1788 res_init should use the threaded specific context.
1790 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1793 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
1795 * locale/langinfo.h: Add constants for wide character collation data.
1796 * locale/categories.def: Add appropriate entries for collate entries.
1797 * locale/C-collate.c: Add initializers for new entries.
1798 * locale/programs/ld-collate.c: Implement output of wide character
1801 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1802 compute wide character table size a bit: it now gives up a bit of
1803 total table size for fewer levels.
1805 * soft-fp/*: Tons of new files to implement floating-point arithmetic
1807 Contributed by Richard Henderson, Jakub Jelinek and others.
1809 1999-12-29 Andreas Jaeger <aj@suse.de>
1811 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1812 <asm/io.h>; remove K&R compatibility; add missing ints.
1814 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1817 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1819 1999-12-29 Andreas Jaeger <aj@suse.de>
1821 * manual/getopt.texi (Using Getopt): Document ordering of options.
1823 1999-12-29 Andreas Jaeger <aj@suse.de>
1825 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1826 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1828 1999-12-14 Andreas Jaeger <aj@suse.de>
1830 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1833 1999-12-28 Jakub Jelinek <jakub@redhat.com>
1835 * elf/sprof.c (load_shobj): Fix error message.
1836 (generate_call_graph): Cast %*s length argument to int.
1837 * locale/programs/localedef.c (construct_output_path): Likewise.
1838 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1840 (ctype_class_new): Likewise.
1841 * locale/programs/ld-time.c (time_finish): Likewise.
1842 * sunrpc/svc_simple.c (register_rpc): Likewise.
1843 * nscd/connections.c (nscd_run, start_threads): Use long instead of
1844 int to avoid cast warnings.
1845 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1847 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1850 * time/strftime.c (my_strftime): Provide wide era string when
1853 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1854 Separate into 32bit and 64bit versions.
1856 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
1858 * iconvdata/Makefile (modules): Add ISO-2022-CN.
1859 Add link rules for this module.
1860 (distribute): Add iso-2022-cn.c and cns11643l2.h.
1861 * iconvdata/cns11643l2.h: New file.
1862 * iconvdata/iso-2022-cn.c: New file.
1863 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1865 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1867 (ucs4_to_cns11643l1): Likewise.
1868 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1870 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1872 Optimize recognition of escape sequences a bit.
1874 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1875 and oldsetrlimit definitions.
1877 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1879 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1880 identifying errors more easily.
1882 * iconvdata/testdata/EUC-CN..UTF8: New file.
1883 * iconvdata/testdata/GBK..UTF8: New file.
1885 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1886 mappings. Fix last patch.
1887 * iconvdata/TESTS: Add GBK.
1888 * iconvdata/testdata/GBK: New file.
1890 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1891 0x2312, and 0x2500..0x254b.
1892 * iconvdata/TESTS: Add EUC-CN.
1893 * iconvdata/testdata/EUC-CN: New file.
1895 * iconvdata/gbgbk.c: New file.
1896 * iconvdata/Makefile (modules): Add GBGBK.
1897 (distribute): Add gbgbk.c.
1898 * iconvdata/gconv-modules: Add entries for GBGBK modules.
1900 * iconvdata/euc-cn.c: Fix comment.
1902 * iconvdata/gbk.c: Optimize the switch statement in the conversion
1905 * locale/programs/charmap.c (charmap_new_char): Recognize special
1906 character names Uxxxx and Pxxxx and initialize the UCS4 value from
1909 1999-12-17 Andreas Jaeger <aj@suse.de>
1911 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1913 1999-12-16 Mark Mitchell <mark@codesourcery.com>
1915 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1916 * stdlib/exit.h (flavor): Add ef_cxa.
1917 (exit_function): Add cxa variant.
1918 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1919 * stdlib/cxa_atexit.c: New file.
1920 * stdlib/cxa_finalize.c: New file.
1922 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1924 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1927 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1929 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1931 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1932 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1934 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1935 of <asm/resource.h>.
1937 1999-12-26 Philip Blundell <philb@gnu.org>
1939 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
1940 argument count for `syscall' to 7.
1941 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1942 with more than five arguments.
1943 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1945 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1947 * locale/programs/ld-collate.c (collate_output): Don't start with empty
1948 extrapool and indirectpool obstacks since we need the offsets to be
1950 (collate_read): Call load_locale, not find_locale.
1951 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1952 wasn't defined in the file also initialize repertoire if possible.
1953 * locale/programs/ld-time.c (time_finish): Fix message string.
1954 * locale/programs/linereader.c: Cast parameters of lr_error to
1955 correct type to prevnet warning.
1956 * locale/programs/localedef.c (load_locale): New file.
1957 * locale/programs/localedef.h: Add its prototype.
1958 * locale/programs/repertoire.c (repertoire_new_char): Add missing
1959 parameters to lr_error call.
1961 * localedata/Makefile: Enable running tests again.
1962 * localedata/tests/test2.def: Adjust syntax to new specification.
1963 * localedata/tests/test3.def: Likewise.
1964 * localedata/tst-trans.sh: Redirect output of program into file.
1966 * string/strcoll.c: Fix many error in new implementation to make it
1967 pass (at least) the test suite.
1969 * locale/Makefile: Don't link localedef statically anymore.
1971 * locale/ld-collate.c (struct element_t): Add field is_character and
1972 use it to distinguish real character from collating elements and
1974 (new_element): Take new parameter to initialize is_character. Change
1976 (handle_ellipsis): Use is_character field to make sure ellipsis is
1977 only used with characters.
1978 (collate_read): Fix reading of collating elements.
1980 * string/strxfrm.c: Correct loop end detection and memory access
1981 in the little optimization at the end.
1983 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1984 emit warnings. Provide default value for mon_decimal_point.
1986 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1987 category wasn't defined.
1988 (collate_output): Likewise.
1990 * locale/programs/ld-address.c: Don't emit message about not defined
1991 category if be_quiet.
1992 * locale/programs/ld-ctype.c: Likewise.
1993 * locale/programs/ld-identification.c: Likewise.
1994 * locale/programs/ld-measurement.c: Likewise.
1995 * locale/programs/ld-messages.c: Likewise.
1996 * locale/programs/ld-monetary.c: Likewise.
1997 * locale/programs/ld-name.c: Likewise.
1998 * locale/programs/ld-numeric.c: Likewise.
1999 * locale/programs/ld-paper.c: Likewise.
2000 * locale/programs/ld-telephone.c: Likewise.
2001 * locale/programs/ld-time.c: Likewise.
2003 * locale/programs/locfile.c (write_locale_data): Correct memory
2004 allocation for fname.
2006 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
2008 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
2009 (collate_finish): Test that position is used in all sections for
2012 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
2013 of the index returned by findidx.
2015 * string/strcoll.c: Complete rewrite for new collate implementation.
2016 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
2019 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
2021 * locale/langinfo.h: Likewise.
2022 * locale/categories.def: Likewise. Remove reference to postload
2024 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
2025 __collate_tablemb, __collate_weightmb, and __collate_extramb.
2026 * locale/localeinfo.h: Remove declaration for removed variables above.
2027 Remove prototype for _nl_get_era_entry.
2028 * locale/weight.h: Complete rewrite for new collate implementation.
2029 * locale/programs/ld-collate.c: Many changes to make output file
2030 usable in strxfrm/strcoll.
2031 * string/strxfrm.c: Complete rewrite for new collate implementation.
2032 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
2035 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2037 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
2038 transformation values for chars >255.
2039 * wctype/wctrans.c: Return pointer unmodified.
2041 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
2043 * sysdeps/posix/system.c (__libc_system): Check whether command
2044 processor is available if LINE is NULL. Don't return immediately
2045 if wait call returned with EINTR.
2046 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
2048 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
2050 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
2053 * locale/programs/ld-collate.c: Implement writing out multibyte
2056 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
2057 * locale/localeinfo.h: Declare variables only for currently implemented
2058 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
2059 * locale/lc-collate.c: Define variables only for currently implemented
2061 * locale/langinfo.h: Define symbols only for currently implemented
2063 * locale/categories.def: Define elements for currently implemented
2065 * locale/C-collate.c: Comment out definitions of arrays with symbol
2066 name definitions etc.
2067 (_nl_C_LC_COLLATE): Update for currently defined information.
2069 * intl/libintl.h: Remove dcgettext macro definition.
2070 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2072 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
2074 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2075 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
2077 1999-12-22 Jakub Jelinek <jakub@redhat.com>
2079 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2080 for __fenv_stfsr argument.
2081 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2082 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2084 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2085 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2086 (XSTAT_IS_XSTAT64): Define.
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2088 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2089 and __libc_pwrite64.
2090 Remove oldgetrlimit and oldsetrlimit.
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2092 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2095 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2096 pointer to the syscall, not address of that pointer.
2097 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2098 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2099 (__syscall_stat64): Provide proper prototype.
2101 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2102 has_no_truncate64 between truncate64 and ftruncate64.
2103 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2105 * sysdeps/unix/sysv/linux/kernel-features.h
2106 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2107 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2109 1999-12-22 Andreas Jaeger <aj@suse.de>
2111 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2112 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2114 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2116 * locale/lc-time.c: Extend structure era_entry.
2117 * locale/localeinfo.h: Likewise.
2118 * locale/lc-time.c: Handle '-' direction used in locale's era part
2120 * time/strptime.c: Likewise.
2121 * time/strftime.c: Likewise.
2122 * locale/programs/ld-time.c: Consider negative values in era part
2124 * time/strptime.c (strptime_internal): Merged Yoshiyama's
2125 %E[CyY] implementation.
2127 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
2129 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2130 of recursive() call.
2131 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2134 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2136 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2137 Patch by Scott Bambrough <scottb@netwinder.org>.
2139 1999-12-21 Andreas Schwab <schwab@suse.de>
2141 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2143 * include/unistd.h: Declare __libc_lseek.
2145 1999-12-21 Andreas Jaeger <aj@suse.de>
2147 * stdlib/longlong.h: Remove __P.
2149 1999-12-21 Andreas Jaeger <aj@suse.de>
2151 * sysdeps/powerpc/fpu/libm-ulps: New file.
2153 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2155 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2156 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2158 1999-12-21 Andreas Jaeger <aj@suse.de>
2160 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2161 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2162 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2163 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2164 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2165 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2166 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2167 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2168 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2169 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2170 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2171 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2173 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2175 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2176 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2177 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2178 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2179 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2180 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2181 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2182 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2183 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2184 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2185 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2186 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2187 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2188 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2189 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2190 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2191 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2194 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2196 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2197 before testing for __ASSUME_STAT64_SYSCALL.
2198 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2199 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2201 1999-12-20 Andreas Schwab <schwab@suse.de>
2203 * manual/install.texi (Running make install): Clearify that
2204 install_root should be an absolute file name.
2206 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2208 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2210 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2211 buffer is given to place conversion descriptor in initial state.
2212 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2214 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2215 (according to IANA registry).
2216 Reported by Bruno Haible <haible@ilog.fr>.
2218 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2220 * locale/categories.def: Remove most of the collate definitions.
2221 * locale/langinfo.h: Comment out corresponding definitions.
2222 * locale/programs/locale-spec.c (locale_special): Don't recognize the
2224 * locale/programs/ld-collate.c: Correct and optimize computation of
2225 weights. Set up list of all definitions correctly. Start writing
2226 function to generate output file.
2228 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2229 loop to compute default mapping.
2231 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2233 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2234 cancelation wrapper.
2235 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2236 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2239 1999-12-19 Andreas Jaeger <aj@suse.de>
2241 * sysdeps/generic/libc-start.c: Remove declaration of
2242 __libc_open. Move declaration of __libc_fcntl to ...
2243 * include/fcntl.h: ...here.
2245 * include/unistd.h: Move __libc_open and __libc_open64 to ...
2246 * include/fcntl.h: ...here.
2248 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2251 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2254 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2256 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2259 1999-12-19 Andreas Jaeger <aj@suse.de>
2261 * include/string.h: Mark __strndup with __attribute_malloc__.
2263 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2265 * locale/langinfo.h: Always define CODESET.
2266 (CODESET): Define also as macro.
2268 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2269 generate mantissa output in using malloc if it is larger than
2271 Reported by Jim Meyering <meyering@ascend.com>.
2273 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2275 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2276 available gcc version.
2277 * string/string.h: Mark strdup, __strdup, and strndup with
2278 __attribute_malloc__.
2279 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2280 __attribute_malloc__.
2281 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2282 and __default_morecore with __attribute_malloc__.
2283 Provide default definition for __attribute_malloc__.
2284 * libio/stdio.h: Make tempnam with __attribute_malloc__.
2286 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2287 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2288 * io/Versions: Export __libc_open64 and __libc_lseek64.
2289 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2290 and __libc_pwrite64.
2291 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2293 * sysdeps/generic/pread.c: Likewise.
2294 * sysdeps/generic/pread64.c: Likewise.
2295 * sysdeps/generic/pwrite.c: Likewise.
2296 * sysdeps/generic/pwrite64.c: Likewise.
2297 * sysdeps/posix/open64.c: Likewise.
2298 * sysdeps/posix/pread.c: Likewise.
2299 * sysdeps/posix/pread64.c: Likewise.
2300 * sysdeps/posix/pwrite.c: Likewise.
2301 * sysdeps/posix/pwrite64.c: Likewise.
2302 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2303 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2304 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2305 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2306 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2307 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2308 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2309 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2310 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2312 * sysdeps/posix/open64.c: Help gcc generating better code.
2314 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2317 1999-12-11 H.J. Lu <hjl@gnu.org>
2319 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2322 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2324 * iconvdata/isiri-3342.c: New file.
2325 * iconvdata/Makefile (modules): Add ISIRI-3342.
2326 (distribute): Add isiri-3342.c.
2327 (gen-8bit-gap-modules): Add isiri-3342.
2328 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2330 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2332 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2333 result if necessary.
2335 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2336 unreliable kernel headers.
2337 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2338 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2339 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2340 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2342 1999-12-18 Andreas Jaeger <aj@suse.de>
2344 * config.make.in (datadir): Added.
2345 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2347 1999-12-18 Andreas Jaeger <aj@suse.de>
2349 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2351 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2353 1999-12-18 Andreas Jaeger <aj@suse.de>
2355 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2356 syscall if available.
2357 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2358 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2360 * sysdeps/unix/sysv/linux/kernel-features.h
2361 (__ASSUME_STAT64_SYSCALL): New.
2363 1999-12-17 Scott Bambrough <scottb@netwinder.org>
2365 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2367 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2368 after .text segment fixups.
2370 1999-12-16 Andreas Jaeger <aj@suse.de>
2372 * rt/aio.h: Remove erroneous __restrict declarations.
2374 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2376 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2377 do the job if it is there neither.
2378 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2380 1999-12-16 Andreas Jaeger <aj@suse.de>
2382 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2383 duplicate definition with function __nan.
2384 Closes PR libc/1487 reported by <diana@kai.com>.
2386 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
2388 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2390 * locale/programs/ld-collate.c: Implement handling of absolute
2391 ellipsis. Parsing of file and constructing the internal data
2392 structures should now be complete.
2393 (collate_finish): Start adding support to generate the data
2394 structures which are written out to the file.
2396 * intl/dcgettext.c: Rewrite to handle caching of previous results here
2397 instead of in the dcgettext macro.
2398 * intl/libintl.h (dcgettext): Don't define for systems using this
2399 glibc or systems with tsearch.
2401 * sysdeps/generic/mathdef.h: Protect definitions for math.h
2402 against double inclusion.
2403 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2404 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2405 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2406 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2408 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2411 1999-12-17 Andreas Jaeger <aj@suse.de>
2413 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2416 * rt/Makefile (tests): Added tst-aio64.
2417 Added dependency rules for tst-aio64.
2419 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2422 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
2424 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2425 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2426 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2427 old value (signed long).
2428 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2430 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2431 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2432 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2433 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2434 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2435 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2436 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2437 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2438 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2439 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2440 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2441 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2443 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2444 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2446 1999-12-17 Andreas Jaeger <aj@suse.de>
2448 * elf/ldconfig.c: Add new option -l to manualy link shared
2450 (options): Added option.
2451 (parse_opt): Set option.
2452 (main): Handle option.
2453 (manual_link): New function.
2455 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
2457 * string/bits/string2.h: Fix patch from 1999-12-07.
2459 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
2461 * sysdeps/generic/strsep.c: If delim string has only one character
2462 don't run over end of string.
2464 * locale/programs/ld-collate.c (insert_weights): Also update next
2465 pointer of last cursor element.
2466 (insert_value): Return nonzero value if nothing got inserted.
2467 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2469 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2471 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2474 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2477 Copy sa_flags into kernel sigaction structure.
2479 1999-12-14 Andreas Jaeger <aj@suse.de>
2481 * string/tester.c (test_strsep): More tests for access beyond
2482 the final NUL. The first two tests come from PR libc/1486 by
2483 martinea@iro.umontreal.ca.
2485 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
2487 * nis/ypclnt.c: Correct handling of cached client handles.
2488 (__xdr_ypresp_all): Call callback function for errors, too,
2490 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2491 * nis/nss_compat/compat-initgroups.c: Likewise.
2492 * nis/nss_compat/compat-spwd.c: Likewise.
2493 * nis/nss_nis/nis-alias.c: Likewise.
2494 * nis/nss_nis/nis-ethers.c: Likewise.
2495 * nis/nss_nis/nis-grp.c: Likewise.
2496 * nis/nss_nis/nis-hosts.c: Likewise.
2497 * nis/nss_nis/nis-netgrp.c: Likewise.
2498 * nis/nss_nis/nis-publickey.c: Likewise.
2499 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2500 Map if available, optimize query if name/port and protocol is known.
2502 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
2504 * locale/programs/ld-collate.c (collate_read): Make symbolic
2505 ellipsis work. Remove old and unused code.
2507 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
2509 * locale/programs/ld-collate.c (collate_read): Implement
2510 reorder-section handling.
2512 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
2514 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2516 * locale/programs/ld-collate.c (collate_read): Add handling of
2519 * locale/programs/ld-collate.c: Many changes to implement parsing
2520 of collation definition (still not complete).
2522 1999-12-09 Andreas Jaeger <aj@suse.de>
2524 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2525 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2526 Reported by Christian Starkjohann <cs@obdev.at>.
2528 1999-12-09 Andreas Jaeger <aj@suse.de>
2530 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2532 1999-12-09 Jakub Jelinek <jakub@redhat.com>
2534 * stdlib/longlong.h: Update from latest egcs version.
2536 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2538 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2539 has to preceede __attribute__, otherwise g++ barfs.
2541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2544 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2548 1999-12-05 Wolfram Gloger <wg@malloc.de>
2550 * malloc/malloc.c (arena_get2): If generating a new arena fails,
2551 try to generate a minimal one and hope for mmap_chunk() to succeed
2554 1999-11-07 Wolfram Gloger <wg@malloc.de>
2556 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2557 mutex_t work as an `in-use' flag even without threads.
2558 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2559 for multiple arenas separately from NO_THREADS.
2560 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2561 fall back to an mmap()ed arena when sbrk() has failed.
2563 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
2565 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2566 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2567 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2568 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2569 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2570 oldgetrlimit and oldsetrlimit.
2571 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2573 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2574 oldsetrlimit rules into 32-bit arch subdirs.
2575 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2577 * locale/programs/ld-collate.c (insert_value): If this is the
2578 first symbol the cursor can be the same as the next pointer.
2580 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
2582 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2584 (allocate_arrays): Allocate memory for map32. Correctly install
2585 default values in it and install defined mappings.
2587 * locale/programs/ld-monetary.c (monetary_finish): Provide default
2588 value for mon_grouping.
2590 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2591 headers are not clean enough.
2593 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2595 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2596 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2598 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2599 * sysdeps/unix/sysv/linux/truncate64.c: New file.
2600 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2601 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2603 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2604 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2605 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2606 _nl_C_LC_CTYPE_tolower32 tables.
2607 Don't compile it names of 14652 classes and maps.
2608 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2609 _NL_CTYPE_TOLOWER32.
2610 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2611 and __ctype32_tolower.
2612 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2613 (ctype_output): Write out map32 values.
2614 (allocate_arrays): Compute mapping tables correctly.
2615 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2616 (towupper): Use __ctype32_toupper.
2617 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2619 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2620 determine tolower mapping for 8bit table if the tolower keyword is
2623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2624 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
2626 1999-12-07 Jakub Jelinek <jakub@redhat.com>
2628 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2629 __stpcpy_small): Cast switch expressions to int to shut up compiler
2632 1999-12-07 Scott Bambrough <scottb@netwinder.org>
2634 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2637 1999-12-06 Andreas Schwab <schwab@suse.de>
2639 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2640 ugetrlimit syscall exists.
2642 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2644 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2646 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
2648 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2649 pointers if character is illegal.
2650 Reported by Bruno Haible <haible@ilog.fr>.
2652 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2653 (increment_counter): New function. Broken out of find_derivation.
2654 (find_derivation): No need for a lock. Increment counter only when
2655 the derivation was already available.
2656 * iconv/gconv_dl.c: Add debugging functions.
2657 (known_compare): We have to use strcmp.
2658 Reported by Bruno Haible <haible@ilog.fr>.
2660 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
2662 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2663 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2664 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2665 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
2667 Reported by Bruno Haible <haible@ilog.fr>.
2669 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2671 1999-12-03 Andreas Jaeger <aj@suse.de>
2673 * nss/getXXbyYY.c: Include <resolv.h>
2674 (FUNCTION_NAME): Use res_ninit instead of res_init.
2676 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2677 declaration and prototypes.
2678 Remove extra _res declaration.
2679 (INTERNAL): Use thread aware res_ninit function.
2681 * inet/gethstbyad_r.c: Include <resolv.h>.
2683 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
2684 res_libc.c. Disabled unneeded functions.
2686 * resolv/res_libc.c: New file.
2688 * Versions.def: Add version GLIBC_2.2 for libpthread.
2689 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2691 * include/resolv.h: Add internal interfaces.
2693 * resolv/Makefile (routines): Add new files.
2694 (libresolv-routines): Likewise.
2695 (distribute): Likewise.
2697 * resolv/gethnamaddr.c: Use thread safe resolver functions.
2698 * resolv/nss_dns/dns-host.c: Likewise.
2699 * resolv/nss_dns/dns-network.c: Likewise.
2701 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2702 * resolv/nsap_addr.c: Likewise.
2703 * resolv/res_comp.c: Likewise.
2704 * resolv/res_debug.c: Likewise.
2705 * resolv/res_init.c: Likewise.
2706 * resolv/res_mkquery.c: Likewise.
2707 * resolv/res_query.c: Likewise.
2708 * resolv/res_send.c: Likewise.
2709 * resolv/resolv.h: Likewise.
2711 * resolv/Versions: Add __res_state and __res_ninit with version
2713 Add new interfaces with version GLIBC_2.2 to libresolv.
2715 * resolv/Banner: Update.
2717 * include/arpa/nameser_compat.h: New file.
2719 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2720 * resolv/ns_netint.c: Likewise.
2721 * resolv/ns_parse.c: Likewise.
2722 * resolv/ns_print.c: Likewise.
2723 * resolv/ns_samedomain.c: Likewise.
2724 * resolv/ns_ttl.c: Likewise.
2725 * resolv/arpa/nameser_compat.h: Likewise.
2726 * resolv/res_debug.h: Likewise.
2728 Some patches are based on work done by Adam D. Bradley
2729 <artdodge@cs.bu.edu>.
2731 1999-11-30 Andreas Jaeger <aj@suse.de>
2734 * elf/Makefile (extra-objs): Added ldconfig-modules.
2735 (ldconfig-modules): New.
2736 Added vpath for xstrdup and xmalloc.
2737 Check for use-ldconfig instead of has-ldconfig.
2738 ($(objpfx)ldconfig): New rule with dependencies.
2739 (distribute): Add new files.
2741 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2742 developed together with Jakub Jelinek <jakub@redhat.com>.
2743 * sysdeps/generic/readelflib.c: Likewise.
2745 * elf/cache.c: New file.
2746 * elf/ldconfig.c: New file.
2747 * elf/ldconfig.h: New file.
2748 * elf/readlib.c: New file.
2750 * Makefile (install): Remove flag -d in ldconfig call.
2752 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2755 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2758 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2759 set always use_ldconfig instead.
2761 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
2763 * sysdeps/generic/bits/stropts.h: Update with LiS types and
2764 values. Patch by David Grothe <dave@gcom.com>.
2766 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2768 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2769 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2770 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2772 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
2774 * locale/lc-time.c (_nl_get_era_entry): Separate eras
2775 initialization as _nl_init_era_entry().
2776 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2777 * locale/lc-time.c (_nl_get_era_year_offset): New function.
2778 * locale/lc-time.c (_nl_get_era_year_start): New function.
2779 * locale/localeinfo.h: Declare new functions.
2780 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2783 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
2785 * posix/regex.c (SYNTAX): Make more portable.
2786 Patch by Aharon Robbins <arnold@skeeve.com>.
2788 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
2790 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2791 nonzero, use cthread_fork to create the signal thread.
2792 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2793 _hurd_msgport_thread here (to self).
2794 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2795 is zero, instead compute child signal thread's starting SP from parent
2796 signal thread's current SP and the threadvar_stack variables.
2797 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2798 These are now referenced weakly by _hurdsig_init.
2800 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2801 &_hurd_itimer_thread not &_hurd_msgport_thread.
2803 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
2805 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2806 without HURD_DPORT_USE to clean up warnings.
2807 * hurd/dtable.c (get_dtable_port): Likewise.
2809 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2810 (install_ctty): Do the changing of the cttyid port cell here, inside
2811 the critical section while we holding the dtable lock.
2812 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2813 the port cell and calling rectty_dtable.
2814 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2815 (install_ctty): Use it inside a critical section, with the lock held.
2816 * sysdeps/mach/hurd/setsid.c (__setsid): Use
2817 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2818 after proc_setsid, having held the dtable lock throughout.
2819 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2820 cttyid port for null and bail out early if so. The dtable lock
2821 serializes us after any cttyid change and its associated dtable update.
2823 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
2825 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2826 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
2827 We don't install this file for users.
2828 * sysdeps/mach/hurd/Dist: Add it.
2829 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2830 Append nfs/nfs.h here.
2832 1999-12-01 Andreas Jaeger <aj@suse.de>
2834 * sysdeps/generic/if_index.c (__protocol_available): Add missing
2837 * stdio/stdio.h: Fix typo.
2838 Patches by Marcus G. Daniels <mgd@santafe.edu>.
2840 1999-12-01 Andreas Jaeger <aj@suse.de>
2842 * scripts/test-installation.pl (installation_problem): Filter out
2845 1999-12-01 Andreas Schwab <schwab@suse.de>
2847 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2848 __rlim_t and __rlim64_t.
2849 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2850 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2852 1999-12-01 Andreas Schwab <schwab@suse.de>
2854 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2855 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2856 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2857 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2858 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2859 new kernel version. Add symbol versions.
2860 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2862 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2863 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2864 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2866 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2867 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2868 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2869 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2870 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2871 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2872 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2873 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2876 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2879 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
2881 * sysdeps/generic/usleep.c: Fix typo.
2883 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2885 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2888 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2891 * malloc/set-freeres.c: Really use already_called variable.
2893 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2894 function call directly.
2895 * libio/iosetvbuf.c: Likewise.
2897 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2899 * configure.in: Add AIX 4.3 support.
2901 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
2902 standard was issued in 1992.
2903 Reported by Bruno Haible <haible@ilog.fr>.
2905 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2907 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2910 1999-11-29 Andreas Jaeger <aj@suse.de>
2912 * manual/time.texi (Basic CPU Time): Better describe wrap around.
2913 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2915 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2917 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2918 Patch by Bruno Haible <haible@ilog.fr>.
2920 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2924 1999-11-29 Andreas Schwab <schwab@suse.de>
2926 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2927 __v to __bswap_32_v.
2928 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2929 and __bswap_64_r to avoid clash with __bswap_32 macro.
2931 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
2933 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2936 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
2938 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2939 patch. Use wch instead of idx to compute index.
2940 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2942 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2944 * locale/iso-3166.def: Update from latest official list.
2946 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
2948 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2949 asm/ptrace.h, since this will not be done with 2.3.xx automatically
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2952 1999-11-26 Andreas Jaeger <aj@suse.de>
2954 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2956 1999-11-26 Andreas Jaeger <aj@suse.de>
2958 * inet/rcmd.c: Include stdlib for declaration of free.
2961 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2963 * iconv/gconv.c (__gconv): Always initialize
2964 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2966 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2968 * iconvdata/iso-2022-jp.c: Likewise.
2970 1999-11-25 H.J. Lu <hjl@gnu.org>
2972 * stdlib/exit.c (exit): Run funtions only if
2973 __exit_funcs->idx > 0.
2975 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2977 * manual/charset.texi (iconv Examples): Add iconv call to flush
2978 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
2980 1999-11-25 Andreas Jaeger <aj@suse.de>
2982 * manual/install.texi (Running make install): Better describe
2984 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2986 1999-11-25 Andreas Jaeger <aj@suse.de>
2988 * include/sys/mman.h: Remove K&R compatibility.
2990 1999-11-15 Andreas Jaeger <aj@suse.de>
2992 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2995 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2997 * iconv/iconv_prog.c (process_block): For stateful charsets write
2998 out byte sequence to get to initial state at the end of the file.
3000 1999-11-25 Andreas Schwab <schwab@suse.de>
3002 * Makeconfig: Include sys-dirs and sys-sorted earlier.
3003 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
3004 ($(common-objpfx)sysd-sorted): Emit marker when this file is
3007 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
3009 * manual/setjmp.texi: Many changes to correct bad English introduced
3011 * manual/time.texi: Likewise.
3012 Patches by Neil Booth <neil@rosenet.ne.jp>.
3014 * include/string.h: Remove K&R compatibility.
3016 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3018 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
3020 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
3022 * string/stratcliff.c: Add one more strchr test for something
3023 which was reported to not work (which proofed to be wrong).
3025 * iconv/skeleton.c: It's __is_last, not is_last.
3027 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
3029 (allocate_arrays): Likewise.
3030 (find_idx): Correctly increase array size.
3031 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3033 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
3035 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
3038 1999-11-23 Andreas Jaeger <aj@suse.de>
3040 * include/sys/select.h: Remove K&R compatibility.
3041 * include/sys/statfs.h: Likewise.
3042 * include/gnu/libc-version.h: Likewise.
3043 * include/db_185.h: Likewise.
3044 * include/dlfcn.h: Likewise.
3045 * include/search.h: Likewise.
3046 * include/setjmp.h: Likewise.
3047 * include/signal.h: Likewise.
3048 * include/stdio.h: Likewise.
3049 * include/unistd.h: Likewise.
3051 1999-11-23 Andreas Jaeger <aj@suse.de>
3053 * include/aio.h: Remove __THROW from internal interfaces. __THROW
3054 is only need in external header files that might be compiled by a
3056 * include/alloca.h: Likewise.
3057 * include/db.h: Likewise.
3058 * include/dirent.h: Likewise.
3059 * include/execinfo.h: Likewise.
3060 * include/fpu_control.h: Likewise.
3061 * include/glob.h: Likewise.
3062 * include/grp.h: Likewise.
3063 * include/libintl.h: Likewise.
3064 * include/math.h: Likewise.
3065 * include/math.h: Likewise.
3066 * include/mntent.h: Likewise.
3067 * include/mntent.h: Likewise.
3068 * include/netdb.h: Likewise.
3069 * include/pwd.h: Likewise.
3070 * include/sched.h: Likewise.
3071 * include/shadow.h: Likewise.
3072 * include/stdlib.h: Likewise.
3073 * include/sys/file.h: Likewise.
3074 * include/sys/gmon.h: Likewise.
3075 * include/sys/ioctl.h: Likewise.
3076 * include/sys/socket.h: Likewise.
3077 * include/sys/stat.h: Likewise.
3078 * include/sys/sysinfo.h: Likewise.
3079 * include/sys/time.h: Likewise.
3080 * include/sys/times.h: Likewise.
3081 * include/sys/uio.h: Likewise.
3082 * include/sys/wait.h: Likewise.
3083 * include/termios.h: Likewise.
3084 * include/time.h: Likewise.
3085 * include/ulimit.h: Likewise.
3086 * include/utmp.h: Likewise.
3087 * include/wchar.h: Likewise.
3089 1999-11-22 Andreas Jaeger <aj@suse.de>
3091 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3092 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
3095 1999-11-22 Jakub Jelinek <jakub@redhat.com>
3097 * sysdeps/generic/siglist.h: Avoid declaring the same field
3098 twice if SIGPWR is defined to SIGLOST.
3099 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3100 not signed, so we should not special case it for negative args.
3101 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3102 memmove, use the one provided in memcpy.S.
3103 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3104 copies like memmove, while the previous version worked like memcpy.
3105 Implement optimized assembly memmove.
3106 * sysdeps/sparc/sparc64/memmove.c: New file.
3108 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3110 * po/cs.po: Update from translators.
3112 1999-11-23 Andreas Jaeger <aj@suse.de>
3114 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3115 (elf_machine_got): Removed, not needed anymore.
3116 (ELF_MACHINE_RELOC_NOPLT): Removed.
3117 (ELF_MACHINE_JMP_SLOT): Added.
3118 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3119 (_RTLD_EPILOGUE): Likewise.
3120 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3121 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3122 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3123 Ralf Baechle <baechle@uni-koblenz.de>.
3125 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3127 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
3129 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3130 name from the locale name. Only use the value in the LC_CTYPE
3133 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3134 file be equal to file size.
3136 * stdlib/longlong.h: Add count_trailing_zeros back.
3138 * stdlib/longlong.h: Update from latest egcs version.
3140 1999-11-22 Andreas Jaeger <aj@suse.de>
3142 * locale/programs/ld-collate.c (insert_value): Correct order of
3143 arguments for lr_error call.
3145 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3146 __syscall_setrlimit.
3148 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3150 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3152 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
3154 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3157 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3158 14652-style definition of new maps and classes.
3160 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
3162 * locale/programs/ld-monetary.c (monetary_finish): Don't print
3163 individual error message if nothing is defined.
3165 * locale/programs/ld-time.c (time_startup): Test for lr being
3168 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3169 decimal_point is not defined.
3171 * wctype/wctrans.c (wctrans): Use correct base index to access
3172 extra mapping tables.
3174 * locale/loadlocale.c (_nl_load_locale): Use actual number of
3175 entries from file and not the fixed (minimal number from the
3178 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3181 1999-11-18 Paul Eggert <eggert@twinsun.com>
3183 * time/strftime.c (my_strftime): Some old compilers object to
3184 '\a', so don't bother optimizing for it.
3186 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3188 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3189 the rlimits structure passed in.
3191 1999-11-19 Andreas Jaeger <aj@suse.de>
3193 * include/sys/resource.h (__setrlimit): Add prototype.
3195 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3197 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3198 entries for rtld_search_dirs[0].
3199 Patch by David Mosberger <davidm@hpl.hp.com>.
3201 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3203 * locale/programs/ld-ctype.c: Don't predefine the character
3204 classes and mappings of ISO 14652.
3206 * locale/programs/ld-ctype.c: Punt if character class definitions
3207 to not consists of tok_bsymbol (for now).
3209 * time/strptime.c (day_of_the_week): Make sure result is never
3211 (strptime_internal): Allow %C without %y.
3213 1999-11-18 Andreas Jaeger <aj@suse.de>
3215 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3218 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3219 of defining *_SUPER_MAGIC.
3220 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3222 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3224 * locale/programs/locale.c: Don't handle LC_ALL together with the
3225 other categories when printing the value.
3226 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3228 * locale/locale.h: Correct comment about LC_ALL.
3230 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3232 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3233 nelems. Correctly compute index for additional character classes.
3234 (ctype_read): Handle charclass and charconv definitions. Also
3235 recognize arbitrary strings as mapping names.
3236 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3237 character era strings.
3238 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3239 and format for wide characters.
3240 * time/strftime.c: Correctly determine era information for wide
3242 * wctype/wctrans.c: Fix after removal of second endianess table.
3243 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3244 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3246 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3247 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3249 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3250 gregset_t, fpregset_t, and NGREG definitions.
3252 * locale/programs/ld-ctype.c: Implement character width information
3255 1999-11-09 Andreas Jaeger <aj@suse.de>
3257 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3259 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3260 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3262 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3264 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3266 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3268 1999-11-07 Andreas Jaeger <aj@suse.de>
3270 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3271 defines from Linux scsi_ioctl.h header.
3273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3275 * sysdeps/unix/sysv/linux/Dist: Likewise.
3277 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3280 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3281 sync with Linux 2.3.26.
3283 1999-11-17 Andreas Jaeger <aj@suse.de>
3285 * shlib-versions: Allow mipsel for libm.
3286 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3288 1999-11-16 Andreas Jaeger <aj@suse.de>
3290 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
3292 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
3294 * locale/programs/ld-ctype.c (set_class_defaults): Set default
3295 value for alpha and alnum correctly.
3297 * locale/programs/ld-address.c (address_output): Fix output of
3300 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
3302 * timezone/asia: Update from tzdata1999j.
3303 * timezone/australasia: Likewise.
3304 * timezone/europe: Likewise.
3305 * timezone/northamerica: Likewise.
3306 * timezone/southamerica: Likewise.
3307 * timezone/zone.tab: Likewise.
3309 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3311 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3312 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3313 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3314 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3315 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3317 1999-11-15 Andreas Jaeger <aj@suse.de>
3319 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3320 __syscall_setrlimit.
3321 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3323 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3325 * scripts/versions.awk: Don't expect to read predecessor versions,
3327 * Versions.def: Remove predecessors. They now get computed.
3329 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3331 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3332 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3334 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3335 * sysdeps/powerpc/stackinfo.h: New file.
3336 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3338 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3340 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3343 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3345 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3346 hurd_directory_name_split.
3347 * Versions.def (libc): Add GLIBC_2.1.3.
3349 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
3351 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3352 to return the location of the null byte written into the string.
3353 (describe_number): Likewise.
3354 (describe_number): Remove assert, not always used with #.
3355 If FLAVOR is null, don't use it.
3356 (describe_number): Take signed argument and print a - if negative.
3357 (_S_msg_report_wait): Report system call number for system calls that
3358 aren't mach_msg. Soup up reporting for mach_msg: If destination port
3359 matches SS->intr_port, bracket port description with [...] to indicate
3360 a Hurd interruptible RPC; if destination port is null, examine the
3361 receive port and report that state; if receive port is also null,
3362 check for timeout and report its value.
3363 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3364 zero iff we managed to examine the stack; take new args RCV_NAME,
3365 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3367 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3368 MACH_PORT_DEAD specially.
3370 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3372 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3373 (__directory_name_split): New function.
3374 * hurd/hurd.h: Declare them.
3375 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3376 __file_name_split, so we ignore trailing slashes properly.
3377 * sysdeps/mach/hurd/rename.c: Likewise.
3379 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
3381 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3382 from current kernel headers.
3384 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3385 SO_PASSCRED defined.
3387 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3389 * locale/C-ctype.c: Fix typo in char class name.
3391 * configure.in: Allow user so specify --enable-kernel=current.
3393 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
3395 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3397 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3399 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3400 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3401 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3402 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3404 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3406 * intl/locale.alias: Add Estonian entries.
3407 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3409 1999-11-02 Andreas Jaeger <aj@suse.de>
3411 * Versions.def: Add version GLIBC_2.2 for libm.
3412 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3414 * sysdeps/generic/feenablxcpt.c: Stub file.
3415 * sysdeps/generic/fedisblxcpt.c: Stub file.
3416 * sysdeps/generic/fegetexcept.c: Stub file.
3417 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3418 * sysdeps/i386/fpu/feenablxcpt.c: New file.
3419 * sysdeps/i386/fpu/fegetexcept.c: New file.
3420 * math/Makefile (libm-support): Add new files.
3421 * math/Versions: Add new functions with version GLIBC_2.2.
3422 * manual/arith.texi (Control Functions): Document fegetexcept,
3423 feenableexcept and fedisableexcept.
3425 1999-11-01 Wolfram Gloger <wg@malloc.de>
3427 * malloc/malloc.h: Describe __malloc_initialize_hook.
3428 * manual/memory.texi: Document __malloc_initialize_hook.
3430 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
3432 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3434 1999-11-09 Andreas Jaeger <aj@suse.de>
3436 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3437 implementation for ttyname_r call; fix inverted condition; return
3439 Closes PR libc/1438.
3441 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3443 * math/fenv.h: Include bits/fenvinline.h if optimizing.
3444 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
3445 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
3446 * sysdeps/generic/bits/fenv.h: New file.
3448 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3450 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3453 1999-11-10 Andreas Jaeger <aj@suse.de>
3455 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3457 1999-11-10 Andreas Jaeger <aj@suse.de>
3459 * string/strsignal.c (strsignal): Correct check for snprintf
3461 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3463 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3464 according to changed snprintf return value.
3465 Reported by Lawrence K. Chen <lchen@opentext.com>.
3467 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3468 for ecvt_r and fcvt_r.
3470 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3472 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3473 directory with the reference since this is as secure as using the
3474 object with the dependency.
3475 (_dl_dst_substitute): Likewise.
3477 * elf/dl-load.c (_dl_dst_count): Change strings in first two
3478 strncmp calls to allow reuse.
3479 (_dl_dst_substitute): Likewise.
3481 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
3483 * posix/regex.c (init_syntax_once): move below definition of
3484 ISALNUM etc., then use ISALNUM to init the table, so that
3485 the word ops will work if i18n'ed.
3486 (SYNTAX): And subscript with 0xFF for 8bit character sets.
3488 1999-11-09 Andreas Jaeger <aj@suse.de>
3490 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3491 implementation for ttyname_r call; fix inverted condition; return
3492 ut_user. Closes PR libc/1438.
3494 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3496 * timezone/checktab.awk: Update from tzcode1999h.
3497 * timezone/africa: Update from tzdata1999i.
3498 * timezone/asia: Likewise.
3499 * timezone/australasia: Likewise.
3500 * timezone/backward: Likewise.
3501 * timezone/europe: Likewise.
3502 * timezone/northamerica: Likewise.
3503 * timezone/southamerica: Likewise.
3504 * timezone/iso3166.tab: Likewise.
3505 * timezone/zone.tab: Likewise.
3507 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3508 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
3510 1999-11-09 Andreas Jaeger <aj@suse.de>
3512 * posix/Makefile (tests): Added tst-getlogin.
3514 * posix/tst-getlogin.c: New file, contains simple tests for
3515 getlogin and getlogin_r.
3517 1999-11-09 Andreas Schwab <schwab@suse.de>
3519 * misc/syslog.c: For LOG_PERROR only append a newline if
3522 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
3524 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3527 1999-11-08 Andreas Jaeger <aj@suse.de>
3529 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3530 this fixes a memory leak (closes PR libc/1435).
3532 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3533 reflect memory allocation.
3535 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3536 allocation in _nl_explode_name.
3538 1999-11-06 Andreas Jaeger <aj@suse.de>
3540 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3542 Reported by wes@surety.com, closes PR libc/1432.
3544 1999-11-05 Geoff Keating <geoffk@cygnus.com>
3546 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3547 enumerator lists (-pedantic complains).
3548 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
3549 test for 'one bit set'.
3550 (feclearexcept): Likewise.
3552 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
3554 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3556 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3558 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3561 1999-10-04 Tim Waugh <twaugh@redhat.com>
3563 * posix/wordexp-test.c: More tests.
3565 * posix/wordexp.c (wordexp): Explicit null words should be kept.
3567 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
3569 * locale/programs/linereader.c (get_string): Correct type of buf2
3571 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3572 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3573 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3574 _NL_CTYPE_OUTDIGIT*_WC.
3575 (allocate_arrays): Completely initialize mapping tables.
3576 * locale/programs/ld-time.c (time_startup): We need the wide car
3578 (time_finish): Correct handling of era.
3579 (time_output): Fix a few array indeces.
3580 (time_read): Pass the repertoire map to lr_token.
3582 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
3584 * Versions.def: Add version for libthread_db.
3586 1999-11-02 Andreas Jaeger <aj@suse.de>
3588 * manual/header.texi (Library Summary): The command @indexfonts
3589 doesn't exist anymore, use @smallfonts instead.
3591 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
3593 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3594 instead of duplicating definitions.
3596 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3598 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3600 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3601 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3602 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3603 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3604 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3606 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3608 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3610 * sysdeps/unix/sysv/linux/kernel-features.h
3611 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3612 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3614 * manual/texinfo.tex: Updated.
3616 1999-11-01 Andreas Jaeger <aj@suse.de>
3618 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3620 * inet/gethstbynm2_r.c: Reorder addresses.
3622 1999-09-11 Paul Eggert <eggert@twinsun.com>
3624 * posix/glob.h (glob): If #defining to glob64, do this before
3625 declaring it, so that all declarations and uses match, and do not
3626 declare glob64, to avoid a declaration clash.
3627 (globfree): Likewise with globfree64.
3629 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3631 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3632 Keep the trailing slash unless DIRNAME is just "x:/".
3634 1999-10-11 Andreas Jaeger <aj@suse.de>
3636 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3637 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3638 Closes PR libc/1384.
3640 1999-10-20 Andreas Schwab <schwab@suse.de>
3642 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3643 (generated): Add it here.
3644 (before-compile): Add libm-test.c.
3645 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3647 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3650 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3652 * Makefile (pdf): New goal.
3653 * manual/Makefile: Add definitions and rules for PDF generation.
3655 * Versions.def (libm): Add GLIBC_2.1.3.
3657 ISO C99 TR1 changes various fe* functions to return an error value.
3658 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3659 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3660 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3661 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3662 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3663 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3664 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3665 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3666 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3667 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3668 * sysdeps/arm/fpu/fegetenv.c: Likewise.
3669 * sysdeps/arm/fpu/fesetenv.c: Likewise.
3670 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3671 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3672 * sysdeps/generic/fclrexcpt.c: Likewise.
3673 * sysdeps/generic/fegetenv.c: Likewise.
3674 * sysdeps/generic/fesetenv.c: Likewise.
3675 * sysdeps/generic/feupdateenv.c: Likewise.
3676 * sysdeps/generic/fgetexcptflg.c: Likewise.
3677 * sysdeps/generic/fraiseexcpt.c: Likewise.
3678 * sysdeps/generic/fsetexcptflg.c: Likewise.
3679 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3680 * sysdeps/i386/fpu/fegetenv.c: Likewise.
3681 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3682 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3683 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3684 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3685 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3686 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3687 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3688 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3689 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3690 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3691 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3692 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3693 * sysdeps/mips/fclrexcpt.c: Likewise.
3694 * sysdeps/mips/fegetenv.c: Likewise.
3695 * sysdeps/mips/fesetenv.c: Likewise.
3696 * sysdeps/mips/feupdateenv.c: Likewise.
3697 * sysdeps/mips/fgetexcptflg.c: Likewise.
3698 * sysdeps/powerpc/fclrexcpt.c: Likewise.
3699 * sysdeps/powerpc/fegetenv.c: Likewise.
3700 * sysdeps/powerpc/fesetenv.c: Likewise.
3701 * sysdeps/powerpc/feupdateenv.c: Likewise.
3702 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3703 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3704 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3705 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3706 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3707 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3708 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3709 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3710 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3711 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3712 * math/fenv.h: Adjust prototypes.: Likewise.
3713 * manual/arith.texi: Adjust documentation for these changes.
3715 * manual/arith.texi: Document feraiseexcept.
3717 * sysdeps/powerpc/fegetenv.c: Moved to...
3718 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3719 * sysdeps/powerpc/fegetround.c: Moved to...
3720 * sysdeps/powerpc/fpu/fegetround.c: ...here.
3721 * sysdeps/powerpc/feholdexcpt.c: Moved to...
3722 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3723 * sysdeps/powerpc/fesetenv.c: Moved to...
3724 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3725 * sysdeps/powerpc/fenv_libc.h: Moved to...
3726 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3727 * sysdeps/powerpc/feupdateenv.c: Moved to...
3728 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3729 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3730 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3731 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3732 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3733 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3734 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3735 * sysdeps/powerpc/ftestexcept.c: Moved to...
3736 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3737 * sysdeps/powerpc/fesetround.c: Moved to...
3738 * sysdeps/powerpc/fpu/fesetround.c: ...here
3739 * sysdeps/powerpc/fenv_const.c: Moved to...
3740 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3742 * sysdeps/mips/fclrexcpt.c: Moved to...
3743 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3744 * sysdeps/mips/fegetenv.c: Moved to...
3745 * sysdeps/mips/fpu/fegetenv.c: ...here.
3746 * sysdeps/mips/fegetround.c: Moved to...
3747 * sysdeps/mips/fpu/fegetround.c: ...here.
3748 * sysdeps/mips/fesetenv.c: Moved to...
3749 * sysdeps/mips/fpu/fesetenv.c: ...here.
3750 * sysdeps/mips/fesetround.c: Moved to...
3751 * sysdeps/mips/fpu/fesetround.c: ...here.
3752 * sysdeps/mips/feupdateenv.c: Moved to...
3753 * sysdeps/mips/fpu/feupdateenv.c: ...here.
3754 * sysdeps/mips/fgetexcptflg.c: Moved to...
3755 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3756 * sysdeps/mips/ftestexcept.c: Moved to...
3757 * sysdeps/mips/fpu/ftestexcept.c: ...here.
3759 1999-10-29 Jakub Jelinek <jakub@redhat.com>
3761 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3762 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3763 libraries from statically linked programs.
3764 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3765 fix for sigaction on SPARC.
3766 Patches by David S. Miller <davem@redhat.com>.
3768 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3769 gregset_t and other required structures and defines for SPARC 64bit
3770 ABI as well, not only 32bit ABI.
3772 1999-10-31 Andreas Jaeger <aj@suse.de>
3774 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3775 by __USE_ISOC99 and update comments.
3777 * math/complex.h: Update comments for ISO C99.
3778 * math/fenv.h: Likewise.
3779 * math/test-fenv.c: Likewise.
3780 * math/tgmath.h: Likewise.
3781 * libio/stdio.h: Likewise.
3782 * posix/sys/types.h: Likewise.
3783 * sysdeps/generic/inttypes.h: Likewise.
3784 * sysdeps/generic/stdint.h: Likewise.
3786 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3788 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3790 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3791 recognize _ISOC99_SOURCE.
3792 * libio/stdio.h: Likewise.
3793 * math/math.h: Likewise.
3794 * math/bits/mathcalls.h: Likewise.
3795 * math/stdio.h: Likewise.
3796 * stdlib/stdlib.h: Likewise.
3797 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3798 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3799 * sysdeps/arm/bits/huge_val.h: Likewise.
3800 * sysdeps/generic/bits/mathdef.h: Likewise.
3801 * sysdeps/i386/bits/huge_val.h: Likewise.
3802 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3803 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3804 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3805 * sysdeps/m68k/bits/huge_val.h: Likewise.
3806 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3807 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3808 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3809 * sysdeps/powerpc/bits/mathinline.h: Likewise.
3810 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3811 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3812 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3813 * wcsmbs/wchar.h: Likewise.
3815 * sysdeps/powerpc/bits/mathdef.h: Moved to...
3816 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3817 * sysdeps/powerpc/bits/mathinline.h: Moved to...
3818 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3819 * sysdeps/powerpc/bits/fenv.h: Moved to...
3820 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3822 1999-10-31 Andreas Jaeger <aj@suse.de>
3824 * manual/math.texi (Errors in Math Functions): Correct TeX code.
3826 1999-10-31 Andreas Jaeger <aj@suse.de>
3828 * math/libm-test.inc: Change comments to use ISO C99 instead of
3830 * math/w_lgamma.c: Likewise.
3831 * math/w_lgammaf.c: Likewise.
3832 * math/w_lgammal.c: Likewise.
3833 * math/test-fenv.c: Likewise.
3834 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3836 * sysdeps/generic/printf_fphex.c: Likewise.
3838 1999-10-31 Andreas Jaeger <aj@suse.de>
3840 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3842 * manual/math.texi: Change ISO C9x to ISO C99.
3843 * manual/startup.texi: Likewise.
3844 * manual/stdio.texi: Likewise.
3846 1999-10-31 Andreas Jaeger <aj@suse.de>
3848 * manual/arith.texi: Change ISO C9x to ISO C99.
3849 * manual/time.texi (Low-Level Time String Parsing): Likewise.
3851 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
3853 * socket/Makefile (distribute): Add ifreq.h.
3855 * manual/time.texi (Formatting Date and Time): Revise comments about
3856 origins of the formats with ISO C99 references.
3858 1999-10-30 Andreas Jaeger <aj@suse.de>
3860 * sysdeps/unix/sysv/linux/ifreq.h: New file.
3862 1999-10-29 Andreas Jaeger <aj@suse.de>
3864 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3865 input format; mention that strtof and strtold are part of ISO C99.
3867 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3869 * manual/math.texi (Errors in Math Functions): New section.
3870 * math/libm-err-tab.pl: Moved to...
3871 * manual/libm-err-tab.pl: ...here.
3872 * manual/Makefile: Add rules for math function error table generation.
3874 * stdlib/tst-strtod.c: Add more hexadecimal tests.
3876 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3877 != 1 correctly and more than one digit before decimal point..
3879 1999-10-27 Andreas Jaeger <aj@suse.de>
3881 * sysdeps/generic/ifreq.h: New file.
3883 * resolv/res_hconf.c: Add missing includes to get all prototypes.
3884 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
3885 Reported by John DiMarco <jdd@cs.toronto.edu>.
3887 (_res_hconf_reorder_addrs): Made thread safe.
3888 (free_mem): New function, needed for malloc debugging.
3890 1999-10-29 Andreas Jaeger <aj@suse.de>
3892 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3893 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3894 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3895 opensock to use __opensock.
3897 * socket/Makefile (routines): Add opensock.
3899 * include/sys/socket.h (__opensock): Add prototype declaration.
3901 1999-10-29 Andreas Jaeger <aj@suse.de>
3903 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3905 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3907 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3908 new constant from Linux 2.3.25pre1.
3910 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3912 1999-10-29 Andreas Jaeger <aj@suse.de>
3914 * math/libm-err-tab.pl: New file to generate a table of
3915 libm-test-ulps values.
3917 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3920 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3921 struct sigcontext* object as second parameter for profil_counter.
3922 Patches by Jakub Jelinek <jakub@redhat.com>.
3924 1999-10-29 Andreas Jaeger <aj@suse.de>
3926 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3927 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3929 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3930 efs, qnx4 and reiser file systems.
3932 1999-10-29 Andreas Jaeger <aj@suse.de>
3934 * locale/Makefile (others): Set to localedef and locale for make
3937 * debug/Makefile (generated): Add xtrace for make clean to work.
3939 1999-10-29 Andreas Jaeger <aj@suse.de>
3941 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3943 1999-10-25 Andreas Jaeger <aj@suse.de>
3945 * math/libm-test.inc: Added code to ignore the given max ulps.
3946 (print_max_error): Check for ignore_max_ulp.
3947 (check_float_internal): Likewise.
3948 (parse_opt): Parse --ignore-max-ulp.
3949 (main): Initialize ignore_max_ulp.
3951 1999-10-26 Andreas Jaeger <aj@suse.de>
3953 * stdlib/msort.c: Include <alloca.h> for prototype.
3954 Remove K&R compatibility and _quicksort prototype.
3956 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3958 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3959 Remove K&R compatibility.
3960 Move prototype declaration to include/stdlib.h.
3961 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3963 * include/stdlib.h: Prototype declaration for _quicksort.
3965 1999-10-27 Andreas Jaeger <aj@suse.de>
3967 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3968 shifted a bit too much.
3969 Reported by Eugen Dedu <dedu@ese-metz.fr>.
3971 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3973 * resolv/gethnamaddr.c: Account bytes needed for alignment in
3974 buflen. Patch by Olaf Kirch <okir@lst.de>.
3976 * md5-crypt/md5test.c: Correct names of MD5 functions after
3977 removing of public names.
3979 * configure.in: Don't allow --enable-kernel without parameter.
3981 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3983 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3986 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
3988 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
3989 only used internally.
3990 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3991 remove weak alias for public names.
3992 * md5-crypt/md5.c: Remove weak aliase.
3994 1999-10-25 Andreas Jaeger <aj@suse.de>
3996 * math/README.libm-test: New file, documents libm-test.inc.
3998 1999-10-25 Andreas Jaeger <aj@suse.de>
4000 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
4002 (print_ulps_file): Fix loops to not read @tests and @functions
4003 since those are not initialized with -n now.
4004 (parse_ulps): Set $results{..}{"kind"}.
4006 1999-10-25 Andreas Jaeger <aj@suse.de>
4008 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
4010 * math/libm-test.inc (check_float_internal): Don't print ulps for
4013 1999-10-20 Andreas Jaeger <aj@suse.de>
4015 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
4017 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
4019 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
4021 * math/libm-test.inc: Disable some boundary case tests for inline
4024 * math/math.h: Pretty printing.
4026 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
4027 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4028 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4029 * sysdeps/i386/fpu/e_log10.S: Likewise.
4030 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4031 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4032 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4033 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4034 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4035 * sysdeps/i386/fpu/s_log2.S: Likewise.
4036 * sysdeps/i386/fpu/s_log2f.S: Likewise.
4037 * sysdeps/i386/fpu/s_log2l.S: Likewise.
4039 * sysdeps/i386/fpu/libm-test-ulps: New file.
4041 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
4043 (pow): Correct case x == 0.
4044 (__sgn1l): Correct handling of -0.0.
4046 1999-10-22 Andreas Jaeger <aj@suse.de>
4048 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
4049 (atan_test): Likewise.
4050 (atanh_test): Likewise.
4051 (atan2_test): Likewise.
4052 (carg_test): Likewise.
4053 (ceil_test): Likewise.
4054 (cos_test): Likewise.
4055 (cosh_test): Likewise.
4056 (cpow_test): Likewise.
4057 (erf_test): Likewise.
4058 (erfc_test): Likewise.
4059 (exp_test): Likewise.
4060 (exp10_test): Likewise.
4061 (exp2_test): Likewise.
4062 (expm1_test): Likewise.
4063 (fabs_test): Likewise.
4064 (floor_test): Likewise.
4065 (fmod_test): Likewise.
4066 (gamma_test): Likewise.
4067 (lgamma_test): Likewise.
4068 (log10_test): Likewise.
4069 (log1p_test): Likewise.
4070 (log2_test): Likewise.
4071 (logb_test): Likewise.
4072 (nearbyint_test): Likewise.
4073 (remainder_test): Likewise.
4074 (remquo_test): Likewise.
4075 (sin_test): Likewise.
4076 (sincos_test): Likewise.
4077 (sinh_test): Likewise.
4078 (sqrt_test): Likewise.
4079 (tan_test): Likewise.
4080 (tanh_test): Likewise.
4081 (tgamma_test): Likewise.
4083 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
4085 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4087 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4089 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4090 for -Inf and return NaN.
4092 * configure.in: Correct test for Cygnus gcc versions.
4094 1999-10-21 Andreas Jaeger <aj@suse.de>
4096 * math/libm-test.inc (cimag_test): New function, tests cimag.
4097 (creal_test): New function, tests creal.
4098 (conj_test): New function, tests conj.
4099 (main): Add new functions.
4101 1999-10-20 Andreas Jaeger <aj@suse.de>
4103 * math/libm-test.inc: Rewrite to allow different deltas for real
4104 and imaginary part of complex functions.
4105 * math/gen-libm-test.pl: Likewise.
4107 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
4109 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4112 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4114 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4115 for -Inf and return NaN.
4117 * math/gen-libm-test.pl: Fix program name in help message.
4119 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4121 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4123 * sysdeps/i386/Implies: Correct order of libm directories.
4125 1999-10-19 Andreas Jaeger <aj@suse.de>
4127 * include/bits/ipc.h: Remove K&R compatibility.
4128 * include/libintl.h: Likewise.
4129 * include/math.h: Likewise.
4130 * include/mntent.h: Likewise
4131 * include/netdb.h: Likewise.
4132 * include/pwd.h: Likewise.
4133 * include/sched.h: Likewise.
4134 * include/shadow.h: Likewise
4135 * include/stdlib.h: Likewise.
4136 * include/sys/file.h: Likewise.
4137 * include/sys/gmon.h: Likewise.
4138 * include/sys/ioctl.h: Likewise.
4139 * include/sys/mman.h: Likewise.
4140 * include/sys/resource.h: Likewise.
4141 * include/sys/socket.h: Likewise.
4142 * include/sys/stat.h: Likewise.
4143 * include/sys/sysinfo.h: Likewise.
4144 * include/sys/time.h: Likewise.
4145 * include/sys/times.h: Likewise.
4146 * include/sys/uio.h: Likewise.
4147 * include/sys/wait.h: Likewise.
4148 * include/termios.h: Likewise.
4149 * include/time.h: Likewise.
4150 * include/ulimit.h: Likewise.
4151 * include/utmp.h: Likewise.
4152 * include/wchar.h: Likewise.
4153 * include/wctype.h: Likewise.
4155 1999-10-19 Andreas Jaeger <aj@suse.de>
4157 * math/libm-test.inc: Remove one K&R compatibility.
4158 (main): Enable nexttoward_test.
4160 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4161 libm-test-ulps.h; pretty print output a bit.
4163 1999-10-19 Andreas Jaeger <aj@suse.de>
4165 * iconv/iconv_prog.c (main): Set exit value in case that reading
4166 from stdin failed [PR libc/1404].
4168 1999-10-18 Andreas Jaeger <aj@suse.de>
4170 Added improved math testsuite:
4171 * math/libm-test.inc: New file, contains all tests from
4172 libm-test.c but in a different form.
4173 * math/libm-test.c: Removed.
4174 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4175 * math/gen-libm-test.pl: New file: Preprocessor.
4176 * math/test-double.c: Adopted to new testsuite.
4177 * math/test-idouble.c: Likewise.
4178 * math/test-float.c: Likewise.
4179 * math/test-ifloat.c: Likewise.
4180 * math/test-ldouble.c: Likewise.
4181 * math/test-ildoubl.c: Likewise.
4182 * math/Makefile: Added rules to generate new suite.
4184 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4186 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4187 Patch by J. Richard Sladkey <jrs@world.std.com>.
4189 * scripts/config.sub: Update from latest autoconf version.
4190 * scripts/config.guess: Likewise.
4192 1999-10-18 Andreas Jaeger <aj@suse.de>
4194 * inet/arpa/inet.h: Remove K&R compatibility.
4195 * math/fenv.h: Likewise.
4197 1999-10-18 Andreas Jaeger <aj@suse.de>
4199 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4200 kernel_sigaction): Remove K&R compatibility.
4201 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4202 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4203 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4204 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4205 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4206 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4207 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4208 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4209 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4210 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4211 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4212 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4213 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4214 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4215 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4216 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4217 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4219 1999-10-18 Andreas Jaeger <aj@suse.de>
4221 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4222 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4224 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4226 * po/gl.po: New file.
4228 1999-10-18 Andreas Schwab <schwab@suse.de>
4230 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4231 namespace selection.
4233 1999-10-18 Andreas Schwab <schwab@suse.de>
4235 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4236 clash with the TERM environment variable.
4238 1999-10-18 Andreas Jaeger <aj@suse.de>
4240 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4241 returns now NaN + i NaN.
4242 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4243 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4245 1999-10-18 Andreas Jaeger <aj@suse.de>
4247 * include/aio.h: Remove K&R compatiblity.
4248 * include/alloca.h: Likewise.
4249 * include/db.h: Likewise.
4250 * include/dirent.h: Likewise.
4251 * include/fcntl.h: Likewise.
4252 * include/fpu_control.h: Likewise.
4253 * include/glob.h: Likewise.
4254 * include/grp.h: Likewise.
4255 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4256 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4257 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4258 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4260 * include/execinfo.h: Add __THROW.
4262 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4264 * sysdeps/mips/Implies: Remove wordsize-32 reference.
4265 * sysdeps/mips/mips3/Implies: Add it here.
4267 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
4269 * elf/elf.h: Add various platform and architecture extensions.
4271 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4272 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4275 * socket/sys/socket.h: Remove K&R compatibility.
4277 1999-10-16 Andreas Jaeger <aj@suse.de>
4279 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4281 1999-10-15 Andreas Jaeger <aj@suse.de>
4283 * stdlib/Makefile (tests): Added tst-xpg-basename.
4285 * stdlib/tst-xpg-basename.c: New test file.
4287 1999-10-14 Cristian Gafton <gafton@redhat.com>
4289 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4291 1999-10-14 Andreas Jaeger <aj@suse.de>
4293 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
4294 endian version works for both endiannesses.
4296 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4299 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4301 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4302 register names unconditionally, only if __USE_GNU.
4304 * debug/Makefile: Fix rules to generate pcprofiledump.
4306 * include/ucontext.h: New file.
4308 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4310 1999-10-12 Andreas Jaeger <aj@suse.de>
4312 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4314 * math/basic-test.c: Fix typo.
4316 * locale/programs/xstrdup.c: Include string.h for glibc
4317 compilation to get string prototypes.
4319 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4320 gregset_t and fpregset_t.
4322 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4323 warnings. Correct value for x == 0.
4325 * argp/argp-help.c: Remove broken definition of flockfile and
4328 1999-10-12 Andreas Schwab <schwab@suse.de>
4330 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4331 generic Linux version.
4333 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4335 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4337 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4339 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4340 and fpregset_t definitions.
4342 * malloc/memprof.c (GETSP): Define for PowerPC.
4343 (GETTIME): Fix generic version.
4345 1999-10-10 Philip Blundell <philb@gnu.org>
4347 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4350 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4352 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4353 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4354 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4355 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4357 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4359 * sysdeps/powerpc/e_sqrt.c: Moved to...
4360 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4361 * sysdeps/powerpc/e_sqrtf.c: Moved to...
4362 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4364 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4365 * sysdeps/powerpc/sub_n.S: Likewise.
4366 * sysdeps/powerpc/strlen.S: Likewise.
4367 * sysdeps/powerpc/strcpy.S: Likewise.
4368 * sysdeps/powerpc/strcmp.S: Likewise.
4369 * sysdeps/powerpc/strchr.S: Likewise.
4370 * sysdeps/powerpc/stpcpy.S: Likewise.
4371 * sysdeps/powerpc/setjmp.S: Likewise.
4372 * sysdeps/powerpc/rshift.S: Likewise.
4373 * sysdeps/powerpc/ppc-mcount.S: Likewise.
4374 * sysdeps/powerpc/mul_1.S: Likewise.
4375 * sysdeps/powerpc/memset.S: Likewise.
4376 * sysdeps/powerpc/lshift.S: Likewise.
4377 * sysdeps/powerpc/dl-start.S: Likewise.
4378 * sysdeps/powerpc/bzero.S: Likewise.
4379 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4380 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4381 * sysdeps/powerpc/addmul_1.S: Likewise.
4382 * sysdeps/powerpc/add_n.S: Likewise.
4383 * sysdeps/powerpc/__longjmp.S: Likewise.
4384 * sysdeps/powerpc/elf/start.S: Likewise.
4386 1999-10-11 Cristian Gafton <gafton@redhat.com>
4388 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4391 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
4393 * stdlib/atexit.c (initial): New variable. Use to initialize
4395 * stdlib/exit.c (exit): Beware to not free statically allocated
4396 list element [PR libc/1305].
4398 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4399 slash before the basename [PR libc/1383].
4401 * argp/argp.h: Fix typo in last patch.
4403 * sysdeps/powerpc/sysdep.h: New file.
4404 * sysdeps/unix/powerpc/sysdep.h: New file.
4405 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4406 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4407 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4408 instead of bare numbers.
4409 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4410 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4411 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4413 * sysdeps/hppa/sysdep.h: New file.
4415 1999-10-10 Andreas Jaeger <aj@suse.de>
4417 * misc/sgtty.h: Fix typo in last patch.
4419 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
4421 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4422 * sysdeps/powerpc/s_copysign.S: Move to...
4423 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
4424 * sysdeps/powerpc/s_copysignf.S: Move to...
4425 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4426 * sysdeps/powerpc/s_fabs.S: Move to...
4427 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
4428 * sysdeps/powerpc/s_fabsf.S: Move to...
4429 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4430 * sysdeps/powerpc/s_fdim.c: Move to...
4431 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4432 * sysdeps/powerpc/s_fdimf.c: Move to...
4433 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4434 * sysdeps/powerpc/s_fmax.S: Move to...
4435 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
4436 * sysdeps/powerpc/s_fmaxf.S: Move to...
4437 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4438 * sysdeps/powerpc/s_fmin.S: Move to...
4439 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
4440 * sysdeps/powerpc/s_fminf.S: Move to...
4441 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4442 * sysdeps/powerpc/s_isnan.S: Move to...
4443 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4444 * sysdeps/powerpc/s_isnanf.S: Move to...
4445 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4446 * sysdeps/powerpc/s_llrint.c: Move to...
4447 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4448 * sysdeps/powerpc/s_llrintf.c: Move to...
4449 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4450 * sysdeps/powerpc/s_llround.c: Move to...
4451 * sysdeps/powerpc/fpu/s_llround.c: ...here.
4452 * sysdeps/powerpc/s_llroundf.c: Move to...
4453 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4454 * sysdeps/powerpc/s_lrint.c: Move to...
4455 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4456 * sysdeps/powerpc/s_lrintf.S: Move to...
4457 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4458 * sysdeps/powerpc/s_lround.c: Move to...
4459 * sysdeps/powerpc/fpu/s_lround.c: ...here.
4460 * sysdeps/powerpc/s_lroundf.c: Move to...
4461 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4462 * sysdeps/powerpc/s_rint.c: Move to...
4463 * sysdeps/powerpc/fpu/s_rint.c: ...here.
4464 * sysdeps/powerpc/s_rintf.c: Move to...
4465 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4466 * sysdeps/powerpc/t_sqrt.c: Move to...
4467 * sysdeps/powerpc/fpu/t_sqrt: ...here.
4468 * sysdeps/powerpc/w_sqrt.c: Move to...
4469 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4470 * sysdeps/powerpc/w_sqrtf.c: Move to...
4471 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4472 * configure.in: Support platforms which have no .text pseudo-op.
4473 Patches partly by Jimi X <jimix@pobox.com>.
4475 * Makeconfig: Look also in all subdirs for shlib-versions files.
4477 * malloc/memprof.sh: Fix --help string a bit.
4479 * argp/argp.h: Remove K&R compatiblity.
4480 * assert/assert.h: Likewise.
4481 * catgets/nl_types.h: Likewise.
4482 * ctype/ctype.h: Likewise.
4483 * db/db.h: Likewise.
4484 * db/ndbm.h: Likewise.
4485 * db2/db.h: Likewise.
4486 * db2/db_185.h: Likewise.
4487 * debug/execinfo.h: Likewise.
4488 * dirent/dirent.h: Likewise.
4489 * dlfcn/dlfcn.h: Likewise.
4490 * gmon/sys/gmon.h: Likewise.
4491 * grp/grp.h: Likewise.
4492 * iconv/gconv.h: Likewise.
4493 * iconv/iconv.h: Likewise.
4494 * include/execinfo.h: Likewise.
4495 * inet/aliases.h: Likewise.
4496 * inet/netinet/ether.h: Likewise.
4497 * inet/netinet/in.h: Likewise.
4498 * intl/libintl.h: Likewise.
4499 * io/fcntl.h: Likewise.
4500 * io/fts.h: Likewise.
4501 * io/ftw.h: Likewise.
4502 * io/utime.h: Likewise.
4503 * io/sys/poll.h: Likewise.
4504 * io/sys/stat.h: Likewise.
4505 * io/sys/statfs.h: Likewise.
4506 * io/sys/statvfs.h: Likewise.
4507 * libio/libio.h: Likewise.
4508 * libio/stdio.h: Likewise.
4509 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4510 * locale/locale.h: Likewise.
4511 * login/pty.h: Likewise.
4512 * login/utmp.h: Likewise.
4513 * malloc/mcheck.h: Likewise.
4514 * math/complex.h: Likewise.
4515 * math/math.h: Likewise.
4516 * math/math_private.h: Likewise.
4517 * misc/err.h: Likewise.
4518 * misc/fstab.h: Likewise.
4519 * misc/libgen.h: Likewise.
4520 * misc/mntent.h: Likewise.
4521 * misc/regexp.h: Likewise.
4522 * misc/search.h: Likewise.
4523 * misc/sgtty.h: Likewise.
4524 * misc/ttyent.h: Likewise.
4525 * misc/sys/cdefs.h: Likewise.
4526 * misc/sys/file.h: Likewise.
4527 * misc/sys/ioctl.h: Likewise.
4528 * misc/sys/mman.h: Likewise.
4529 * misc/sys/select.h: Likewise.
4530 * misc/sys/syslog.h: Likewise.
4531 * misc/sys/uio.h: Likewise.
4532 * misc/sys/ustat.h: Likewise.
4533 * nss/nss.h: Likewise.
4534 * posix/sched.h: Likewise.
4535 * posix/unistd.h: Likewise.
4536 * posix/wordexp.h: Likewise.
4537 * posix/sys/times.h: Likewise.
4538 * posix/sys/utsname.h: Likewise.
4539 * posix/sys/wait.h: Likewise.
4540 * pwd/pwd.h: Likewise.
4541 * resolv/netdb.h: Likewise.
4542 * resolv/resolv.h: Likewise.
4543 * resource/ulimit.h: Likewise.
4544 * resource/sys/resource.h: Likewise.
4545 * resource/sys/vlimit.h: Likewise.
4546 * resource/sys/vtimes.h: Likewise.
4547 * rt/aio.h: Likewise.
4548 * setjmp/setjmp.h: Likewise.
4549 * shadow/shadow.h: Likewise.
4550 * signal/signal.h: Likewise.
4551 * socket/socket.h: Likewise.
4552 * stdio/stdio.h: Likewise.
4553 * stdio-common/_itoa.h: Likewise.
4554 * stdio-common/_itowa.h: Likewise.
4555 * stdio-common/printf.h: Likewise.
4556 * stdlib/alloca.h: Likewise.
4557 * stdlib/fmtmsg.h: Likewise.
4558 * stdlib/monetary.h: Likewise.
4559 * stdlib/stdlib.h: Likewise.
4560 * stdlib/ucontext.h: Likewise.
4561 * streams/stropts.h: Likewise.
4562 * string/argz.h: Likewise.
4563 * string/envz.h: Likewise.
4564 * string/string.h: Likewise.
4565 * string/strings.h: Likewise.
4566 * string/bits/string2.h: Likewise.
4567 * sunrpc/rpc/auth.h: Likewise.
4568 * sunrpc/rpc/auth_des.h: Likewise.
4569 * sunrpc/rpc/auth_unix.h: Likewise.
4570 * sunrpc/rpc/clnt.h: Likewise.
4571 * sunrpc/rpc/des_crypt.h: Likewise.
4572 * sunrpc/rpc/netdb.h: Likewise.
4573 * sunrpc/rpc/pmap_clnt.h: Likewise.
4574 * sunrpc/rpc/pmap_prot.h: Likewise.
4575 * sunrpc/rpc/pmap_rmt.h: Likewise.
4576 * sunrpc/rpc/rpc_msg.h: Likewise.
4577 * sunrpc/rpc/svc.h: Likewise.
4578 * sunrpc/rpc/svc_auth.h: Likewise.
4579 * sunrpc/rpc/xdr.h: Likewise.
4580 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4581 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4582 * sysvipc/sys/ipc.h: Likewise.
4583 * sysvipc/sys/msg.h: Likewise.
4584 * sysvipc/sys/sem.h: Likewise.
4585 * sysvipc/sys/shm.h: Likewise.
4586 * termios/termios.h: Likewise.
4587 * time/time.h: Likewise.
4588 * time/sys/time.h: Likewise.
4589 * time/sys/timeb.h: Likewise.
4590 * wcsmbs/wchar.h: Likewise.
4591 * wctype/wctype.h: Likewise.
4593 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
4595 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4596 _GNU_SOURCE be defined.
4598 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4600 * ctype/ctype.h: Pretty print.
4602 * po/cs.po: Fix typos.
4604 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4605 handling of empty entries. [PR libc/1345]
4606 Patch by Thorsten Kukuk <kukuk@suse.de>.
4608 1999-10-08 Andreas Schwab <schwab@suse.de>
4610 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
4612 1999-10-08 Andreas Schwab <schwab@suse.de>
4614 * debug/pcprofiledump.c: Fix typos.
4616 1999-10-07 Andreas Jaeger <aj@suse.de>
4618 * math/Makefile (tests): Added basic-tests.
4620 * math/basic-test.c: New file. Contains function basic_tests from
4623 1999-10-07 Andreas Schwab <schwab@suse.de>
4625 * malloc/memprof.sh: Fix quoting bugs.
4627 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4629 * timezone/europe: Update from tzdata1999h.
4631 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4633 * elf/elf.h: Update from last gABI draft.
4635 * elf/elf.h: Remove EM_486 entry.
4636 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4639 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4641 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4642 Add rules for both programs.
4643 * debug/pcprofiledump.c: New file.
4644 * debug/xtrace.sh: New file.
4645 * debug/pcprofile.c: Allow creating output file. Add magic signature
4646 to let reader recognize file format.
4648 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
4650 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4652 1999-10-05 Andreas Jaeger <aj@suse.de>
4654 * locale/programs/ld-identification.c: Fix typo in comment.
4655 * locale/programs/ld-messages.c: Likewise.
4656 * locale/programs/ld-monetary.c: Likewise.
4657 * locale/programs/ld-name.c: Likewise.
4659 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4660 (collate_read): Remove unnecessary comparisons with ignore_content.
4662 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4664 (ctype_read): Remove unnecessary comparisons with ignore_content.
4665 Fix typos in comments.
4667 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4668 comparisons with ignore_content.
4670 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
4674 * time/time.h: Move __gmtime_r declaration to ...
4675 * include/time.h: ...here.
4677 1999-10-05 Andreas Jaeger <aj@suse.de>
4679 * manual/message.texi (The message catalog files): Fix description
4680 to match gencat implementation and Unix98: Message fields are
4681 separated by a single blank space.
4683 1999-10-05 Andreas Jaeger <aj@suse.de>
4685 * manual/string.texi (Search Functions): Add missing end for
4686 memrchr description.
4688 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4690 * malloc/memprof.sh: Various small cleanups. Add short options.
4691 Write error messages to stderr.
4693 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4695 * malloc/memprof.sh: Take options to control memprofstat.
4697 * malloc/Makefile: Add rule to generate memprof script.
4698 * malloc/memprof.sh: New file.
4700 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4703 1999-10-04 Andreas Jaeger <aj@suse.de>
4705 * configure.in: Allow makeinfo 4.*.
4707 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4709 * stdio-common/vfprintf.c: Correct last patch and use outchar
4710 instead of PUTC to output single characters.
4711 * stdio-common/Makefile (tests): Add bug13.
4712 * stdio-common/bug13.c: New file.
4714 * configure.in: Add additional options --with-gd-include and
4715 --with-gd-lib to help people with strange installations.
4717 * malloc/Makefile: Add libdl dependency to libmemprof.so.
4718 * malloc/Depend: New file.
4720 1999-10-04 Andreas Jaeger <aj@suse.de>
4722 * timezone/README: Change wording to not mention the current
4723 version. This way we can't forget to update the file.
4725 1999-10-04 Andreas Jaeger <aj@suse.de>
4727 * manual/time.texi (Basic CPU Time): Fix typo.
4728 Reported by Ben Pfaff <pfaffben@msu.edu>.
4730 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4732 * string/string.h: Move __memrchr declaration to ...
4733 * include/string.h: ...here.
4735 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4737 * string/Makefile (routines): Add memrchr.
4739 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4740 Correct order of tests for matching bytes.
4742 * string/tester.c: Add tests for memrchr.
4744 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4745 Start from the last character and take decrement not increment
4746 into account for correction in return line. Add memrchr alias.
4747 * sysdeps/i386/bits/string.h: Likewise.
4749 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4751 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4753 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4755 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4757 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4760 * string/Versions: Export memrchr.
4762 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4764 * misc/Versions (GLIBC_2.2): Add getloadavg.
4765 * misc/Makefile (routines): Add getloadavg.
4766 * sysdeps/generic/getloadavg.c: New file.
4767 * sysdeps/mach/getloadavg.c: New file.
4768 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4770 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4771 * sysdeps/i386/bits/string.h (__memrchr): New function.
4772 * string/string.h: Declare memrchr, __memrchr.
4773 * manual/string.texi (Search Functions): Document memrchr.
4775 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4777 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4778 CFLAGS-memprofstat.c, and LIBGD variables.
4779 * config.make.in: Add LIBGD.
4780 * malloc/Makefile: Add rules to generate libmemprof.so and
4782 * malloc/memprof.c: New file.
4783 * malloc/memprofstat.c: New file.
4785 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
4787 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4789 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4790 (inet_ntop6): Likewise.
4792 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4795 * resolv/tst-aton.c (main): Add more tests.
4797 * resolv/inet_addr.c (inet_aton): Correct some problems with to
4798 large numbers. Optimize a bit.
4800 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4802 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4803 account for added '0'.
4805 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4806 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
4807 len argument to be greater than needed address size.
4809 1999-10-01 Andreas Jaeger <aj@suse.de>
4811 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4813 * intl/finddomain.c (_nl_find_domain): Likewise.
4815 1999-09-30 Andreas Schwab <schwab@suse.de>
4817 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4819 1999-09-30 Andreas Jaeger <aj@suse.de>
4821 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4822 * sysdeps/i386/rshift.S: Likewise.
4823 * sysdeps/i386/strchrnul.S: Likewise.
4824 * sysdeps/i386/strchr.S: Likewise.
4825 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4828 1999-09-30 Andreas Jaeger <aj@suse.de>
4830 * manual/examples/pipe.c: Close other end of pipe to make example work.
4832 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4834 * timezone/checktab.awk: Update from tzcode1999g.
4835 * timezone/tzselect.ksh: Likewise.
4836 * timezone/africa: Update from tzdata1999g.
4837 * timezone/asia: Likewise.
4838 * timezone/australasia: Likewise.
4839 * timezone/europe: Likewise.
4840 * timezone/northamerica: Likewise.
4841 * timezone/southamerica: Likewise.
4842 * timezone/iso3166.tab: Likewise.
4843 * timezone/zone.tab: Likewise.
4845 1999-09-27 Andreas Jaeger <aj@suse.de>
4847 * resolv/netdb.h: Remove declaration of getnodebyname. It has
4848 been renamed to getipnodebyname. Move flags around.
4850 1999-09-27 Andreas Schwab <schwab@suse.de>
4852 * manual/message.texi (Locating gettext catalog): Fix typos.
4854 1999-09-27 Andreas Jaeger <aj@suse.de>
4856 * manual/socket.texi (Out-of-Band Data): Correct example program,
4857 rename some variables for clarity.
4858 Reported by James Antill <james@and.org>, close PR libc/1329.
4860 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
4862 * locale/programs/ld-collate.c (insert_value): Add hack to not
4863 crash in incomplete collate implementation.
4865 * locale/programs/ld-collate.c (read_directions): Read new token
4866 after accepting sorting rule.
4868 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
4870 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4871 error message printing. Correctly test whether all characters of
4872 current token are used.
4873 (ctype_read): NUL terminate last_str.
4875 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
4877 * nscd/connections.c: Invalidate caches on request.
4878 * nscd/nscd-client.h: Add INVALIDATE to request_type.
4879 * nscd/nscd.c: Add invalidate cache option.
4880 * nscd/nscd.conf: Change log directory to /var/log (FHS).
4882 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
4884 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4885 not ovverwrite last group member with NULL pointer.
4886 Reported by Thomas Winder <thomas.winder@newlogic.at>.
4888 1999-09-24 Andreas Jaeger <aj@suse.de>
4890 * stdio-common/tst-printf.c (main): Add a testcase for large
4891 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4893 1999-09-24 Andreas Schwab <schwab@suse.de>
4895 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
4897 1999-09-24 Andreas Jaeger <aj@suse.de>
4899 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4900 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
4902 1999-09-23 Mark Kettenis <kettenis@gnu.org>
4904 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4905 variable. Define MORECORE_CLEARS to 2.
4907 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4908 doesn't clear the contents of memory that is reallocated after
4909 decrementing the break value first. Update comment about
4910 MORECORE_CLEARS, explaining the meaning of the values it can be
4913 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
4915 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4918 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4924 1999-09-22 Andreas Jaeger <aj@suse.de>
4926 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4927 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4929 1999-09-22 Andreas Schwab <schwab@suse.de>
4931 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4933 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4935 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4936 the source directory. Fixes PR libc/1059.
4938 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
4940 * locale/programs/repertoire.c (repertoire_find_value): Abort if
4941 rep parameter is NULL.
4942 (repertoire_find_symbol): Likewise.
4943 (repertoire_find_seq): Likewise.
4945 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
4947 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4948 returned errno value in some cases.
4950 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4952 * iconvdata/Makefile (modules): Add GBK.
4953 (distribute): Add gbk.c.
4954 * iconvdata/gbk.c: New file.
4955 * iconvdata/gconv-modules: Add GBK entry.
4956 Contributed by Sean Chen <sean.chen@turbolinux.com>.
4958 * locale/programs/ld-monetary.c (monetary_output): Remove
4961 * locale/programs/ld-time.c (time_output): Correct expected number
4964 * manual/filesys.texi (Testing File Access): Correct description of
4967 1999-080-25 H.J. Lu <hjl@gnu.org>
4969 * csu/defs.awk (.end): Only match with leading white spaces.
4972 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4974 * stdlib/isomac.c: Add va_copy to allowed macros.
4976 * po/pl.po: Updated.
4978 1999-09-17 Andreas Schwab <schwab@suse.de>
4980 * Makefile (clean): Also remove $(postclean) files.
4982 1999-09-15 Andreas Jaeger <aj@suse.de>
4984 * pwd/Makefile (otherlibs): Add for building with static-nss.
4985 * inet/Makefile (otherlibs): Likewise.
4987 1999-09-15 Andreas Jaeger <aj@suse.de>
4989 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4990 function definition to avoid a compilation failure.
4992 1999-09-15 Andreas Jaeger <aj@suse.de>
4994 * stdlib/tst-environ.c (main): Add getenv regression test for
4995 environment variable that's one character long.
4997 1999-09-15 Andreas Jaeger <aj@suse.de>
4999 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
5000 signal definitions to let glibc compile with older Linux versions
5001 (2.0.10 to 2.1.100 or so).
5003 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
5005 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
5006 return zero to indicate no children died yet (assuming WNOHANG).
5008 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
5010 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
5012 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
5014 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
5015 Return _hurd_pgrp instead of 0.
5017 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
5019 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
5020 pages rather than just reprotecting them. This way we don't hold on
5021 to the backing space.
5023 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
5024 Use __munmap instead of __vm_deallocate.
5026 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
5028 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
5029 returned errno value in some cases.
5031 1999-09-17 Andreas Jaeger <aj@suse.de>
5033 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
5034 to override user settings.
5036 1999-09-17 Andreas Schwab <schwab@suse.de>
5038 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
5039 using a pointer to it.
5041 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
5043 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
5044 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
5046 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
5048 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
5050 * elf/elf.h (PF_MASKOS): New definition.
5051 (EM_VAX): New definition.
5053 1999-08-09 Scott Bambrough <scottb@netwinder.org>
5055 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
5056 'unsigned char ftype[8]', and 'unsigned int init_flag' to
5057 struct user_fp. These were added in version 2.2.12 of the
5059 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
5060 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
5061 The generic procfs.h included <asm/elf.h>. This causes
5062 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5063 are included in the same source file. Found when building GDB.
5065 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
5067 * locale/langinfo.h: Remove byte-order dependent names.
5068 * locale/categories.def: Update after removal of byte-order dependent
5070 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5071 with magic number in other byte order.
5072 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5073 * locale/C-collate.c: Remove initializers for other byte-order.
5074 * locale/C-ctype.c: Likewise.
5075 * locale/C-monetary.c: Likewise.
5076 * locale/C-paper.c: Likewise.
5077 * locale/C-time.c: Likewise.
5078 * locale/lc-collate.c: Remove byte-order oriented initialization.
5079 * locale/lc-ctype.c: Likewise.
5080 * locale/lc-monetary.c: Likewise.
5081 * locale/lc-time.c: Likewise.
5082 * locale/programs/ld-address.c: Don't generate output in both
5084 * locale/programs/ld-ctype.c: Likewise.
5085 * locale/programs/ld-paper.c: Likewise.
5086 * locale/programs/ld-time.c: Likewise.
5087 * time/strftime.c (NLW): Don't use different byte-orders.
5088 * wctype/cname-lookup.h (cname_lookup): Likewise.
5090 * Makeconfig (localedir): Define using libdir, not datadir.
5091 (msgcatdir): New variable.
5092 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5093 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5095 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5096 (CPPFLAGS): Define paths using msgcatdir.
5097 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5098 * po/Makefile (mo-installed): Define using msgcatdir.
5100 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5102 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
5104 * stdio-common/vfprintf.c: Remove limitation on size of precision
5107 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5108 glibc by defining internal_function if it isn't already.
5110 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5111 fails don't rely on errno value.
5112 (getanswer_r): Set *ERRNOP in error cases.
5114 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5115 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5116 associated data. Test for matching numeric address and family.
5117 (getaddrinfo): Remember EAI_NODATA result and return this in case
5119 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5121 * locale/programs/ld-address.c: Fix handling of non-existing
5122 definitions for this category. Correctly ignore content of this
5123 category is this is necessary.
5124 * locale/programs/ld-collate.c: Likewise.
5125 * locale/programs/ld-ctype.c: Likewise.
5126 * locale/programs/ld-identification.c: Likewise.
5127 * locale/programs/ld-measurement.c: Likewise.
5128 * locale/programs/ld-messages.c: Likewise.
5129 * locale/programs/ld-monetary.c: Likewise.
5130 * locale/programs/ld-name.c: Likewise.
5131 * locale/programs/ld-numeric.c: Likewise.
5132 * locale/programs/ld-paper.c: Likewise.
5133 * locale/programs/ld-telephone.c: Likewise.
5134 * locale/programs/ld-time.c: Likewise.
5135 * locale/programs/locfile.h (handle_copy): Take extra parameter
5136 with result pointer. Fill in name of locale from which to copy.
5137 Correctly read token after `END'.
5139 * locale/programs/localedef.c (main): Correct handling copy.
5140 (add_to_readlist): Take extra parameter which says whether we
5141 are supposed to read the file or not.
5142 (find_locale): Call add_to_readlist with extra parameter set to 0.
5144 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5145 instead of wrong number in array definitions.
5146 (add_to_readlist): Update prototype.
5148 * locale/programs/locfile.c (locfile_read): Mark categories not
5149 available in source file as read.
5150 (write_all_categories): Fix typo.
5152 * locale/programs/locales.h: Removed.
5154 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5156 * elf/elf.h (SHF_MASKOS): Added.
5158 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5160 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5162 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5164 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5166 * configure.in: Fix make version test for make 3.77.95 and later
5168 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5170 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5172 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5174 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5177 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5179 1999-09-09 Andreas Schwab <schwab@suse.de>
5181 * elf/link.h: Fix comment.
5183 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5185 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5187 * math/math.h: Pretty print.
5189 1999-09-10 Andreas Schwab <schwab@suse.de>
5191 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5192 character variable on bigendian platforms without unaligned memory
5195 1999-09-07 Cristian Gafton <gafton@redhat.com>
5197 * sysdeps/unix/sysv/linux/sys/raw.h: New file
5198 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5199 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5201 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5203 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5205 * time/ap.c: Removed. It was not used.
5206 * time/date.c: Likewise.
5207 * sysdeps/unix/nlist.c: Likewise.
5208 * sysdeps/generic/nlist.c: Likewise.
5209 * sysdeps/generic/varargs.h: Likewise.
5210 * stdio-common/scanf11.c: Likewise.
5211 * stdio-common/scanf6.c: Likewise.
5212 * scripts/=__ify: Likewise.
5213 * scripts/printsources: Likewise.
5214 * resolv/getnetnamadr.c: Likewise.
5215 * posix/id.c: Likewise.
5216 * misc/ioctltst.c: Likewise.
5217 * misc/nlist.h: Likewise.
5218 * math/test-math.h: Likewise.
5219 * include/nlist.h: Likewise.
5221 1999-09-06 Andreas Schwab <schwab@suse.de>
5223 * time/tzset.c (compute_change): Replace slow loop to compute T by
5226 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5228 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5229 escape sequences out even if the character itself does not fit
5232 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5234 1999-08-31 H.J. Lu <hjl@gnu.org>
5236 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5238 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
5240 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5241 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5242 (_hurd_priority_which_map):
5244 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
5246 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5248 1999-09-03 Andreas Schwab <schwab@suse.de>
5250 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5251 fork from __syscall_fork to __libc_fork.
5252 * posix/Versions: Add __libc_fork and __vfork to version
5255 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5257 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5258 dependencies in sort.
5260 1999-09-01 H.J. Lu <hjl@gnu.org>
5262 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5264 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5265 <sys/user.h> instead of <asm/user.h>.
5267 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
5269 * elf/elf.h: Update PARISC-specific flags and symbolic names.
5271 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
5273 * elf/elf.h: Update PARISC relocations.
5275 1999-08-31 Scott Bambrough <scottb@netwinder.org>
5277 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5278 #ifdef statement to prevent it from being included twice.
5279 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5280 #include <bits/armsigctx.h>.
5282 1999-08-31 Andreas Schwab <schwab@suse.de>
5284 * locale/C-collate.c: Add missing initialisations.
5285 * locale/C-ctype.c: Likewise.
5287 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
5289 * time/strftime.c (my_strftime): Remove unneeded variable len.
5291 * time/strptime.c: Undo last change.
5293 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
5295 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5296 Change charset.h to charmap.h.
5297 (categories): Add new categories. Leave out collate for now.
5299 * locale/categories.def: Add definitions for new categories.
5300 * locale/langinfo.h: Likewise.
5301 * locale/locale.h: Likewise.
5302 * locale/C-address.c: New file.
5303 * locale/C-identification.c: New file.
5304 * locale/C-measurement.c: New file.
5305 * locale/C-name.c: New file.
5306 * locale/C-paper.c: New file.
5307 * locale/C-telephone.c: New file.
5308 * locale/lc-address.c: Likewise.
5309 * locale/lc-identification.c: Likewise.
5310 * locale/lc-measurement.c: Likewise.
5311 * locale/lc-name.c: Likewise.
5312 * locale/lc-paper.c: Likewise.
5313 * locale/lc-telephone.c: Likewise.
5314 * locale/C-ctype.c: Update for locale rewrite.
5315 * locale/C-messages.c: Likewise.
5316 * locale/C-monetary.c: Likewise.
5317 * locale/C-time.c: Likewise.
5318 * locale/lc-collate.c: Likewise.
5319 * locale/lc-ctype.c: Likewise.
5320 * locale/lc-monetary.c: Likewise.
5321 * locale/lc-time.c: Likewise.
5322 * locale/localeinfo.h: Likewise.
5323 * locale/newlocale.c: Likewise.
5324 * locale/setlocale.c: Likewise.
5325 * locale/weight.h: Likewise.
5326 * locale/findlocale.c: Unconditionally use mmap.
5327 Handle new categories.
5328 * locale/loadlocale.c: Likewise.
5329 * locale/iso-3166.def: New file.
5330 * locale/iso-639.def: New file.
5331 * locale/programs/charmap-kw.gperf: Add new keywords.
5332 * locale/programs/locfile-kw.gperf: Likewise.
5333 * locale/programs/locfile-token.h: Define new tokens.
5334 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5335 * locale/programs/charmap.h: New file.
5336 * locale/programs/charset.h: Removed.
5337 * locale/programs/config.h: Add __LC_LAST.
5338 * locale/programs/lc-address.c: New file.
5339 * locale/programs/lc-identification.c: New file.
5340 * locale/programs/lc-measurement.c: New file.
5341 * locale/programs/lc-name.c: New file.
5342 * locale/programs/lc-paper.c: New file.
5343 * locale/programs/lc-telephone.c: New file.
5344 * locale/programs/lc-collate.c: Update for locale rewrite.
5345 * locale/programs/lc-ctype.c: Likewise.
5346 * locale/programs/lc-messages.c: Likewise.
5347 * locale/programs/lc-monetary.c: Likewise.
5348 * locale/programs/lc-numeric.c: Likewise.
5349 * locale/programs/lc-time.c: Likewise.
5350 * locale/programs/locale.c: Likewise.
5351 * locale/programs/localedef.c: Likewise.
5352 * locale/programs/locfile.c: Likewise.
5353 * locale/programs/repertoire.c: Likewise.
5354 * locale/programs/repertoire.h: Likewise.
5355 * locale/programs/locfile.c: Update prototypes.
5356 Update handle_copy definition.
5357 * locale/programs/linereader.c: Add handling of wide char strings and
5358 new definition file syntax.
5359 * locale/programs/linereader.h (struct token): Add elements for wide
5361 * locale/programs/locale-spec.c: Disable handling of collation
5363 * locale/programs/simple-hash.h: Cleanup.
5364 * locale/programs/stringtrans.h: Handle quite of end of line.
5365 * string/strcoll.c: Fall back on strcmp for now.
5366 * string/strxfrm.c: Fall back on strncpy/strlen for now.
5367 * time/strftime.c: Use new wide character data for wcsftime.
5368 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5369 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5371 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5372 compiling for i386 to avoid i686-like GOT pointer computation.
5374 * db2/db_int.h: Change tsl_t type to u_int32_t.
5375 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5376 * db2/mutex/alpha.h: New file.
5377 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
5378 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5380 Patches by Richard Henderson.
5382 * stdlib/tst-environ.c: Add cast to avoid warning.
5383 * timezone/test-tz.c: Use setenv instead of putenv.
5385 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5387 * manual/libc.texinfo: Update version and date.
5389 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5391 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5392 (File System Interface): Correct entry.
5393 (Permission Bits): Add missing commata after @xref.
5395 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5397 * timezone/tst-timezone.c (main): Don't pass const strings to
5398 putenv to avoid warnings.
5400 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5402 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
5404 * nis/Versions: Add _nss_*_getipnodebyname_r.
5405 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5406 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5407 * nss/Versions: Add _nss_files_getipnodebyname_r.
5409 1999-08-28 H.J. Lu <hjl@gnu.org>
5411 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5414 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5416 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5418 * inet/netinet/in.h: Likewise.
5419 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5420 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5422 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
5424 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5425 thresholds for SUID binaries. [PR libc/1277]
5427 * posix/regexbug1.c: Add one more similar case.
5429 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5431 * manual/install.texi (Running make install): Give examples for
5432 timezone and locale installation.
5434 1999-08-28 Zack Weinberg <zack@bitmover.com>
5436 * glibcbug.in: Get CCVERSION from autoconf substitution.
5437 * configure.in: Calculate and substitute CCVERSION.
5439 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5441 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5442 partially reverting a patch from 1998-12-29. We just can't change
5443 the flags, kernels with different flags lead to
5446 1999-08-26 Andreas Schwab <schwab@suse.de>
5448 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5450 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5452 * inet/rexec.c (rexec): Free memory if strings were allocated in
5453 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
5455 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5457 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5459 * manual/argp.texi: Fixing language and typos.
5460 * manual/conf.texi: Likewise.
5461 * manual/contrib.texi: Likewise.
5462 * manual/ctype.texi: Likewise.
5463 * manual/filesys.texi: Likewise.
5464 * manual/install.texi: Likewise.
5465 * manual/job.texi: Likewise.
5466 * manual/lang.texi: Likewise.
5467 * manual/llio.texi: Likewise.
5468 * manual/locale.texi: Likewise.
5469 * manual/math.texi: Likewise.
5470 * manual/nss.texi: Likewise.
5471 * manual/pipe.texi: Likewise.
5472 * manual/signal.texi: Likewise.
5473 * manual/socket.texi: Likewise.
5474 * manual/stdio.texi: Likewise.
5475 * manual/sysinfo.texi: Likewise.
5476 * manual/users.texi: Likewise.
5477 Patches by Neil Booth <NeilB@earthling.net>.
5479 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5481 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5482 unsigned to avoid warning. [PR libc/1271].
5484 * conform/conformtest.pl: Allow testing regex.h which requires
5485 sys/types.h being included.
5487 * conform/data/regex.h-data: Allow *_t types.
5488 * conform/data/pwd.h-data: Likewise.
5489 * conform/data/sched.h-data: Likewise.
5490 * conform/data/pthread.h-data: Likewise.
5491 * conform/data/search.h-data: Likewise.
5493 * misc/search.h: Avoid namespace pollution.
5495 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5496 pwd.h, and pthread.h.
5497 * conform/data/pthread.h-data: New file.
5498 * conform/data/pwd.h-data: New file.
5499 * conform/data/regex.h-data: New file.
5500 * conform/data/sched.h-data: New file.
5501 * conform/data/search.h-data: New file.
5503 * NAMESPACE: Add REG_ for regex.h.
5505 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5508 * configure.in (libc_cv_asm_global_directive): Indent .text in
5509 test code so that the lame HPUX compiler recognizes it.
5510 * sysdeps/hppa/bits/endian.h: New file.
5511 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5512 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5513 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5514 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5516 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5517 Patch by John Tobey <jtobey@banta-im.com>.
5519 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5521 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5522 old_siocfifconf definition to toplevel.
5523 (__protocol_available): Remove old_siocfifconf definition.
5525 1999-08-25 Mark Kettenis <kettenis@gnu.org>
5527 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5528 really dealing with a master pseudo terminal, and really returning
5529 the name of the associated slave pseudo terminal by checking the
5531 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5532 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5534 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5536 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5537 underscore in _llseek entry.
5539 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5542 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5543 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5545 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5546 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5548 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5550 * inet/Makefile (routines): Add getipnodebynm.
5551 * inet/getipnodebynm.c: New file.
5552 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5554 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5555 EXTRA_ARGS_VALUE is not already done.
5556 (internal_getent): Allow extra parameters and pass them to parse_line.
5557 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5558 (_nss_files_get##name##_r): Likewise.
5559 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5560 and EXTRA_ARGS_VALUE to pass flags and type to parser.
5561 Add getipnodebyname function.
5562 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5563 EXTRA_ARGS_VALUE is not already done.
5564 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5565 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5567 (_nss_db_get##name##_r): Pass extra parameters to lookup.
5568 (_nss_db_get,ENTNAME_r): Likewise.
5569 * sysdeps/generic/if_index.c (__protocol_available): New function.
5570 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5572 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5574 * login/pty-private.h: Move to...
5575 * sysdeps/generic/pty-private.h: ...here.
5576 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
5578 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5581 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5584 * conform/conformtest.pl (@headers): Add monetary.h-data,
5585 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5586 * conform/data/monetary.h-data: New file.
5587 * conform/data/mqueue.h-data: New file.
5588 * conform/data/ndbm.h-data: New file.
5589 * conform/data/nl_types.h.h-data: New file.
5590 * conform/data/poll.h-data: New file.
5592 * stdio-common/Makefile (test): Add tst-cookie.
5593 * stdio-common/tst-cookie.c: New file.
5595 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5596 changed in last patch. Reported by Ralf Baechle.
5598 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5600 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5602 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5603 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5605 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5607 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5610 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5612 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5614 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5616 * misc/libgen.h: Don't take basename macro as taking arguments.
5618 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5620 * sysdeps/i386/bits/huge_val.h: Likewise.
5621 * sysdeps/i386/bits/huge_val.h: Likewise.
5622 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5623 * sysdeps/m68k/bits/huge_val.h: Likewise.
5624 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5625 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5627 * conform/Makefile: New file.
5628 * conform/conformtest.pl: New file.
5629 * conform/data/aio.h-data: New file.
5630 * conform/data/assert.h-data: New file.
5631 * conform/data/cpio.h-data: New file.
5632 * conform/data/ctype.h-data: New file.
5633 * conform/data/dirent.h-data: New file.
5634 * conform/data/dlfcn.h-data: New file.
5635 * conform/data/errno.h-data: New file.
5636 * conform/data/fcntl.h-data: New file.
5637 * conform/data/float.h-data: New file.
5638 * conform/data/fmtmsg.h-data: New file.
5639 * conform/data/fnmatch.h-data: New file.
5640 * conform/data/ftw.h-data: New file.
5641 * conform/data/glob.h-data: New file.
5642 * conform/data/grp.h-data: New file.
5643 * conform/data/iconv.h-data: New file.
5644 * conform/data/inttypes.h-data: New file.
5645 * conform/data/iso646.h-data: New file.
5646 * conform/data/langinfo.h-data: New file.
5647 * conform/data/libgen.h-data: New file.
5648 * conform/data/locale.h-data: New file.
5649 * conform/data/math.h-data: New file.
5651 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5653 * posix/execvp.c (execvp): Correct copying of file name.
5655 1999-08-23 Mark Kettenis <kettenis@gnu.org>
5657 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5659 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5661 * stdio-common/Makefile: Move addition to routines to the right place.
5663 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5665 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
5666 since mips*-linux has ECANCELED.
5668 1999-08-23 Andreas Schwab <schwab@suse.de>
5670 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5671 SIGCONTEXT_EXTRA_ARGS.
5672 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5673 * sysdeps/generic/sigcontextinfo.h: Likewise.
5674 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5675 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5676 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5677 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5681 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5683 * posix/regexbug1.c: Make it an error if the test fails.
5685 1999-08-23 Andreas Schwab <schwab@suse.de>
5687 * posix/regex.c (re_match_2_internal): Correct check for charset
5688 after exactn in loop.
5690 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
5692 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5693 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5694 Patch by Joel Klecker.
5696 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5697 (__gconv_find_transform): Update prototype.
5698 (__gconv_open): Likewise.
5699 * iconv/gconv_open.c: Take extra parameter and pass it to
5700 __gconv_find_transform.
5701 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5702 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
5704 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5705 * wcsmbs/wcsmbsload.c: Likewise.
5706 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5708 * intl/gettextP.h: Likewise.
5709 * intl/loadmsgcat.c: Likewise.
5711 * posix/regexbug1.c: New file.
5712 * posix/Makefile (tests): Add regexbug1.
5714 1999-08-22 Mark Kettenis <kettenis@gnu.org>
5716 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5717 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5718 installing PORT in the descriptor cell.
5720 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
5722 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5723 TIMEOUT as outputs of the asm to indicate that the signal thread
5725 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5726 mach_msg if only sending or only receiving (i.e., not an RPC). When
5727 making an RPC that might get interrupted, save OPTION and the portion
5728 of the message buffer that gets clobbered by an EINTR reply message,
5729 and properly restore them before attempting to retry the request
5732 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5734 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5735 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5736 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5737 stdio is used instead of libio.
5738 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5739 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5740 to make the code compile again when stdio is used instead of
5742 (vfprintf): Only check for correct orientation if ORIENT is
5744 * stdio-common/Makefile (routines): Only add vfwprintf and
5745 vfwscanf if we're using libio.
5747 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5749 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5750 any additional prototype just as we do for libio.
5752 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5754 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5755 TZNAME_MAX. These limits are not X/Open specific.
5756 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5759 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5761 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5762 UIO_MAXIOV is left undefined in sys/uio.h.
5763 * stdio-common/stdio_lim.h.in: Adapt for change above.
5765 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5767 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5768 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5769 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5771 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
5773 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5775 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
5777 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5779 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5780 call. It should not be necessary andis harmful for Alpha.
5782 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5783 type. [PR libc/1269]
5785 * posix/execvp.c (execvp): Allocate array name of correct size.
5786 Optimize inner loop. Use execve directly, not execv.
5788 * elf/elf.h: Corrected SHT_ values from new draft.
5790 * intl/gettextP.h (struct loaded_domain): Add conv element.
5791 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5792 Instead of returning found message directly convert it using iconv
5793 if a conversion was found when opening the file.
5794 * intl/loadinfo.h: Protect against multiple inclusion.
5795 Declare _nl_find_msg.
5796 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5797 in the message file and if necessary find approrpiate
5798 conversion to match currently selected charset.
5799 * include/libintl.h: Declare __dgettext and __dcgettext.
5800 * include/iconv.h: New file.
5802 1999-08-20 Andreas Schwab <schwab@suse.de>
5804 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5806 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
5808 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
5809 all threads [PR libc/1223].
5811 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5814 * configure.in: Search for programs with prefix gnu* and g* first.
5817 * dirent/Makefile (routines): Add getdents64.
5818 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5820 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5821 compiled with _FILE_OFFSET_BITS=64.
5822 * sysdeps/generic/getdents64.c: New file.
5823 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5824 __lseek for getdirentries64 definition.
5826 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5828 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5829 _FILE_OFFSET_BITS=64.
5831 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5834 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5835 after we have the lock.
5837 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5838 Patch by Richard Henderson.
5840 1999-08-19 Andreas Schwab <schwab@suse.de>
5842 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5843 and call _IO_fwide, to get the wide stream state initialized
5844 correctly. Don't set _IO_JUMPS.
5845 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5846 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
5847 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5850 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5852 * math/libm-test.c (jn_test): Fix typo in description.
5853 (erfc_test): Add some more tests.
5854 (erf_test): Add some more tests.
5856 1999-08-19 Andreas Schwab <schwab@suse.de>
5858 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5859 expression using $(exceptions).
5861 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5863 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5865 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5866 allocated so far. [PR libc/1261].
5868 * math/libm-test.c (j0_test): Adjust deltas for m68k.
5869 (jn_test): Likewise.
5871 * dirent/dirent.h: Only define ino64_t if not already done.
5872 * posix/sys/types.h: Likewise.
5874 * ctype/ctype.h: Avoid useless #endif #if pairs.
5876 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5877 (seekdir): Fix type of second parameter.
5878 * sysdeps/generic/seekdir.c: Likewise.
5879 * sysdeps/mach/hurd/seekdir.c: Likewise.
5880 * sysdeps/unix/seekdir.c: Likewise.
5882 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5884 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5886 * manual/install.texi (Configuring and compiling): Clarify ix86
5889 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5891 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5892 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5893 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5894 stdio_lim.h. Define LONG_BIT and WORD_BIT.
5896 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5898 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5900 * misc/search.h: Don't define NULL.
5902 * posix/sys/types.h: Define blksize_t if it hasn't happened.
5903 Only define key_t and blkcnt_t if it hasn't happened before.
5904 Define blksize_t if not happened before.
5905 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
5906 * sysdeps/generic/bits/types.h: Define __blksize_t.
5907 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5908 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5909 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5910 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5911 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5912 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5914 (struct stat64): Likewise.
5915 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5916 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5917 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5918 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5919 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5920 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5921 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5923 * stdlib/getsubopt.c: Correct type of second argument.
5924 * stdlib/stdlib.h: Likewise.
5926 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
5929 * sysdeps/generic/putenv.c: Correct type of parameter.
5930 * stdlib/stdlib.h: Likewise.
5932 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5933 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5934 * sysvips/sys/msg.h: Likewise.
5936 * sysdeps/generic/semop.c: Correct type of third parameter.
5937 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5938 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
5941 * sysdeps/generic/shmget.c: Correct type of second parameter.
5942 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5943 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
5944 Declare __getpagesize here.
5946 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5948 * sysdeps/gnu/bits/ipc.h: Likewise.
5949 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5950 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5951 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5952 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5955 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5957 * debug/versions: Export __cyg_profile_func_enter and
5958 __cyg_profile_func_exit.
5960 * math/bits/mathcalls.h: Pretty print.
5962 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5964 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5965 case for new tzdata.
5967 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5969 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5970 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5971 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5972 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5974 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5976 * sysdeps/generic/ualarm.c (ualarm): Change return value and
5977 parameter type to useconds_t.
5978 * sysdeps/unix/bsd/ualarm.c: Likewise.
5980 * sysdeps/generic/usleep.c (usleep): Change parameter type to
5982 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5983 * sysdeps/mach/usleep.c: Likewise.
5985 * locale/weight.h: Include <errno.h>.
5987 * posix/sys/types.h: Define type useconds_t if not done already.
5988 * posix/unistd.h: Likewise. Use this in ualarm and usleep
5990 * sysdeps/generic/bits/types.h: Define type __useconds_t.
5991 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5992 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5993 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5994 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5995 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5997 * dirent/dirent.h (telldir): Change return type to long int.
5998 * sysdeps/generic/telldir.c: Likewise.
5999 * sysdeps/mach/hurd/telldir.c: Likewise.
6000 * sysdeps/unix/telldir.c: Likewise.
6001 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
6003 * locale/weight.h: Set errno if an invalid character is found.
6005 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6007 * math/libm-test.c (erfc_test): Add test for example from PR
6009 (erf_test): Likewise.
6011 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
6013 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
6014 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
6016 * timezone/private.h: Update from tzcode1999e.
6017 * timezone/zic.c: Likewise.
6019 * timezone/africa: Update from tzdata1999e.
6020 * timezone/antarctica: Likewise.
6021 * timezone/asia: Likewise.
6022 * timezone/australasia: Likewise.
6023 * timezone/europe: Likewise.
6024 * timezone/leapseconds: Likewise.
6025 * timezone/northamerica: Likewise.
6026 * timezone/southamerica: Likewise.
6028 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
6029 and write correct number of bytes in case of %ls with precision.
6030 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6032 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
6034 * nscd/nscd.init: Test for kernel version and make LSB compliant.
6035 Patch by Christian Gafton.
6037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
6038 O_RSYNC. Patch by Christian Gafton.
6040 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
6041 possibly unterminated strings for %ls when a precision is
6043 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6045 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
6046 update_conversion_ptrs.
6047 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6049 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6051 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
6052 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6054 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
6055 * wcsmbs/tst-wcsnlen.c: New file.
6057 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6059 * libio/ioputs.c (_IO_puts): Add missing brace.
6061 1999-07-20 Geoff Keating <geoffk@cygnus.com>
6063 * math/libm-test.c: Tweak deltas for a clean run on ppc.
6065 1999-08-10 H.J. Lu <hjl@gnu.org>
6067 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6068 (vfprintf): Likewise.
6069 * stdio-common/vfscanf.c (ORIENT): Likewise.
6070 * libio/genops.c (__underflow): Likewise.
6071 (__uflow): Likewise.
6072 * libio/iofputs.c (_IO_fputs): Likewise.
6073 * libio/ioftell.c (_IO_ftell): Likewise.
6074 * libio/iofwrite.c (_IO_fwrite): Likewise.
6075 * libio/ioputs.c (_IO_puts): Likewise.
6076 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6077 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6079 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6081 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6083 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6085 * manual/job.texi (Process Group Functions): Document getpgid,
6088 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6090 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6091 initialize si_pid from it.
6092 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6094 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6095 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6096 (struct requestlist): Likewise.
6097 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6098 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
6100 (__aio_notify): Pass caller PID to __aio_notify_only.
6101 * rt/aio_suspend.c: Initialize caller_pid.
6102 * rt/lio_listio.c: Likewise.
6103 * rt/lio_listio64.c: Likewise.
6105 * rt/lio_listio.c: If nothing has to be done free mutex before
6107 * rt/lio_listio64.c: Likewise.
6109 1999-08-10 H.J. Lu <hjl@gnu.org>
6111 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6114 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6116 * elf/elf.h: Define ElfXX_Versym.
6117 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6120 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6121 for string output correctly in the wide character case.
6122 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6124 * intl/locale.alias: Add catalan.
6126 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6128 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6130 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6132 * po/pt_BR.po: New file.
6134 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6136 * math/libm-test.c (yn_test): Adjust deltas for i386.
6137 (ccosh_test): Likewise.
6138 (jn_test): Likewise.
6140 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6142 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6144 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6146 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6149 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6151 * configure.in: install-sh lives now in scripts subdir.
6152 PR libc/1255 (bug 4).
6154 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6156 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6161 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
6163 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6165 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6167 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6170 1999-08-10 Andreas Schwab <schwab@suse.de>
6172 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6175 1999-08-09 Scott Bambrough <scottb@netwinder.org>
6177 * elf/elf.h: Added definition of ELFOSABI_ARM.
6178 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6179 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6180 object's header and ABI values are acceptable.
6181 (VALID_ELF_HEADER): New macro; provide default definition.
6182 (VALID_ELF_OSABI): New macro; provide default definition.
6183 (VALID_ELF_ABIVERSION): New macro; provide default definition.
6184 * sysdeps/arm/dl-machine.h Define ARM specific versions of
6185 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6187 1999-08-09 Andreas Schwab <schwab@suse.de>
6189 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6191 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
6193 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6195 1999-08-09 Andreas Schwab <schwab@suse.de>
6197 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6199 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
6201 * sysdeps/ieee754/ieee754.h: Handle platforms with special
6202 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
6204 * string/bits/string2.h: Mark void* operations as extensions.
6205 * sysdeps/i386/i486/bits/string.h: Likewise.
6207 * debug/Makefile (routines): Add noophooks.
6208 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
6209 * debug/noophooks.c: New file.
6210 * debug/pcprofile.c: New file.
6212 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6214 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6215 systems which allow using the functions also on non-seekable
6218 * resolv/res_send.c (res_send): Recompute timeout for poll for
6219 each jump to `wait'.
6221 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6222 braces to avoid warnings.
6223 (IN6ADDR_LOOPBACK_INIT): Likewise.
6225 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6228 1999-08-06 H.J. Lu <hjl@gnu.org>
6230 * malloc/malloc.c: Initialize __libc_pagesize early.
6232 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6234 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6237 * inet/Makefile (tests): Add tst-ipnode.
6238 * inet/tst-ipnode.c: New file.
6240 1999-08-06 Andreas Schwab <schwab@suse.de>
6242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6244 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6245 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6246 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6248 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6249 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6251 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
6253 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6254 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6255 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6257 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6259 * resolv/res_send.c (res_send): Don't test file descriptor for
6260 range, we use poll now. [PR libc/1240]
6262 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
6264 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6265 2.0 defined if they are not available.
6267 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
6269 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6272 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
6274 * rt/aio_read.c: Fix return value.
6275 * rt/aio_read64.c: Likewise.
6276 Reported by Christian Gafton.
6278 * rt/aio_write.c: Fix return value.
6279 * rt/aio_write64.c: Likewise.
6280 * rt/aio_fsync.c: Likewise.
6282 * rt/aio_misc.c: Set errno at correct place.
6284 * rt/aio_fsync.c: Test OP parameter for correct values.
6286 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6288 1999-08-04 Andreas Schwab <schwab@suse.de>
6290 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6291 Initialize result to one.
6292 (GET_NPROCS_CONF_PARSER): Likewise.
6294 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
6296 * inet/ether_hton.c: Pass errno pointer to NSS function.
6297 * inet/getnetgrent_r.c: Likewise.
6298 Reported by Marty Leisner <leisner@rochester.rr.com>.
6300 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6302 * nis/nis_callback.c: Fix port problem on big-endian machines
6303 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6304 fields are always 32 bit.
6305 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6307 * nis/nss_nis/nis-service.c: Remove htons, port is always in
6309 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6311 1999-08-03 Andreas Schwab <schwab@suse.de>
6313 * sysdeps/posix/sigset.c: Unblock the signal after setting its
6314 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6315 avoid two calls to sigprocmask.
6317 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6319 * sysdeps/generic/s_nexttowardf.c: Fix typo.
6321 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
6323 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6324 Only allow rt signal frames. No SA_SIGINFO signals will have the
6325 siginfo_t just not filled out with SI_NOINFO code.
6326 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6327 (register_dump): Take the above change into account.
6328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6329 (rt_signal_frame): Likewise.
6331 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6333 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6335 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6336 instead of select().
6338 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6340 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6341 nexttoward so something else so that aliasing works.
6343 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6345 * sysdeps/generic/math_ldbl.h: Fix typo.
6346 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6347 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6349 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6351 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
6353 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
6355 * elf/Makefile (tests): Add resolvfail. Add rules to build the
6357 * elf/resolvfail.c: New file.
6359 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6360 pass it to _dl_lookup_symbol.
6362 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6363 bit. Reword message.
6365 * dlfcn/dlerror.c: Make code thread-safe.
6367 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
6369 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6370 initializer in CHECK: a bit size, not the type code repeated!
6372 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6374 * string/tester.c: Add tests with constant arguments for strcpy
6377 1999-07-31 H.J. Lu <hjl@gnu.org>
6379 * string/bits/string2.h (__strcpy_small): Fix a typo.
6381 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6383 * Makeconfig (link-libc): Always define it, not only for shared
6386 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6387 * sysdeps/i386/fpu/e_powf.S: Likewise.
6388 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
6390 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6391 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
6393 1999-07-30 Andreas Schwab <schwab@suse.de>
6395 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6397 (__get_nprocs): Use it.
6398 (__get_nprocs_conf): Define as separate function if
6399 GET_NPROCS_CONF_PARSER is defined.
6400 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6402 * include/sys/sysinfo.h: New file.
6403 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6405 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6407 1999-07-30 H.J. Lu <hjl@gnu.org>
6409 * libio/iofflush.c (fflush_unlocked): Weak aliase if
6410 _IO_MTSAFE_IO is not defined.
6411 * libio/clearerr.c (clearerr_unlocked): Likewise.
6412 * libio/feof.c (feof_unlocked): Likewise.
6413 * libio/ferror.c (ferror_unlocked): Likewise.
6414 * libio/fputc.c (fputc_unlocked): Likewise.
6415 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6416 * libio/getchar.c (getchar_unlocked): Likewise.
6417 * libio/putc.c (putc_unlocked): Likewise.
6418 * libio/putchar.c (putchar_unlocked): Likewise.
6420 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
6422 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6423 svc_max_pollfd and svc_pollfd to GLIBC_2.2
6424 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6425 for svc_run/poll interface.
6426 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6427 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6429 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6430 rewrite other svc_getreq* functions to use svc_getreq_common.
6431 * sunrpc/svc_run.c: Use poll().
6433 1999-07-30 Andreas Schwab <schwab@suse.de>
6435 * Makerules: Put sysd-versions and Versions.all on
6436 postclean-generated instead of common-generated.
6438 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6440 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6441 around and CLOCKS_PER_SEC is 1e6.
6443 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
6445 * configure.in: Add test for local label subtraction.
6446 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6447 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6448 labels to reduce number of runtime relocations and move jump
6449 tables in read-only seciton.
6451 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
6452 assignment cannot be moved.
6454 1999-07-29 H.J. Lu <hjl@gnu.org>
6456 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6457 if no threads are used.
6459 * libio/iofwrite.c: Add weak alias for _unlocked function if not
6461 * libio/iofread.c: Likewise.
6462 * libio/iofgets.c: Likewise.
6463 * libio/iofputs.c: Likewise.
6465 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6468 * stdlib/mbtowc.c: Include <string.h>.
6469 * stdlib/wctomb.c: Likewise.
6470 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6471 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6473 * misc/mntent_r.c: Include <alloca.h>.
6474 * elf/dl-runtime.c: Likewise.
6476 1999-07-29 Andreas Schwab <schwab@suse.de>
6478 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6479 all floating point formats supported by gcc. Error out for
6480 unhandled precisions.
6481 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6482 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6483 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6485 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
6487 * sysdeps/generic/setenv.c: Move setenv code in new function
6488 __add_to_environ. Add new parameter specifying already
6489 constructed string for the environment.
6490 (setenv): Call __add_to_environ with new parameter set to NULL.
6491 (unsetenv): Really test all elements for duplicated name. Missed those
6492 cases where the two are following each other.
6493 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6494 * include/stdlib.h: Add prototype of __add_to_environ.
6495 * stdlib/tst-environ.c: New file.
6496 * stdlib/Makefile (tests): Add tst-environ.
6498 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6500 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6501 argument in realloc call.
6502 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6504 Reported by Danny Braniss <danny@cs.huji.ac.il>.
6506 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6508 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6510 * misc/efgcvt_r.c: Likewise.
6511 * misc/qefgcvt.c: Likewise.
6512 * misc/qefgcvt_r.c: Likewise.
6513 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6516 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6518 * manual/math.texi (FP Function Optimization): Mention drawbacks.
6520 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6522 * stdlib/mblen.c: Use static state.
6523 Reported by Bruno Haible <haible@ilog.fr>.
6525 * stdlib/mbtowc.c: Reset state for s == NULL.
6526 * stdlib/wctomb.c: Likewise.
6527 Reported by Bruno Haible <haible@ilog.fr>.
6529 * stdlib/mbstowcs.c: Do not use global state.
6530 Reported by Bruno Haible <haible@ilog.fr>.
6532 1999-07-28 Andeas Schwab <schwab@suse.de>
6534 * iconvdata/Makefile: Don't try to run iconv tests when cross
6537 1999-07-27 Mark Kettenis <kettenis@gnu.org>
6539 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6540 assembler code to switch stacks and call init1 outside this
6541 function. Inside `init' the code was optimized away by gcc
6542 2.95 since it was "clearly" unreachable.
6543 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6544 Do something similar for the trampoline code.
6546 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
6548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6549 for the hinted protocol.
6551 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6553 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6555 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6557 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6558 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6559 * elf/dl-load.c (_dl_map_object): Likewise.
6560 * elf/do-lookup.h (do_lookup*): Likewise.
6561 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6562 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6564 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6566 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6568 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6569 * sysdeps/generic/getpgrp.c: Likewise.
6570 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6571 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6572 Patch by John Tobey <jtobey@banta-im.com>.
6574 * sysdeps/posix/wait3.c: Help compiling in presence of
6575 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
6577 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6579 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6580 as much as possible. Declare them using .register pseudo-op if they
6582 * sysdeps/sparc/sparc64/lshift.S: Likewise.
6583 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6584 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6585 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6586 * sysdeps/sparc/sparc64/memset.S: Likewise.
6587 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6588 * sysdeps/sparc/sparc64/rshift.S: Likewise.
6589 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6590 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6591 * sysdeps/sparc/sparc64/strcat.S: Likewise.
6592 * sysdeps/sparc/sparc64/strchr.S: Likewise.
6593 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6594 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6595 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6596 * sysdeps/sparc/sparc64/strlen.S: Likewise.
6597 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6598 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6599 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6600 * sysdeps/sparc/sparc64/strspn.S: Likewise.
6601 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6602 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6603 Optimize trampoline code for .plt4-.plt32767.
6604 Fix trampolines for .plt32768+.
6606 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6608 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6610 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6611 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6612 libc's private use (as assembly routine clobber it anyway).
6614 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6616 * README.template (configurations): The crypt add-on has a new
6618 * manual/install.texi (Installation): Likewise.
6620 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6622 * time/time.h: Add forward for struct sigevent. Unix98 maybe
6623 requires to have a full definition but we wait for a bug report
6624 based on the test suite.
6626 * sysdeps/generic/clock_getres.c: New file.
6627 * sysdeps/generic/clock_gettime.c: New file.
6628 * sysdeps/generic/clock_settime.c: New file.
6629 * sysdeps/generic/timer_create.c: New file.
6630 * sysdeps/generic/timer_delete.c: New file.
6631 * sysdeps/generic/timer_getoverr.c: New file.
6632 * sysdeps/generic/timer_gettime.c: New file.
6633 * sysdeps/generic/timer_settime.c: New file.
6635 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6636 CLOCK_REALTIME, and TIMER_ABSTIME.
6637 * sysdeps/mach/hurd/bits/time.h: Likewise.
6638 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6639 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6641 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6643 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6646 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6648 * time/Makefile (routines): Add clock_getres, clock_gettime,
6649 clock_setres, timer_create, timer_delete, timer_getoverr,
6650 timer_gettime, and timer_settime.
6652 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6653 POSIX.1b. Add prototypes for clock and timer functions.
6655 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
6657 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6658 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6660 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6662 * stdlib/wcstombs.c: Do not use global state.
6663 Reported by Bruno Haible <haible@ilog.fr>.
6665 * wcsmbs/wctob.c: Avoid sign extension when returning character.
6666 Reported by Bruno Haible <haible@ilog.fr>.
6668 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6669 of wide characters to convert do it right and don't overestimate
6670 by multiplying with MB_CUR_MAX.
6671 Reported by Bruno Haible <haible@ilog.fr>.
6673 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
6675 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6676 (__stpcpy_small): Likewise.
6677 Union has no __uc member but __c.
6679 1999-07-26 Andreas Schwab <schwab@suse.de>
6681 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6683 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6685 * libio/iofclose.c (_IO_new_fclose): Only fall back on
6686 _IO_old_fclose if doing versioning.
6688 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6690 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6692 * misc/mntent_r.c: Allow spaces and tabs in entry names by
6693 encoding these characters.
6694 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6696 * string/bits/string2.h: Fix aliasing problems.
6697 * sysdeps/i386/i486/bits/string.h: Likewise.
6698 * sysdeps/i386/bits/string.h: Likewise.
6700 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
6702 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6703 * elf/rtld.c (dl_main): Don't call malloc() between
6704 re-relocating the dynamic linker and running the application's crt0.
6706 1999-07-21 Paul D. Smith <psmith@gnu.org>
6708 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6709 glob.h to get __P() macro.
6711 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6713 (__strchrnul): This won't exist outside GLIBC, so create one.
6715 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6717 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6718 __ino64_t should be 32bit unsigned type on sparc32.
6719 Define __off64_t to __quad_t instead of __int64_t.
6720 Make __pic_pid_t unsigned on sparc32.
6722 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6724 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6727 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6729 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6730 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
6732 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
6734 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6737 * resolv/res_send.c: Add locks for res_send and res_close use.
6739 * elf/Makefile (dl-routines): Add preinit.
6740 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6741 * elf/link.h (struct link_map): Add new field l_preinitcount.
6742 * elf/dl-preinit.c: New file.
6743 * elf/dynamic-link.h: Initialize l_preinitcount.
6744 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6746 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6747 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
6749 * elf/dl-init.c: Handle DT_INIT_ARRAY.
6750 * elf/dynamic-link.h: Change parameters. Now only get link_map
6751 pointer. Calculate l_initcount.
6753 * elf/link.h (struct link_map): Add l_runpath_dirs.
6754 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6755 * elf/dl-load.c: Pretty print.
6756 (decompose_rpath): Take new parameter with info from where the path
6757 comes. Pass it the fillin_rpath.
6758 (_dl_init_paths): Initialize l_runpath_dirs.
6759 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6760 Search using RUNPATH after LD_LIBRARY_PATH.
6761 * elf/dl-support.c: Adjust comment.
6762 * elf/rtld.c: Adjust help message.
6764 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6766 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6769 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
6771 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6772 match BSD value; previous value of 1<<8 was a typo. I bet nothing
6773 ever used this, so I'm not going to worry about compatibility.
6774 [__USE_GNU] (IUCLC, OLCUC): New macros.
6776 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
6778 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6780 * elf/elf.h: Add ET_LOOS and ET_HIOS.
6781 Add various EM_* constants.
6782 Add SHN_LOOS and SHN_HIOS.
6783 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6784 Add SHF_MERGE and SHF_STRINGS.
6785 (ElfXX_Sym): Update description of st_other field.
6787 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6789 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6790 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6791 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6793 * posix/unistd.h: Move declaration of __libc_enable_secure to...
6794 * include/unistd.h: ...here.
6796 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6797 * elf/dl-deps.c (expand_dst): Likewise.
6799 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6800 based on DT_FLAGS value.
6802 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6803 Add test for symbols marked STV_HIDDEN.
6804 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6805 add undef_map. Compute reference_name locally. Update call to
6807 (_dl_lookup_symbol_skip): Likewise.
6808 (_dl_lookup_versioned_symbol): Likewise.
6809 (_dl_lookup_versioned_symbol_skip): Likewise.
6810 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6811 * elf/dl-runtime.c: Likewise.
6812 * elf/dl-sym.c: Likewise.
6813 * elf/dl-symbol.c: Likewise.
6814 * elf/ldsodefs.h: Adjust prototypes.
6816 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6817 handle appropriately. Add comment about DT_TEXTREL.
6818 * elf/dl-runtime.c: Likewise.
6820 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
6822 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6823 * elf/ldsodefs.h: Declare it.
6824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6826 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
6827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6828 (elf_machine_lazy_rel): Likewise.
6829 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6830 (elf_machine_lazy_rel): Likewise.
6831 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6832 (elf_machine_lazy_rel): Likewise.
6833 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6834 (elf_machine_lazy_rel): Likewise.
6835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6836 (elf_machine_lazy_rel): Likewise.
6837 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6838 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6839 (elf_machine_lazy_rel): Likewise.
6840 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6841 (elf_machine_lazy_rel): Likewise.
6842 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6843 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6844 _dl_reloc_bad_type instead of _dl_signal_error.
6845 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6847 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6849 * sysdeps/mach/_strerror.c: Include <libintl.h>.
6851 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
6853 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6854 hurd_signal_preemptor matches but its `preemptor' field is null, use
6855 its `handler' field directly. This is to comply with behavior
6856 documented in <hurd/sigpreempt.h>.
6858 1999-07-21 Andreas Schwab <schwab@suse.de>
6860 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6861 when reading from write-only stream.
6862 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6863 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6865 1999-07-21 Andreas Schwab <schwab@suse.de>
6867 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6870 1999-07-21 Mark Kettenis <kettenis@gnu.org>
6872 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6874 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6876 (__libc_write): Call __pwrite instead of __pread.
6878 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6880 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6881 __vm_allocate calls.
6883 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
6884 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6886 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6887 _hurd_fd_read with new OFFSET argument set to -1.
6888 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6891 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
6893 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6894 descriptor table sent in the RPC.
6896 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6898 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
6899 bill@taniwha.org [PR libc/1211].
6901 1999-07-19 Andreas Schwab <schwab@suse.de>
6903 * libio/Makefile (routines): Add fwprintf.
6905 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6906 * math/w_sqrt.c: Moved to ...
6907 * sysdeps/generic/w_sqrt.c: ... here.
6908 * math/w_sqrtf.c: Moved to ...
6909 * sysdeps/generic/w_sqrtf.c: ... here.
6911 * Make-dist (generic-dirs): New variable.
6912 (try-sysdeps, +sysdep-names): Use it.
6913 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
6914 instead of $(lib)-routines.
6915 * elf/Makefile (distribute): Add dl-cache.h.
6916 * db2/Makefile (distribute): Add all new files.
6917 * iconvdata/Makefile (distribute): Don't distribute CVS
6919 * math/Makefile (distribute): Remove machine/endian.h, add
6921 * stdio-common/Makefile (distribute): Add _itowa.h.
6922 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6923 * sysdeps/gnu/Dist: Add eval.c
6924 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6925 dlfcn]: Add to this instead of libdl-routines.
6926 * sysdeps/ieee754/ldbl-128/Dist: New file.
6927 * sysdeps/mach/hurd/Dist: Add siglist.h
6928 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6930 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
6932 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6934 * inet/Makefile (routines): Add getipnodebyad and freehostent.
6935 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6936 * inet/freehostent.c: New file.
6937 * inet/getipnodebyad.c: New file.
6938 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6939 and getipnodebyname. The latter comes soon.
6940 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6941 Add support for getipnode* functions.
6943 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6944 Set h_aliases to NULL and not to a pointer to an array with a NULL
6945 pointer following XNS 5.2.
6947 * posix/sched.h: Remove internal interfaces.
6948 * include/sched.h: Add internal interfaces.
6950 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6952 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6954 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6955 and return an error in this case.
6956 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6959 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6961 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6962 1999-07-17 and adjust len parameter.
6963 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6964 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6965 * manual/socket.texi (Host Names): Likewise.
6966 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6967 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6969 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6970 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6971 (ht_gethostbyaddr): Likewise.
6972 (_gethtbyaddr): Likewise.
6974 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6976 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6978 * include/netdb.h: Likewise.
6979 * inet/gethstbyad.c: Correct type of len parameter.
6980 * inet/gethstbyad_r.c: Likewise.
6982 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6984 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
6986 * include/libc-symbol.h: Clean up definitions of weak_alias,
6987 strong_alias, symbol_version, etc. etc.
6988 * posix/getopt.h: Use ctype.h to get features.h included, and don't
6989 include it at all if __GNU_LIBRARY__ is already defined.
6991 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6993 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6995 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6997 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6998 type for tv_usec element.
6999 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7000 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
7001 * sysdeps/generic/bits/time.h: Likewise.
7002 * sysdeps/mach/hurd/bits/time.h: Likewise.
7003 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7004 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7005 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7006 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7007 * sysdeps/generic/bits/types.h: Likewise.
7008 * posix/sys/types.h: Define suseconds_t for X/Open.
7010 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7012 * stdio-common/bug1.c: Avoid memory leak.
7014 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
7015 program deterministic.
7016 * sysdeps/i386/fpu/e_powf.S: Likewise.
7017 * sysdeps/i386/fpu/e_powl.S: Likewise.
7019 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
7021 * math/Makefile: Add t_sincosl and k_sincosl support routines.
7022 * math/math_private.h (__kernel_sincosl): New declaration.
7023 * sysdeps/generic/t_sincosl.c: New file.
7024 * sysdeps/generic/k_sincosl.c: New file.
7025 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
7026 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
7027 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
7028 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
7029 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
7030 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
7032 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
7035 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7037 * posix/unistd.h: Use __PMT for exit.
7039 1999-07-15 Philip Blundell <pb@nexus.co.uk>
7041 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
7042 _outw, _outl): Added to GLIBC_2.1.2.
7044 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7046 * posix/fnmatch.h: Use __name instead of __string in prototype to
7047 allow use outside glibc.
7049 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
7051 * time/tst-strptime.c (main): Add one more test case. Produce
7052 output even when result is ok.
7054 * time/strptime.c (get_number): Handle number parsing more
7055 consistent with strftime. Only parse a given number of digits.
7056 (get_alt_number): Fix implementation. Was broken.
7057 (strptime_internal): Add third parameter to get_number and
7058 get_alt_number calls.
7060 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
7062 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7063 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7064 try both 32bit and 64bit dynamic linker.
7065 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7066 script on all sparc targets.
7068 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
7070 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7073 1999-07-13 Andreas Schwab <schwab@suse.de>
7075 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7076 inlining. Fixes PR libc/1198.
7078 1999-07-14 Andreas Schwab <schwab@suse.de>
7080 * Makerules (common-generated): Don't prepend $(common-objpfx).
7082 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
7084 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7085 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7086 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7087 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7089 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7091 * sysdeps/arm/Implies: Likewise.
7092 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7093 ieee754/ldbl-96 instead of ieee754.
7094 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7095 * sysdeps/generic/e_atanhl.c: New file.
7096 * sysdeps/generic/e_coshl.c: New file.
7097 * sysdeps/generic/e_sinhl.c: New file.
7098 * sysdeps/generic/e_gammal_r.c: New file.
7099 * sysdeps/generic/e_hypotl.c: New file.
7100 * sysdeps/generic/s_cbrtl.c: New file.
7101 * sysdeps/generic/s_asinhl.c: New file.
7102 * sysdeps/generic/s_tanhl.c: New file.
7103 * sysdeps/generic/w_expl.c: New file.
7104 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7106 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7107 ieee754/ldbl-96 instead of ieee754.
7108 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7109 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7111 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7113 * sysdeps/mips/mips64/Implies: Likewise.
7114 * sysdeps/powerpc/Implies: Likewise.
7115 * sysdeps/sparc/Implies: Remove.
7116 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7118 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7119 and ieee754/ldbl-128.
7121 * sysdeps/sparc/bits/wordsize.h: Remove.
7122 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7123 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7125 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7126 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7127 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7128 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7129 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7132 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7133 of carries. Optimize.
7135 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7136 * sysdeps/generic/e_exp10.c: ...here.
7137 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7138 * sysdeps/generic/e_exp10f.c: ...here.
7139 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7140 * sysdeps/generic/e_exp10l.c: ...here.
7141 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7142 * sysdeps/generic/e_scalb.c: ...here.
7143 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7144 * sysdeps/generic/e_scalbf.c: ...here.
7145 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7146 * sysdeps/generic/e_scalbl.c: ...here.
7147 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7148 * sysdeps/generic/s_cacos.c: ...here.
7149 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7150 * sysdeps/generic/s_cacosf.c: ...here.
7151 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7152 * sysdeps/generic/s_cacosh.c: ...here.
7153 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7154 * sysdeps/generic/s_cacoshf.c: ...here.
7155 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7156 * sysdeps/generic/s_cacoshl.c: ...here.
7157 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7158 * sysdeps/generic/s_cacosl.c: ...here.
7159 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7160 * sysdeps/generic/s_casin.c: ...here.
7161 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7162 * sysdeps/generic/s_casinf.c: ...here.
7163 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7164 * sysdeps/generic/s_casinh.c: ...here.
7165 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7166 * sysdeps/generic/s_casinhf.c: ...here.
7167 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7168 * sysdeps/generic/s_casinhl.c: ...here.
7169 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7170 * sysdeps/generic/s_casinl.c: ...here.
7171 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7172 * sysdeps/generic/s_catan.c: ...here.
7173 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7174 * sysdeps/generic/s_catanf.c: ...here.
7175 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7176 * sysdeps/generic/s_catanh.c: ...here.
7177 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7178 * sysdeps/generic/s_catanhf.c: ...here.
7179 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7180 * sysdeps/generic/s_catanhl.c: ...here.
7181 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7182 * sysdeps/generic/s_catanl.c: ...here.
7183 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7184 * sysdeps/generic/s_ccos.c: ...here.
7185 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7186 * sysdeps/generic/s_ccosf.c: ...here.
7187 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7188 * sysdeps/generic/s_ccosh.c: ...here.
7189 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7190 * sysdeps/generic/s_ccoshf.c: ...here.
7191 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7192 * sysdeps/generic/s_ccoshl.c: ...here.
7193 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7194 * sysdeps/generic/s_ccosl.c: ...here.
7195 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7196 * sysdeps/generic/s_cexp.c: ...here.
7197 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7198 * sysdeps/generic/s_cexpf.c: ...here.
7199 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7200 * sysdeps/generic/s_cexpl.c: ...here.
7201 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7202 * sysdeps/generic/s_clog.c: ...here.
7203 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7204 * sysdeps/generic/s_clog10.c: ...here.
7205 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7206 * sysdeps/generic/s_clog10f.c: ...here.
7207 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7208 * sysdeps/generic/s_clog10l.c: ...here.
7209 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7210 * sysdeps/generic/s_clogf.c: ...here.
7211 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7212 * sysdeps/generic/s_clogl.c: ...here.
7213 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7214 * sysdeps/generic/s_cpow.c: ...here.
7215 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7216 * sysdeps/generic/s_cpowf.c: ...here.
7217 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7218 * sysdeps/generic/s_cpowl.c: ...here.
7219 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7220 * sysdeps/generic/s_cproj.c: ...here.
7221 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7222 * sysdeps/generic/s_cprojf.c: ...here.
7223 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7224 * sysdeps/generic/s_cprojl.c: ...here.
7225 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7226 * sysdeps/generic/s_csin.c: ...here.
7227 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7228 * sysdeps/generic/s_csinf.c: ...here.
7229 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7230 * sysdeps/generic/s_csinh.c: ...here.
7231 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7232 * sysdeps/generic/s_csinhf.c: ...here.
7233 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7234 * sysdeps/generic/s_csinhl.c: ...here.
7235 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7236 * sysdeps/generic/s_csinl.c: ...here.
7237 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7238 * sysdeps/generic/s_csqrt.c: ...here.
7239 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7240 * sysdeps/generic/s_csqrtf.c: ...here.
7241 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7242 * sysdeps/generic/s_csqrtl.c: ...here.
7243 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7244 * sysdeps/generic/s_ctan.c: ...here.
7245 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7246 * sysdeps/generic/s_ctanf.c: ...here.
7247 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7248 * sysdeps/generic/s_ctanh.c: ...here.
7249 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7250 * sysdeps/generic/s_ctanhf.c: ...here.
7251 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7252 * sysdeps/generic/s_ctanhl.c: ...here.
7253 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7254 * sysdeps/generic/s_ctanl.c: ...here.
7255 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7256 * sysdeps/generic/s_fdim.c: ...here.
7257 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7258 * sysdeps/generic/s_fdimf.c: ...here.
7259 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7260 * sysdeps/generic/s_fdiml.c: ...here.
7261 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7262 * sysdeps/generic/s_fma.c: ...here.
7263 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7264 * sysdeps/generic/s_fmaf.c: ...here.
7265 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7266 * sysdeps/generic/s_fmal.c: ...here.
7267 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7268 * sysdeps/generic/s_fmax.c: ...here.
7269 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7270 * sysdeps/generic/s_fmaxf.c: ...here.
7271 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7272 * sysdeps/generic/s_fmaxl.c: ...here.
7273 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7274 * sysdeps/generic/s_fmin.c: ...here.
7275 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7276 * sysdeps/generic/s_fminf.c: ...here.
7277 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7278 * sysdeps/generic/s_fminl.c: ...here.
7279 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7280 * sysdeps/generic/s_ldexp.c: ...here.
7281 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7282 * sysdeps/generic/s_ldexpf.c: ...here.
7283 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7284 * sysdeps/generic/s_ldexpl.c: ...here.
7285 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7286 * sysdeps/generic/s_nan.c: ...here.
7287 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7288 * sysdeps/generic/s_nanf.c: ...here.
7289 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7290 * sysdeps/generic/s_nanl.c: ...here.
7291 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7292 * sysdeps/generic/s_significand.c: ...here.
7293 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7294 * sysdeps/generic/s_significandf.c: ...here.
7295 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7296 * sysdeps/generic/s_significandl.c: ...here.
7297 Avoid conversion from int to double and then to long double.
7298 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7299 * math/w_acos.c: ...here.
7300 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7301 * math/w_acosf.c: ...here.
7302 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7303 * math/w_acosh.c: ...here.
7304 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7305 * math/w_acoshf.c: ...here.
7306 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7307 * math/w_acoshl.c: ...here.
7308 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7309 * math/w_acosl.c: ...here.
7310 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7311 * math/w_asin.c: ...here.
7312 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7313 * math/w_asinf.c: ...here.
7314 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7315 * math/w_asinl.c: ...here.
7316 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7317 * math/w_atan2.c: ...here.
7318 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7319 * math/w_atan2f.c: ...here.
7320 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7321 * math/w_atan2l.c: ...here.
7322 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7323 * math/w_atanh.c: ...here.
7324 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7325 * math/w_atanhf.c: ...here.
7326 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7327 * math/w_atanhl.c: ...here.
7328 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7329 * math/w_cosh.c: ...here.
7330 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7331 * math/w_coshf.c: ...here.
7332 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7333 * math/w_coshl.c: ...here.
7334 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7335 * math/w_drem.c: ...here.
7336 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7337 * math/w_dremf.c: ...here.
7338 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7339 * math/w_dreml.c: ...here.
7340 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7341 * math/w_exp10.c: ...here.
7342 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7343 * math/w_exp10f.c: ...here.
7344 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7345 * math/w_exp10l.c: ...here.
7346 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7347 * math/w_exp2.c: ...here.
7348 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7349 * math/w_exp2f.c: ...here.
7350 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7351 * math/w_exp2l.c: ...here.
7352 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7353 * math/w_fmod.c: ...here.
7354 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7355 * math/w_fmodf.c: ...here.
7356 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7357 * math/w_fmodl.c: ...here.
7358 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7359 * math/w_hypot.c: ...here.
7360 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7361 * math/w_hypotf.c: ...here.
7362 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7363 * math/w_hypotl.c: ...here.
7364 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7365 * math/w_j0.c: ...here.
7366 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7367 * math/w_j0f.c: ...here.
7368 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7369 * math/w_j0l.c: ...here.
7370 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7371 * math/w_j1.c: ...here.
7372 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7373 * math/w_j1f.c: ...here.
7374 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7375 * math/w_j1l.c: ...here.
7376 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7377 * math/w_jn.c: ...here.
7378 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7379 * math/w_jnf.c: ...here.
7380 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7381 * math/w_jnl.c: ...here.
7382 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7383 * math/w_lgamma.c: ...here.
7384 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7385 * math/w_lgamma_r.c: ...here.
7386 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7387 * math/w_lgammaf.c: ...here.
7388 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7389 * math/w_lgammaf_r.c: ...here.
7390 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7391 * math/w_lgammal.c: ...here.
7392 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7393 * math/w_lgammal_r.c: ...here.
7394 * sysdeps/libm-ieee754/w_log.c: Moved to ...
7395 * math/w_log.c: ...here.
7396 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7397 * math/w_log10.c: ...here.
7398 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7399 * math/w_log10f.c: ...here.
7400 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7401 * math/w_log10l.c: ...here.
7402 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7403 * math/w_logf.c: ...here.
7404 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7405 * math/w_logl.c: ...here.
7406 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7407 * math/w_pow.c: ...here.
7408 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7409 * math/w_powf.c: ...here.
7410 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7411 * math/w_powl.c: ...here.
7412 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7413 * math/w_remainder.c: ...here.
7414 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7415 * math/w_remainderf.c: ...here.
7416 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7417 * math/w_remainderl.c: ...here.
7418 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7419 * math/w_scalb.c: ...here.
7420 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7421 * math/w_scalbf.c: ...here.
7422 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7423 * math/w_scalbl.c: ...here.
7424 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7425 * math/w_sinh.c: ...here.
7426 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7427 * math/w_sinhf.c: ...here.
7428 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7429 * math/w_sinhl.c: ...here.
7430 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7431 * math/w_sqrt.c: ...here.
7432 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7433 * math/w_sqrtf.c: ...here.
7434 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7435 * math/w_sqrtl.c: ...here.
7436 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7437 * math/w_tgamma.c: ...here.
7438 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7439 * math/w_tgammaf.c: ...here.
7440 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7441 * math/w_tgammal.c: ...here.
7442 * sysdeps/libm-i387/e_acos.S: Moved to ...
7443 * sysdeps/i386/fpu/e_acos.S: ...here.
7444 * sysdeps/libm-i387/e_acosf.S: Moved to ...
7445 * sysdeps/i386/fpu/e_acosf.S: ...here.
7446 * sysdeps/libm-i387/e_acosh.S: Moved to ...
7447 * sysdeps/i386/fpu/e_acosh.S: ...here.
7448 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7449 * sysdeps/i386/fpu/e_acoshf.S: ...here.
7450 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7451 * sysdeps/i386/fpu/e_acoshl.S: ...here.
7452 * sysdeps/libm-i387/e_acosl.S: Moved to ...
7453 * sysdeps/i386/fpu/e_acosl.S: ...here.
7454 * sysdeps/libm-i387/e_asin.S: Moved to ...
7455 * sysdeps/i386/fpu/e_asin.S: ...here.
7456 * sysdeps/libm-i387/e_asinf.S: Moved to ...
7457 * sysdeps/i386/fpu/e_asinf.S: ...here.
7458 * sysdeps/libm-i387/e_asinl.S: Moved to ...
7459 * sysdeps/i386/fpu/e_asinl.S: ...here.
7460 * sysdeps/libm-i387/e_atan2.S: Moved to ...
7461 * sysdeps/i386/fpu/e_atan2.S: ...here.
7462 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7463 * sysdeps/i386/fpu/e_atan2f.S: ...here.
7464 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7465 * sysdeps/i386/fpu/e_atan2l.S: ...here.
7466 * sysdeps/libm-i387/e_atanh.S: Moved to ...
7467 * sysdeps/i386/fpu/e_atanh.S: ...here.
7468 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7469 * sysdeps/i386/fpu/e_atanhf.S: ...here.
7470 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7471 * sysdeps/i386/fpu/e_atanhl.S: ...here.
7472 * sysdeps/libm-i387/e_exp.S: Moved to ...
7473 * sysdeps/i386/fpu/e_exp.S: ...here.
7474 * sysdeps/libm-i387/e_exp10.S: Moved to ...
7475 * sysdeps/i386/fpu/e_exp10.S: ...here.
7476 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7477 * sysdeps/i386/fpu/e_exp10f.S: ...here.
7478 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7479 * sysdeps/i386/fpu/e_exp10l.S: ...here.
7480 * sysdeps/libm-i387/e_expf.S: Moved to ...
7481 * sysdeps/i386/fpu/e_expf.S: ...here.
7482 * sysdeps/libm-i387/e_expl.S: Moved to ...
7483 * sysdeps/i386/fpu/e_expl.S: ...here.
7484 * sysdeps/libm-i387/e_fmod.S: Moved to ...
7485 * sysdeps/i386/fpu/e_fmod.S: ...here.
7486 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7487 * sysdeps/i386/fpu/e_fmodf.S: ...here.
7488 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7489 * sysdeps/i386/fpu/e_fmodl.S: ...here.
7490 * sysdeps/libm-i387/e_hypot.S: Moved to ...
7491 * sysdeps/i386/fpu/e_hypot.S: ...here.
7492 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7493 * sysdeps/i386/fpu/e_hypotf.S: ...here.
7494 * sysdeps/libm-i387/e_log.S: Moved to ...
7495 * sysdeps/i386/fpu/e_log.S: ...here.
7496 * sysdeps/libm-i387/e_log10.S: Moved to ...
7497 * sysdeps/i386/fpu/e_log10.S: ...here.
7498 * sysdeps/libm-i387/e_log10f.S: Moved to ...
7499 * sysdeps/i386/fpu/e_log10f.S: ...here.
7500 * sysdeps/libm-i387/e_log10l.S: Moved to ...
7501 * sysdeps/i386/fpu/e_log10l.S: ...here.
7502 * sysdeps/libm-i387/e_logf.S: Moved to ...
7503 * sysdeps/i386/fpu/e_logf.S: ...here.
7504 * sysdeps/libm-i387/e_logl.S: Moved to ...
7505 * sysdeps/i386/fpu/e_logl.S: ...here.
7506 * sysdeps/libm-i387/e_pow.S: Moved to ...
7507 * sysdeps/i386/fpu/e_pow.S: ...here.
7508 * sysdeps/libm-i387/e_powf.S: Moved to ...
7509 * sysdeps/i386/fpu/e_powf.S: ...here.
7510 * sysdeps/libm-i387/e_powl.S: Moved to ...
7511 * sysdeps/i386/fpu/e_powl.S: ...here.
7512 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7513 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7514 * sysdeps/libm-i387/e_remainder.S: Moved to ...
7515 * sysdeps/i386/fpu/e_remainder.S: ...here.
7516 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7517 * sysdeps/i386/fpu/e_remainderf.S: ...here.
7518 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7519 * sysdeps/i386/fpu/e_remainderl.S: ...here.
7520 * sysdeps/libm-i387/e_scalb.S: Moved to ...
7521 * sysdeps/i386/fpu/e_scalb.S: ...here.
7522 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7523 * sysdeps/i386/fpu/e_scalbf.S: ...here.
7524 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7525 * sysdeps/i386/fpu/e_scalbl.S: ...here.
7526 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7527 * sysdeps/i386/fpu/e_sqrt.S: ...here.
7528 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7529 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7530 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7531 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7532 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7533 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7534 * sysdeps/libm-i387/s_asinh.S: Moved to ...
7535 * sysdeps/i386/fpu/s_asinh.S: ...here.
7536 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7537 * sysdeps/i386/fpu/s_asinhf.S: ...here.
7538 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7539 * sysdeps/i386/fpu/s_asinhl.S: ...here.
7540 * sysdeps/libm-i387/s_atan.S: Moved to ...
7541 * sysdeps/i386/fpu/s_atan.S: ...here.
7542 * sysdeps/libm-i387/s_atanf.S: Moved to ...
7543 * sysdeps/i386/fpu/s_atanf.S: ...here.
7544 * sysdeps/libm-i387/s_atanl.S: Moved to ...
7545 * sysdeps/i386/fpu/s_atanl.S: ...here.
7546 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7547 * sysdeps/i386/fpu/s_cbrt.S: ...here.
7548 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7549 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7550 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7551 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7552 * sysdeps/libm-i387/s_ceil.S: Moved to ...
7553 * sysdeps/i386/fpu/s_ceil.S: ...here.
7554 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7555 * sysdeps/i386/fpu/s_ceilf.S: ...here.
7556 * sysdeps/libm-i387/s_ceill.S: Moved to ...
7557 * sysdeps/i386/fpu/s_ceill.S: ...here.
7558 * sysdeps/libm-i387/s_cexp.S: Moved to ...
7559 * sysdeps/i386/fpu/s_cexp.S: ...here.
7560 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7561 * sysdeps/i386/fpu/s_cexpf.S: ...here.
7562 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7563 * sysdeps/i386/fpu/s_cexpl.S: ...here.
7564 * sysdeps/libm-i387/s_copysign.S: Moved to ...
7565 * sysdeps/i386/fpu/s_copysign.S: ...here.
7566 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7567 * sysdeps/i386/fpu/s_copysignf.S: ...here.
7568 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7569 * sysdeps/i386/fpu/s_copysignl.S: ...here.
7570 * sysdeps/libm-i387/s_cos.S: Moved to ...
7571 * sysdeps/i386/fpu/s_cos.S: ...here.
7572 * sysdeps/libm-i387/s_cosf.S: Moved to ...
7573 * sysdeps/i386/fpu/s_cosf.S: ...here.
7574 * sysdeps/libm-i387/s_cosl.S: Moved to ...
7575 * sysdeps/i386/fpu/s_cosl.S: ...here.
7576 * sysdeps/libm-i387/s_exp2.S: Moved to ...
7577 * sysdeps/i386/fpu/s_exp2.S: ...here.
7578 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7579 * sysdeps/i386/fpu/s_exp2f.S: ...here.
7580 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7581 * sysdeps/i386/fpu/s_exp2l.S: ...here.
7582 * sysdeps/libm-i387/s_expm1.S: Moved to ...
7583 * sysdeps/i386/fpu/s_expm1.S: ...here.
7584 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7585 * sysdeps/i386/fpu/s_expm1f.S: ...here.
7586 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7587 * sysdeps/i386/fpu/s_expm1l.S: ...here.
7588 * sysdeps/libm-i387/s_fdim.S: Moved to ...
7589 * sysdeps/i386/fpu/s_fdim.S: ...here.
7590 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7591 * sysdeps/i386/fpu/s_fdimf.S: ...here.
7592 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7593 * sysdeps/i386/fpu/s_fdiml.S: ...here.
7594 * sysdeps/libm-i387/s_finite.S: Moved to ...
7595 * sysdeps/i386/fpu/s_finite.S: ...here.
7596 * sysdeps/libm-i387/s_finitef.S: Moved to ...
7597 * sysdeps/i386/fpu/s_finitef.S: ...here.
7598 * sysdeps/libm-i387/s_finitel.S: Moved to ...
7599 * sysdeps/i386/fpu/s_finitel.S: ...here.
7600 * sysdeps/libm-i387/s_floor.S: Moved to ...
7601 * sysdeps/i386/fpu/s_floor.S: ...here.
7602 * sysdeps/libm-i387/s_floorf.S: Moved to ...
7603 * sysdeps/i386/fpu/s_floorf.S: ...here.
7604 * sysdeps/libm-i387/s_floorl.S: Moved to ...
7605 * sysdeps/i386/fpu/s_floorl.S: ...here.
7606 * sysdeps/libm-i387/s_fma.S: Moved to ...
7607 * sysdeps/i386/fpu/s_fma.S: ...here.
7608 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7609 * sysdeps/i386/fpu/s_fmaf.S: ...here.
7610 * sysdeps/libm-i387/s_fmal.S: Moved to ...
7611 * sysdeps/i386/fpu/s_fmal.S: ...here.
7612 * sysdeps/libm-i387/s_fmax.S: Moved to ...
7613 * sysdeps/i386/fpu/s_fmax.S: ...here.
7614 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7615 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7616 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7617 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7618 * sysdeps/libm-i387/s_fmin.S: Moved to ...
7619 * sysdeps/i386/fpu/s_fmin.S: ...here.
7620 * sysdeps/libm-i387/s_fminf.S: Moved to ...
7621 * sysdeps/i386/fpu/s_fminf.S: ...here.
7622 * sysdeps/libm-i387/s_fminl.S: Moved to ...
7623 * sysdeps/i386/fpu/s_fminl.S: ...here.
7624 * sysdeps/libm-i387/s_frexp.S: Moved to ...
7625 * sysdeps/i386/fpu/s_frexp.S: ...here.
7626 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7627 * sysdeps/i386/fpu/s_frexpf.S: ...here.
7628 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7629 * sysdeps/i386/fpu/s_frexpl.S: ...here.
7630 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7631 * sysdeps/i386/fpu/s_ilogb.S: ...here.
7632 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7633 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7634 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7635 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7636 * sysdeps/libm-i387/s_llrint.S: Moved to ...
7637 * sysdeps/i386/fpu/s_llrint.S: ...here.
7638 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7639 * sysdeps/i386/fpu/s_llrintf.S: ...here.
7640 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7641 * sysdeps/i386/fpu/s_llrintl.S: ...here.
7642 * sysdeps/libm-i387/s_log1p.S: Moved to ...
7643 * sysdeps/i386/fpu/s_log1p.S: ...here.
7644 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7645 * sysdeps/i386/fpu/s_log1pf.S: ...here.
7646 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7647 * sysdeps/i386/fpu/s_log1pl.S: ...here.
7648 * sysdeps/libm-i387/s_log2.S: Moved to ...
7649 * sysdeps/i386/fpu/s_log2.S: ...here.
7650 * sysdeps/libm-i387/s_log2f.S: Moved to ...
7651 * sysdeps/i386/fpu/s_log2f.S: ...here.
7652 * sysdeps/libm-i387/s_log2l.S: Moved to ...
7653 * sysdeps/i386/fpu/s_log2l.S: ...here.
7654 * sysdeps/libm-i387/s_logb.S: Moved to ...
7655 * sysdeps/i386/fpu/s_logb.S: ...here.
7656 * sysdeps/libm-i387/s_logbf.S: Moved to ...
7657 * sysdeps/i386/fpu/s_logbf.S: ...here.
7658 * sysdeps/libm-i387/s_logbl.S: Moved to ...
7659 * sysdeps/i386/fpu/s_logbl.S: ...here.
7660 * sysdeps/libm-i387/s_lrint.S: Moved to ...
7661 * sysdeps/i386/fpu/s_lrint.S: ...here.
7662 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7663 * sysdeps/i386/fpu/s_lrintf.S: ...here.
7664 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7665 * sysdeps/i386/fpu/s_lrintl.S: ...here.
7666 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7667 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7668 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7669 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7670 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7671 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7672 * sysdeps/libm-i387/s_remquo.S: Moved to ...
7673 * sysdeps/i386/fpu/s_remquo.S: ...here.
7674 * sysdeps/libm-i387/s_remquof.S: Moved to ...
7675 * sysdeps/i386/fpu/s_remquof.S: ...here.
7676 * sysdeps/libm-i387/s_remquol.S: Moved to ...
7677 * sysdeps/i386/fpu/s_remquol.S: ...here.
7678 * sysdeps/libm-i387/s_rint.S: Moved to ...
7679 * sysdeps/i386/fpu/s_rint.S: ...here.
7680 * sysdeps/libm-i387/s_rintf.S: Moved to ...
7681 * sysdeps/i386/fpu/s_rintf.S: ...here.
7682 * sysdeps/libm-i387/s_rintl.S: Moved to ...
7683 * sysdeps/i386/fpu/s_rintl.S: ...here.
7684 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7685 * sysdeps/i386/fpu/s_scalbn.S: ...here.
7686 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7687 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7688 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7689 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7690 * sysdeps/libm-i387/s_significand.S: Moved to ...
7691 * sysdeps/i386/fpu/s_significand.S: ...here.
7692 * sysdeps/libm-i387/s_significandf.S: Moved to ...
7693 * sysdeps/i386/fpu/s_significandf.S: ...here.
7694 * sysdeps/libm-i387/s_significandl.S: Moved to ...
7695 * sysdeps/i386/fpu/s_significandl.S: ...here.
7696 * sysdeps/libm-i387/s_sin.S: Moved to ...
7697 * sysdeps/i386/fpu/s_sin.S: ...here.
7698 * sysdeps/libm-i387/s_sincos.S: Moved to ...
7699 * sysdeps/i386/fpu/s_sincos.S: ...here.
7700 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7701 * sysdeps/i386/fpu/s_sincosf.S: ...here.
7702 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7703 * sysdeps/i386/fpu/s_sincosl.S: ...here.
7704 * sysdeps/libm-i387/s_sinf.S: Moved to ...
7705 * sysdeps/i386/fpu/s_sinf.S: ...here.
7706 * sysdeps/libm-i387/s_sinl.S: Moved to ...
7707 * sysdeps/i386/fpu/s_sinl.S: ...here.
7708 * sysdeps/libm-i387/s_tan.S: Moved to ...
7709 * sysdeps/i386/fpu/s_tan.S: ...here.
7710 * sysdeps/libm-i387/s_tanf.S: Moved to ...
7711 * sysdeps/i386/fpu/s_tanf.S: ...here.
7712 * sysdeps/libm-i387/s_tanl.S: Moved to ...
7713 * sysdeps/i386/fpu/s_tanl.S: ...here.
7714 * sysdeps/libm-i387/s_trunc.S: Moved to ...
7715 * sysdeps/i386/fpu/s_trunc.S: ...here.
7716 * sysdeps/libm-i387/s_truncf.S: Moved to ...
7717 * sysdeps/i386/fpu/s_truncf.S: ...here.
7718 * sysdeps/libm-i387/s_truncl.S: Moved to ...
7719 * sysdeps/i386/fpu/s_truncl.S: ...here.
7720 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7721 * sysdeps/ieee754/k_standard.c: ...here.
7722 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7723 * sysdeps/ieee754/s_lib_version.c: ...here.
7724 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7725 * sysdeps/ieee754/s_matherr.c: ...here.
7726 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7727 * sysdeps/ieee754/s_signgam.c: ...here.
7728 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7729 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7730 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7731 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7732 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7733 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7734 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7735 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7736 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7737 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7738 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7739 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7740 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7741 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7742 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7743 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7744 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7745 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7746 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7747 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7748 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7749 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7750 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7751 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7752 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7753 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7754 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7755 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7756 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7757 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7758 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7760 * sysdeps/libm-ieee754/e_log.c: Moved to ...
7761 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7762 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7763 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7764 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7765 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7766 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7767 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7768 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7769 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7770 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7771 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7772 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7773 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7774 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7775 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7776 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7777 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7778 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7779 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7780 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7781 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7782 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7783 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7784 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7785 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7786 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7787 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7788 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7789 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7790 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7791 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7792 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7793 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7794 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7795 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7796 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7797 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7798 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7799 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7800 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7801 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7802 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7803 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7804 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7805 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7806 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7807 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7808 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7809 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7810 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7811 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7812 (__isnan): Comment above function says it returns 0 or 1, but it
7813 used to return 0 or -1.
7814 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7815 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7816 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7817 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7818 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7819 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7820 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7821 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7822 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7823 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7824 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7825 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7826 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7827 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7828 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7829 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7830 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7831 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7832 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7833 * sysdeps/generic/s_nextafter.c: ...here.
7834 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7835 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7836 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7837 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7838 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7839 * sysdeps/libm-ieee754/s_round.c: Moved to ...
7840 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7841 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7842 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7843 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7844 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7845 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7846 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7847 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7848 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7849 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7850 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7851 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7852 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7853 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7854 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7855 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7856 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7857 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7858 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7859 * sysdeps/ieee754/mpn2flt.c: Moved to ...
7860 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7861 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7862 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7863 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7864 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7865 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7866 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7867 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7868 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7869 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7870 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7871 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7872 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7873 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7874 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7875 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7876 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7877 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7878 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7879 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7880 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7881 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7882 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7883 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7884 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7885 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7886 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7887 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7888 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7889 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7890 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7891 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7892 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7893 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7894 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7895 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7896 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7897 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7898 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7899 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7900 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7901 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7902 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7903 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7904 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7905 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7906 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7907 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7908 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7909 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7910 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7911 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7912 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7913 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7914 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7915 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7916 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7917 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7918 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7919 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7920 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7921 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7922 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7923 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7924 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7925 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7926 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7927 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7928 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7929 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7930 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7931 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7932 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7933 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7934 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7935 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7936 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7937 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7938 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7939 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7940 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7941 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7942 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7943 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7944 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7945 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7946 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7947 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7948 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7949 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7950 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7951 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7952 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7953 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7954 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7955 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7956 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7957 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7958 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7959 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7960 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7961 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7962 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7963 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7964 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7965 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7966 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7967 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7968 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7969 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7970 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7971 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7972 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7973 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7974 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7975 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7976 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7977 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7978 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7979 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7980 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7981 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7982 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7983 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7984 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7985 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7987 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7988 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7989 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7990 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7991 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7992 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7993 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7994 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7995 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7996 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7997 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7998 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7999 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
8000 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
8001 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
8002 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
8003 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
8004 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
8005 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
8006 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
8007 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
8008 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
8009 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
8010 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
8011 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
8012 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
8013 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
8014 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
8015 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
8016 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
8017 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
8018 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
8019 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
8020 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
8021 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
8022 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
8023 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
8024 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
8025 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
8026 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
8027 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
8028 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
8029 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
8030 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
8031 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
8032 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
8033 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
8034 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
8035 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
8037 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
8038 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
8039 (__nearbyintl): Fix for exponents 2^30.
8040 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
8041 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
8042 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
8043 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
8044 (__rintl): Fix for exponents 2^30.
8045 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
8046 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
8047 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
8048 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
8049 (__scalbnl): Fix exponent for subnormal result.
8050 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
8051 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
8052 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
8053 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
8054 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
8055 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
8056 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
8057 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
8058 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
8059 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
8060 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
8061 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8062 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8063 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8064 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8065 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8066 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8067 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8068 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8069 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8070 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8071 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8072 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8073 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8074 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8075 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8076 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8077 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8078 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8079 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8080 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8082 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8083 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8084 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8086 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8087 * sysdeps/i386/fpu/s_scalbln.c: ...here.
8088 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8089 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8090 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8091 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8092 * sysdeps/libm-i387/t_exp.c: Moved to ...
8093 * sysdeps/i386/fpu/t_exp.c: ...here.
8094 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8095 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8096 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8097 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8098 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8099 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8100 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8101 * sysdeps/i386/fpu/s_isinfl.c: ...here.
8102 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8103 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8104 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8105 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8106 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8107 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8108 Fix exponent for subnormal result.
8109 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8110 * sysdeps/generic/s_nexttowardl.c: ...here.
8111 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8112 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8113 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8114 * sysdeps/i386/fpu/s_isnanl.c: ...here.
8115 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8116 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8117 Comment above function says it returns 0 or 1, but it used to return
8119 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8120 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8121 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8122 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8123 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8124 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8125 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8126 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8127 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8128 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8129 Cannot compare exponents with different biases without adjusting.
8130 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8131 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8132 Cannot compare exponents with different biases without adjusting.
8133 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8134 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8135 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8136 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8137 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8138 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8139 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8140 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8141 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8142 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8143 * sysdeps/libm-ieee754/Dist: Split into ...
8144 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8145 * sysdeps/ieee754/flt-32/Dist: ...this file.
8147 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8148 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8149 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8150 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8151 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8152 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8153 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8154 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8155 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8156 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8157 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8158 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8159 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8160 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8161 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8162 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8163 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8164 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8165 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8166 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8167 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8168 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8169 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8170 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8171 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8172 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8173 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8174 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8175 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8177 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8178 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8179 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8180 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8181 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8182 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8183 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8184 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8185 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8186 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8187 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8191 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8192 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8193 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8195 * sysdeps/generic/math_ldbl.h: New file.
8196 * sysdeps/generic/s_nexttowardf.c: New file.
8197 * sysdeps/generic/strtold.c: New file.
8198 * sysdeps/generic/ldbl2mpn.c: New file.
8200 * math/machine/endian.h: Remove.
8201 * sysdeps/i386/fpu/Implies: Remove.
8202 * sysdeps/ieee754/Implies: Remove.
8204 * math/math_private.h: Move long double macros to math_ldbl.h
8207 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8209 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8210 connections without a hostname set address to localhost address.
8212 1999-07-11 H.J. Lu <hjl@gnu.org>
8214 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8215 nscd's own strong version of the get[a-z]*_r function.
8216 * nscd/hstcache.c: Likewise.
8217 * nscd/pwdcache.c: Likewise.
8219 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8221 * configure.in: Recognize 2.95 as gcc version number.
8222 Patch by Joel Klecker <jk@espy.org>.
8224 1999-07-12 Andreas Schwab <schwab@suse.de>
8226 * elf/rtld.c (dl_main): When putting back the interpreter object
8227 handle the case where a missing object might occur in the list of
8228 objects but not in the search list when in trace mode.
8230 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
8232 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8233 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8234 _nss_hesiod_initgroups.
8236 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8238 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8239 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8240 Initialize it from &__data_start if defined, or else &_end.
8242 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8244 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8245 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8247 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8249 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8251 1999-07-09 H.J. Lu <hjl@gnu.org>
8253 * Versions.def (GLIBC_2.1.2): Added.
8255 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8256 old one as GLIBC_2.0.
8257 * nss/getXXbyYY_r.c: Likewise.
8259 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8261 * inet/Versions (getaliasbyname_r, getaliasent_r,
8262 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8263 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8264 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8265 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8266 getservbyname_r): Likewise.
8267 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8268 * shadow/Versions (getspent_r, getspnam_r): Likewise.
8270 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8272 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8274 (__memset_cc): Likewise.
8276 * sysdeps/generic/libc-start.c: For SUID binaries check whether
8277 the standard file descriptors are open.
8278 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8280 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8281 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8282 range of mmap. If not fail.
8283 Patches by Daniel Jacobowitz <dan@debian.org>.
8285 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8286 before the relocation happened.
8287 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8289 * Versions.def (libnsl): Add GLIBC_2.2.
8290 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8292 1999-07-08 Cristian Gafton <gafton@redhat.com>
8294 * nis/yp_xdr.c (xdr_ypall): New function.
8296 1999-07-09 Andreas Schwab <schwab@suse.de>
8298 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8300 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8302 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8304 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8305 * hesiod/hesiod-grp.c: Add initgroups support.
8306 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8308 1999-07-08 Andreas Schwab <schwab@suse.de>
8310 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8312 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8315 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8317 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8319 1999-07-08 Andreas Schwab <schwab@suse.de>
8321 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8323 1999-07-08 Andreas Schwab <schwab@suse.de>
8325 * libio/fileno.c: Return -1 instead of EOF and set errno if the
8326 stream is not a real file stream.
8328 1999-07-08 Andreas Schwab <schwab@suse.de>
8330 * manual/charset.texi: Fix typos.
8332 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8334 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8336 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
8338 * dlfcn: New directory. Move the following files from elf:
8339 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8340 dlopenold.c, dlsym.c, dlvsym.c.
8341 * dlfcn/Makefile: New file.
8342 * dlfcn/Versions: New file.
8343 * dlfcn/dlsym.c: All ELF-specific code split out to new
8345 * dlfcn/dlvsym.c: All ELF-specific code split out to new
8347 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
8350 * dlfcn/dladdr.c: Remove all references to ELF data structures
8352 * dlfcn/dlclose.c: Likewise.
8353 * dlfcn/dlerror.c: Likewise.
8354 * dlfcn/dlopen.c: Likewise.
8355 * dlfcn/dlopenold.c: Likewise.
8357 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8358 yes, empty otherwise.
8359 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8360 depending on build-shared.
8361 (subdirs): Add $(dlfcn).
8362 (rpath-dirs): Add dlfcn.
8363 * elf/Makefile: Remove all references to libdl or its
8364 components, except the ones relating to the test cases.
8365 (routines): Add dl-sym.
8366 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8369 * elf/dl-close.c (_dl_close): Change argument to void *.
8370 * elf/dl-open.c (_dl_open): Change return type to void *.
8371 * elf/eval.c: Removed.
8372 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8373 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8374 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
8376 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8377 Include real header from dlfcn directory.
8378 * include/ldsodefs.h: Removed.
8380 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8381 * nss/getXXbyYY_r.c: Likewise.
8382 * nss/getXXent_r.c: Likewise.
8383 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
8384 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
8385 * iconv/skeleton.c: Don't include ldsodefs.h.
8386 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
8388 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8390 * sysdeps/generic/setenv.c: Describe problem.
8392 * malloc/malloc.c (request2size): Also set errno if failing.
8394 * malloc/malloc.c (request2size): Take care of overflow in
8397 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
8398 (NULL, != 0) correctly.
8400 * elf/dl-load.c: Use a few more __builtin_expect.
8402 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8405 1999-07-07 Andreas Schwab <schwab@suse.de>
8407 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8408 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8409 (_PATH_DEVPTMX): Use _PATH_DEV.
8411 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8413 * malloc/tst-malloc.c: New file. Tests some basic functionality.
8414 * malloc/Makefile (tests): Add tst-malloc.
8416 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8418 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8421 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8423 Patch by Jay Estabrook.
8425 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8427 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8428 Patch by Cristian Gafton.
8430 1999-07-02 Cristian Gafton <gafton@redhat.com>
8432 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8433 instead of "return NULL" to make C++ happy.
8435 1999-07-04 Mark Kettenis <kettenis@gnu.org>
8437 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8438 allowed by the file access mode of the open file.
8440 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8442 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8445 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
8447 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8448 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8449 * sysdeps/sparc/sparc64/rshift.S: Likewise.
8450 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8452 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8454 * malloc/malloc.c (request2size): Check for overflow and return
8455 NULL whenever it is encountered.
8457 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
8459 * sysdeps/posix/tempname.c (__gen_tempname): Add
8460 ability to create directories. Replace OPENIT and LARGEFILE
8461 args with a single flags parameter.
8462 * sysdeps/generic/tempname.c: Likewise.
8463 * include/stdio.h: Adjust prototype of __gen_tempname to
8464 match. Define symbolic constants for second argument.
8466 * misc/mkdtemp.c: New file, provides new function mkdtemp().
8467 * stdlib/stdlib.h: Prototype it.
8468 * misc/Versions: Export it.
8469 * misc/Makefile (routines): Add mktemp.
8470 * manual/filesys.texi: Document it.
8472 * misc/mktemp.c: Adjust call of __gen_tempname to match new
8474 * misc/mkstemp.c: Likewise.
8475 * stdio-common/tempnam.c: Likewise.
8476 * stdio-common/tmpfile.c: Likewise.
8477 * stdio-common/tmpfile64.c: Likewise.
8478 * stdio-common/tmpnam.c: Likewise.
8479 * stdio-common/tmpnam_r.c: Likewise.
8481 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
8483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8484 R_SPARC_OLO10 relocations.
8485 * elf/elf.h (R_SPARC_OLO10): Fix comment.
8487 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
8489 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
8490 doesn't belong in the tests, but in the wordexp implementation.
8492 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8495 1999-07-01 Cristian Gafton <gafton@redhat.com>
8497 * time/strptime.c (strptime): Initialize the tm struct first to avoid
8498 returning bogus results on incomplete data.
8499 (strptime_internal): day_of_the_week() requres both tm_mon and
8500 tm_mday to be initialized.
8501 Compute them first if they are not given.
8502 (strptime_internal): (have_mon, have_mday): New variables.
8504 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8506 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8508 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8510 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8511 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8513 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8515 * posix/wordexp.c (parse_tilde): Handle failing call to
8516 get.*_r functions correctly for non-existing entry.
8517 * sysdeps/posix/cuserid.c (cuserid): Likewise.
8518 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8520 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8522 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8523 getxxbyYY_r functions correctly for non-existing entry.
8524 * sunrpc/getrpcport.c: Likewise.
8525 * sunrpc/clnt_simp.c: Likewise.
8526 * inet/rexec.c: Likewise.
8527 * sunrpc/clnt_gen.c: Likewise.
8528 * inet/rcmd.c: Likewise.
8529 * sysdeps/generic/glob.c: Likewise.
8531 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8533 * pwd/Makefile (tests): Add rules for tst-getpw.
8535 * pwd/tst-getpw.c: New program to test getpw.
8537 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8539 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8542 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8544 * manual/arith.texi (System V Number Conversion): Fix the
8545 description which confused pointer and value to pointer.
8546 Reported by Andries.Brouwer@cwi.nl.
8548 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8550 * pwd/getpw.c (__getpw): Check for NULL result pointer.
8552 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8554 * manual/users.texi (Lookup User): Document POSIX return
8555 semantics for getpwuid_r and getgrgid_r.
8557 * manual/socket.texi (Host Names): Document that the result
8558 pointer is null in case of error or host not found and fix a
8559 typo. Give a small example.
8561 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8563 * pwd/getpw.c: Add warning since no buffer size is given and
8564 therefore no overrun tests are possible.
8566 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8568 * pwd/pwd.h: Add getpw prototype declaration.
8570 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8572 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8573 * wcsmbs/wcschr.c: Likewise.
8575 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8577 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8579 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8580 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8581 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8583 * elf/dl-dst.h: Fix typo.
8584 * elf/dl-open.c: Likewise.
8586 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
8588 * elf/dl-libc.c: New file, provides three functions:
8589 __libc_dlopen, __libc_dlclose, __libc_dlsym.
8590 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
8591 * elf/Makefile (routines): Add dl-libc.c.
8592 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8594 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8596 * iconv/gconv.c: Include dlfcn.h.
8597 * iconv/gconv_db.c: Likewise.
8598 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
8600 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8601 `handle' to a void *.
8602 (__gconv_find_func): Delete prototype.
8604 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
8605 dlerror_run and related functions and structs. Use
8606 __libc_dlopen, __libc_dlsym, __libc_dlclose.
8607 * nss/nsswitch.c: Likewise.
8609 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8611 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8614 * sunrpc/getrpcport.c: Test for gethostbyname_r function
8617 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8619 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8620 functions correctly.
8622 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8624 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
8627 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8629 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8631 * manual/string.texi (Copying and Concatenation): Mention that
8632 strndup is a GNU extension.
8634 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8636 * pwd/getpw.c (__getpw): Fix check for error return.
8638 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8640 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8641 occurence of the aux object start with the current list entry, not
8642 the new one. Adjust tail pointer in the unique list. Explain how
8643 the meaning of the variables changes [PR libc/1168].
8645 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8647 * sysdeps/m68k/fpu/Dist: New file.
8649 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8651 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8653 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
8654 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8655 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8656 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8657 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8658 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8659 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8660 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8661 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8662 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8663 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8664 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8665 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8666 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8667 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8668 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8670 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
8672 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8673 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8674 _EXTERN_INLINE, use a macro specific to each file,
8675 _HURD_FD_H_EXTERN_INLINE and the like.
8676 * hurd/Makefile (inline-headers): New variable.
8677 (routines): Remove hurdinline. Add $(inlines).
8678 (inlines): New variable.
8679 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8680 (generated): Append those here.
8681 * hurd/hurdinline.c: File removed.
8683 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8685 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8687 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8689 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8691 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
8693 * string/bits/string2.h (strnlen): Remove extra prototype.
8695 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8697 * manual/filesys.texi (Working on Directory Trees): Fix typos.
8698 Reported by Andries.Brouwer@cwi.nl.
8700 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
8702 * nscd/connections.c (handle_request): Use correct type for optlen
8705 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8706 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8708 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
8710 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8711 * nscd/pwdcache.c: Likewise.
8712 * nscd/hstcache.c: Likewise.
8714 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8716 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8718 * posix/getopt.h: Include stdio.h.
8720 * manual/arith.texi: Document restriction of ndigit parameter of
8722 * misc/efgcvt.c: Define NDIGIT_MAX.
8723 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8724 Do not dynamically allocate the static buffers. They are small enough.
8725 * misc/efgcvt_r.c: Define NDIGIT_MAX.
8726 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8727 * misc/qefgcvt.c: Define NDIGIT_MAX.
8728 * misc/qefgcvt_r.c: Likewise.
8729 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8731 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
8733 * libio/stdio.h: Define stdin, stdout, stderr as macros.
8734 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8735 These are *pragmas* not macros.
8736 * wcsmbs/wchar.h: Fix comment.
8738 * grp/grp.h: Use __foo_t_defined convention to typedef things
8740 * io/sys/stat.h: Likewise.
8741 * libio/stdio.h: Likewise.
8742 * posix/unistd.h: Likewise.
8743 * posix/sys/types.h: Likewise.
8744 * posix/sys/wait.h: Likewise.
8745 * pwd/pwd.h: Likewise.
8746 * signal/signal.h: Likewise.
8747 * sysdeps/generic/stdint.h: Likewise.
8748 * sysdeps/gnu/utmpx.h: Likewise.
8749 * termios/termios.h: Likewise.
8751 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8753 * stdio/fputc.c: Don't define alias if fputc is defined as a
8755 * stdio/putc.c: Define weak alias here since it is not done
8758 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8760 * assert/assert.h: Don't produce `defined' as part of macro
8763 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
8765 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8766 OFFSET argument of (off_t) -1.
8767 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8768 OFFSET argument of (off_t) -1.
8770 * sysdeps/mach/hurd/pwrite.c: New file.
8771 * sysdeps/mach/hurd/pread.c: New file.
8773 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8774 pass it in the RPC instead of always -1.
8775 * hurd/fd-write.c (_hurd_fd_write): Likewise.
8776 * hurd/hurd/fd.h: Update decls.
8778 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8780 * libio/wscanf.c: Include <wchar.h> for prototype.
8782 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
8784 * manual/io.texi. Fix typos.
8785 * manual/stdio.texi: Likewise.
8786 Patches by Brian Youmans <3diff@gnu.org>.
8788 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
8790 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8791 bits of two words differ.
8793 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8795 * libio/Makefile (routines): Add putwchar and putwchar_u.
8797 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8798 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
8799 stdout. Fix parameter name.
8801 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8802 * libio/getchar_u.c: Likewise.
8804 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8806 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8808 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8809 macro expansion---it's undefined. Properly parenthesize
8810 substituted parameters.
8811 (__GLIBC_PREREQ): Likewise.
8813 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
8815 * Makeconfig (CPPFLAGS): Revert last change. It has too many
8818 * stdlib/longlong.h: Provide __P definition if not already
8821 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8823 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
8825 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8827 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8829 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8831 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8833 * stdio-common/vfprintf.c (group_member): Make parameters and
8834 return types pointers to CHAR_T instead of UCHAR_T.
8835 (vfprintf): Change type of work_buffer, workend and string to
8836 CHAR_T pointer/array.
8837 (process_arg, process_string_arg): Adjust/remove casts. Add
8838 missing use of L_ macro.
8839 (printf_unknown): Add missing uses of L_ macro.
8841 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8843 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8846 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8848 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
8849 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8850 (__wunderflow): Likewise.
8851 (_IO_switch_to_wget_mode): Likewise.
8852 (_IO_init_wmarker): Likewise.
8854 * libio/wfileops.c (_IO_wfile_seekoff): Call
8855 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8856 (_IO_wfile_jumps): Fix pbackfail entry.
8858 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8859 function if the stream is currently unoriented.
8861 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
8863 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8864 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
8865 __gnuc_va_list in v*w(printf|scanf) prototypes.
8867 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8869 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8870 1999-03-29 to iopopen also here.
8871 Reported by Richard Braakman <dark@xs4all.nl>.
8873 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8875 * include/features.h: Use __GNUC_PREREQ.
8876 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8878 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8880 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8881 Change EOF to WEOF and remove cast.
8882 (UNGETC): Remove macro.
8883 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8884 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8885 Change ISASCII to isascii and MBRLEN to mbrlen.
8886 (parse_one_spec): Compare info.spec always against wchar_t
8888 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8889 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8890 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8892 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8894 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8895 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8896 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8897 oldiofsetpos64 only if doing versioning.
8899 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8901 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8903 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8905 * libio/libio.h: Fix last patch.
8907 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8909 * libio/libio.h (_IO_putwc): Correct type of first argument.
8910 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8911 putwc_unlocked, putwchar_unlocked): Likewise.
8912 * libio/fputwc.c: Likewise.
8913 * libio/fputwc_unlocked.c: Likewise.
8914 * libio/putwc.c: Likewise.
8915 * libio/putwc_unlocked.c: Likewise.
8916 * libio/putwchar.c: Likewise.
8917 * libio/putwchar_unlocked.c: Likewise.
8919 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
8921 * sysdeps/gnu/siglist.h: File moved to ...
8922 * sysdeps/generic/siglist.h: ... here. This file should be usable for
8923 any platform, since it just associates the SIG* macros with text names
8924 and descriptions. For any signal macros do not exist on every
8925 platform, we can use #ifdef tests here and still use this single
8926 common file for all platforms.
8927 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
8928 should be usable for all platforms after the binary compatibility
8929 stuff in the current sysdeps/gnu version is no longer required.
8930 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8931 * sysdeps/generic/make_siglist.c: File removed.
8932 * sysdeps/mach/hurd/siglist.h: Use #include_next.
8933 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8935 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
8937 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8938 * sysdeps/gnu/siglist.c: ... here.
8939 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8940 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8941 * sysdeps/gnu/siglist.h: New file, contents from linux version.
8942 Add entry for SIGLOST protected by #ifdef.
8943 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8944 and define OLD_SIGLIST_SIZE_STR.
8945 * sysdeps/mach/hurd/siglist.h: New file, likewise.
8947 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8949 * include/features.h: Define new macros __GNUC_PREREQ and
8950 __GLIBC_PREREQ which can be used to test the version of gcc
8951 and glibc respectively.
8953 * assert/assert.h: Use __GNUC_PREREQ.
8954 * intl/libintl.h: Likewise.
8955 * math/complex.h: Likewise.
8956 * math/tgmath.h: Likewise.
8957 * misc/sys/cdefs.h: Likewise.
8958 * posix/sys/types.h: Likewise.
8959 * socket/sys/socket.h: Likewise.
8960 * string/bits/string2.h: Likewise.
8961 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8962 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8964 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8966 * include/libintl.h: Declare _libc_intl_domainname here.
8967 Define _ and N_ here.
8968 * include/libc-symbols.h: Don't include <libintl.h>. Don't
8969 define _ and N_. Don't declare _libc_intl_domainname.
8970 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8972 * db2/config.h: Don't include sys/stat.h or define
8973 HAVE_ST_BLKSIZE here...
8974 * db2/compat.h: ...do it here.
8976 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8978 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8979 * iconv/iconv.c: Include stddef.h for NULL.
8980 * malloc/malloc.h: Include features.h.
8981 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8983 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8984 into the generated file.
8985 * sysdeps/gnu/errlist.awk: Likewise.
8986 * sysdeps/gnu/errlist.c: Rebuilt.
8988 * assert/assert-perr.c: Include libintl.h.
8989 * assert/assert.c: Likewise.
8990 * elf/dl-open.c: Likewise.
8991 * elf/dlsym.c: Likewise.
8992 * elf/dlvsym.c: Likewise.
8993 * iconv/iconv_prog.c: Likewise.
8994 * inet/rcmd.c: Likewise.
8995 * inet/ruserpass.c: Likewise.
8996 * locale/programs/charset.c: Likewise.
8997 * locale/programs/ld-collate.c: Likewise.
8998 * locale/programs/ld-ctype.c: Likewise.
8999 * locale/programs/ld-messages.c: Likewise.
9000 * locale/programs/ld-monetary.c: Likewise.
9001 * locale/programs/ld-numeric.c: Likewise.
9002 * locale/programs/ld-time.c: Likewise.
9003 * locale/programs/locfile.c: Likewise.
9004 * locale/programs/repertoire.c: Likewise.
9005 * login/programs/database.c: Likewise.
9006 * login/programs/request.c: Likewise.
9007 * malloc/mcheck.c: Likewise.
9008 * misc/error.c: Likewise.
9009 * nis/nis_call.c: Likewise.
9010 * nis/nis_callback.c: Likewise.
9011 * nis/nis_error.c: Likewise.
9012 * nis/nis_local_names.c: Likewise.
9013 * nis/nis_print.c: Likewise.
9014 * nis/nis_print_group_entry.c: Likewise.
9015 * nis/ypclnt.c: Likewise.
9016 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9017 * nscd/cache.c: Likewise.
9018 * nscd/connections.c: Likewise.
9019 * nscd/grpcache.c: Likewise.
9020 * nscd/hstcache.c: Likewise.
9021 * nscd/nscd_conf.c: Likewise.
9022 * nscd/nscd_stat.c: Likewise.
9023 * nscd/pwdcache.c: Likewise.
9024 * posix/id.c: Likewise.
9025 * resolv/herror.c: Likewise.
9026 * stdio-common/psignal.c: Likewise.
9027 * string/strsignal.c: Likewise.
9028 * sunrpc/auth_unix.c: Likewise.
9029 * sunrpc/clnt_perr.c: Likewise.
9030 * sunrpc/clnt_raw.c: Likewise.
9031 * sunrpc/clnt_tcp.c: Likewise.
9032 * sunrpc/clnt_udp.c: Likewise.
9033 * sunrpc/clnt_unix.c: Likewise.
9034 * sunrpc/get_myaddr.c: Likewise.
9035 * sunrpc/pm_getmaps.c: Likewise.
9036 * sunrpc/pmap_clnt.c: Likewise.
9037 * sunrpc/pmap_rmt.c: Likewise.
9038 * sunrpc/rpc_main.c: Likewise.
9039 * sunrpc/rpc_scan.c: Likewise.
9040 * sunrpc/svc_run.c: Likewise.
9041 * sunrpc/svc_simple.c: Likewise.
9042 * sunrpc/svc_tcp.c: Likewise.
9043 * sunrpc/svc_udp.c: Likewise.
9044 * sunrpc/svc_unix.c: Likewise.
9045 * sunrpc/xdr_rec.c: Likewise.
9046 * sunrpc/xdr_ref.c: Likewise.
9047 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
9048 * sysdeps/posix/gai_strerror.c: Likewise.
9049 * sysdeps/unix/siglist.c: Likewise.
9050 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
9051 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9052 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
9053 * timezone/zic.c: Likewise.
9055 1999-06-18 H.J. Lu <hjl@gnu.org>
9057 * localedata/Makefile (charmaps): Exclude SCCS.
9058 (locales): Likewise.
9059 (repertoiremaps): Likewise.
9061 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
9063 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9064 * sysdeps/generic/bsd-setjmp.c: Likewise.
9066 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9068 * iconv/gconv_open.c: Include string.h for memset prototype.
9070 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9073 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9074 assignment to avoid warning on 64bit platforms.
9076 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9078 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9080 * nss/getXXbyYY_r.c: Return error code not -1.
9081 * nss/getXXent_r.c: Likewise.
9082 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9084 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9085 value > 0 for error.
9086 * nscd/nscd_gethst_r.c: Likewise.
9087 * nscd/nscd_getpw_r.c: Likewise.
9089 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9091 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9094 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9096 * nscd/nscd_nischeck.c: Fix typos.
9098 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9100 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9101 always when oact is NULL.
9102 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9104 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9106 * math/libm-test.c (jn_test): Adjust delta.
9108 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9110 * libio/vwprintf.c: Include <wchar.h> for prototypes.
9111 * libio/wprintf.c: Likewise.
9113 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9115 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9116 to not write beyond allocated memory.
9117 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9119 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9121 * malloc/mtrace.c: Keep lock while printing output lines.
9122 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9124 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
9126 * configure.in: Add warnings about broken code.
9128 * Versions.def: Add GLIBC_2.2 for libc.
9130 * iconv/gconv.h: Make header suitable for inclusion in public header
9131 by protecting all names with __.
9132 * iconv/gconv.c: Adapt for symbol name changes.
9133 * iconv/gconv.h: Likewise.
9134 * iconv/gconv_builtin.c: Likewise.
9135 * iconv/gconv_close.c: Likewise.
9136 * iconv/gconv_db.c: Likewise.
9137 * iconv/gconv_dl.c: Likewise.
9138 * iconv/gconv_int.h: Likewise.
9139 * iconv/gconv_open.c: Likewise.
9140 * iconv/gconv_simple.c: Likewise.
9141 * iconv/iconv.c: Likewise.
9142 * iconv/iconv_close.c: Likewise.
9143 * iconv/iconv_open.c: Likewise.
9144 * iconv/loop.c: Likewise.
9145 * iconv/skeleton.c: Likewise.
9146 * iconvdata/8bit-gap.c: Likewise.
9147 * iconvdata/8bit-generic.c: Likewise.
9148 * iconvdata/ansi_x3.110.c: Likewise.
9149 * iconvdata/big5.c: Likewise.
9150 * iconvdata/cns11643.h: Likewise.
9151 * iconvdata/cns11643l1.h: Likewise.
9152 * iconvdata/euc-cn.c: Likewise.
9153 * iconvdata/euc-jp.c: Likewise.
9154 * iconvdata/euc-kr.c: Likewise.
9155 * iconvdata/euc-tw.c: Likewise.
9156 * iconvdata/gb2312.h: Likewise.
9157 * iconvdata/iso-2022-jp.c: Likewise.
9158 * iconvdata/iso-2022-kr.c: Likewise.
9159 * iconvdata/iso646.c: Likewise.
9160 * iconvdata/iso8859-1.c: Likewise.
9161 * iconvdata/iso_6937-2.c: Likewise.
9162 * iconvdata/iso_6937.c: Likewise.
9163 * iconvdata/jis0201.h: Likewise.
9164 * iconvdata/jis0208.h: Likewise.
9165 * iconvdata/jis0212.h: Likewise.
9166 * iconvdata/johab.c: Likewise.
9167 * iconvdata/ksc5601.h: Likewise.
9168 * iconvdata/sjis.c: Likewise.
9169 * iconvdata/t.61.c: Likewise.
9170 * iconvdata/uhc.c: Likewise.
9171 * stdlib/mblen.c: Likewise.
9172 * stdlib/mbtowc.c: Likewise.
9173 * stdlib/wctomb.c: Likewise.
9174 * wcsmbs/btowc.c: Likewise.
9175 * wcsmbs/mbrtowc.c: Likewise.
9176 * wcsmbs/mbsnrtowcs.c: Likewise.
9177 * wcsmbs/mbsrtowcs.c: Likewise.
9178 * wcsmbs/wchar.h: Likewise.
9179 * wcsmbs/wcrtomb.c: Likewise.
9180 * wcsmbs/wcsmbsload.c: Likewise.
9181 * wcsmbs/wcsmbsload.h: Likewise.
9182 * wcsmbs/wcsnrtombs.c: Likewise.
9183 * wcsmbs/wcsrtombs.c: Likewise.
9184 * wcsmbs/wctob.c: Likewise.
9186 * include/limits.h (MB_LEN_MAX): Increase to 16.
9188 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
9190 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9191 * include/wchar.h: Change mbstate_t to __mbstate_t.
9193 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9194 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9195 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9196 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9197 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9198 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9200 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9201 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9202 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9203 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9204 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9205 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9206 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9207 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9209 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
9210 Extend _IO_file contain pointer to codecvt, widedata and mode.
9211 (_IO_getwc_unlocked): New macro.
9212 (_IO_putwc_unlocked): New macro.
9213 (_IO_fwide): New macro.
9214 * libio/libioP.h: Add new prototypes and adjust existing declarations.
9215 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9216 buffers based on mode.
9217 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9219 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9220 flag to be enough to signal unallocated buffer. For wide oriented
9221 stream don't make it linebuffered. Don't use _IO_do_flush, use
9222 _IO_new_do_write directly.
9223 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9224 (_IO_file_seek): Likewise.
9225 * libio/genops.c (_IO_least_marker): Make global.
9226 (__underflow): Orient stream if not already done.
9227 (__uflow): Likewise.
9228 (_IO_default_seekpos): Change to type _IO_off64_t.
9229 (_IO_default_seekoff): Likewise.
9230 (_IO_default_seek): Likewise.
9231 (_IO_no_init): New function. Similar to _IO_init but allows to orient
9233 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
9235 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
9237 * libio/ftello64.c: Likewise.
9238 * libio/ioftell.c: Likewise.
9239 * libio/iofopncook.c: Likewise.
9240 * libio/ioseekoff.c: Likewise.
9241 * libio/ioseekpos.c: Likewise.
9242 * libio/oldfileops.c: Likewise.
9243 * libio/iofgetpos.c: Store state of conversion if necessary.
9244 * libio/iofgetpos64.c: Likewise.
9245 * libio/iofsetpos.c: Restore conversion state if necessary.
9246 * libio/iofsetpos64.c: Likewise.
9247 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9248 * libio/iofopen.c: Likewise.
9249 * libio/iofopen64.c: Likewise.
9250 * libio/iopopen.c: Likewise.
9251 * libio/iovdprintf.c: Likewise.
9252 * libio/iovsprintf.c: Likewise.
9253 * libio/iovsscanf.c: Likewise.
9254 * libio/memstream.c: Likewise.
9255 * libio/obprintf.c: Likewise.
9256 * libio/iofputs.c: Orient stream if not already happened.
9257 * libio/iofputs_u.c: Likewise.
9258 * libio/iofwrite.c: Likewise.
9259 * libio/iofwrite_u.c: Likewise.
9260 * libio/ioputs.c: Likewise.
9261 * libio/iosetbuffer.c: Handle not yet oriented stream.
9262 * libio/iosetvbuf.c: Likewise.
9263 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9264 * libio/stdfiles.c: Likewise.
9265 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9267 (_IO_str_seekoff): Use _IO_off64_t.
9268 * libio/vasprintf.c: Pre-orient stream.
9269 * libio/vsnprintf.c: Likewise.
9270 * libio/fputwc.c: New file.
9271 * libio/fputwc_u.c: New file.
9272 * libio/fwprintf.c: New file.
9273 * libio/fwscanf.c: New file.
9274 * libio/getwc.c: New file.
9275 * libio/getwc_u.c: New file.
9276 * libio/getwchar.c: New file.
9277 * libio/getwchar_u.c: New file.
9278 * libio/iofgetws.c: New file.
9279 * libio/iofgetws_u.c: New file.
9280 * libio/iofputws.c: New file.
9281 * libio/iofputws_u.c: New file.
9282 * libio/iofwide.c: New file.
9283 * libio/iogetwline.c: New file.
9284 * libio/ioungetwc.c: New file.
9285 * libio/iovswscanf.c: New file.
9286 * libio/iowpadn.c: New file.
9287 * libio/oldiofgetpos.c: New file.
9288 * libio/oldiofgetpos64.c: New file.
9289 * libio/oldiofsetpos.c: New file.
9290 * libio/oldiofsetpos64.c: New file.
9291 * libio/putwc.c: New file.
9292 * libio/putwc_u.c: New file.
9293 * libio/putwchar.c: New file.
9294 * libio/putwchar_u.c: New file.
9295 * libio/swprintf.c: New file.
9296 * libio/swscanf.c: New file.
9297 * libio/tst_swprintf.c: New file.
9298 * libio/tst_swscanf.c: New file.
9299 * libio/tst_wprintf.c: New file.
9300 * libio/tst_wscanf.c: New file.
9301 * libio/tst_wscanf.input: New file.
9302 * libio/vswprintf.c: New file.
9303 * libio/vwprintf.c: New file.
9304 * libio/vwscanf.c: New file.
9305 * libio/wfiledoalloc.c: New file.
9306 * libio/wfileops.c: New file.
9307 * libio/wgenops.c: New file.
9308 * libio/wprintf.c: New file.
9309 * libio/wscanf.c: New file.
9310 * libio/wstrops.c: New file.
9311 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9312 vfwprintf, and vfwscanf.
9313 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9315 * stdio-common/_itowa.c: New file.
9316 * stdio-common/_itowa.h: New file.
9317 * stdio-common/itoa-digits.c: Minimal optimization.
9318 * stdio-common/itowa-digits.c: New file.
9319 * stdio-common/printf-parse.h: Allow use in wide character context.
9320 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9321 * stdio-common/printf.h (printf_info): Add wide bit.
9322 * stdio-common/printf_fp.c: Determine from wide bit whether stream
9323 is wide oriented or not.
9324 * stdio-common/printf_size.c: Likewise.
9325 * sysdeps/generic/printf_fphex.c: Likewise.
9326 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9327 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9329 * stdio-common/vfscand.c: Likewise.
9330 * stdio-common/vfwprintf.c: New file.
9331 * stdio-common/vfwscanf.c: New file.
9333 * time/Makefile (routines): Add wcsftime.
9334 (tests): Add tst_wcsftime.
9335 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9336 * time/strftime.c: Make usable as wcsftime.
9337 * time/wcsftime.c: New file.
9338 * time/tst_wcsftime.c: New file.
9340 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9341 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9342 * wcsmbs/wcschrnul.c: New file.
9343 * wcsmbs/wmemcpy.c: New file.
9344 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9345 * wcsmbs/wmemmove.c: Likewise for wmemmove.
9347 * manual/stdio.texi: Document is_char and wide element if printf_info.
9349 * manual/time.texi: Document wcsftime.
9351 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9352 __wmemmove, __wcschrnul, and __vfwscanf.
9354 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9355 * locale/C-time.c: Adapt for above change.
9356 * locale/categories.def: Likewise.
9357 * locale/localeinfo.h: Likewise.
9358 * localedata/Makefile: Don't run tests for now.
9360 * manual/errno.texi: Fix typos.
9361 * manual/memory.texi: Likewise.
9362 * manual/ctype.texi: Likewise.
9363 Patches by Brian Youmans <3diff@gnu.org>.
9365 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9367 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9369 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9371 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9373 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9374 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9376 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9378 * db2/db/db.c: Restore __nss_db_open alias.
9379 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9381 * db2/os/os_rw.c (__os_write): Maintain const correctness.
9382 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9384 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9386 * stdio-common/printf-parse.h (parse_one_spec): Don't set
9387 is_longlong if not necessary.
9389 1999-06-15 H.J. Lu <hjl@gnu.org>
9391 * Make-dist (sysdep_dirs): Exclude SCCS.
9392 * MakeTAGS (sysdep_dirs): Likewise.
9394 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9396 * posix/regex.c (re_error_msgid): Remove extra commas.
9398 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
9400 * stdlib/tst-strtoll.c: New file.
9401 * stdlib/Makefile (tests): Add tst-strtoll.c
9402 * stdlib/strtol.c: It is not generally true that if
9403 (unsigned)a*(unsigned)b overflows, then the result is
9406 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
9408 * nscd/connections.c (handle_request): Only root is allowed to
9409 send GETSTAT request in non secure mode.
9410 * nscd/nscd.c: Print error message if other then root try to
9413 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9415 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9417 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9419 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9420 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9422 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9424 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9425 for character to search, to help the compiler.
9426 * sysdeps/generic/strchrnul.c: Likewise.
9427 * sysdeps/generic/memchr.c: Likewise.
9428 * sysdeps/generic/memccpy.c: Likewise.
9429 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
9431 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9433 * sysdeps/m68k/memchr.S: New file.
9434 * sysdeps/m68k/rawmemchr.S: New file.
9435 * sysdeps/m68k/strchr.S: New file.
9436 * sysdeps/m68k/strchrnul.S: New file.
9438 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
9440 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9441 add `memory' clobber; optimise for constant `val'.
9442 (atomic_add): Likewise.
9443 (test_and_set): Remove `volatile'; add `memory' clobber; be more
9444 like the original `test_and_set'.
9445 (compare_and_swap): Remove `volatile'; add `memory' clobber;
9446 optimise for constant `oldval'.
9447 (always_swap): Remove `volatile'; add `memory' clobber.
9449 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9451 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9452 functions for gcc <= 2.7.x.
9454 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
9456 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9459 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
9461 * db2/Makefile (distribute): Remove files which do not exist
9464 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9465 definitions to calm down gcc.
9467 * db2/db.h: Update from db 2.7.5.
9468 * db2/db_185.h: Likewise.
9469 * db2/db_int.h: Likewise.
9470 * db2/btree/bt_compare.c: Likewise.
9471 * db2/btree/bt_conv.c: Likewise.
9472 * db2/btree/bt_curadj.c: Likewise.
9473 * db2/btree/bt_cursor.c: Likewise.
9474 * db2/btree/bt_delete.c: Likewise.
9475 * db2/btree/bt_open.c: Likewise.
9476 * db2/btree/bt_page.c: Likewise.
9477 * db2/btree/bt_put.c: Likewise.
9478 * db2/btree/bt_rec.c: Likewise.
9479 * db2/btree/bt_recno.c: Likewise.
9480 * db2/btree/bt_rsearch.c: Likewise.
9481 * db2/btree/bt_search.c: Likewise.
9482 * db2/btree/bt_split.c: Likewise.
9483 * db2/btree/bt_stat.c: Likewise.
9484 * db2/btree/btree_auto.c: Likewise.
9485 * db2/common/db_appinit.c: Likewise.
9486 * db2/common/db_apprec.c: Likewise.
9487 * db2/common/db_err.c: Likewise.
9488 * db2/common/db_region.c: Likewise.
9489 * db2/common/db_salloc.c: Likewise.
9490 * db2/db/db.c: Likewise.
9491 * db2/db/db.src: Likewise.
9492 * db2/db/db_am.c: Likewise.
9493 * db2/db/db_auto.c: Likewise.
9494 * db2/db/db_dispatch.c: Likewise.
9495 * db2/db/db_dup.c: Likewise.
9496 * db2/db/db_iface.c: Likewise.
9497 * db2/db/db_join.c: Likewise.
9498 * db2/db/db_overflow.c: Likewise.
9499 * db2/db/db_pr.c: Likewise.
9500 * db2/db/db_rec.c: Likewise.
9501 * db2/db/db_ret.c: Likewise.
9502 * db2/db185/db185.c: Likewise.
9503 * db2/dbm/dbm.c: Likewise.
9504 * db2/hash/hash.c: Likewise.
9505 * db2/hash/hash_auto.c: Likewise.
9506 * db2/hash/hash_dup.c: Likewise.
9507 * db2/hash/hash_page.c: Likewise.
9508 * db2/hash/hash_rec.c: Likewise.
9509 * db2/hash/hash_stat.c: Likewise.
9510 * db2/include/btree.h: Likewise.
9511 * db2/include/btree_ext.h: Likewise.
9512 * db2/include/clib_ext.h: Likewise.
9513 * db2/include/common_ext.h: Likewise.
9514 * db2/include/db_am.h: Likewise.
9515 * db2/include/db_auto.h: Likewise.
9516 * db2/include/db_cxx.h: Likewise.
9517 * db2/include/db_ext.h: Likewise.
9518 * db2/include/db_join.h: Likewise.
9519 * db2/include/db_page.h: Likewise.
9520 * db2/include/hash.h: Likewise.
9521 * db2/include/hash_ext.h: Likewise.
9522 * db2/include/lock.h: Likewise.
9523 * db2/include/lock_ext.h: Likewise.
9524 * db2/include/log.h: Likewise.
9525 * db2/include/log_ext.h: Likewise.
9526 * db2/include/mp.h: Likewise.
9527 * db2/include/mp_ext.h: Likewise.
9528 * db2/include/os.h: Likewise.
9529 * db2/include/os_ext.h: Likewise.
9530 * db2/include/os_func.h: Likewise.
9531 * db2/include/txn.h: Likewise.
9532 * db2/include/txn_auto.h: Likewise.
9533 * db2/include/txn_ext.h: Likewise.
9534 * db2/include/xa.h: Likewise.
9535 * db2/include/xa_ext.h: Likewise.
9536 * db2/lock/lock.c: Likewise.
9537 * db2/lock/lock_conflict.c: Likewise.
9538 * db2/lock/lock_deadlock.c: Likewise.
9539 * db2/lock/lock_region.c: Likewise.
9540 * db2/lock/lock_util.c: Likewise.
9541 * db2/log/log.c: Likewise.
9542 * db2/log/log_archive.c: Likewise.
9543 * db2/log/log_auto.c: Likewise.
9544 * db2/log/log_findckp.c: Likewise.
9545 * db2/log/log_get.c: Likewise.
9546 * db2/log/log_put.c: Likewise.
9547 * db2/log/log_rec.c: Likewise.
9548 * db2/log/log_register.c: Likewise.
9549 * db2/mp/mp_bh.c: Likewise.
9550 * db2/mp/mp_fget.c: Likewise.
9551 * db2/mp/mp_fopen.c: Likewise.
9552 * db2/mp/mp_fput.c: Likewise.
9553 * db2/mp/mp_fset.c: Likewise.
9554 * db2/mp/mp_open.c: Likewise.
9555 * db2/mp/mp_pr.c: Likewise.
9556 * db2/mp/mp_region.c: Likewise.
9557 * db2/mp/mp_sync.c: Likewise.
9558 * db2/mutex/mutex.c: Likewise.
9559 * db2/mutex/uts4_cc.s: Likewise.
9560 * db2/os/os_abs.c: Likewise.
9561 * db2/os/os_alloc.c: Likewise.
9562 * db2/os/os_config.c: Likewise.
9563 * db2/os/os_dir.c: Likewise.
9564 * db2/os/os_fid.c: Likewise.
9565 * db2/os/os_fsync.c: Likewise.
9566 * db2/os/os_map.c: Likewise.
9567 * db2/os/os_oflags.c: Likewise.
9568 * db2/os/os_open.c: Likewise.
9569 * db2/os/os_rw.c: Likewise.
9570 * db2/os/os_seek.c: Likewise.
9571 * db2/os/os_sleep.c: Likewise.
9572 * db2/os/os_spin.c: Likewise.
9573 * db2/os/os_stat.c: Likewise.
9574 * db2/os/os_tmpdir.c: Likewise.
9575 * db2/os/os_unlink.c: Likewise.
9576 * db2/progs/db_archive/db_archive.c: Likewise.
9577 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9578 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9579 * db2/progs/db_dump/db_dump.c: Likewise.
9580 * db2/progs/db_load/db_load.c: Likewise.
9581 * db2/progs/db_printlog/README: Likewise.
9582 * db2/progs/db_printlog/commit.awk: Likewise.
9583 * db2/progs/db_printlog/count.awk: Likewise.
9584 * db2/progs/db_printlog/db_printlog.c: Likewise.
9585 * db2/progs/db_printlog/pgno.awk: Likewise.
9586 * db2/progs/db_printlog/range.awk: Likewise.
9587 * db2/progs/db_printlog/status.awk: Likewise.
9588 * db2/progs/db_printlog/txn.awk: Likewise.
9589 * db2/progs/db_recover/db_recover.c: Likewise.
9590 * db2/progs/db_stat/db_stat.c: Likewise.
9591 * db2/txn/txn.c: Likewise.
9592 * db2/txn/txn.src: Likewise.
9593 * db2/txn/txn_auto.c: Likewise.
9594 * db2/txn/txn_rec.c: Likewise.
9595 * db2/xa/xa.c: Likewise.
9596 * db2/xa/xa_db.c: Likewise.
9597 * db2/xa/xa_map.c: Likewise.
9599 * db2/btree/bt_close.c: Removed.
9600 * db2/db/db_thread.c: Likewise.
9601 * db2/hash/hash_debug.c: Likewise.
9602 * db2/include/db.h.src: Likewise.
9603 * db2/include/db_int.h.src: Likewise.
9604 * db2/include/os_jump.h: Likewise.
9605 * db2/mutex/alpha.dec: Likewise.
9606 * db2/mutex/alpha.gcc: Likewise.
9607 * db2/mutex/parisc.hp: Likewise.
9608 * db2/mutex/uts4.cc.s: Likewise.
9610 * db2/Makefile: Add new routines, remove old for 2.7.5.
9611 * db2/Versions: Add internal function names for the helper programs.
9612 * db2/makedb.c: Update for new cursor callback.
9613 * Versions.def: Define versions for libdb.
9615 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
9617 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9618 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9619 * nscd/nscd_nischeck.c: New file.
9620 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9622 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9624 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9625 MSG_* flags from Linux 2.2.9.
9627 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9629 * Makeconfig (static-start-installed-name): Set to
9630 $(start-installed-name) if not defined.
9631 (+link-static): Use $(static-start-installed-name) instead of
9632 $(start-installed-name).
9633 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9636 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9638 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9639 inserting a send right into the child instead of unconditionally
9640 copying the send right.
9642 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
9644 * locale/lc-time.c: Add free_mem function to free if necessary
9645 statically allocated memory.
9647 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
9649 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9650 bias from the raw exponent.
9652 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9654 * inet/arpa/tftp.h: Move attribute declaration in right position.
9656 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
9658 * nscd/nscd.c: Add -S options for separate caching of data for
9659 every user. So one user couldn't see the data another user
9660 has gotten with his credentials.
9661 * nscd/nscd.h: Add new prototypes.
9662 * nscd/cache.c: Compare owner of cache entry if in secure mode.
9663 * nscd/connections.c: Check on shutdown if caller really was root.
9664 In secure mode get uid of caller.
9665 * nscd/grpcache.c: Add support for new secure group mode.
9666 * nscd/hstcache.c: Add support for new secure hosts mode.
9667 * nscd/pwdcache.c: Add support for new secure passwd mode.
9669 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9671 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9672 of user-provided buffer.
9674 1999-06-11 Mark Kettenis <kettenis@gnu.org>
9676 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9677 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9679 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
9681 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9684 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9685 returning after last entry.
9686 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9688 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
9690 * misc/sysexits.h: Remove advertising clause of copyright.
9691 * resolv/getnetnamadr.c: Likewise.
9692 * sysdeps/vax/bcopy.s: Likewise.
9693 * sysdeps/vax/bzero.s: Likewise.
9694 * sysdeps/vax/ffs.s: Likewise.
9695 * sysdeps/vax/memchr.s: Likewise.
9696 * sysdeps/vax/memcmp.s: Likewise.
9697 * sysdeps/vax/memmove.s: Likewise.
9698 * sysdeps/vax/memset.s: Likewise.
9699 * sysdeps/vax/strcat.s: Likewise.
9700 * sysdeps/vax/strchr.s: Likewise.
9701 * sysdeps/vax/strcmp.s: Likewise.
9702 * sysdeps/vax/strcpy.s: Likewise.
9703 * sysdeps/vax/strcspn.s: Likewise.
9704 * sysdeps/vax/strlen.s: Likewise.
9705 * sysdeps/vax/strncat.s: Likewise.
9706 * sysdeps/vax/strncmp.s: Likewise.
9707 * sysdeps/vax/strncpy.s: Likewise.
9708 * sysdeps/vax/strpbrk.s: Likewise.
9709 * sysdeps/vax/strrchr.s: Likewise.
9710 * sysdeps/vax/strsep.s: Likewise.
9711 * sysdeps/vax/strspn.s: Likewise.
9712 * sysdeps/vax/strstr.s: Likewise.
9714 * libio/iofopncook.c: Adjust for renaming of structure elements.
9715 * libio/libio.h: Define cookie functions with all the names.
9717 * pwd/fgetpwent_r.c: Set errno in the correct way.
9718 * shadow/fgetspent_r.c: Likewise.
9719 * pwd/fgetpwent.c: Handle long lines correctly. Little
9720 optimizations. Free static buffer when debugging memory handling.
9721 * shadow/fgetspent.c: Likewise.
9723 * grp/fgetgrent.c: Little optimization in loop.
9725 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9727 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9730 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
9732 * stdlib/longlong.h: gas changed sethi handling when without
9733 %hi(). Fix assembly.
9734 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9735 port specific cache id checks.
9736 * sysdeps/generic/dl-cache.h: New file.
9737 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9739 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9741 * gmon/gmon.c: Remove advertising clause of copyright.
9742 * gmon/mcount.c: Likewise.
9743 * gmon/sys/gmon.h: Likewise.
9744 * inet/arpa/ftp.h: Likewise.
9745 * inet/arpa/telnet.h: Likewise.
9746 * inet/arpa/tftp.h: Likewise.
9747 * inet/inet_lnaof.c: Likewise.
9748 * inet/inet_mkadr.c: Likewise.
9749 * inet/inet_net.c: Likewise.
9750 * inet/inet_netof.c: Likewise.
9751 * inet/protocols/routed.h: Likewise.
9752 * inet/protocols/rwhod.h: Likewise.
9753 * inet/protocols/talkd.h: Likewise.
9754 * inet/protocols/timed.h: Likewise.
9755 * inet/rcmd.c: Likewise.
9756 * inet/rexec.c: Likewise.
9757 * inet/ruserpass.c: Likewise.
9758 * io/fts.c: Likewise.
9759 * io/fts.h: Likewise.
9760 * login/login_tty.c: Likewise.
9761 * misc/fstab.h: Likewise.
9762 * misc/getttyent.c: Likewise.
9763 * misc/getusershell.c: Likewise.
9764 * misc/sys/queue.h: Likewise.
9765 * misc/sys/syslog.h: Likewise.
9766 * misc/syslog.c: Likewise.
9767 * misc/ttyent.h: Likewise.
9768 * misc/ttyslot.c: Likewise.
9769 * resolv/arpa/nameser.h: Likewise.
9770 * resolv/gethnamaddr.c: Likewise.
9771 * resolv/herror.c: Likewise.
9772 * resolv/inet_addr.c: Likewise.
9773 * resolv/mapv4v6addr.h: Likewise.
9774 * resolv/mapv4v6hostent.h: Likewise.
9775 * resolv/nss_dns/dns-host.c: Likewise.
9776 * resolv/nss_dns/dns-network.c: Likewise.
9777 * resolv/res_comp.c: Likewise.
9778 * resolv/res_data.c: Likewise.
9779 * resolv/res_debug.c: Likewise.
9780 * resolv/res_init.c: Likewise.
9781 * resolv/res_mkquery.c: Likewise.
9782 * resolv/res_query.c: Likewise.
9783 * resolv/res_send.c: Likewise.
9784 * resolv/resolv.h: Likewise.
9785 * sysdeps/generic/div.c: Likewise.
9786 * sysdeps/generic/netinet/ip.h: Likewise.
9787 * sysdeps/generic/netinet/tcp.h: Likewise.
9788 * sysdeps/generic/paths.h: Likewise.
9789 * sysdeps/generic/prof-freq.c: Likewise.
9790 * sysdeps/generic/sys/ttydefaults.h: Likewise.
9791 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9792 * sysdeps/gnu/netinet/tcp.h: Likewise.
9793 * sysdeps/ieee754/support.c: Likewise.
9794 * sysdeps/mach/hurd/sys/param.h: Likewise.
9795 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9796 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9797 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9798 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9799 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9800 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9801 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9802 * sysdeps/unix/sysv/linux/paths.h: Likewise.
9803 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9804 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9805 * sysdeps/vax/DEFS.h: Likewise.
9806 * termios/sys/ttychars.h: Likewise.
9807 * misc/daemon.c: Likewise. Call fork.
9809 * grp/fgetgrent.c (buffer): Make file local variable.
9810 (free_mem): New function. Call for malloc debugging.
9812 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9814 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9816 * grp/Makefile: Add rules for tst_fgetgrent.
9818 * grp/tst_fgetgrent.c: Rewritten to read only one file.
9820 * grp/tst_fgetgrent.sh: New file.
9822 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9824 * grp/Makefile (tests): Add tst_fgetgrent.
9825 * grp/tst_fgetgrent.c: New file.
9826 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9828 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
9830 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9831 be POSIX compliant. Prior definition was broken for Hurd.
9832 Reported by Mark Kettenis <kettenis@gnu.org>.
9834 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9836 * ctype/ctype.h: Protect __tobody code by __extension__.
9838 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9840 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9841 reading and reset in case the buffer was too small.
9843 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9846 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9848 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9849 another SIOGIFNAME typo.
9851 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9853 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9855 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9858 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9860 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9861 the precision if the mantissa is zero.
9863 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9865 * manual/lang.texi (Floating Point Parameters): GCC already
9866 supports long double for a long time.
9868 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9870 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9871 yn_test): Increase some epsilons.
9873 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9875 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9878 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9880 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9881 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9882 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9883 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9885 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9886 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9887 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9888 * sysdeps/libm-ieee754/w_j1.c: Likewise.
9889 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9890 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9891 * sysdeps/libm-ieee754/w_jn.c: Likewise.
9892 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9893 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9895 * stdio-common/vfprintf.c: Correct typos.
9897 * math/libm-test.c (jn_test): Adjust delta.
9898 (y1_test): Likewise.
9899 (yn_test): Likewise.
9901 * elf/do-lookup.h: It should never happen that if we expect a versioned
9902 symbol from a file the file has no version table. This should have
9903 been checked in dl-version.c.
9904 * elf/dl-lookup.c: Include assert.h.
9906 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9909 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9911 1999-06-06 Andi Kleen <ak@muc.de>
9913 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9916 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9918 * math/libm-test.c (yn_test): Change one delta.
9919 (jn_test): Likewise.
9920 (j1_test): Likewise.
9921 (y0_test): Likewise.
9923 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9925 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9926 avoid multiple calls to getpagesize() which might be a syscall.
9928 1999-06-06 Philip Blundell <philb@gnu.org>
9930 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9932 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9934 * manual/install.texi (Running make install): Correct typo in
9935 dynamic linker invocation.
9937 1999-06-05 Philip Blundell <philb@gnu.org>
9939 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9940 problems with GOT addressing.
9942 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9944 * malloc/malloc.c (check_action): Change into bitmap so that both
9945 diagnostic and abort can be requested by setting it to 3.
9946 (mALLOC_SET_STATe): Disable malloc checking if necessary.
9948 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
9950 * configure.in: Few changes for HPUX.
9952 * scripts/config.guess: Update from latest version.
9953 * scripts/config.sub: Likewise.
9955 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9957 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9958 map files. Closes PR libc/1147.
9960 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9962 * math/libm-test.c (main): Add new test functions.
9963 (jn_test): New tests.
9964 (j1_test): Add some more tests.
9965 (j0_test): Add some more tests.
9966 (y0_test): Add some more tests.
9967 (y1_test): Add some more tests.
9969 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9971 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9972 Patch by mhagger@dera.gov.uk [PR libc/1145].
9974 * math/libm-test.c (y1_test): New tests.
9975 (y0_test): Likewise.
9976 (j1_test): Likewise.
9977 (j0_test): Likewise.
9978 (main): Added new tests.
9980 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
9982 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9984 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9985 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9986 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9987 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9989 1999-06-02 David S. Miller <davem@redhat.com>
9991 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9994 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
9996 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9997 and elide compatibility code if possible.
9999 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
10001 * manual/llio.texi: Remove menu entry for removed section.
10003 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10005 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
10008 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10010 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
10011 (from Linux 2.3.4).
10013 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
10015 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
10017 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10019 * manual/stdio.texi: Fix some typos.
10021 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10023 * malloc/malloc.h: Properly handle future GCC versions.
10025 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10027 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
10028 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
10029 text of error message.
10031 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
10033 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
10035 * manual/filesys.texi: Extend (f)truncate documentation.
10036 * manual/llio.texi: Remove duplicate (f)truncate definition.
10038 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10040 * manual/stdio.texi (Formatted Output Functions): Mention
10041 semantics of snprintf in glibc 2.0.
10042 Reported by Ben Pfaff <pfaffben@msu.edu>.
10044 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
10046 * include/features.h (__GLIBC_MINOR__): Bump to 2.
10048 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
10050 * math/libm-test.c: Adjust a few more deltas for the poor ARM
10053 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10055 * configure.in: Fix typo.
10057 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10059 * manual/socket.texi (Host Names): Remove statement that h_errno
10060 needs to be declared since this isn't true anymore.
10061 Closes PR libc/1138.
10063 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
10065 * config.h.in: Add __LINUX_KERNEL_VERSION.
10066 * configure.in: Recognize --enable-kernel.
10067 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10068 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10070 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10071 given perform runtime test.
10073 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10074 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10075 minimal supported kernel is known to have the feature.
10076 * sysdeps/unix/sysv/linux/poll.c: Likewise.
10077 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10078 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10079 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10080 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10081 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10082 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10083 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10084 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10085 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10086 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10087 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10088 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10089 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10090 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10092 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10094 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10096 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10098 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
10100 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10101 Optimized sparc64 routines.
10103 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10105 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10106 they are the same as ints.
10107 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10109 * version.h (VERSION): Bump to 2.1.90.
10110 (RELEASE): Mark as development.
10112 * stdio-common/vfprintf.c (vfprintf): Don't implement special
10113 handling for long long if it is the same as long.
10114 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10116 * stdlib/strtol.c: Moved to ...
10117 * sysdeps/generic/strtol.c: ...here.
10118 * stdlib/strtoul.c: Moved to ...
10119 * sysdeps/generic/strtoul.c: ...here.
10120 * stdlib/strtoll.c: Moved to ...
10121 * sysdeps/generic/strtoll.c: ...here.
10122 * stdlib/strtoull.c: Moved to ...
10123 * sysdeps/generic/strtoull.c: ...here.
10124 * stdlib/strtol_l.c: Moved to ...
10125 * sysdeps/generic/strtol_l.c: ...here.
10126 * stdlib/strtoul_l.c: Moved to ...
10127 * sysdeps/generic/strtoul_l.c: ...here.
10128 * stdlib/strtoll_l.c: Moved to ...
10129 * sysdeps/generic/strtoll_l.c: ...here.
10130 * stdlib/strtoull_l.c: Moved to ...
10131 * sysdeps/generic/strtoull_l.c: ...here.
10133 * sysdeps/wordsize-64/strtol.c: New file.
10134 * sysdeps/wordsize-64/strtoul.c: New file.
10135 * sysdeps/wordsize-64/strtoll.c: New file.
10136 * sysdeps/wordsize-64/strtoull.c: New file.
10137 * sysdeps/wordsize-64/strtol_l.c: New file.
10138 * sysdeps/wordsize-64/strtoul_l.c: New file.
10139 * sysdeps/wordsize-64/strtoll_l.c: New file.
10140 * sysdeps/wordsize-64/strtoull_l.c: New file.
10142 * wcsmbs/wcstol.c: Moved to ...
10143 * sysdeps/generic/wcstol.c: ...here.
10144 * wcsmbs/wcstoul.c: Moved to ...
10145 * sysdeps/generic/wcstoul.c: ...here.
10146 * wcsmbs/wcstoll.c: Moved to ...
10147 * sysdeps/generic/wcstoll.c: ...here.
10148 * wcsmbs/wcstoull.c: Moved to ...
10149 * sysdeps/generic/wcstoull.c: ...here.
10150 * wcsmbs/wcstol_l.c: Moved to ...
10151 * sysdeps/generic/wcstol_l.c: ...here.
10152 * wcsmbs/wcstoul_l.c: Moved to ...
10153 * sysdeps/generic/wcstoul_l.c: ...here.
10154 * wcsmbs/wcstoll_l.c: Moved to ...
10155 * sysdeps/generic/wcstoll_l.c: ...here.
10156 * wcsmbs/wcstoull_l.c: Moved to ...
10157 * sysdeps/generic/wcstoull_l.c: ...here.
10159 * sysdeps/wordsize-64/wcstol.c: New file.
10160 * sysdeps/wordsize-64/wcstoul.c: New file.
10161 * sysdeps/wordsize-64/wcstoll.c: New file.
10162 * sysdeps/wordsize-64/wcstoull.c: New file.
10163 * sysdeps/wordsize-64/wcstol_l.c: New file.
10164 * sysdeps/wordsize-64/wcstoul_l.c: New file.
10165 * sysdeps/wordsize-64/wcstoll_l.c: New file.
10166 * sysdeps/wordsize-64/wcstoull_l.c: New file.
10168 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
10170 * sysdeps/sparc/bits/wordsize.h: New file.
10171 * sysdeps/sparc/fpu/bits/fenv.h: New file.
10172 * sysdeps/sparc/fpu/fpu_control.h: New file.
10173 * sysdeps/sparc/gmp-mparam.h: New file.
10175 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10176 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10177 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10178 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10179 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10180 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10182 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10183 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10184 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10185 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10187 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10188 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10189 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10191 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10193 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
10195 * login/openpty.c (openpty): Make sure pty does not because
10198 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10200 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
10202 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10203 Do proper error return.
10205 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10207 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10208 of __P in the rest of glibc; define __MALLOC_PMT and use it.
10209 Reported by Stephan Kulow <coolo@kde.org>.
10211 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
10213 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10215 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10217 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10219 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10220 names to protect from user's macro namespace.
10221 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10222 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10223 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10224 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10225 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10227 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10228 sysdeps/arm/fpu/fesetenv.c: Likewise.
10229 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10230 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10231 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10232 * sysdeps/mips/fesetenv.c: Likewise.
10234 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
10236 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10238 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
10240 * configure.in: Recognize and allow gcc 2.95.
10242 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10244 * sysdeps/generic/bits/elfclass.h: Version common to
10245 wordsize-32 and wordsize-64.
10246 * sysdeps/generic/bits/environments.h: Ditto.
10247 * sysdeps/generic/stdint.h: Ditto.
10248 * sysdeps/generic/inttypes.h: Ditto.
10250 * sysdeps/generic/bits/wordsize.h: New file.
10251 * stdlib/Makefile: Add bits/wordsize.h to headers.
10253 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10255 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10256 headers to be used for 32bit and 64bit ABI compilations.
10257 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10258 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10259 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10260 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10263 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10264 * sysdeps/wordsize-64/bits/environments.h: Remove.
10265 * sysdeps/wordsize-64/stdint.h: Remove.
10266 * sysdeps/wordsize-64/inttypes.h: Remove.
10267 * sysdeps/wordsize-64/bits/wordsize.h: New file.
10269 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10270 * sysdeps/wordsize-32/bits/environments.h: Remove.
10271 * sysdeps/wordsize-32/stdint.h: Remove.
10272 * sysdeps/wordsize-32/inttypes.h: Remove.
10273 * sysdeps/wordsize-32/bits/wordsize.h: New file.
10275 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10277 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10278 __align_cpy_16): New functions.
10279 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10281 * sysdeps/sparc/sparc32/Versions: New file.
10282 * sysdeps/sparc/sparc64/Versions: New file.
10283 * sysdeps/sparc/Versions: Remove.
10285 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10287 * sysdeps/unix/sysv/linux/configure.in:
10288 On sparc64-*-linux*, set slibdir to /lib64 if prefix
10289 is /usr, plus set libdir to ${exec_prefix}/lib64.
10290 * sysdeps/unix/sysv/linux/configure: Regenerated.
10291 * config.make.in: Propagate libdir settings from configure
10293 * shlib-versions: sparc64-*-linux* dynamic linker is
10294 /lib64/ld-linux.so.2.
10296 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
10298 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10301 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
10303 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10304 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10306 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10307 contains garbage in bits 8-63.
10308 * sysdeps/sparc/sparc64/memset.S: Ditto.
10309 * sysdeps/sparc/sparc64/strchr.S: Ditto.
10311 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
10313 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10315 1999-05-17 David S. Miller <davem@redhat.com>
10317 * sysdeps/sparc/sparc32/atomicity.h: New file.
10318 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10319 * sysdeps/sparc/sparc64/atomicity.h: New file.
10320 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10323 1999-05-18 Richard Henderson <rth@twiddle.net>
10325 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
10327 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
10329 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10330 posix/sys/types.h: Handle the case of __GNUC__=3,
10331 __GNUC_MINOR__=(anything).
10333 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10335 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10338 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10340 * elf/Makefile (distribute): Remove dl-origin.h.
10341 Add dl-dst.h and gen-trusted-dirs.awk.
10343 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10345 * sysdeps/i386/i486/Versions: New file with inline functions from
10346 sysdeps/i386/i486/bits/string.h for now.
10348 * sysdeps/i386/Versions: Add inline functions from
10349 sysdeps/i386/bits/string.h.
10351 * string/Versions: Add inline functions from <bits/string2.h>.
10353 * string/Makefile (routines): Add string-inlines.
10354 * string/string-inlines.c: New file, used for implementation of
10355 extern inline functions.
10357 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10358 non inlined versions of functions.
10359 * string/bits/string2.h: Likewise.
10360 * sysdeps/i386/bits/string.h: Likewise.
10362 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10364 * inet/arpa/tftp.h: Add second packed attribute.
10366 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10368 * malloc/malloc.c: Cleanup to bring in line with released
10369 stand-alone version `ptmalloc'. Update some comments.
10370 (internal_function): Move fallback definition so that the source
10371 compiles outside of libc, and use it in more places.
10372 (malloc_atfork): Fix when malloc_check is in use.
10374 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10376 * stdlib/tst-strtod.c: Fix typo.
10378 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10380 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10381 const incorrectness.
10383 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10385 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10387 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
10389 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10390 * sunrpc/key_call.c: Fix memory leak, close file handle.
10391 * nis/nis_creategroup.c: Use malloc instead of calloc,
10392 set ctime and mtime.
10393 * nis/nis_subr.c: Check for realloc result.
10394 * nis/nis_file.c: Fix memory leak.
10395 * nis/nis_table.c: Pretty print.
10396 * nis/nis_getservlist.c: Likewise.
10397 * nis/nis_ismember.c: Likewise.
10398 * nis/nis_lookup.c: Likewise.
10399 * nis/nis_ping.c: Likewise.
10400 * nis/nis_removemember.c: Likewise.
10401 * nis/nis_util.c: Likewise, check calloc result.
10403 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10405 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10406 * sysdeps/generic/sys/socketvar.h: ... here.
10407 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10408 * sysdeps/generic/netinet/in_systm.h: ... here.
10409 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10412 * inet/Makefile (headers): Add netinet/in_systm.h here.
10413 * socket/Makefile (headers): Add sys/socketvar.h here.
10415 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
10417 * stdlib/strtol.c: Optimize inner loop of long long versions.
10419 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10420 Unix98. Add forward declaration of struct utmp.
10422 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10424 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10427 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10428 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
10429 memory allocation results.
10431 1999-05-14 Mark Kettenis <kettenis@gnu.org>
10433 * sysdeps/generic/getutmp.c: Include <string.h>
10434 (getutmp): Rewrite to only copy those members that are really
10435 present in `struct utmp'.
10436 * sysdeps/generic/getutmpx.c: Likewise.
10438 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10440 * nss/getXXbyYY.c: Add free_mem function which disposes all
10441 statically allocated memory when debugging.
10442 * nss/getXXent.c: Likewise.
10443 * nss/nsswitch.c: Likewise.
10445 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
10447 * sysdeps/gnu/getutmpx.c: New file.
10448 * sysdeps/gnu/getutmp.c: New file.
10450 1999-05-13 H.J. Lu <hjl@gnu.org>
10452 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10453 (getutmp): Likewise.
10455 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10456 getutmpx for login.
10458 * sysdeps/gnu/utmpx.h (getutmp): Added.
10459 (getutmpx): Likewise.
10461 * sysdeps/generic/getutmp.c: New file.
10463 * sysdeps/generic/getutmpx.c: New file.
10465 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10467 * glibcbug.in (BUGGLIBC): Change address to
10468 libc-alpha@sourceware.cygnus.com.
10470 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10472 * resolv/arpa/nameser.h: Add C++ protectors.
10474 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10476 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
10477 Elad Tsur <eladts@post.tau.ac.il>.
10479 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
10481 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10482 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10483 lazily if LD_BIND_NOW is not set.
10484 * elf/dl-support.c (_dl_lazy): New variable.
10485 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10486 * elf/rtld.c (_dl_lazy): new global variable.
10487 ( dl_main): Remove lazy, replace it by _dl_lazy.
10489 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10491 * locale/setlocale.c (new_composite_name): Check also whether the
10492 first category name differs.
10494 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10496 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10499 1999-05-11 Philip Blundell <pb@nexus.co.uk>
10501 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10502 structure; storage suitable for any socket address.
10503 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10505 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10506 sockaddr_storage): Likewise.
10508 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10511 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
10513 * hesiod/Versions: Change _nss_hesiod_getpwuid and
10514 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10515 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
10517 1999-05-09 Mark Kettenis <kettenis@gnu.org>
10519 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10520 if the file is empty.
10522 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
10524 * elf/do-lookup.h: Fix typo in comment.
10526 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10527 f_bsize to help some broken programs.
10529 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10531 * stdio-common/vfprintf.c: Fix typo.
10533 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
10535 * elf/link.h (struct link_map): New field l_phdr_allocated.
10536 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10537 the program header being part of any loaded segment. If it is not
10538 allocate memory and set l_phdr_allocated flag.
10539 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10541 * nss/digits_dots.c: Correct return value interpretation of
10542 inet_ntoa. Fix PR libc/1109.
10544 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
10546 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10548 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
10550 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10551 * stdlib/fpioconst.c: Move #endif before end of struct.
10553 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
10555 * Versions.def (ld.so): Add GLIBC_2.1.1.
10556 * elf/Makefile (routines): Add dl-origin.
10557 (tests): Add origtest. Add dependencies for the program.
10558 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10559 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10560 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
10561 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10562 DT_AUXILIARY, and DT_FILTER filenames.
10563 * elf/dl-load.c (expand_dynamic_string_token): Explode into
10564 two functions and three macros.
10565 (_dl_dst_count, _dl_dst_substitute): New functions.
10566 * elf/dl-dst.h: New file.
10567 * elf/dl-open.c (_dl_open): Take extra parameter with address of
10568 caller. Pass address in args structure.
10569 (dl_open_worker): Recognize and expand DSTs in filename.
10570 * elf/ldsodefs.h (_dl_open): Adapt prototype.
10571 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10572 (__dlopen_check): Pass caller address to dlopen_doit in args.
10573 * elf/dlopendoit.c: Likewise.
10574 * iconv/gconv_dl.c: Adapt call of _dl_open.
10575 * nss/nsswitch.c: Likewise.
10576 * elf/origtest.c: New file.
10577 * sysdeps/generic/dl-origin.h: Moved to...
10578 * sysdeps/generic/dl-origin.c: ...here.
10579 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10580 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10582 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10583 with specific bases and only few bits set in second word.
10585 * timezone/Makefile (install-others): Create target directory
10586 before creating tzfiles.
10588 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
10590 * nis/nis_file.c (readColdStartFile): Allocate memory only after
10591 the file is opened successfully.
10593 * nis/nis_table.c: Fix some memory leaks.
10595 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
10597 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10600 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10601 around DST. Correctly ignore ORIGIN IN SUID binaries.
10603 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
10605 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10606 * sysdeps/generic/strtok.c: Likewise.
10608 * string/tester.c: Add test of rawmemchr.
10610 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10611 specification. It's not necessary.
10613 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10614 * elf/gen-trusted-dirs.awk: New file.
10615 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
10616 from SYSTEM_DIRS macro.
10617 (system_dirs_len): New variable. Contains lengths of system_dirs
10619 (fillin_rpath): Rewrite for systems_dirs being a simple string.
10620 Improve string comparisons. Change parameter trusted to be a flag.
10621 Change all callers.
10622 (_dt_init_paths): Improve using new format for system_dirs.
10624 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10625 $ORIGIN for SUID binaries.
10627 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10629 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10631 * sunrpc/Makefile: Generate dependencies for all flavors of
10633 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10636 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10638 * elf/dlopenold.c: Move #if down after includes to get
10639 dependencies right.
10641 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10643 * sysdeps/generic/bzero.c: Undefine __bzero.
10645 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10647 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10648 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10649 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10650 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10652 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10653 parameter to struct gaih_servtuple *. Adapt appropriately.
10654 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10655 This fixes a memory leak.
10656 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10658 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10659 and fpregset_t definition. They are defined in ucontext.h.
10661 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10663 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10664 and struct ether_header must be packed on the ARM. The default
10665 alignment constraints add padding to the end of the structures.
10667 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10669 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
10670 default alignment constraints add padding to the end of the
10671 structure and between members.
10673 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10675 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10676 _dl_cache_libcmp instead of strcmp.
10678 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10680 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10682 1998-03-30 Joel Klecker <espy@debian.org>
10684 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10685 (sysdep-others,install-bin): Add lddlibc4.
10687 1999-05-02 H.J. Lu <hjl@gnu.org>
10689 * timezone/zic.c (dolink): Remove the symlink destination first.
10691 * catgets/open_catalog.c (__open_catalog): Set catalog->status
10692 to "nonexisting" if failed to open the file.
10694 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
10696 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10699 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10700 Prevent warnings from multiplication with 0x01010101 by another cast.
10702 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10704 * string/bits/string2.h (memset): Revert to previous version if
10705 unaligned writes are not available.
10707 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10709 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10710 better code in presence of the asm.
10712 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10714 * stdlib/fmtmsg.c (keywords): Increase array size for faster
10717 * locale/localeinfo.h (_nl_category_names): Increase array element
10718 size for faster indexing.
10719 * locale/setlocale.c (_nl_category_names): Adjusted.
10721 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10723 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10725 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10727 * sysdeps/m68k/stackinfo.h: New file.
10729 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10731 * string/tester.c (test_strchrnul): New function.
10732 (test_memset): Test one more special case.
10734 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10737 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10740 * string/bits/string2.h: Fix bugs I introduced in last change.
10742 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10744 Extend memset optimization.
10745 Correct i686 version of memchr.
10747 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
10749 * sysdeps/i386/bzero.c: Add #undef __bzero.
10751 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10752 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10753 exec server simulated a SIGTRAP before we even started up, so gdb is
10756 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10758 * nss/digits_dots.c: Always initialize not_ok.
10760 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
10762 * string/bits/string2.h (memset): Avoid arithmetic overflow at
10763 compile time, which produces obnoxious warnings. If GCCv2 is
10764 in use, map __bzero to __builtin_memset to enable that
10767 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10769 * string/bits/string2.h: Add more memset optimizations.
10771 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10773 * resolv/inet_pton.c (inet_pton4): Little optimizations.
10774 (inet_pton6): Likewise.
10776 * nss/getXXbyYY_r.c: Include assert.h.
10777 * nss/getXXbyYY.c: Likewise.
10779 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10781 * termios/tcgetsid.c (tcgetsid): Rename variable to
10782 tiocgsid_does_not_work.
10784 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10786 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10788 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10790 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10791 This allows e.g. gethostbyname to accept "10.1234".
10792 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10794 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10795 non quad IPv4 numbers.
10797 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10799 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10801 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10803 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10804 * argp/argp-parse.c (_argp_hang): Likewise.
10805 * argp/argp-pv.c (argp_program_version): Likewise.
10806 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10807 * inet/ether_hton.c (ether_hton, startp): Likewise.
10808 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10809 * inet/getnetgrent_r.c (setup, startp): Likewise.
10810 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10811 * intl/localealias.c (string_space, string_space_act, string_space_max,
10812 nmap, maxmap): Likewise.
10813 * libio/iopopen.c (proc_file_chain): Likewise.
10814 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10815 * locale/lc-collate.c (__collate_table, __collate_extra,
10816 __collate_element_hash, __collate_element_strings,
10817 __collate_element_values): Likewise.
10818 * malloc/mcheck.c (mcheck_used): Likewise.
10819 * malloc/mtrace.c (added_atexit_handler): Likewise.
10820 * malloc/set-freeres.c (already_called): Likewise.
10821 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10822 * misc/syslog.c (LogStat, LogTag): Likewise.
10823 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10824 * nss/getXXbyYY_r.c (startp): Likewise.
10825 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10826 * posix/regex.c (init_syntax_once) [done]: Likewise.
10828 * string/strfry.c (init): Likewise.
10829 * sunrpc/svc_run.c (svc_top): Likewise.
10830 * posix/euidaccess.c (have_ids): Likewise.
10831 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10832 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10833 * time/getdate.c (getdate_err): Likewise.
10834 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10836 * time/tzset.c (old_tz, is_initialized): Likewise.
10838 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10839 of static data with zero.
10840 * signal/allocrtsig.c (init): Likewise.
10842 * string/Makefile (routines): Add strchrnul.
10843 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10844 * string/string.c: Add strchrnul prototype.
10845 * include/string.h: Add __strchrnul prototype.
10846 * sysdeps/generic/strchrnul.c: New file.
10847 * sysdeps/i386/strchrnul.S: New file.
10848 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10849 * sysdeps/i386/i486/bits/string.c: Likewise.
10850 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10851 * inet/ether_line.c (ether_line): Likewise.
10852 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10853 * nss/nsswitch.c (nss_parse_file): Likewise.
10854 * posix/execvp.c (execvp): Likewise.
10855 * posix/fnmatch.c (internal_fnmatch): Likewise.
10856 * resolv/res_hconf.c (_res_hconv_init): Likewise.
10857 * resolv/res_init.c (res_init): Likewise.
10858 * stdlib/fmtmsg.c (init): Likewise.
10859 * stdlib/getsubopt.c (getsubopt): Likewise.
10861 * catgets/catgets.c (catopen): Only allocate one memory block.
10862 (catclose): Only one free call necessary.
10864 * catgets/open_catalog.c (__open_catalog): Simplify handling of
10867 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10868 of real functions. Simplify _tolower and _toupper.
10870 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10873 * iconv/gconv.h (struct gconv_info): Change data element from pointer
10874 to array of size 0.
10875 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10876 * iconv/gconv_close.c (__gconv_close): Don't free data.
10878 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10881 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
10882 for error while inserting in tree.
10884 * include/time.h: Pretty print.
10886 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10887 in table and lots of relocations.
10888 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10889 string pointers in table and lots of relocations.
10891 * intl/finddomain.c: Remove definition of strchr macro.
10893 * io/ftw.c (nftw_arr, ftw_arr): Make const.
10895 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10897 * locale/localeinfo.h (_nl_category_names): Change into an array with
10898 fixed width char string elements.
10899 * locale/setlocale.c (_nl_category_names): Likewise.
10900 (_nl_current): Make global.
10901 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
10903 * malloc/Makefile (distribute): Add stackinfo.h.
10904 * sysdeps/generic/stackinfo.h: New file.
10905 * sysdeps/i386/stackinfo.h: New file.
10906 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10907 * posix/execle.c: Likewise.
10908 * posix/execlp.c: Likewise.
10910 * nis/nis_table.c (__create_ib_request): Always use realloc.
10912 * posix/execvp.c (execute): Rename to script_execute and keep only
10913 code to execute using shell.
10914 (execvp): Call execv directly and only fall back on script_execute.
10916 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10917 and always use xdigits instead.
10919 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10922 * stdlib/fpioconst.h (__tens): New declaration.
10923 (struct mp_power): Remove array, add arrayoff element.
10924 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10925 __tens array and add in _fpioconst_pow10 offsets into __tens.
10926 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10927 * stdlib/strtod.c: Likewise.
10929 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10931 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10933 * stdlib/atexit.c (__exit_funcs): Don't initialize.
10935 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10937 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10938 a single and an array with offsets.
10940 * sunrpc/des_soft.c (partab): Make it const.
10942 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10943 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10944 (__key_decryptsession_pk_LOCAL): Likewise.
10945 (__key_gendes_LOCAL): Likewise.
10946 (MESSENGER): Mark const.
10947 (key_call_private_main): Don't initialize with 0.
10948 (use_keyenvoy): Don't initialize with 0.
10949 (key_call): Rewrite to reverse logic of use_doors variable.
10951 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10952 (startp): Don't initialize with zero.
10954 * sunrpc/openchild.c (_openchild): Make first argument const.
10956 * sunrpc/pmap_rmt.c (timeout): Mark const.
10957 * sunrpc/xcrypt.c (hex): Likewise.
10959 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10960 initialization of global variables.
10961 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10962 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10963 * termios/tcgetsid.c: Likewise.
10965 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10968 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10969 block. Add function to free memory if wanted.
10970 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10972 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10974 * wcsmbs/wmemset.c: Little code optimization.
10976 1999-04-23 Paul Eggert <eggert@twinsun.com>
10978 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10981 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
10983 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10984 implementation and just always fail with ENOSYS. This entry point is
10985 obsolete. Add link warning to that effect.
10987 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10989 * hurd/get-host.c: Include <hurd/lookup.h>.
10991 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10993 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10996 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10998 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10999 ISO C9x and Unix98.
11001 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11003 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
11004 Patch by Peter Miller <millerp@canb.auug.org.au>.
11006 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
11008 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
11009 prefers loopback device.
11011 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11013 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
11014 no_leading_period change.
11016 * posix/testfnm.c: More test cases.
11018 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
11020 * include/dirent.h: Remove __getdirentries declaration, add __getdents
11022 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
11023 * sysdeps/unix/readdir_r.c: Likewise.
11024 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11025 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11026 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
11027 __getdirentries. Remove fourth argument.
11028 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
11029 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
11030 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
11031 Add getdirentries and getdirentries64.
11032 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
11034 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
11035 pointer in case of an invalid [[: expression.
11037 * posix/testfnm.c: Add more test cases.
11039 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
11041 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
11042 set, pass EXEC_SIGTRAP flag in exec RPC.
11044 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11046 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
11047 extra parameter. Fix several more bugs involving wildcard and
11049 (fnmatch): New function. Call internal_fnmatch.
11051 * posix/testfnm.c: More test cases.
11053 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11055 * manual/install.texi (Configuring and compiling): Explain that
11056 files are changed in the source directory.
11057 Closes PR libc/981.
11058 (Configuring and compiling): Explain situation with PARALLELMFLAGS
11059 in the source directory.
11061 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11063 * locale/programs/ld-ctype.c: Spelling fixes.
11064 (ctype_finish): Fix argument of error message format.
11065 * locale/programs/ld-messages.c: Spelling fixes.
11066 * locale/programs/ld-monetary.c: Spelling fixes.
11067 * locale/programs/ld-time.c (time_finish): Make sure that name and
11068 format of era_entries are adjacent.
11069 (time_output): Reduce the size of the io vector.
11071 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11073 * manual/filesys.texi (Attribute Meanings): Move a misplaced
11076 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11078 * locale/programs/ld-collate.c (collate_output): Convert
11079 undefined_offset to an array index. Fix computation of other
11080 endian extra table.
11082 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
11084 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11085 return success with empty value.
11087 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11089 * posix/fnmatch.c: Include string.h also for glibc.
11090 (fnmatch, case '?'): Optimize if cascades a bit.
11091 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11093 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11095 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
11097 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11098 * iconv/gconv_int.h: Declare UTF16 functions.
11099 * iconv/gconv_simple.c: Add UTF16 conversion functions.
11101 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11103 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11104 be used correctly as parameter for parse_dollars/parse_tilde.
11106 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11108 * manual/conf.texi (Utility Limits): Remove duplicate description
11111 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
11113 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11114 outbufend for dst==NULL.
11116 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11118 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11120 Fixes PR libc/1084.
11122 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11123 Fixes PR libc/1083.
11125 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
11127 * sunrpc/Makefile: Remove special handling of bootparam.x,
11128 add rpcsvc/bootparam.h to headers.
11129 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11130 * sunrpc/rpcsvc/bootparam.x: Renamed to...
11131 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11133 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11135 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11136 detect and handle invalid descriptors.
11138 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
11140 * timezone/zic.c (dolink): Append complete path not only filename
11143 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11145 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11147 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
11149 * iconvdata/gconv-modules: Rename CP874 to IBM874.
11150 * iconvdata/Makefile: Likewise.
11151 * iconvdata/cp874.h: Removed.
11152 * iconvdata/cp874.c: Renamed to...
11153 * iconvdata/ibm874.c: ...this.
11155 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11157 * sysdeps/unix/sysv/linux/bits/types.h: Correct
11158 signed/unsigned-ness of blkcnt and fsblkcnt.
11159 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11160 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11162 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11163 SOL_AAL, and SOL_IRDA.
11165 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11167 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
11168 include "linux_fsinfo.h".
11169 Based on a patch by H.J. Lu <hjl@gnu.org>.
11171 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
11173 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11175 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11177 * nscd/cache.c (prune_cache): Only disable file checking for
11178 future if the file does not exist.
11179 Update file_mtime if cache was flushed.
11181 1999-04-15 David S. Miller <davem@redhat.com>
11183 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11184 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11186 1999-04-15 Scott Bambrough <scottb@netwinder.org>
11188 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11189 compilation of file.
11191 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11193 * Versions.def: Add GLIBC_2.1.1 to libpthread.
11195 * iconvdata/Makefile (modules): Add KOI8-U.
11196 (distribute): Add koi8-u.c.
11197 (gen-8bit-gap-modules): Add koi8-u.
11198 * iconvdata/gconv-modules: Add KOI8-U entries.
11199 * iconvdata/koi8-u.c: New file.
11201 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
11203 * sunrpc/auth_des.c: 64bit fixes, security fixes.
11204 * sunrpc/auth_none.c: Pretty print.
11205 * sunrpc/auth_unix.c: Likewise.
11206 * sunrpc/authdes_prot.c: Likewise.
11207 * sunrpc/authuxprot.c: Likewise.
11208 * sunrpc/bindrsvprt.c: Likewise.
11209 * sunrpc/clnt_gen.c: Likewise.
11210 * sunrpc/rpc/xdr.h: Likewise.
11211 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11212 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11213 * sunrpc/rtime.c: Use new rpc_timeval.
11214 * sunrpc/svc_authux.c: Don't use *long pointers.
11215 * sunrpc/svcauth_des.c: Likewise + security fixes.
11216 * sunrpc/xdr_mem.c: Don't use *long pointers.
11217 * sunrpc/xdr_rec.c: Likewise.
11218 * sunrpc/xdr_sizeof.c: Likewise.
11219 * sunrpc/xdr_stdio.c: Likewise.
11221 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11223 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11224 so that it is redone for each sending.
11226 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11228 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11230 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11232 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11233 known to not exist don't try to load shared objects.
11234 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11236 * nscd/cache.c (prune_cache): The table might not be unused. In
11237 this case do nothing.
11239 * catgets/gencat.c (read_input_file): Don't drop white spaces
11240 between number/identifier and string.
11241 Patch by Dima Barsky <dima@pwd.hp.com>.
11242 If no white space at all follows number/identifier remove existing
11243 message with the number/identifier.
11245 1999-04-14 H.J. Lu <hjl@gnu.org>
11247 * sunrpc/clnt_udp.c (is_network_up): New function.
11248 (clntudp_call): Call is_network_up () to check if any network
11249 interface is up in case of timeout.
11251 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11253 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11254 * wctype/Makefile (tests): Add test_wcfuncs.
11256 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
11258 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11260 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11262 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11263 instead of CFLAGS. For gnulib and string directories use
11264 -Wa,-Av9a gcc ASFLAGS.
11265 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11266 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11267 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11268 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11269 the same way as sparc-*.
11271 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
11273 * locale/programs/locfile.c (locfile_read): Fix typo.
11274 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11276 1999-04-14 Scott Bambrough <scottb@netwinder.org>
11278 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11279 restarted after being interrupted by a signal. The parameters on
11280 the stack were corrupted by the signal handler.
11282 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11283 restarted after being interrupted by a signal. The parameters on
11284 the stack were corrupted by the signal handler.
11286 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11288 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11289 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11291 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
11293 * posix/wordexp-test.c: In field-splitting test cases where
11294 subshells were involved, unset IFS first: some shells (ash) use
11295 IFS even when no expansion is performed.
11297 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11299 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11300 the real end of the chunk, not some random point inbetween.
11301 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
11302 obstack when growing. Use fast version of obstack_blank when
11304 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11305 allocating the vtable pointer.
11306 (_IO_obstack_vprintf): Adjust for above change and avoid
11307 unnecessary casts. Use fast version of obstack_blank when
11309 Fixes PR libc/1075.
11311 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
11313 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
11314 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11316 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
11318 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11319 is seen, as well as fixing semantics. Don't reset the word count
11320 to zero when an invalid character is seen, but leave it as it was
11321 (this makes a difference with WRDE_APPEND).
11323 * posix/wordexp-test.c: More test cases.
11325 * posix/wordexp.c (parse_param): In words like ${var#pattern},
11326 always expand pattern when it is needed. Also, handle quoting in
11329 1999-04-12 Philip Blundell <philb@gnu.org>
11331 * elf/elf.h: Update ARM definitions to match current gas2.
11333 * sysdeps/arm/bits/endian.h: Support big endian operation.
11335 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11336 Don't bother range checking the port number.
11338 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11340 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11341 the syscall name in assembler output for ease of debugging.
11343 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11344 compiler behaviour.
11345 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11346 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11347 (sysdep_routines): Add sigrestorer.
11349 * string/tester.c (test_strcpy): Add new tests for unaligned
11351 * sysdeps/arm/bits/string.h: Delete inline implementations of
11354 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
11356 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11358 1999-04-10 Mark Kettenis <kettenis@gnu.org>
11360 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11362 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11364 * iconvdata/Makefile (modules): Add TIS-620.
11365 (distribute): Add tis-620.c.
11366 (gen-8bit-gap-modules): tis-620.
11367 * iconvdata/tis-620.c: New file.
11368 * iconvdata/gconv-modules: Add TIS-620 entries.
11370 * iconvdata/asmo_449.c: Correct comment.
11372 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11374 * manual/install.texi (Configuring and compiling): Comment out
11375 description of --disable-static since this doesn't work currently
11376 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11378 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11380 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11382 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11384 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11386 * scripts/test-installation.pl (installation_problem): Skip
11387 libnss1_* libraries from glibc-compat add-on.
11389 1999-04-07 H.J. Lu <hjl@gnu.org>
11391 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11393 * posix/Versions (__waitpid): Likewise.
11395 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11397 * manual/install.texi (Reporting Bugs): Add section about reported
11398 bugs and correct email address of glibcbug script.
11400 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
11402 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11403 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11404 xdr_u_longlong_t. Based on patch from Dan Shechter
11405 <damageboy@isdn.net.il>.
11406 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11407 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11409 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11411 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11413 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11414 directly if getdents returns with error set.
11416 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11418 * locale/langinfo.h (THOUSEP): Rename second occurence of
11419 THOUSANDS_SEP to THOUSEP.
11420 Reported by Roman Belenov <roman@nstl.nnov.ru>.
11422 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
11424 * hurd/STATUS: File removed. Moved items that are still relevant into
11425 TODO list in hurd source.
11427 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11429 * sysdeps/mach/hurd/bits/time.h: New file.
11430 * sysdeps/mach/hurd/getrusage.c: New file.
11431 * sysdeps/mach/hurd/clk_tck.c: New file.
11432 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11433 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11434 (sysdep_routines): Add clk_tck.
11435 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11438 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
11440 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11441 (closelog): But instead here.
11442 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11444 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11446 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11447 the source directory. Fixes PR libc/1059.
11449 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11451 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11454 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
11456 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11457 * iconvdata/testdata/ISO-8859-14: New file.
11458 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11459 * iconvdata/testdata/ISO-8859-15: New file.
11460 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11462 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11464 * iconvdata/testdata/CP1258: New file.
11465 * iconvdata/testdata/CP1258..UTF8: New file.
11466 * iconvdata/TESTS: Add CP1258 entry.
11468 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11470 * timezone/africa: Update from tzdata1999d.
11471 * timezone/europe: Likewise.
11472 * timezone/northamerica: Likewise.
11474 1999-03-31 Mark Kettenis <kettenis@gnu.org>
11476 * login/programs/pt_chown.c (main): Save effective user ID before
11477 dropping priviliges and use this to check if the program is
11478 properly installed.
11480 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11482 * iconvdata/testdata/CP1254: Update for charmap changes.
11483 * iconvdata/testdata/CP1254..UTF8: Likewise.
11484 * iconvdata/testdata/CP1255: Likewise.
11485 * iconvdata/testdata/CP1255..UTF8: Likewise.
11486 * iconvdata/testdata/CP1256: Likewise.
11487 * iconvdata/testdata/CP1256..UTF8: Likewise.
11488 * iconvdata/testdata/CP1257: Likewise.
11489 * iconvdata/testdata/CP1257..UTF8: Likewise.
11491 * iconvdata/Makefile (distribute): Remove cp1258.h.
11492 (gen-8bit-gap-modules): Add cp1258.
11493 * iconvdata/cp1258.h: Removed.
11495 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11497 * timezone/tst-timezone.c (tests): Add more cases.
11498 (check_tzvars): Mark errors clearer.
11501 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
11503 * login/programs/pt_chown.c: Drop privileges if invoked with
11504 arguments. Don't close the master pty.
11506 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11508 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11509 Minor optimization.
11511 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
11513 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11514 relocation for SUID binaries.
11516 1999-03-29 Paul Eggert <eggert@twinsun.com>
11518 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11519 while in child process.
11521 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
11523 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11524 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11525 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11526 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11527 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11529 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11530 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11531 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11532 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11533 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11534 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11535 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11536 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11537 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11538 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11539 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11540 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11541 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11542 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11543 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11544 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11545 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11546 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11547 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11548 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11549 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11550 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11551 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11552 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11553 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11554 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11556 * sysdeps/sparc/sparc32/bcopy.c: New file.
11557 * sysdeps/sparc/sparc32/bzero.c: New file.
11558 * sysdeps/sparc/sparc32/memchr.S: New file.
11559 * sysdeps/sparc/sparc32/memcpy.S: New file.
11560 * sysdeps/sparc/sparc32/memmove.c: New file.
11561 * sysdeps/sparc/sparc32/memset.S: New file.
11562 * sysdeps/sparc/sparc32/stpcpy.S: New file.
11563 * sysdeps/sparc/sparc32/strchr.S: New file.
11564 * sysdeps/sparc/sparc32/strrchr.c: New file.
11565 * sysdeps/sparc/sparc32/strcpy.S: New file.
11566 * sysdeps/sparc/sparc32/strlen.S: New file.
11567 * sysdeps/sparc/sparc32/strcat.S: New file.
11568 * sysdeps/sparc/sparc32/strcmp.S: New file.
11570 * sysdeps/sparc/sparc64/bcopy.c: New file.
11571 * sysdeps/sparc/sparc64/bzero.c: New file.
11572 * sysdeps/sparc/sparc64/memchr.S: New file.
11573 * sysdeps/sparc/sparc64/memcmp.S: New file.
11574 * sysdeps/sparc/sparc64/memcpy.S: New file.
11575 * sysdeps/sparc/sparc64/memset.S: New file.
11576 * sysdeps/sparc/sparc64/stpcpy.S: New file.
11577 * sysdeps/sparc/sparc64/strcat.S: New file.
11578 * sysdeps/sparc/sparc64/strchr.S: New file.
11579 * sysdeps/sparc/sparc64/strcmp.S: New file.
11580 * sysdeps/sparc/sparc64/strcpy.S: New file.
11581 * sysdeps/sparc/sparc64/strcspn.S: New file.
11582 * sysdeps/sparc/sparc64/strlen.S: New file.
11583 * sysdeps/sparc/sparc64/strncpy.S: New file.
11584 * sysdeps/sparc/sparc64/strpbrk.S: New file.
11585 * sysdeps/sparc/sparc64/strrchr.c: New file.
11586 * sysdeps/sparc/sparc64/strspn.S: New file.
11587 * sysdeps/sparc/sparc64/stpncpy.S: New file.
11588 * sysdeps/sparc/sparc64/strncmp.S: New file.
11590 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11591 Append -fPIC, don't replace.
11593 * configure.in: Recognize sparcv8plus / sparcv9.
11595 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11597 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11598 char * to avoid C++ warning.
11599 Patch by yasushi@cs.washington.edu [PR libc/1035].
11601 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11603 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11604 declared in stdlib.h, correct return value of mkstemp.
11605 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11607 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11610 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11612 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11615 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11616 inline functions. Closes PR libc/1049.
11618 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11620 * timezone/README: Update from tzdata1999c and tzcode1999c.
11622 * timezone/africa: Update from tzdata1999c.
11623 * timezone/antarctica: Likewise.
11624 * timezone/asia: Likewise.
11625 * timezone/australasia: Likewise.
11626 * timezone/europe: Likewise.
11627 * timezone/northamerica: Likewise.
11628 * timezone/southamerica: Likewise.
11629 * timezone/zone.tab: Likewise.
11631 * timezone/zic.c: Update from tzcode1999c.
11633 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11635 * Makerules: Add $(common-objpfx)Versions.all to common-generated
11636 outside of ifndef avoid-generated.
11638 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11640 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11642 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11644 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11645 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11647 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11649 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11650 if we build the profiled library.
11652 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11654 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
11655 Jaeger <aj@arthur.rhein-neckar.de>
11657 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
11659 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11660 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11661 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11663 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
11665 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11666 works properly in subdirs.
11668 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
11670 * sysdeps/mach/hurd/Makefile: Undo last change.
11671 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11672 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11674 * mach/Machrules (+preinit, +postinit, +interp,
11675 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
11676 linked just like other shared libraries.
11677 (interface.so): Fix typo in defn, so it works.
11678 ($(objpfx)$(interface.so)): Make it depend on libc.so.
11680 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
11682 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11683 $(link-rpcuserlibs).
11685 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11687 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11688 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11689 targets if not building shared libraries.
11691 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11693 * configure.in: Also look in $PATH when searching for
11694 install-info. Remove autoconf bug workaround and require autoconf
11697 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11699 * db/Makefile: Don't try to install shared library link if not
11700 building with shared libs.
11702 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11704 * rt/Makefile: Link against static library if no shared lib is
11707 * localedata/Makefile: The shells scripts implementing the test
11708 require the dynamic linker which is not available with
11709 --disable-shared. Skip the test if --disable-shared is given.
11711 * linuxthreads/Makefile: Link test against static libpthread if no
11712 shared lib is available.
11714 * iconvdata/Makefile (tests): Run iconv-test only if we're
11715 building shared libraries.
11716 * elf/Makefile (tests): Likewise for elf tests.
11718 * posix/Makefile: The test frameworks globtest and wordexp-test
11719 require the dynamic linker which is not available with
11720 --disable-shared. Skip the test if --disable-shared is given.
11722 * grp/Makefile (otherlibs): For static nss build link against
11725 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11727 * debug/Makefile (install-bin): Install and build catchsegv only
11728 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
11731 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11733 * time/tzfile.c (__tzfile_read): Handle the case where there are
11734 transitions but no DST.
11736 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
11738 * mach/Machrules (extra-libs-others): Add $(interface-library) here
11739 too, so it gets built in the others pass rather than the lib pass.
11740 This is necessary since the RPC libraries need to be linked against
11743 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
11745 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11748 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11749 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11750 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11751 versions of lib{mach,hurd}user.so without reference to libc.so,
11752 then link libc.so against that to get deps and symbol versions, then
11753 finally link real lib*user.so against libc.so.
11755 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11756 Support whole-file locking (only) by using the file_lock RPC. This
11757 has very wrong semantics, but is better than nothing for the time
11758 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
11759 protocols that will be somewhat hairy to specify.)
11761 1999-03-17 Mark Kettenis <kettenis@gnu.org>
11763 * sysdeps/mach/hurd/ptsname.c: New file.
11765 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11767 * timezone/asia: Fix rule in Asia/Nicosia entry.
11769 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11771 * manual/getopt.texi (Using Getopt): Explain "::" in option
11772 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
11774 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
11776 * sunrpc/clnt_unix.c: Fix creation of parameters for
11777 sendmsg/recvmsg on non intel platforms.
11778 * sunrpc/svc_unix.c: Likewise.
11780 1999-03-18 Philip Blundell <philb@gnu.org>
11782 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
11785 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11787 * timezone/africa: Update from tzdata1999b.
11788 * timezone/asia: Likewise.
11789 * timezone/australasia: Likewise.
11790 * timezone/europe: Likewise.
11791 * timezone/northamerica: Likewise.
11792 * timezone/southamerica: Likewise.
11793 * timezone/zone.tab: Likewise.
11795 * timezone/README: Mention tzdata1999b.
11797 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
11799 * sysdeps/generic/segfault.c (write_strsignal): New function.
11800 (catch_segfault): Use it instead of calling strsignal.
11802 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11804 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11805 char to avoid warning.
11807 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11809 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11811 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11812 outbuf to unsigned char to avoid warning.
11814 1999-03-11 David S. Miller <davem@redhat.com>
11816 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11818 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11820 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11822 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11824 (gconv_step_data): Likewise.
11825 * iconv/gconv_int.h (__gconv): Likewise.
11826 (__BUILINT_TRANS): Likewise.
11827 * iconv/gconv.c (__gconv): Likewise.
11828 * iconv/iconv.c (iconv): Add casts for call of __gconv.
11829 * iconv/skeleton.c: Change local parameters and variable from `char' to
11830 `unsigned char'. Remove casts from calls into modules.
11831 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11832 `char' to `unsigned char'.
11833 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11834 * wcsmbs/mbrtowc.c: Likewise.
11835 * wcsmbs/mbsnrtowcs.c: Likewise.
11836 * wcsmbs/mbsrtowcs.c: Likewise.
11837 * wcsmbs/wcrtomb.c: Likewise.
11838 * wcsmbs/wcsnrtombs.c: Likewise.
11839 * wcsmbs/wcsrtombs.c: Likewise.
11840 * wcsmbs/wctob.c: Likewise.
11842 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11844 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11845 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11846 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11847 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11848 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11849 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11851 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11853 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11854 _hurd_select if TIMEMOUT is -1.
11856 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11858 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11860 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11862 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11863 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11865 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11867 * manual/libc.texinfo: Undo last change for now.
11869 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11871 * intl/locale.alias: Add entries for Croatian.
11872 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11874 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11876 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11877 if the opened master pty really is a pty. `isatty' checks for
11878 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
11879 if we are out of pty's.
11881 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11883 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11884 opened file is closed on exec.
11885 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11888 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11890 * manual/llio.texi (File Position Primitive): Reformat @end
11891 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11893 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
11895 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11897 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11898 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11900 * locale/programs/localedef.c (main): Initialize `cat' to please
11903 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
11905 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11906 check for root-owned symlinks and reject them too.
11908 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11910 * stdio-common/printf_fphex.c: Move to ...
11911 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
11912 extended precision number.
11913 * sysdeps/m68k/printf_fphex.c: New file.
11915 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11917 * manual/stdio.texi: Fix typos.
11919 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
11921 * version.h (VERSION): Bump to 2.1.1.
11923 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
11925 * nis/ypclnt.c: Try only twice to connect to NIS server.
11927 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11929 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11931 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11933 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11934 (DENORM_EXP): New define. Use it as the exponent for a denormal.
11935 * stdlib/strtold.c: Moved to ...
11936 * sysdeps/generic/strtold.c: ... here.
11937 * sysdeps/m68k/strtold.c: New file.
11939 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11941 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11942 point if the precision is zero, even if the mantissa is non-zero.
11944 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11946 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11947 arguments into the request message buffer inside `send_rpc'
11948 subfunction. We must repeat the marshalling when retrying the RPC
11949 after a SIGTTOU delivery.
11951 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11952 path when there is no ctty port.
11953 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11954 Move sigstate check inside loop so we recheck after handling a signal.
11956 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11958 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11959 O_EXLOCK are BSD extensions.
11960 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11962 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
11964 * manual/signal.texi (Termination in Handler): Correct example.
11965 Install default handler before reraising the signal.
11966 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11968 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
11970 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11971 null, in which case send an empty string.
11973 1999-03-02 Mark Kettenis <kettenis@gnu.org>
11975 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11976 backward compatibility EH functions to be linked when using
11977 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11979 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11981 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11982 /dev/pts status may change during runtime.
11984 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11986 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11987 change. /dev/pts status can change during runtime.
11989 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
11991 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11992 poll reports error.
11993 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11994 add some more sanity checks.
11995 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11998 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
12000 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
12001 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
12002 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
12003 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
12004 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
12006 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
12007 * nis/nis_print.c: Fix ctime argument for platforms where
12008 sizeof (time_t) != sizeof (int).
12010 1999-03-07 Mark Kettenis <kettenis@gnu.org>
12012 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
12013 CLOCKS_PER_SEC instead of CLK_TCK.
12015 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
12017 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
12018 whether /dev/pts is available.
12019 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
12022 * posix/globtest.sh: Make common_objpfx path absolute and and db2
12023 and hesiod directory to library path [PR libc/1007].
12025 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12027 * resolv/inet_addr.c (inet_aton): Don't allow componets >
12028 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
12030 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
12032 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
12033 DT_PLTGOT has already been relocated.
12034 (__elf_machine_fixup_plt): Likewise.
12037 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
12039 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
12041 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
12043 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
12044 and fold string to uppercase [PR libc/1005].
12046 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12048 * elf/dl-load.c (lose): Fix return type.
12050 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
12052 * sysdeps/mach/hurd/bits/fcntl.h
12053 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
12054 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
12055 set O_NOTRANS as well.
12056 (__hurd_file_name_lookup_retry): At successful end of lookup,
12057 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
12058 it is a translated node not owned by root.
12059 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
12060 on the file name passed to LOOKUP.
12062 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
12064 * manual/time.texi (High Resolution Timer): Correct computation in
12065 example. Reported by jjf@devel.cemsys.com.
12067 1999-03-02 Philip Blundell <pb@nexus.co.uk>
12069 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12070 entry is already relocated.
12072 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12074 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
12075 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12077 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12079 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12080 uc_link which is the right name according to Unix98.
12081 Reported by Craig Metz [PR libc/1001].
12082 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12083 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12084 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12085 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12086 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12087 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12089 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12091 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12094 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12096 * iconvdata/Makefile: Always include iconv-rules, but disable rule
12097 to regenerate it if avoid-generated.
12099 * Makeconfig: Always include sys-dirs, but disable rule to
12100 regenerate it when avoid-generated.
12102 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12103 rule to generate sysd-syscalls.
12105 * elf/Makefile (generated): Remove $(objpfx) from names.
12107 1999-02-28 Mark Kettenis <kettenis@gnu.org>
12109 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12110 actual length if the adress length is smaller than the input
12111 value. Change type of *LEN paramater to socklen_t.
12112 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12113 * sysdeps/mach/hurd/accept.c (accept): Likewise.
12114 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12115 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12116 paramater to socklen_t.
12118 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
12120 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12121 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12124 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12126 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12127 __get_phys_pages): Cast &HBI to silence warning.
12129 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12130 * hurd/hurdchdir.c: New file.
12131 * hurd/hurdfchdir.c: New file.
12132 * sysdeps/mach/hurd/chroot.c: Call
12133 _hurd_change_directory_port_from_name to do the work.
12134 * sysdeps/mach/hurd/chdir.c: Likewise.
12135 * sysdeps/mach/hurd/fchdir.c: Call
12136 _hurd_change_directory_port_from_fd to do the work.
12137 * hurd/fchroot.c: Likewise.
12138 * hurd/hurd.h: Declare them.
12140 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
12142 * elf/dl-load.c (lose): Add more comments to explain the `why'.
12143 (_dl_map_object): Remove redundant test.
12145 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12147 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12148 try to _hurd_port_free a lower-numbered descriptor that was not in any
12151 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12153 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12154 declaration for ____wcstod_l_internal.
12156 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12157 __strtod_internal prototype.
12158 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12159 (____strtold_l_internal): Add prototype declaration.
12160 (__strtold_l): Call correct function.
12162 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
12164 * elf/elf.h: Add 32bit HPPA definitions.
12166 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12168 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12169 non-checked heap is restored when malloc checking was requested by
12171 (struct malloc_state): Add using_malloc_checking.
12172 (MALLOC_STATE_VERSION): Increment minor.
12173 (using_malloc_checking, disallow_malloc_check): New variables.
12174 (__malloc_check_init): Use them.
12175 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12176 that it can the chunk is properly instrumented when malloc
12177 checking is enabled. Set the new using_malloc_checking field.
12178 (malloc_hook_ini): Correct signature when _LIBC is not defined.
12180 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12182 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12183 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12186 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12187 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12188 if ld.so is the main program.
12190 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
12192 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12193 large for work_buffer, allocate new buffer.
12194 (printf_unknown): Likewise. [PR libc/988]
12196 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12198 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12199 instead of stat and fstat.
12200 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12202 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12204 * elf/dl-error.c (_dl_signal_cerror): New function.
12205 (_dl_signal_error): Don't call receiver function.
12206 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12207 instead of _dl_signal_error when reporting references to undefined
12208 symbols or versions.
12209 (_dl_lookup_versioned_symbol): Likewise.
12210 (_dl_lookup_versioned_symbol_skip): Likewise.
12211 * elf/dl-version.c (match_symbol): Likewise.
12213 * elf/ldsodefs.h: Declare _dl_signal_cerror.
12215 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12217 * misc/getttyent.c (getttyent): Release lock on stream later to
12218 also protect global variable zapchar.
12220 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12221 __times [PR libc/990].
12223 1999-02-21 David S. Miller <davem@redhat.com>
12225 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12226 parentheses in Feb 2 changes.
12227 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12229 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12231 * sysdeps/generic/glob.c (glob): Save previous errno.
12233 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
12235 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12236 lookup functions if it is too small.
12238 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
12240 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12241 for tracing to the scope lists.
12242 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12243 DT_SYMTAB is always available according to ELF spec.
12245 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12246 call test whether there is any scope left.
12247 (_dl_lookup_versioned_symbol_skip): Likewise.
12249 * elf/Makefile (distribute): Add do-lookup.h.
12250 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
12251 * elf/dl-lookup.c: Move do_lookup function in separate file and
12252 include the file twice, for handling versioning and without it.
12254 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12255 entry is already relocated.
12256 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12257 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12258 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12263 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12266 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12267 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12268 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12269 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12270 rel and rela relocations can both happen and skip one test if this
12272 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12274 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12276 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12278 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12279 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12280 (_dl_map_object): DT_STRTAB entry is already relocated.
12281 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12283 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12285 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12286 DT_VERSYM entries are already relocated.
12287 (profile_fixup): Likewise.
12288 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
12290 (match_symbol): DT_STRTAB entry is already relocated.
12291 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
12292 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12293 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
12294 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12295 (find_needed): DT_STRTAB entry is already relocated.
12296 (dl_main): Pass extra argument to elf_get_dynamic_info.
12297 DT_STRTAB entry is already relocated.
12298 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12299 DT_PLTGOT entries are already relocated.
12300 (elf_machine_rela): Likewise for DT_SYMTAB.
12301 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12303 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12304 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12305 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12307 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12308 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12309 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12310 * sysdeps/mips/mips64/dl-machine.h: Likewise.
12312 * grp/initgroups.c (initgroups): If function in current module was
12313 successful don't stop but continue to process to get all the groups.
12315 * elf/dl-load.c (_dl_map_object_from_fd): Use global
12316 _dl_pf_to_proot array to convert p_flags value.
12317 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12319 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12320 loop to clear `info'.
12322 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12323 do the work and don't use inline assembler.
12325 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
12327 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12328 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12329 noreturn, and prevent it from being inlined.
12330 Define LOSE appropriately.
12331 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12332 Optimize decoding of p_flags for certain platforms.
12334 1999-02-19 Philip Blundell <pb@nexus.co.uk>
12336 * Makeconfig (link-libc): When doing a static link, make sure that
12337 libgcc.a is included both before and after libc.a.
12339 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
12341 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12342 sp_warn, sp_inact, sp_expire and sp_flag.
12344 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
12346 * elf/link.h (link_map): Add l_dev and l_ino.
12347 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12348 loaded shared object with all loaded objects. Initialize l_ino
12349 and l_dev in case it's new.
12350 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12352 * elf/Makefile: Compile and run new test.
12353 * elf/multiload.c: New file.
12355 * nss/nsswitch.h (service_user): Change name field from const char *
12357 (name_database_entry): Likewise.
12358 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12359 for change of `service_user'.
12360 (nss_getline): Adjust memory allocation for change of
12361 `name_database_entry'.
12363 * catgets/catgets.c: Correctly handle NLSPATH from environment
12366 * io/Makefile (routines): Add lock64.
12367 * io/Versions: Add lockf64 for GLIBC_2.1.1.
12368 * sysdeps/generic/lockf64.c: New file.
12370 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12372 * string/bits/string2.h: Only use strncmp optimization if count
12373 argument is constant.
12375 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
12377 * sysdeps/mach/hurd/revoke.c: New file.
12379 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12381 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12382 int to avoid warning about `ISO C restricts enumerator values to
12385 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12387 * elf/dlfcn.h: Fix typo.
12388 * sysdeps/generic/bits/dlfcn.h: Likewise.
12389 * sysdeps/mips/bits/dlfcn.h: Likewise.
12391 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12393 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12394 for the case N == 0.
12396 * db2/Makefile (distribute): Add LICENSE.
12398 1999-02-03 Jeff Bailey <jbailey@nisa.net>
12400 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12403 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12405 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12407 * time/mktime.c: Use ISO C form for function definitions and
12408 remove unnecessary prototypes.
12410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12412 * time/time.h: Avoid unneccesary #ifdef.
12414 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
12416 * stdio-common/_itoa.c (_itoa): Correct parameters to
12419 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12421 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12422 before (e.g. in glob.h).
12423 Closes PR libc/959.
12425 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12427 * sysdeps/mips/fpu_control.h: Fix typo.
12428 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12431 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
12433 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12434 the "unused" ends of the sockets. Let pipes be bidirectional.
12436 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12438 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12441 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12443 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
12444 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12446 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12447 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12449 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12451 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12453 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12455 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
12456 check for priority mask.
12458 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
12460 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12461 Reported by Craig Metz <cmetz@inner.net> .
12463 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12465 * stdio-common/Makefile (tests): tllformat added.
12467 * stdio-common/tllformat.c: New program, based on tiformat.c with
12468 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12470 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12472 * posix/test-vfork.c: Fix exit status test.
12474 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12476 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12477 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12479 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12481 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12482 of separare explicit comparisons.
12484 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12486 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12489 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12492 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12494 * po/el.po: Update from translation team.
12496 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12498 * intl/locale.alias: Fix slovenian entry [PR libc/948].
12500 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12502 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12503 * inet/ruserpass.c: Likewise.
12504 * locale/programs/stringtrans.c: Likewise.
12505 * locale/programs/localedef.c: Likewise.
12506 * nscd/grpcache.c: Likewise.
12507 * nss/nss_files/files-XXX.c: Likewise.
12508 * stdlib/canonicalize.c: Likewise.
12509 * sysdeps/posix/sigwait.c: Likewise.
12511 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12513 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12514 even on 64 bit platforms.
12516 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12517 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12519 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12521 * intl/dcgettext.c: Include locale.h is available.
12523 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12525 * po/nl.po: Update from translation team.
12527 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12529 * Makefile: Allow calling goals for po subdir.
12531 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12532 signal definitions.
12534 * po/el.po: New file.
12536 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12538 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12539 when processing DT_SYMBOLIC objects.
12541 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12543 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12544 program headers without PT_PHDR only require that they are
12545 contained within one of the loaded segments. Don't use assert,
12546 since that would be a bug in the object, not the dynamic linker.
12548 1999-02-08 Richard Henderson <rth@cygnus.com>
12550 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12551 restore all call-clobbered fp regs.
12553 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12555 * po/cs.po: New file.
12557 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12560 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12562 * signal/signal.h: Don't declare __libc_allocate_rtsig.
12563 * include/signal.h: Declare __libc_allocate_rtsig here.
12565 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12566 point functions, not do_lookup since the later can be called more
12569 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
12571 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12572 macro, so that architectures which need to add some special
12573 offset to stack pointer can share this file.
12575 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12576 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12577 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12578 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12580 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12581 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12583 between sparc32 and sparc64.
12585 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12586 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12587 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12588 between sparc32 and sparc64.
12590 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12591 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12592 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12593 between sparc32 and sparc64.
12595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12597 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12598 between sparc32 and sparc64.
12600 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12602 * Versions.def: New version GLIBC_2.1.1 for libc.
12603 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12604 * stdlib/labs.c: Moved to...
12605 * sysdeps/generic/labs.c: ...here.
12606 * stdlib/llabs.c: Moved to...
12607 * sysdeps/generic/llabs.c: ...here.
12608 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12609 header. Declare _Exit.
12610 * sysdeps/generic/_exit.c: Add alias _Exit.
12611 * sysdeps/mach/hurd/_exit.c: Likewise.
12612 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12613 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12614 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12615 * sysdeps/unix/_exit.c: Likewise.
12616 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12617 imaxdiv and imaxabs. Declare lldiv_t if necessary.
12618 * sysdeps/wordsize-64/inttypes.h: Likewise.
12619 * sysdeps/wordsize-32/llabs.c: New file.
12620 * sysdeps/wordsize-32/lldiv.c: New file.
12621 * sysdeps/wordsize-64/labs.c: New file.
12622 * sysdeps/wordsize-64/ldiv.c: New file.
12623 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12624 * manual/startup.texi: Document _Exit.
12626 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12628 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12630 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
12632 * Versions.def: Add versions for ld.so.
12633 * csu/Versions: Remove __libc_stack_end here.
12634 * elf/Versions: Split libc definitions in libc and ld.so definitions.
12635 * elf/Makefile (ld-map): Change to ld.so.map.
12636 * scripts/versions.awk: Recognize dot in library names.
12638 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12639 Don't use __tolower and __toupper in inline functions.
12640 Add optimizing macros for tolower and toupper.
12641 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12642 (_toupper): Don't use __toupper.
12643 * ctype/ctype.c (tolower): Don't use __tolower.
12644 (toupper): Don't use toupper.
12646 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12648 * resolv/Versions (libresolv): Export __ns_name_unpack and
12650 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12651 make it global. Change all users. Similar for ns_name_ntop.
12652 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12653 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
12654 directly to detect too small buffer.
12655 * resolv/nss_dns/dns-network.c: Likewise.
12657 * stdio-common/Makefile (tests): Add scanf12.
12658 * stdio-common/scanf12.c: New file.
12659 * stdio-common/scanf12.input: New file.
12660 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12661 floating-point correctly if the number is invalid.
12663 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12665 * stdio-common/printf_fp.c: Likewise.
12666 * stdio-common/printf_fphex.c: Likewise.
12667 * stdio-common/vfprintf.c: Likewise.
12670 See ChangeLog.9 for earlier changes.