1 2000-02-09 Andreas Jaeger <aj@suse.de>
3 * time/strptime.c (strptime_internal): Fix pointer dereference.
4 Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
7 2000-02-08 Jakub Jelinek <jakub@redhat.com>
9 * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
10 * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
11 * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
12 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
13 shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
14 * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
15 and oldshmctl to sysdep-routines.
17 2000-02-08 Andreas Jaeger <aj@suse.de>
19 * locale/programs/locale.c (write_locales): Fix handling of
21 Fixes PR libc/1588, reported by Miroslav Holcak
22 <miroslav.holcak@vitkovice.cz>.
24 2000-02-07 Thorsten Kukuk <kukuk@suse.de>
26 * config.make.in: Add infodir.
27 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
30 2000-02-11 Ulrich Drepper <drepper@redhat.com>
32 * posix/getopt.c: Suppress messages if first character of
33 optstring is a colon (PR libc/1584).
35 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
36 and elf_* types to interpret values passed up from the kernel.
37 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
39 * locale/nl_langinfo.c: Correct return value in error case. Don't
40 set errno (PR libc/1582).
41 * manual/locale.texi: Update to reflect change.
43 2000-02-02 Andreas Schwab <schwab@suse.de>
45 * malloc/Makefile (distribute): Add memprof.h.
46 * malloc/memprof.c: Move definition of GETSP and GETTIME to new
48 * sysdeps/generic/memprof.h: New file.
49 * sysdeps/alpha/memprof.h: New file.
50 * sysdeps/i386/memprof.h: New file.
51 * sysdeps/m68k/memprof.h: New file.
52 * sysdeps/mips/memprof.h: New file.
53 * sysdeps/powerpc/memprof.h: New file.
54 * sysdeps/sparc/memprof.h: New file.
56 2000-02-01 Jakub Jelinek <jakub@redhat.com>
58 * sysdeps/unix/sysv/linux/getresgid.c: Move...
59 * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
60 (getresgid): Use getresgid32 if __libc_missing_32bit_uids
62 * sysdeps/unix/sysv/linux/getresuid.c: Move...
63 * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
64 (getresuid): Use getresuid32 if __libc_missing_32bit_uids
66 * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
67 __libc_missing_32bit_uids.
68 (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
70 * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
71 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
72 * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
73 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
74 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
75 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
76 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
77 * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
78 * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
79 * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
80 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
81 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
82 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
83 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
84 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
85 * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
86 * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
87 * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
88 * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
89 * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
90 * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
91 * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
92 * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
93 * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
94 * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
95 * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
96 * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
97 * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
98 * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
99 * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
100 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
101 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
102 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
103 * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
104 Make syscall directly, no stubs needed.
105 (getresgid): Likewise.
106 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
108 (getresgid): Likewise.
110 2000-02-11 Ulrich Drepper <drepper@redhat.com>
112 * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
113 Reported by Bruno Haible <haible@ilog.fr>.
115 * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
117 * stdio-common/printf_fp.c: Truely support wide characater output.
118 Finally handle decimal points and thousands separator characters
119 correctly for multibyte output.
120 * stdio-common/printf_size.c: Likewise.
121 * sysdeps/generic/printf_fphex.c: Likewise.
122 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
124 * stdio-common/vfscanf.c: Implement I modifier for numbers to read
125 locale dependent digits.
127 * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
128 decimal point and thousands separator values to wide characters from
129 wide character strings.
130 * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
132 * locale/indigitswc.h: Dereference wcdigits array elements.
134 2000-02-03 Jakub Jelinek <jakub@redhat.com>
136 * stdlib/canonicalize.c (canonicalize): Zero terminate
137 path to copy on error.
139 2000-02-01 Cristian Gafton <gafton@redhat.com>
141 * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
143 2000-01-31 Philip Blundell <philb@gnu.org>
145 * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
147 2000-01-31 Andreas Jaeger <aj@suse.de>
149 * intl/Makefile (generated): msgs.h is generated.
151 * localedata/Makefile (generated-dirs): Add de_DE.437.
153 2000-01-31 Jakub Jelinek <jakub@redhat.com>
155 * config.make.in: Allow default localedir to come from configure.
156 * configure.in: Export libc_cv_localedir.
157 * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
158 stuff into $exec_prefix/lib/locale because it can be shared between
159 32bit and 64bit libraries.
160 * configure: Rebuilt.
161 * sysdeps/unix/sysv/linux/configure: Rebuilt.
163 2000-01-31 Andreas Jaeger <aj@suse.de>
165 * inet/tst-network.c: New file.
166 * inet/Makefile (tests): Add tst-network.
168 * inet/inet_net.c (inet_network): Don't overwrite memory or allow
169 to great last digits.
171 2000-02-10 Andreas Jaeger <aj@suse.de>
173 * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
174 Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
176 2000-02-09 Andreas Jaeger <aj@suse.de>
178 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
180 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
182 2000-02-08 Andreas Jaeger <aj@suse.de>
184 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
186 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
189 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
190 c_ispeed and c_ospeed which are not implemented.
192 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
193 for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
194 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
195 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
196 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
198 2000-02-05 Andreas Jaeger <aj@suse.de>
200 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
201 work - set to 4 in accordance with changes made in the Linux/MIPS
202 kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
205 2000-02-04 Andreas Jaeger <aj@suse.de>
207 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
210 2000-02-03 Andreas Jaeger <aj@suse.de>
212 * sysdeps/mips/abort-instr.h: New file.
214 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
216 * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
218 * sysdeps/mips/stackinfo.h: New file.
220 2000-02-01 Andreas Jaeger <aj@suse.de>
222 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
224 * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
226 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
228 * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
229 Baechle <ralf@gnu.org>.
231 * sysdeps/unix/sysv/linux/mips/brk.c: New file.
233 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
235 * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
237 2000-01-31 Andreas Jaeger <aj@suse.de>
239 * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR
242 2000-01-30 Ulrich Drepper <drepper@redhat.com>
244 * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
246 * sysdeps/alpha/fpu/fesetround.c: Likewise.
247 * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
248 * sysdeps/arm/fpu/fesetround.c: Likewise.
249 * sysdeps/generic/feholdexcpt.c: Likewise.
250 * sysdeps/generic/fesetround.c: Likewise.
251 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
252 * sysdeps/i386/fpu/fesetround.c: Likewise.
253 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
254 * sysdeps/m68k/fpu/fesetround.c: Likewise.
255 * sysdeps/mips/fpu/fesetround.c: Likewise.
256 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
257 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
258 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
259 * sysdeps/sparc/fpu/fesetround.c: Likewise.
260 Patch by Miloslav Trmac <mitr@volny.cz>.
262 * locale/programs/ld-collate.c (struct locale_collate_t): Change
263 type of plane_size and plane_cnt to uint32_t.
264 Reported by Jakub Jelinek.
266 2000-01-29 Jakub Jelinek <jakub@redhat.com>
268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
269 (SYSCALL_ERROR_HANDLER): Optimize.
270 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
271 Include linux/sparc/sysdep.h.
272 Use a different guard define than linux/sparc/sysdep.h.
273 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
274 stubs for inlined syscalls.
275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
276 (SYSCALL_ERROR_HANDLER): Optimize.
277 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
278 Include linux/sparc/sysdep.h.
279 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
280 stubs for inlined syscalls.
281 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
283 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
284 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
286 2000-01-29 Ulrich Drepper <drepper@redhat.com>
288 * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty
289 print. Add checks for _POSIX_MMAPPED_FILES where necessary.
290 (_nl_unload_locale): If locale data was mmapped use munmap.
292 2000-01-29 Andreas Jaeger <aj@suse.de>
294 * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
295 _EXTERN_INLINE, compile inline assembler functions only with gcc.
297 2000-01-29 Ulrich Drepper <drepper@redhat.com>
299 * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
300 * catgets/gencat.c (read_input_file): Remove messages correctly.
301 * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
302 adjacent colons correctly. Correct loops to read territory and
304 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
306 * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
308 Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
310 2000-01-28 Jakub Jelinek <jakub@redhat.com>
312 * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
313 interface with symbol version GLIBC_2.2.
314 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
315 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
316 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
317 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
319 2000-01-27 Scott Bambrough <scottb@netwinder.org>
321 * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
323 * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
324 versioning setrlimit and getrlimit.
326 2000-01-27 Andreas Jaeger <aj@suse.de>
328 * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
329 * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
331 2000-01-27 Ruediger Oertel <ro@suse.de>
333 * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
335 2000-01-29 Ulrich Drepper <drepper@redhat.com>
337 * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
338 correct place to avoid uninitialized memory passed to writev.
340 * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
341 long string in definition.Only enable returning wide character
342 strings if really needed.
343 * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
345 * configure.in: Add check for recent enough sed version.
347 2000-01-28 Ulrich Drepper <drepper@redhat.com>
349 * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
350 _i18n_itoa): Fix parameter lists.
352 * locale/C-monetary.c: Add initializers for new fields.
353 * locale/C-numeric.c: Likewise.
354 * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
355 outdigits.h, and outdigitswc.h.
356 * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
357 _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
358 and _NL_NUMERIC_THOUSANDS_SEP_WC.
359 * locale/indigits.h: New file.
360 * locale/indigitswc.h: New file.
361 * locale/outdigits.h: New file.
362 * locale/outdigitswc.h: New file.
363 * locale/programs/ld-monetary.c: Write out decimal point and
364 thousands separator info in wide character form.
365 * locale/programs/ld-numeric.c: Likewise.
366 * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
367 (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
368 * stdio-common/_i18n_itoa.c: New file.
369 * stdio-common/_i18n_itoa.h: New file.
370 * stdio-common/_i18n_itowa.c: New file.
371 * stdio-common/_i18n_itowa.h: New file.
372 * stdio-common/printf-parse.h: Parse 'I' flag.
373 * stdio-common/printf.h (struct printf_info): Add i18n field.
374 * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
377 2000-01-27 Geoff Keating <geoffk@cygnus.com>
379 * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
382 * sysdeps/unix/sysv/linux/kernel-features.h
383 (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
384 __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
387 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
388 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
389 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
390 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
391 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
392 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
393 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
394 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
395 s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
397 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
398 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
400 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
401 __curbrk off the small data area register. Reported by
402 Andrew Haley <aph@pasanda.cygnus.co.uk>.
404 2000-01-26 Andreas Jaeger <aj@suse.de>
406 * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
408 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
410 * locale/Makefile (distribute): Remove nonexisting files.
411 * sysdeps/powerpc/Dist: Move FPU specific files to...
412 * sysdeps/powerpc/fpu/Dist: ...here. New file.
413 * nss/Makefile: Distribute files for new libdb interface.
414 * math/Makefile (distribute): Add README.libm-test.
415 Patch by Andreas Jaeger.
417 2000-01-26 David McCann <david.mccann@alcatel.at>
419 * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
421 2000-01-25 Andreas Jaeger <aj@suse.de>
423 * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
424 version check since we're using cpp.
426 2000-01-26 Jakub Jelinek <jakub@redhat.com>
428 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
431 2000-01-26 Andreas Jaeger <aj@suse.de>
433 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
434 about unitialised variable kbuf.
435 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
436 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
438 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
440 * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
442 (collate_read): Remove unnecessary `if'.
444 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
446 * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
447 and load appropriate conversions.
448 * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
450 * libio/libioP.h: Declare __libio_codecvt.
451 * manual/stdio.texi: Document ,ccs= option for fopen.
452 * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
453 * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
455 * libio/iofclose.c: Free conversion data if stream was wide-oriented.
457 * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
459 * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
461 * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
462 * posix/testfnm.c: Add a few more tests. Rearrange test output.
464 2000-01-25 Andreas Schwab <schwab@suse.de>
466 * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of
467 FNM_FILE_NAME consistently.
469 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
471 * posix/fnmatch.c: Define STRCOLL appropriately for the loop
473 * posix/fnmatch_loop.c: Undefine STRCOLL.
475 * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
476 kernels with stat64 support.
477 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
478 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
479 Patch by SL Baur <steve@xemacs.org>.
481 * string/strxfrm.c: Don't count in the terminating NUL byte/word.
483 2000-01-24 Paul Eggert <eggert@twinsun.com>
485 * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
486 deciding whether a character falls within a character range.
488 2000-01-24 Paul Eggert <eggert@twinsun.com>
490 * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
493 2000-01-24 Thorsten Kukuk <kukuk@suse.de>
495 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
497 2000-01-23 Paul Eggert <eggert@twinsun.com>
499 * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
501 2000-01-23 Paul Eggert <eggert@twinsun.com>
503 * posix/regex.c (compile_range): When matching a character
504 range, use the current collating sequence, as POSIX requires.
506 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
508 * string/argz-stringify.c: Handle case of missing \0 at the end of
511 2000-01-24 Ulrich Drepper <drepper@cygnus.com>
513 * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
516 * locale/programs/ld-collate.c (collate_output): Also handle
517 IGNOREd characters in the simple way when generating the multibyte
520 * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
522 (ctype_finish): ...here. Check for missing codeset name.
524 * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
525 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
527 2000-01-24 Jakub Jelinek <jakub@redhat.com>
529 * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
530 * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
531 * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
532 * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h.
533 * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
534 * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h.
535 * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
536 * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h.
537 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
538 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
539 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
540 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
541 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
542 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
543 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
544 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
545 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
546 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
547 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
548 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
549 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
550 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
551 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
552 * sysdeps/unix/sysv/linux/semget.c: Likewise.
553 * sysdeps/unix/sysv/linux/semop.c: Likewise.
554 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
555 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
556 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
558 2000-01-24 Jakub Jelinek <jakub@redhat.com>
560 * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
561 * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
562 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
563 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
564 * sysdeps/unix/sysv/linux/arm/Versions: Remove
565 setrlimit64@GLIBC_2.1.3.
566 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
567 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
568 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
569 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
570 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
571 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
572 so that setrlimit64@GLIBC_2.1 can report limits above 2G.
573 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
574 setrlimit): Remove syscall stubs, add normal syscalls.
575 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
578 2000-01-22 Andreas Jaeger <aj@suse.de>
580 * localedata/tst-locale.sh: Enable test for de_DE.437.
582 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
584 * string/Versions: Export __strndup.
586 2000-01-23 Philip Blundell <philb@gnu.org>
588 Add basic support for RPC over IPv6:
589 * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
591 (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
593 * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
594 clntudp6_bufcreate): New prototypes.
595 * inet/netinet/in.h (bindresport6): Likewise.
596 * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
597 * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
598 svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
599 bindresvport6 for GLIBC_2.2.
600 * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
601 * sunrpc/rpc_svcout.c: Likewise.
602 * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
603 simple assignment when copying addresses.
604 * sunrpc/svc_udp.c (cache_get): Likewise.
605 * sunrpc/svc_unix.c (rendezvous_request): Likewise.
606 * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
607 sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
609 2000-01-05 Philip Blundell <philb@gnu.org>
611 * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
613 2000-01-23 Andreas Jaeger <aj@suse.de>
615 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
616 parameter to fstat calls.
618 2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
620 * sysdeps/generic/bits/socket.h
621 (__ss_aligntype, struct sockaddr_storage): Make these like Linux
622 version, replacing old type name `__ss_align'.
624 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
626 * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
627 (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
628 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
629 (__lseek, lseek): Make these weak aliases for __libc_lseek.
630 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
631 (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
632 * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
633 (__open, open): Make these weak aliases for __libc_open.
635 * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
637 (anonymous enum for MSG_*): Likewise.
638 (anonymous enum for SO_*): Likewise.
640 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
642 * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
645 2000-01-08 Mark Kettenis <kettenis@gnu.org>
647 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
648 (setitimer_locked): Use it to quantize the timer values. Use
649 quantized timer values to check if the timeout changed.
651 2000-01-22 Andreas Jaeger <aj@suse.de>
653 * sunrpc/rpc/svc.h: Fix description for svc_register.
655 2000-01-23 Mark Kettenis <kettenis@gnu.org>
657 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
659 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
661 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
662 fixes part 2 of bug 1549.
663 * sunrpc/rpc_des.h: Remove unused defines.
665 2000-01-22 Mark Kettenis <kettenis@gnu.org>
667 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
669 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
672 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
673 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
674 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
675 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
676 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
677 and other inline functions for port access.
678 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
681 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
683 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
684 Patch by Bruno Haible <haible@ilog.fr>.
686 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
688 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
689 them all at the end, eliding the final comma.
690 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
692 2000-01-21 Ulrich Drepper <drepper@cygnus.com>
694 * intl/libintl.h: Add format_arg attributes to declarations of new
697 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
698 ngettext, and plural.
699 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
700 (test-srcs): Add tst-gettext.
701 (before-compile): Add $(objpfx)msgs.h.
702 Add rules for plural.c and msgs.h generation and running tst-gettext.\
703 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
705 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
706 dcigettext with appropriate parameters.
707 * intl/dcigettext.c: New file.
708 * intl/dcngettext.c: New file.
709 * intl/dngettext.c: New file.
710 * intl/ngettext.c: New file.
711 * intl/gettextP.h (struct expression): Define.
712 (struct loaded_domain): Add plural and nplurals members.
713 Add prototypes for new internal functions.
714 * intl/libintl.h: Declare new functions. Add optimizations for them.
715 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
716 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
717 header entry and parse and store the expression.
718 * intl/plural.y: New file.
719 * intl/po2test.sed: New file.
720 * intl/tst-gettext.c: New file.
721 * intl/tst-gettext.sh: New file.
722 * manual/message.texi: Document new interfaces.
724 * intl/gettext.c: Call __dcgettext directly.
726 2000-01-20 Ulrich Drepper <drepper@cygnus.com>
728 * manual/getopt.texi (Using the getopt function): Fix description of
729 return value for format string starting with '-' (PR libc/1551).
730 Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
732 * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
733 Patch by jens.moeller@westgeo.com (PR libc/1550).
735 * locale/programs/ld-collate.c (struct element_t): Add wclast
736 and compute it where necessary.
737 (collate_output): Insert indirect references in the right order.
739 * math/Makefile (tests): Add test-misc.
740 * math/test-misc.c: New file.
742 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
744 * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
745 with exponent >31 and < 63 (PR libc/1548).
747 * locale/programs/ld-collate.c (output_weightwc): Return index
748 measured in words, not bytes. Don't write out words for ignored
750 (collate_output): Correct various problems with alignment in the
752 * locale/weight.h: Adjust for last change in ld-collate.c of adding
755 * stdlib/strfmon.c: Don't report an error if final NUL is at the
756 end of the buffer. Set errno correctly if floating-point number
757 would overflow buffer.
759 * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
761 * locale/weight.h (findidx): Little optimization. Correctly return
762 offset in indirect table.
763 * locale/programs/ld-collate.c (struct element_t): Add mblast
764 and compute it where necessary.
765 (insert_weights): Correctly handle missing weights in ellipsis
767 (handle_ellipsis): Correctly enqueue new element.
768 (collate_output): Insert indirect references in the right order.
770 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
772 * wcsmbs/mbrtowc.c: Create temporary state object if no output is
774 * wcsmbs/mbsrtowcs.c: Likewise.
775 * wcsmbs/wcrtomb.c: Likewise.
776 * wcsmbs/wcsrtombs.c: Likewise.
778 * wcsmbs/wcrtomb.c: Compute result correctly for successful call
781 * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
784 * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
785 incomplete but correct.
787 * locale/programs/charmap.c: NUL-terminate names of generated
788 entries for ellipsis.
790 2000-01-18 Andreas Jaeger <aj@suse.de>
792 * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
793 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
794 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
795 _STAT_VER_KERNEL handling up; don't save errno.
796 * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
797 * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
798 * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
799 * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
800 * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
801 * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
802 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
803 * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
804 * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
806 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
808 * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
809 Remove done variable and all uses.
810 * iconv/skeleton.c: Update comment for *written modification.
811 * iconv/gconv_int.h (__gconv): Update comment.
812 Reported by Bruno Haible.
814 2000-01-18 Bruno Haible <haible@ilog.fr>
816 * posix/fnmatch.c (ISWCTYPE): New macro.
817 (__wcschrnul): New function.
818 (BTOWC): New macro. Define it instead of __btowc.
819 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
820 wcsrtombs. Call wctype, not __wctype.
821 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
822 BTOWC instead of __btowc.
824 2000-01-18 Andreas Jaeger <aj@suse.de>
826 * inet/Versions: Add new functions added on 2000-01-17.
828 2000-01-18 Jakub Jelinek <jakub@redhat.com>
830 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
832 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
834 * timezone/antarctica: Update from tzdata2000a.
835 * timezone/asia: Likewise.
836 * timezone/australasia: Likewise.
837 * timezone/backward: Likewise.
838 * timezone/northamerica: Likewise.
839 * timezone/southamerica: Likewise.
840 * timezone/zone.tab: Likewise.
842 * nscd/connections.c (dbs): Use
843 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
846 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
847 address. Suggested by Philip Blundell.
849 * posix/TESTS: Fix expected result for test cases with * with no
852 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
853 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
854 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
855 open call would require read permission.
856 Patch by James Antill <james@and.org>.
858 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
860 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
861 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
862 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
864 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
865 * posix/regex.c (regex_compile): Return appropriate errors for
866 unterminated brace expressions. Detect invalid characters
867 in brace expressions.
868 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
869 * sysdeps/posix/sysconf.c: Include regex.h.
870 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
872 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
874 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
875 AI_NUMERICHOST flag is set, return an error.
876 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
878 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
880 * inet/rexec.c: Implement rexec_af.
881 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
883 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
886 2000-01-17 Jakub Jelinek <jakub@redhat.com>
888 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
889 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
890 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
891 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
892 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
893 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
894 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
895 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
896 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
897 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
898 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
899 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
901 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
903 (__new_msgctl): New function.
904 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
906 (__new_semctl): New function.
907 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
909 (__new_shmctl): New function.
911 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
912 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
913 * sysdeps/unix/sysv/linux/semget.c: Likewise.
914 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
915 * sysdeps/unix/sysv/linux/semop.c: Likewise.
916 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
917 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
918 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
920 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
922 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
924 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
926 2000-01-17 Jakub Jelinek <jakub@redhat.com>
928 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
929 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
930 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
931 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
932 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
935 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
936 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
938 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
939 available on sparc since 2.3.39.
941 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
943 2000-01-17 Jakub Jelinek <jakub@redhat.com>
945 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
947 (__real_chown): Return EINVAL if owner or group are out of the range
949 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
950 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
951 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
952 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
953 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
954 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
955 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
956 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
958 Don't include non-existant header.
959 (__chown): Return EINVAL if owner or group are out of the range
961 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
962 setresgid): Inherit standard linux/syscalls.list definitions.
963 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
964 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
965 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
968 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
970 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
971 from 1989 change in ISO 639.
973 2000-01-12 Andreas Jaeger <aj@suse.de>
975 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
976 function; needed for 32bit uid support.
978 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
981 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
983 * intl/locale.alias: Add entries for galician.
985 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
986 try to get sequence from charmap with Uxxxxxxxx name.
987 (charclass_ucs4_ellipsis): Likewise.
988 (charclass_charcode_ellipsis): Allow byte sequence missing.
989 (read_writestring): Free allocated memory in case of an error.
990 (set_class_defaults): Don't search repertoire map for wide character
991 default values; we know it's UCS4.
993 * locale/programs/repertoire.c (repertoire_find_value): Just return an
994 error if no repertoire map was loaded.
995 (repertoire_find_symbol): Likewise.
996 (repertoire_find_seq): Likewise.
998 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
999 twice, to define singlebyte and multibyte version.
1000 (fnmatch): Differentiate between singlebyte and multibyte locale and
1001 call appropriate internal function.
1002 * posix/fnmatch_loop.c: New file.
1003 * posix/Makefile (distribute): Add fnmatch_loop.c.
1005 * locale/programs/repertoire.c (repertoire_read): Don't print
1006 error message when repertoire map is missing.
1007 (repertoire_complain): Print error message for missing map, but only
1009 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1011 * locale/programs/linereader.c (get_string): Prefer getting names
1012 from charseq entries. Try finding Uxxxxxxxx names in charmap
1013 before trying to map from repertoire.
1015 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1017 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1018 error in last change.
1019 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1021 * stdlib/longlong.h: Fix typo in last patch.
1023 2000-01-12 Andreas Jaeger <aj@suse.de>
1025 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1026 Added for Linux 2.3.39+.
1028 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1030 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1031 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1032 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1033 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1034 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1035 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1036 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1037 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1038 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1039 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1040 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1041 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1042 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1043 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1044 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1046 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1047 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1048 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1049 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1050 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1051 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1052 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1053 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1054 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1055 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1056 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1057 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1058 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1059 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1060 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1061 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1062 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1063 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1064 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1065 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1066 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1067 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1068 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1069 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1072 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1073 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1075 2000-01-14 Jakub Jelinek <jakub@redhat.com>
1077 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1079 2000-01-13 Jakub Jelinek <jakub@redhat.com>
1081 * sysdeps/generic/backtrace.c: Include signal.h which
1082 sigcontextinfo.h headers are used to expect.
1083 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1084 (register_dump): Fix a typo in the printout.
1085 Avoid using reg_window, so that asm/ptrace.h is not necessary.
1086 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1087 (ADVANCE_STACK_FRAME): Likewise.
1089 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1090 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1091 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1094 to make it clear this file depends on __WORDSIZE.
1095 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1096 Renamed from have_no_truncate64.
1097 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1100 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1102 * Makeconfig (rpath-dirs): Remove db2.
1103 (dbojdir): Remove variable.
1105 * locale/programs/locfile.h (handle_copy): Take repertoire map
1106 name as parameter, not pointer to repertoire structure.
1107 * locale/programs/ld-address.c: Change caller.
1108 * locale/programs/ld-ctype.c: Likewise.
1109 * locale/programs/ld-identification.c: Likewise.
1110 * locale/programs/ld-measurement.c: Likewise.
1111 * locale/programs/ld-messages.c: Likewise.
1112 * locale/programs/ld-monetary.c: Likewise.
1113 * locale/programs/ld-name.c: Likewise.
1114 * locale/programs/ld-numeric.c: Likewise.
1115 * locale/programs/ld-paper.c: Likewise.
1116 * locale/programs/ld-telephone.c: Likewise.
1117 * locale/programs/ld-time.c: Likewise.
1119 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
1121 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1122 mmap2 is available when compiling but no at runtime.
1124 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
1126 * iconvdata/iso-ir-165.c: New file.
1127 * iconvdata/iso-ir-165.h: New file.
1128 * iconvdata/Makefile: Add rules to build libISOIR165.
1130 * Makefile (install): Correct passing -r parameter to ldconfig.
1132 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1133 Reported by Bruno Haible <haible@ilog.fr>.
1135 2000-01-11 Andreas Schwab <schwab@suse.de>
1137 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1139 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
1141 * nss/getent.c: Add ipv6 support for hosts.
1143 2000-01-05 Philip Blundell <pb@futuretv.com>
1145 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1146 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1147 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1149 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1150 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1151 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1152 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1153 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1154 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1156 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1157 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1158 [subdir=misc] (sysdep_headers): Add sys/elf.h.
1160 2000-01-09 Andreas Jaeger <aj@suse.de>
1162 * manual/install.texi (Tools for Compilation): Update required
1164 (Configuring and compiling): Restore old comments about
1165 configparms; modify to reflect current usage.
1167 2000-01-09 Philip Blundell <philb@gnu.org>
1169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1170 resolution if the hints included AI_NUMERICHOST.
1172 2000-01-11 Andreas Schwab <schwab@suse.de>
1174 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1175 infinite loop to avoid pulling in stdio in the dynamic linker.
1176 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1178 2000-01-10 Andreas Jaeger <aj@suse.de>
1180 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1181 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1183 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1185 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1186 gregset_t, fpregset_t, and NGREG definitions.
1188 * sysdeps/mips/Implies: Add wordsize-32.
1190 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1193 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1196 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1197 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1198 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1199 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1200 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1201 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1202 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1204 2000-01-09 Philip Blundell <philb@gnu.org>
1206 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1207 (dl_platform_init): Allow _dl_platform to be NULL.
1209 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1212 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
1214 * nscd/connections.c (handle_request): Handle systems without
1216 (nscd_run): Likewise.
1218 2000-01-07 Andreas Jaeger <aj@suse.de>
1220 Add support for Berkeley db 3.0.x and merge db support:
1221 * nss/nss_db/dummy-db.h (struct db30): New.
1222 (struct dbc30): New.
1225 * nss/makedb.c: Move all database routines to db-open.c.
1226 (main): Adjust to interface changes.
1227 Load database early to initialize version dependend variables.
1229 * nss/db-open.c: Merge database routines from makedb.c.
1230 Define version dependend constansts as variables.
1231 (load_db): Check also for db 3.
1232 (internal_setent): Call dbopen.
1233 (db_cursor): New function from makedb; handles db 3 now.
1234 (dbopen): New function from makedb; handles db 3.
1236 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1237 different in different DB versions.
1239 * nss/nss_db/nss_db.h: Add version dependend constants as
1240 variables, add exportet interfaces from db-open.c.
1242 * nss/Makefile ($(objpfx)makedb): Link against db-open.
1244 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
1246 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1247 Reported by Jim Meyering.
1249 * time/strftime.c: Pretty printing.
1251 2000-01-07 Andreas Jaeger <aj@suse.de>
1253 * manual/socket.texi (Host Names): Fix example.
1254 Reported by Marco Budde <budde@telos.de>.
1256 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
1258 * localedata/Makefile (install-locales): Create locale directory
1259 if it does not exist.
1261 * locale/programs/charmap.c (charmap_read): Call lr_open here and
1262 not in parse_charmap. Try also the directories on the I18NPATH.
1263 (parse_charmap): Change accordingly.
1265 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1267 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1268 and oldsetrlimit64.c.
1270 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1273 * manual/texinfo.tex: Updated from latest official version.
1275 * debug/Makefile (distribute): Add frame.h.
1277 2000-01-05 Philip Blundell <philb@gnu.org>
1279 * sysdeps/arm/frame.h: New file.
1280 * sysdeps/generic/frame.h: Likewise.
1281 * sysdeps/generic/segfault.c (struct layout): Delete definition;
1282 include the above file instead.
1283 * sysdeps/generic/backtrace.c (struct layout): Likewise.
1284 (__backtrace): Use ADVANCE_STACK_FRAME.
1285 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1286 (ADVANCE_STACK_FRAME): New macro.
1287 (GET_FRAME): Apply above to returned value.
1289 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1291 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1293 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1294 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1296 * io/ftw.c (process_entry): Cache object dev/inode only for
1297 directories (PR libc/1514).
1299 2000-01-05 Andreas Schwab <schwab@suse.de>
1301 * locale/programs/charmap.c (charmap_read): Fix typo.
1303 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1305 * locale/programs/charset.c: Removed.
1307 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1308 * iconvdata/gconv-modules: Likewise.
1309 * iconvdata/iso8859-16.c: New file.
1311 2000-01-05 Andreas Schwab <schwab@suse.de>
1313 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1315 2000-01-05 Andreas Jaeger <aj@suse.de>
1317 * intl/locale.alias: Add lithunian entry.
1318 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1320 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1322 * locale/programs/stringtrans.c: Removed.
1323 * locale/programs/stringtrans.h: Removed.
1324 * locale/programs/linereader.c: Remove #include of stringtrans.h.
1326 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1327 _POSIX_MAPPED_FILES is not defined.
1329 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1332 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1333 _nl_POSIX_name instead of "C" and "POSIX" strings.
1335 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1336 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1337 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
1338 reuse the _nl_C_LC_CTYPE_tolower table.
1339 (_nl_C_LC_CTYPE_toupper32): Likewise.
1340 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1343 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1345 (_nl_C_LC_CTYPE_class32): Likewise.
1347 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1349 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1350 after the operation is done. Let them linger for a user-definable
1352 * rt/aio_cancel.c: Likewise.
1353 Patch by Willian M Shubert <william.m.shubert@intel.com>.
1355 * sysdeps/i386/i686/add_n.S: New file.
1357 2000-01-02 Philip Blundell <philb@gnu.org>
1359 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1360 to obtain port mapping information. Avoid use of mprotect.
1362 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1365 definition from 2.3.36.
1367 2000-01-04 Andreas Jaeger <aj@suse.de>
1369 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1370 (struct db27): Add missing fields byteswapped, join and flags;
1371 remove wrong member handleq.
1372 (struct dbc27): Correct lock field.
1374 * nss/makedb.c: Remove __P.
1376 2000-01-04 Andreas Jaeger <aj@suse.de>
1378 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1379 success, fix a memory leak and clean up function.
1381 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1383 * Makefile (install): Pass $(install_root) to ldconfig.
1384 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1386 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1388 * soft-fp/op-1.h: Fix division for machines using not normalizing
1389 version of udiv_qrnnd in longlong.h.
1390 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1391 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1392 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1393 Patch by Eddie C. Dost <ecd@skynet.be>.
1395 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1397 2000-01-03 Andreas Schwab <schwab@suse.de>
1399 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1400 needed for change in common symbol handing in newer binutils.
1402 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1404 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1405 kernel without mmap2 syscall.
1407 2000-01-03 Philip Blundell <philb@gnu.org>
1409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1410 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1411 ARM for kernels >= 2.3.35.
1413 2000-01-03 Philip Blundell <philb@gnu.org>
1415 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1416 Optimise error handling a little.
1417 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1419 2000-01-03 Andreas Jaeger <aj@suse.de>
1421 * include/resolv.h: Remove declarations for __ns_name_ntop and
1422 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1424 2000-01-03 Andreas Jaeger <aj@suse.de>
1426 * time/tst-strptime.c (test_tm): Add tests for all fields of
1429 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1431 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1433 2000-01-03 Andreas Jaeger <aj@suse.de>
1435 * string/tester.c (test_strsep): Add one more test.
1437 2000-01-03 Philip Blundell <philb@gnu.org>
1439 * string/tester.c (test_mempcpy): New function.
1441 (test_memcpy): Test unaligned cases too.
1443 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1445 * sysdeps/arm/fpu/bits/mathdef.h: New file.
1447 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
1449 * posix/Makefile (tests): Add tst-mmap.
1450 * posix/tst-mmap.c: New file.
1452 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1453 call before handling error.
1455 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1456 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1458 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1460 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1461 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1463 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1464 * iconvdata/testdata/ISO-2022-KR: Likewise.
1466 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1468 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
1470 * iconvdata/Makefile (distribute): Remove baltic.c.
1471 (modules): Remove BALTIC.
1472 (gen-8bit-gap-modules): Remove baltic.
1473 * iconvdata/baltic.c: Removed.
1475 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1477 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1479 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1480 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1481 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1483 * nss/Makefile: Add rules to build makedb.
1484 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1485 * nss/nss_db/dummy-db.h: Likewise.
1486 * nss/makedb.c: New file. Copied from file in db2, modified to not
1487 depend on being linked against libdb.
1489 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
1491 * Makeconfig (all-subdirs): Remove db and db2.
1495 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1496 functions from here...
1497 * nss/db-alias.c: ...and here...
1498 * nss/db-netgrp.c: ...and here...
1499 * nss/nss_db/db-open.c: ...to here. New file.
1500 * nss/nss_db/dummy-db.h: New file.
1501 * nss/nss_db/nss_db.h: New file.
1502 * nss/Depend: Depend in dlfcn, not db2.
1503 * nss/Makefile (libnss_db-routines): Add db-open.
1504 (distribute): Add nss_db.h dummy-db.h.
1505 (libnss_db.so): Replace libdb dependency by $(libdl).
1506 Based on a patch by Zack Weinberg.
1508 * locale/programs/ld-ctype.c: Implement rest of transliteration
1510 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1511 * locale/programs/locfile-token.h: Add tok_translit_ignore.
1513 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1515 * locale/programs/ld-collate.c (collate_output): Emit correct
1516 information for collation elements.
1517 Don't write over end of array idx.
1518 * posix/regex.c: Handle also collation elements at end of range.
1520 * posix/PTESTS: Fix a few typos.
1522 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
1523 no idea where this came from.
1524 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1526 1999-12-31 Andreas Jaeger <aj@suse.de>
1528 * libio/strfile.h: Remove K&R compatibility.
1529 * locale/langinfo.h: Likewise.
1530 * locale/localeconv.c (localeconv): Likewise.
1531 * locale/programs/simple-hash.h: Likewise.
1532 * nis/nis_xdr.h: Likewise.
1533 * nis/rpcsvc/nislib.h: Likewise.
1534 * nis/rpcsvc/nis_callback.h: Likewise.
1535 * nis/rpcsvc/nis.h: Likewise.
1536 * nis/ypclnt.c: Likewise.
1537 * nscd/nscd_proto.h: Likewise.
1538 * nscd/nscd.c: Likewise.
1539 * sysdeps/generic/inttypes.h: Likewise.
1540 * sysdeps/gnu/utmpx.h: Likewise.
1542 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1543 * sunrpc/rpcsvc/rusers.x: Likewise.
1545 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1547 * elf/dl-misc.c: Remove __libc_write prototype since it's already
1548 in include/unistd.h.
1549 * elf/dl-profile.c: Likewise.
1550 * elf/dl-load.c: Likewise for __libc_read.
1552 * elf/dl-profile.c: Remove __P.
1553 * elf/sprof.c: Likewise.
1554 * elf/sln.c: Likewise.
1556 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1558 * locale/langinfo.h: Add constants for wide character collation
1560 * locale/categories.def: Add appropriate entries for collate symbol
1562 * locale/C-collate.c: Add initializers for new entries.
1563 Remove commented out code.
1564 * locale/elem-hash.h: New file.
1565 * locale/Makefile (distribute): Add elem-hash.h.
1566 * locale/programs/ld-collate.c: Implement output of collate symbol
1569 * posix/regex.c: Implement collation class handling.
1571 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1573 * posix/regex.c (regex_compile): Implement equivalence class handling.
1575 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
1577 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1578 (OPCODE_LWZU): New macro.
1579 (OPCODE_ADDIS_HI): New macro.
1580 (OPCODE_LIS_HI): New macro.
1581 (__elf_machine_runtime_setup): Change PLT code-generation scheme
1582 for thread safety even with very large PLTs, better efficiency,
1583 and to fix a cache-flushing bug. Also support the Motorola
1584 8xx processors which have a different cache line size than all
1586 (__elf_machine_fixup_plt): Likewise.
1587 (__process_machine_rela): Don't use elf_machine_fixup_plt.
1589 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1591 * wcsmbs/wcscoll.c: Use multibyte character version.
1592 * wcsmbs/wcsxfrm.c: Likewise.
1593 * string/strcoll.c: Prepare to be used for the wide character version.
1594 * string/strxfrm.c: Likewise.
1595 * locale/weightwc.h: New file.
1597 1999-12-30 Geoff Keating <geoffk@cygnus.com>
1599 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1600 the (void) casts as now feraiseexcept returns a value.
1601 (feclearexcept): Likewise.
1603 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1604 it interferes with the macros for AIX.
1606 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1608 * locale/programs/ld-collate.c (collate_finish): Always define
1609 weight for UNDEFINED if not defined by the user but don't complain
1610 unless it is needed in the multibyte character table.
1611 (collate_output): Add extra dummy elements in wide char tables in the
1612 same way done for multibyte. Always output undefined entry in
1613 wide character table.
1615 * locale/Makefile (categories): Remove commented-out old definition.
1617 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1618 to new_element if the wide char is not valid.
1619 (handle_ellipsis): Likewise.
1620 (collate_read): It's no problem if the string in the collating element
1621 definition cannot be represented as multibyte or wide char string.
1623 1999-12-13 Andreas Jaeger <aj@suse.de>
1625 * resolv/resolv.h: Remove K&R compatibility.
1627 * resolv/res_libc.c: Move definition of _res after res_init,
1628 res_init should use the threaded specific context.
1630 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1633 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
1635 * locale/langinfo.h: Add constants for wide character collation data.
1636 * locale/categories.def: Add appropriate entries for collate entries.
1637 * locale/C-collate.c: Add initializers for new entries.
1638 * locale/programs/ld-collate.c: Implement output of wide character
1641 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1642 compute wide character table size a bit: it now gives up a bit of
1643 total table size for fewer levels.
1645 * soft-fp/*: Tons of new files to implement floating-point arithmetic
1647 Contributed by Richard Henderson, Jakub Jelinek and others.
1649 1999-12-29 Andreas Jaeger <aj@suse.de>
1651 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1652 <asm/io.h>; remove K&R compatibility; add missing ints.
1654 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1657 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1659 1999-12-29 Andreas Jaeger <aj@suse.de>
1661 * manual/getopt.texi (Using Getopt): Document ordering of options.
1663 1999-12-29 Andreas Jaeger <aj@suse.de>
1665 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1666 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1668 1999-12-14 Andreas Jaeger <aj@suse.de>
1670 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1673 1999-12-28 Jakub Jelinek <jakub@redhat.com>
1675 * elf/sprof.c (load_shobj): Fix error message.
1676 (generate_call_graph): Cast %*s length argument to int.
1677 * locale/programs/localedef.c (construct_output_path): Likewise.
1678 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1680 (ctype_class_new): Likewise.
1681 * locale/programs/ld-time.c (time_finish): Likewise.
1682 * sunrpc/svc_simple.c (register_rpc): Likewise.
1683 * nscd/connections.c (nscd_run, start_threads): Use long instead of
1684 int to avoid cast warnings.
1685 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1687 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1690 * time/strftime.c (my_strftime): Provide wide era string when
1693 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1694 Separate into 32bit and 64bit versions.
1696 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
1698 * iconvdata/Makefile (modules): Add ISO-2022-CN.
1699 Add link rules for this module.
1700 (distribute): Add iso-2022-cn.c and cns11643l2.h.
1701 * iconvdata/cns11643l2.h: New file.
1702 * iconvdata/iso-2022-cn.c: New file.
1703 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1705 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1707 (ucs4_to_cns11643l1): Likewise.
1708 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1710 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1712 Optimize recognition of escape sequences a bit.
1714 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1715 and oldsetrlimit definitions.
1717 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1719 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1720 identifying errors more easily.
1722 * iconvdata/testdata/EUC-CN..UTF8: New file.
1723 * iconvdata/testdata/GBK..UTF8: New file.
1725 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1726 mappings. Fix last patch.
1727 * iconvdata/TESTS: Add GBK.
1728 * iconvdata/testdata/GBK: New file.
1730 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1731 0x2312, and 0x2500..0x254b.
1732 * iconvdata/TESTS: Add EUC-CN.
1733 * iconvdata/testdata/EUC-CN: New file.
1735 * iconvdata/gbgbk.c: New file.
1736 * iconvdata/Makefile (modules): Add GBGBK.
1737 (distribute): Add gbgbk.c.
1738 * iconvdata/gconv-modules: Add entries for GBGBK modules.
1740 * iconvdata/euc-cn.c: Fix comment.
1742 * iconvdata/gbk.c: Optimize the switch statement in the conversion
1745 * locale/programs/charmap.c (charmap_new_char): Recognize special
1746 character names Uxxxx and Pxxxx and initialize the UCS4 value from
1749 1999-12-17 Andreas Jaeger <aj@suse.de>
1751 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1753 1999-12-16 Mark Mitchell <mark@codesourcery.com>
1755 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1756 * stdlib/exit.h (flavor): Add ef_cxa.
1757 (exit_function): Add cxa variant.
1758 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1759 * stdlib/cxa_atexit.c: New file.
1760 * stdlib/cxa_finalize.c: New file.
1762 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1764 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1767 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1769 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1771 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1772 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1774 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1775 of <asm/resource.h>.
1777 1999-12-26 Philip Blundell <philb@gnu.org>
1779 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
1780 argument count for `syscall' to 7.
1781 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1782 with more than five arguments.
1783 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1785 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1787 * locale/programs/ld-collate.c (collate_output): Don't start with empty
1788 extrapool and indirectpool obstacks since we need the offsets to be
1790 (collate_read): Call load_locale, not find_locale.
1791 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1792 wasn't defined in the file also initialize repertoire if possible.
1793 * locale/programs/ld-time.c (time_finish): Fix message string.
1794 * locale/programs/linereader.c: Cast parameters of lr_error to
1795 correct type to prevnet warning.
1796 * locale/programs/localedef.c (load_locale): New file.
1797 * locale/programs/localedef.h: Add its prototype.
1798 * locale/programs/repertoire.c (repertoire_new_char): Add missing
1799 parameters to lr_error call.
1801 * localedata/Makefile: Enable running tests again.
1802 * localedata/tests/test2.def: Adjust syntax to new specification.
1803 * localedata/tests/test3.def: Likewise.
1804 * localedata/tst-trans.sh: Redirect output of program into file.
1806 * string/strcoll.c: Fix many error in new implementation to make it
1807 pass (at least) the test suite.
1809 * locale/Makefile: Don't link localedef statically anymore.
1811 * locale/ld-collate.c (struct element_t): Add field is_character and
1812 use it to distinguish real character from collating elements and
1814 (new_element): Take new parameter to initialize is_character. Change
1816 (handle_ellipsis): Use is_character field to make sure ellipsis is
1817 only used with characters.
1818 (collate_read): Fix reading of collating elements.
1820 * string/strxfrm.c: Correct loop end detection and memory access
1821 in the little optimization at the end.
1823 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1824 emit warnings. Provide default value for mon_decimal_point.
1826 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1827 category wasn't defined.
1828 (collate_output): Likewise.
1830 * locale/programs/ld-address.c: Don't emit message about not defined
1831 category if be_quiet.
1832 * locale/programs/ld-ctype.c: Likewise.
1833 * locale/programs/ld-identification.c: Likewise.
1834 * locale/programs/ld-measurement.c: Likewise.
1835 * locale/programs/ld-messages.c: Likewise.
1836 * locale/programs/ld-monetary.c: Likewise.
1837 * locale/programs/ld-name.c: Likewise.
1838 * locale/programs/ld-numeric.c: Likewise.
1839 * locale/programs/ld-paper.c: Likewise.
1840 * locale/programs/ld-telephone.c: Likewise.
1841 * locale/programs/ld-time.c: Likewise.
1843 * locale/programs/locfile.c (write_locale_data): Correct memory
1844 allocation for fname.
1846 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
1848 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1849 (collate_finish): Test that position is used in all sections for
1852 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
1853 of the index returned by findidx.
1855 * string/strcoll.c: Complete rewrite for new collate implementation.
1856 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1859 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1861 * locale/langinfo.h: Likewise.
1862 * locale/categories.def: Likewise. Remove reference to postload
1864 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
1865 __collate_tablemb, __collate_weightmb, and __collate_extramb.
1866 * locale/localeinfo.h: Remove declaration for removed variables above.
1867 Remove prototype for _nl_get_era_entry.
1868 * locale/weight.h: Complete rewrite for new collate implementation.
1869 * locale/programs/ld-collate.c: Many changes to make output file
1870 usable in strxfrm/strcoll.
1871 * string/strxfrm.c: Complete rewrite for new collate implementation.
1872 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1875 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1877 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1878 transformation values for chars >255.
1879 * wctype/wctrans.c: Return pointer unmodified.
1881 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
1883 * sysdeps/posix/system.c (__libc_system): Check whether command
1884 processor is available if LINE is NULL. Don't return immediately
1885 if wait call returned with EINTR.
1886 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1888 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
1890 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1893 * locale/programs/ld-collate.c: Implement writing out multibyte
1896 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1897 * locale/localeinfo.h: Declare variables only for currently implemented
1898 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1899 * locale/lc-collate.c: Define variables only for currently implemented
1901 * locale/langinfo.h: Define symbols only for currently implemented
1903 * locale/categories.def: Define elements for currently implemented
1905 * locale/C-collate.c: Comment out definitions of arrays with symbol
1906 name definitions etc.
1907 (_nl_C_LC_COLLATE): Update for currently defined information.
1909 * intl/libintl.h: Remove dcgettext macro definition.
1910 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
1912 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
1914 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
1915 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
1917 1999-12-22 Jakub Jelinek <jakub@redhat.com>
1919 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
1920 for __fenv_stfsr argument.
1921 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1922 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
1924 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
1925 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
1926 (XSTAT_IS_XSTAT64): Define.
1927 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
1928 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
1929 and __libc_pwrite64.
1930 Remove oldgetrlimit and oldsetrlimit.
1931 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
1932 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
1933 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
1935 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
1936 pointer to the syscall, not address of that pointer.
1937 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1938 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1939 (__syscall_stat64): Provide proper prototype.
1941 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
1942 has_no_truncate64 between truncate64 and ftruncate64.
1943 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1945 * sysdeps/unix/sysv/linux/kernel-features.h
1946 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
1947 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
1949 1999-12-22 Andreas Jaeger <aj@suse.de>
1951 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
1952 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
1954 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1956 * locale/lc-time.c: Extend structure era_entry.
1957 * locale/localeinfo.h: Likewise.
1958 * locale/lc-time.c: Handle '-' direction used in locale's era part
1960 * time/strptime.c: Likewise.
1961 * time/strftime.c: Likewise.
1962 * locale/programs/ld-time.c: Consider negative values in era part
1964 * time/strptime.c (strptime_internal): Merged Yoshiyama's
1965 %E[CyY] implementation.
1967 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
1969 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
1970 of recursive() call.
1971 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
1974 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1976 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
1977 Patch by Scott Bambrough <scottb@netwinder.org>.
1979 1999-12-21 Andreas Schwab <schwab@suse.de>
1981 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
1983 * include/unistd.h: Declare __libc_lseek.
1985 1999-12-21 Andreas Jaeger <aj@suse.de>
1987 * stdlib/longlong.h: Remove __P.
1989 1999-12-21 Andreas Jaeger <aj@suse.de>
1991 * sysdeps/powerpc/fpu/libm-ulps: New file.
1993 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1995 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
1996 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
1998 1999-12-21 Andreas Jaeger <aj@suse.de>
2000 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2001 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2002 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2003 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2004 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2005 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2006 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2007 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2008 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2009 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2010 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2013 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2015 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2016 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2017 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2018 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2019 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2020 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2021 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2022 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2023 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2024 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2025 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2026 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2027 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2028 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2029 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2030 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2031 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2034 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2036 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2037 before testing for __ASSUME_STAT64_SYSCALL.
2038 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2039 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2041 1999-12-20 Andreas Schwab <schwab@suse.de>
2043 * manual/install.texi (Running make install): Clearify that
2044 install_root should be an absolute file name.
2046 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2048 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2050 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2051 buffer is given to place conversion descriptor in initial state.
2052 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2054 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2055 (according to IANA registry).
2056 Reported by Bruno Haible <haible@ilog.fr>.
2058 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2060 * locale/categories.def: Remove most of the collate definitions.
2061 * locale/langinfo.h: Comment out corresponding definitions.
2062 * locale/programs/locale-spec.c (locale_special): Don't recognize the
2064 * locale/programs/ld-collate.c: Correct and optimize computation of
2065 weights. Set up list of all definitions correctly. Start writing
2066 function to generate output file.
2068 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2069 loop to compute default mapping.
2071 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2073 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2074 cancelation wrapper.
2075 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2076 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2079 1999-12-19 Andreas Jaeger <aj@suse.de>
2081 * sysdeps/generic/libc-start.c: Remove declaration of
2082 __libc_open. Move declaration of __libc_fcntl to ...
2083 * include/fcntl.h: ...here.
2085 * include/unistd.h: Move __libc_open and __libc_open64 to ...
2086 * include/fcntl.h: ...here.
2088 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2091 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2094 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2096 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2099 1999-12-19 Andreas Jaeger <aj@suse.de>
2101 * include/string.h: Mark __strndup with __attribute_malloc__.
2103 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2105 * locale/langinfo.h: Always define CODESET.
2106 (CODESET): Define also as macro.
2108 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2109 generate mantissa output in using malloc if it is larger than
2111 Reported by Jim Meyering <meyering@ascend.com>.
2113 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2115 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2116 available gcc version.
2117 * string/string.h: Mark strdup, __strdup, and strndup with
2118 __attribute_malloc__.
2119 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2120 __attribute_malloc__.
2121 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2122 and __default_morecore with __attribute_malloc__.
2123 Provide default definition for __attribute_malloc__.
2124 * libio/stdio.h: Make tempnam with __attribute_malloc__.
2126 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2127 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2128 * io/Versions: Export __libc_open64 and __libc_lseek64.
2129 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2130 and __libc_pwrite64.
2131 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2133 * sysdeps/generic/pread.c: Likewise.
2134 * sysdeps/generic/pread64.c: Likewise.
2135 * sysdeps/generic/pwrite.c: Likewise.
2136 * sysdeps/generic/pwrite64.c: Likewise.
2137 * sysdeps/posix/open64.c: Likewise.
2138 * sysdeps/posix/pread.c: Likewise.
2139 * sysdeps/posix/pread64.c: Likewise.
2140 * sysdeps/posix/pwrite.c: Likewise.
2141 * sysdeps/posix/pwrite64.c: Likewise.
2142 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2143 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2144 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2145 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2146 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2147 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2148 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2149 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2150 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2152 * sysdeps/posix/open64.c: Help gcc generating better code.
2154 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2157 1999-12-11 H.J. Lu <hjl@gnu.org>
2159 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2162 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2164 * iconvdata/isiri-3342.c: New file.
2165 * iconvdata/Makefile (modules): Add ISIRI-3342.
2166 (distribute): Add isiri-3342.c.
2167 (gen-8bit-gap-modules): Add isiri-3342.
2168 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2170 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2172 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2173 result if necessary.
2175 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2176 unreliable kernel headers.
2177 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2178 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2179 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2180 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2182 1999-12-18 Andreas Jaeger <aj@suse.de>
2184 * config.make.in (datadir): Added.
2185 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2187 1999-12-18 Andreas Jaeger <aj@suse.de>
2189 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2191 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2193 1999-12-18 Andreas Jaeger <aj@suse.de>
2195 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2196 syscall if available.
2197 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2198 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2200 * sysdeps/unix/sysv/linux/kernel-features.h
2201 (__ASSUME_STAT64_SYSCALL): New.
2203 1999-12-17 Scott Bambrough <scottb@netwinder.org>
2205 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2207 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2208 after .text segment fixups.
2210 1999-12-16 Andreas Jaeger <aj@suse.de>
2212 * rt/aio.h: Remove erroneous __restrict declarations.
2214 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2216 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2217 do the job if it is there neither.
2218 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2220 1999-12-16 Andreas Jaeger <aj@suse.de>
2222 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2223 duplicate definition with function __nan.
2224 Closes PR libc/1487 reported by <diana@kai.com>.
2226 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
2228 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2230 * locale/programs/ld-collate.c: Implement handling of absolute
2231 ellipsis. Parsing of file and constructing the internal data
2232 structures should now be complete.
2233 (collate_finish): Start adding support to generate the data
2234 structures which are written out to the file.
2236 * intl/dcgettext.c: Rewrite to handle caching of previous results here
2237 instead of in the dcgettext macro.
2238 * intl/libintl.h (dcgettext): Don't define for systems using this
2239 glibc or systems with tsearch.
2241 * sysdeps/generic/mathdef.h: Protect definitions for math.h
2242 against double inclusion.
2243 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2244 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2245 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2246 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2248 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2251 1999-12-17 Andreas Jaeger <aj@suse.de>
2253 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2256 * rt/Makefile (tests): Added tst-aio64.
2257 Added dependency rules for tst-aio64.
2259 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2262 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
2264 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2265 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2266 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2267 old value (signed long).
2268 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2270 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2271 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2272 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2273 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2274 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2275 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2276 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2277 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2278 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2279 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2280 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2281 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2282 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2283 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2284 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2286 1999-12-17 Andreas Jaeger <aj@suse.de>
2288 * elf/ldconfig.c: Add new option -l to manualy link shared
2290 (options): Added option.
2291 (parse_opt): Set option.
2292 (main): Handle option.
2293 (manual_link): New function.
2295 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
2297 * string/bits/string2.h: Fix patch from 1999-12-07.
2299 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
2301 * sysdeps/generic/strsep.c: If delim string has only one character
2302 don't run over end of string.
2304 * locale/programs/ld-collate.c (insert_weights): Also update next
2305 pointer of last cursor element.
2306 (insert_value): Return nonzero value if nothing got inserted.
2307 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2309 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2311 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2314 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2316 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2317 Copy sa_flags into kernel sigaction structure.
2319 1999-12-14 Andreas Jaeger <aj@suse.de>
2321 * string/tester.c (test_strsep): More tests for access beyond
2322 the final NUL. The first two tests come from PR libc/1486 by
2323 martinea@iro.umontreal.ca.
2325 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
2327 * nis/ypclnt.c: Correct handling of cached client handles.
2328 (__xdr_ypresp_all): Call callback function for errors, too,
2330 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2331 * nis/nss_compat/compat-initgroups.c: Likewise.
2332 * nis/nss_compat/compat-spwd.c: Likewise.
2333 * nis/nss_nis/nis-alias.c: Likewise.
2334 * nis/nss_nis/nis-ethers.c: Likewise.
2335 * nis/nss_nis/nis-grp.c: Likewise.
2336 * nis/nss_nis/nis-hosts.c: Likewise.
2337 * nis/nss_nis/nis-netgrp.c: Likewise.
2338 * nis/nss_nis/nis-publickey.c: Likewise.
2339 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2340 Map if available, optimize query if name/port and protocol is known.
2342 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
2344 * locale/programs/ld-collate.c (collate_read): Make symbolic
2345 ellipsis work. Remove old and unused code.
2347 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
2349 * locale/programs/ld-collate.c (collate_read): Implement
2350 reorder-section handling.
2352 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
2354 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2356 * locale/programs/ld-collate.c (collate_read): Add handling of
2359 * locale/programs/ld-collate.c: Many changes to implement parsing
2360 of collation definition (still not complete).
2362 1999-12-09 Andreas Jaeger <aj@suse.de>
2364 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2365 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2366 Reported by Christian Starkjohann <cs@obdev.at>.
2368 1999-12-09 Andreas Jaeger <aj@suse.de>
2370 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2372 1999-12-09 Jakub Jelinek <jakub@redhat.com>
2374 * stdlib/longlong.h: Update from latest egcs version.
2376 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2378 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2379 has to preceede __attribute__, otherwise g++ barfs.
2381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2384 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2388 1999-12-05 Wolfram Gloger <wg@malloc.de>
2390 * malloc/malloc.c (arena_get2): If generating a new arena fails,
2391 try to generate a minimal one and hope for mmap_chunk() to succeed
2394 1999-11-07 Wolfram Gloger <wg@malloc.de>
2396 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2397 mutex_t work as an `in-use' flag even without threads.
2398 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2399 for multiple arenas separately from NO_THREADS.
2400 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2401 fall back to an mmap()ed arena when sbrk() has failed.
2403 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
2405 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2406 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2407 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2408 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2409 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2410 oldgetrlimit and oldsetrlimit.
2411 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2413 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2414 oldsetrlimit rules into 32-bit arch subdirs.
2415 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2417 * locale/programs/ld-collate.c (insert_value): If this is the
2418 first symbol the cursor can be the same as the next pointer.
2420 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
2422 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2424 (allocate_arrays): Allocate memory for map32. Correctly install
2425 default values in it and install defined mappings.
2427 * locale/programs/ld-monetary.c (monetary_finish): Provide default
2428 value for mon_grouping.
2430 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2431 headers are not clean enough.
2433 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2435 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2436 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2438 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2439 * sysdeps/unix/sysv/linux/truncate64.c: New file.
2440 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2441 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2443 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2444 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2445 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2446 _nl_C_LC_CTYPE_tolower32 tables.
2447 Don't compile it names of 14652 classes and maps.
2448 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2449 _NL_CTYPE_TOLOWER32.
2450 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2451 and __ctype32_tolower.
2452 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2453 (ctype_output): Write out map32 values.
2454 (allocate_arrays): Compute mapping tables correctly.
2455 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2456 (towupper): Use __ctype32_toupper.
2457 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2459 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2460 determine tolower mapping for 8bit table if the tolower keyword is
2463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2464 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
2466 1999-12-07 Jakub Jelinek <jakub@redhat.com>
2468 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2469 __stpcpy_small): Cast switch expressions to int to shut up compiler
2472 1999-12-07 Scott Bambrough <scottb@netwinder.org>
2474 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2477 1999-12-06 Andreas Schwab <schwab@suse.de>
2479 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2480 ugetrlimit syscall exists.
2482 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2484 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2486 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
2488 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2489 pointers if character is illegal.
2490 Reported by Bruno Haible <haible@ilog.fr>.
2492 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2493 (increment_counter): New function. Broken out of find_derivation.
2494 (find_derivation): No need for a lock. Increment counter only when
2495 the derivation was already available.
2496 * iconv/gconv_dl.c: Add debugging functions.
2497 (known_compare): We have to use strcmp.
2498 Reported by Bruno Haible <haible@ilog.fr>.
2500 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
2502 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2503 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2504 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2505 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
2507 Reported by Bruno Haible <haible@ilog.fr>.
2509 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2511 1999-12-03 Andreas Jaeger <aj@suse.de>
2513 * nss/getXXbyYY.c: Include <resolv.h>
2514 (FUNCTION_NAME): Use res_ninit instead of res_init.
2516 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2517 declaration and prototypes.
2518 Remove extra _res declaration.
2519 (INTERNAL): Use thread aware res_ninit function.
2521 * inet/gethstbyad_r.c: Include <resolv.h>.
2523 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
2524 res_libc.c. Disabled unneeded functions.
2526 * resolv/res_libc.c: New file.
2528 * Versions.def: Add version GLIBC_2.2 for libpthread.
2529 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2531 * include/resolv.h: Add internal interfaces.
2533 * resolv/Makefile (routines): Add new files.
2534 (libresolv-routines): Likewise.
2535 (distribute): Likewise.
2537 * resolv/gethnamaddr.c: Use thread safe resolver functions.
2538 * resolv/nss_dns/dns-host.c: Likewise.
2539 * resolv/nss_dns/dns-network.c: Likewise.
2541 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2542 * resolv/nsap_addr.c: Likewise.
2543 * resolv/res_comp.c: Likewise.
2544 * resolv/res_debug.c: Likewise.
2545 * resolv/res_init.c: Likewise.
2546 * resolv/res_mkquery.c: Likewise.
2547 * resolv/res_query.c: Likewise.
2548 * resolv/res_send.c: Likewise.
2549 * resolv/resolv.h: Likewise.
2551 * resolv/Versions: Add __res_state and __res_ninit with version
2553 Add new interfaces with version GLIBC_2.2 to libresolv.
2555 * resolv/Banner: Update.
2557 * include/arpa/nameser_compat.h: New file.
2559 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2560 * resolv/ns_netint.c: Likewise.
2561 * resolv/ns_parse.c: Likewise.
2562 * resolv/ns_print.c: Likewise.
2563 * resolv/ns_samedomain.c: Likewise.
2564 * resolv/ns_ttl.c: Likewise.
2565 * resolv/arpa/nameser_compat.h: Likewise.
2566 * resolv/res_debug.h: Likewise.
2568 Some patches are based on work done by Adam D. Bradley
2569 <artdodge@cs.bu.edu>.
2571 1999-11-30 Andreas Jaeger <aj@suse.de>
2574 * elf/Makefile (extra-objs): Added ldconfig-modules.
2575 (ldconfig-modules): New.
2576 Added vpath for xstrdup and xmalloc.
2577 Check for use-ldconfig instead of has-ldconfig.
2578 ($(objpfx)ldconfig): New rule with dependencies.
2579 (distribute): Add new files.
2581 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2582 developed together with Jakub Jelinek <jakub@redhat.com>.
2583 * sysdeps/generic/readelflib.c: Likewise.
2585 * elf/cache.c: New file.
2586 * elf/ldconfig.c: New file.
2587 * elf/ldconfig.h: New file.
2588 * elf/readlib.c: New file.
2590 * Makefile (install): Remove flag -d in ldconfig call.
2592 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2595 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2598 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2599 set always use_ldconfig instead.
2601 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
2603 * sysdeps/generic/bits/stropts.h: Update with LiS types and
2604 values. Patch by David Grothe <dave@gcom.com>.
2606 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2608 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2609 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2610 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2612 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
2614 * locale/lc-time.c (_nl_get_era_entry): Separate eras
2615 initialization as _nl_init_era_entry().
2616 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2617 * locale/lc-time.c (_nl_get_era_year_offset): New function.
2618 * locale/lc-time.c (_nl_get_era_year_start): New function.
2619 * locale/localeinfo.h: Declare new functions.
2620 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2623 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
2625 * posix/regex.c (SYNTAX): Make more portable.
2626 Patch by Aharon Robbins <arnold@skeeve.com>.
2628 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
2630 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2631 nonzero, use cthread_fork to create the signal thread.
2632 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2633 _hurd_msgport_thread here (to self).
2634 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2635 is zero, instead compute child signal thread's starting SP from parent
2636 signal thread's current SP and the threadvar_stack variables.
2637 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2638 These are now referenced weakly by _hurdsig_init.
2640 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2641 &_hurd_itimer_thread not &_hurd_msgport_thread.
2643 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
2645 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2646 without HURD_DPORT_USE to clean up warnings.
2647 * hurd/dtable.c (get_dtable_port): Likewise.
2649 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2650 (install_ctty): Do the changing of the cttyid port cell here, inside
2651 the critical section while we holding the dtable lock.
2652 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2653 the port cell and calling rectty_dtable.
2654 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2655 (install_ctty): Use it inside a critical section, with the lock held.
2656 * sysdeps/mach/hurd/setsid.c (__setsid): Use
2657 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2658 after proc_setsid, having held the dtable lock throughout.
2659 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2660 cttyid port for null and bail out early if so. The dtable lock
2661 serializes us after any cttyid change and its associated dtable update.
2663 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
2665 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2666 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
2667 We don't install this file for users.
2668 * sysdeps/mach/hurd/Dist: Add it.
2669 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2670 Append nfs/nfs.h here.
2672 1999-12-01 Andreas Jaeger <aj@suse.de>
2674 * sysdeps/generic/if_index.c (__protocol_available): Add missing
2677 * stdio/stdio.h: Fix typo.
2678 Patches by Marcus G. Daniels <mgd@santafe.edu>.
2680 1999-12-01 Andreas Jaeger <aj@suse.de>
2682 * scripts/test-installation.pl (installation_problem): Filter out
2685 1999-12-01 Andreas Schwab <schwab@suse.de>
2687 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2688 __rlim_t and __rlim64_t.
2689 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2690 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2692 1999-12-01 Andreas Schwab <schwab@suse.de>
2694 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2695 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2696 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2697 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2698 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2699 new kernel version. Add symbol versions.
2700 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2702 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2704 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2706 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2707 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2708 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2709 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2710 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2711 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2712 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2713 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2716 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2719 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
2721 * sysdeps/generic/usleep.c: Fix typo.
2723 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2725 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2728 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2731 * malloc/set-freeres.c: Really use already_called variable.
2733 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2734 function call directly.
2735 * libio/iosetvbuf.c: Likewise.
2737 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2739 * configure.in: Add AIX 4.3 support.
2741 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
2742 standard was issued in 1992.
2743 Reported by Bruno Haible <haible@ilog.fr>.
2745 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2747 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2750 1999-11-29 Andreas Jaeger <aj@suse.de>
2752 * manual/time.texi (Basic CPU Time): Better describe wrap around.
2753 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2755 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2757 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2758 Patch by Bruno Haible <haible@ilog.fr>.
2760 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2764 1999-11-29 Andreas Schwab <schwab@suse.de>
2766 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2767 __v to __bswap_32_v.
2768 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2769 and __bswap_64_r to avoid clash with __bswap_32 macro.
2771 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
2773 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2776 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
2778 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2779 patch. Use wch instead of idx to compute index.
2780 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2782 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2784 * locale/iso-3166.def: Update from latest official list.
2786 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
2788 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2789 asm/ptrace.h, since this will not be done with 2.3.xx automatically
2790 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2792 1999-11-26 Andreas Jaeger <aj@suse.de>
2794 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2796 1999-11-26 Andreas Jaeger <aj@suse.de>
2798 * inet/rcmd.c: Include stdlib for declaration of free.
2801 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2803 * iconv/gconv.c (__gconv): Always initialize
2804 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2806 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2808 * iconvdata/iso-2022-jp.c: Likewise.
2810 1999-11-25 H.J. Lu <hjl@gnu.org>
2812 * stdlib/exit.c (exit): Run funtions only if
2813 __exit_funcs->idx > 0.
2815 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2817 * manual/charset.texi (iconv Examples): Add iconv call to flush
2818 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
2820 1999-11-25 Andreas Jaeger <aj@suse.de>
2822 * manual/install.texi (Running make install): Better describe
2824 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2826 1999-11-25 Andreas Jaeger <aj@suse.de>
2828 * include/sys/mman.h: Remove K&R compatibility.
2830 1999-11-15 Andreas Jaeger <aj@suse.de>
2832 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2835 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2837 * iconv/iconv_prog.c (process_block): For stateful charsets write
2838 out byte sequence to get to initial state at the end of the file.
2840 1999-11-25 Andreas Schwab <schwab@suse.de>
2842 * Makeconfig: Include sys-dirs and sys-sorted earlier.
2843 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2844 ($(common-objpfx)sysd-sorted): Emit marker when this file is
2847 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
2849 * manual/setjmp.texi: Many changes to correct bad English introduced
2851 * manual/time.texi: Likewise.
2852 Patches by Neil Booth <neil@rosenet.ne.jp>.
2854 * include/string.h: Remove K&R compatibility.
2856 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2858 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2860 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2862 * string/stratcliff.c: Add one more strchr test for something
2863 which was reported to not work (which proofed to be wrong).
2865 * iconv/skeleton.c: It's __is_last, not is_last.
2867 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2869 (allocate_arrays): Likewise.
2870 (find_idx): Correctly increase array size.
2871 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2873 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
2875 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2878 1999-11-23 Andreas Jaeger <aj@suse.de>
2880 * include/sys/select.h: Remove K&R compatibility.
2881 * include/sys/statfs.h: Likewise.
2882 * include/gnu/libc-version.h: Likewise.
2883 * include/db_185.h: Likewise.
2884 * include/dlfcn.h: Likewise.
2885 * include/search.h: Likewise.
2886 * include/setjmp.h: Likewise.
2887 * include/signal.h: Likewise.
2888 * include/stdio.h: Likewise.
2889 * include/unistd.h: Likewise.
2891 1999-11-23 Andreas Jaeger <aj@suse.de>
2893 * include/aio.h: Remove __THROW from internal interfaces. __THROW
2894 is only need in external header files that might be compiled by a
2896 * include/alloca.h: Likewise.
2897 * include/db.h: Likewise.
2898 * include/dirent.h: Likewise.
2899 * include/execinfo.h: Likewise.
2900 * include/fpu_control.h: Likewise.
2901 * include/glob.h: Likewise.
2902 * include/grp.h: Likewise.
2903 * include/libintl.h: Likewise.
2904 * include/math.h: Likewise.
2905 * include/math.h: Likewise.
2906 * include/mntent.h: Likewise.
2907 * include/mntent.h: Likewise.
2908 * include/netdb.h: Likewise.
2909 * include/pwd.h: Likewise.
2910 * include/sched.h: Likewise.
2911 * include/shadow.h: Likewise.
2912 * include/stdlib.h: Likewise.
2913 * include/sys/file.h: Likewise.
2914 * include/sys/gmon.h: Likewise.
2915 * include/sys/ioctl.h: Likewise.
2916 * include/sys/socket.h: Likewise.
2917 * include/sys/stat.h: Likewise.
2918 * include/sys/sysinfo.h: Likewise.
2919 * include/sys/time.h: Likewise.
2920 * include/sys/times.h: Likewise.
2921 * include/sys/uio.h: Likewise.
2922 * include/sys/wait.h: Likewise.
2923 * include/termios.h: Likewise.
2924 * include/time.h: Likewise.
2925 * include/ulimit.h: Likewise.
2926 * include/utmp.h: Likewise.
2927 * include/wchar.h: Likewise.
2929 1999-11-22 Andreas Jaeger <aj@suse.de>
2931 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
2932 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
2935 1999-11-22 Jakub Jelinek <jakub@redhat.com>
2937 * sysdeps/generic/siglist.h: Avoid declaring the same field
2938 twice if SIGPWR is defined to SIGLOST.
2939 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
2940 not signed, so we should not special case it for negative args.
2941 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
2942 memmove, use the one provided in memcpy.S.
2943 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
2944 copies like memmove, while the previous version worked like memcpy.
2945 Implement optimized assembly memmove.
2946 * sysdeps/sparc/sparc64/memmove.c: New file.
2948 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2950 * po/cs.po: Update from translators.
2952 1999-11-23 Andreas Jaeger <aj@suse.de>
2954 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
2955 (elf_machine_got): Removed, not needed anymore.
2956 (ELF_MACHINE_RELOC_NOPLT): Removed.
2957 (ELF_MACHINE_JMP_SLOT): Added.
2958 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
2959 (_RTLD_EPILOGUE): Likewise.
2960 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
2961 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2962 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
2963 Ralf Baechle <baechle@uni-koblenz.de>.
2965 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
2967 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
2969 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
2970 name from the locale name. Only use the value in the LC_CTYPE
2973 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
2974 file be equal to file size.
2976 * stdlib/longlong.h: Add count_trailing_zeros back.
2978 * stdlib/longlong.h: Update from latest egcs version.
2980 1999-11-22 Andreas Jaeger <aj@suse.de>
2982 * locale/programs/ld-collate.c (insert_value): Correct order of
2983 arguments for lr_error call.
2985 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
2986 __syscall_setrlimit.
2988 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
2990 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2992 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
2994 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
2997 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
2998 14652-style definition of new maps and classes.
3000 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
3002 * locale/programs/ld-monetary.c (monetary_finish): Don't print
3003 individual error message if nothing is defined.
3005 * locale/programs/ld-time.c (time_startup): Test for lr being
3008 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3009 decimal_point is not defined.
3011 * wctype/wctrans.c (wctrans): Use correct base index to access
3012 extra mapping tables.
3014 * locale/loadlocale.c (_nl_load_locale): Use actual number of
3015 entries from file and not the fixed (minimal number from the
3018 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3021 1999-11-18 Paul Eggert <eggert@twinsun.com>
3023 * time/strftime.c (my_strftime): Some old compilers object to
3024 '\a', so don't bother optimizing for it.
3026 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3028 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3029 the rlimits structure passed in.
3031 1999-11-19 Andreas Jaeger <aj@suse.de>
3033 * include/sys/resource.h (__setrlimit): Add prototype.
3035 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3037 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3038 entries for rtld_search_dirs[0].
3039 Patch by David Mosberger <davidm@hpl.hp.com>.
3041 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3043 * locale/programs/ld-ctype.c: Don't predefine the character
3044 classes and mappings of ISO 14652.
3046 * locale/programs/ld-ctype.c: Punt if character class definitions
3047 to not consists of tok_bsymbol (for now).
3049 * time/strptime.c (day_of_the_week): Make sure result is never
3051 (strptime_internal): Allow %C without %y.
3053 1999-11-18 Andreas Jaeger <aj@suse.de>
3055 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3058 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3059 of defining *_SUPER_MAGIC.
3060 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3062 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3064 * locale/programs/locale.c: Don't handle LC_ALL together with the
3065 other categories when printing the value.
3066 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3068 * locale/locale.h: Correct comment about LC_ALL.
3070 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3072 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3073 nelems. Correctly compute index for additional character classes.
3074 (ctype_read): Handle charclass and charconv definitions. Also
3075 recognize arbitrary strings as mapping names.
3076 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3077 character era strings.
3078 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3079 and format for wide characters.
3080 * time/strftime.c: Correctly determine era information for wide
3082 * wctype/wctrans.c: Fix after removal of second endianess table.
3083 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3084 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3086 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3087 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3089 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3090 gregset_t, fpregset_t, and NGREG definitions.
3092 * locale/programs/ld-ctype.c: Implement character width information
3095 1999-11-09 Andreas Jaeger <aj@suse.de>
3097 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3099 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3100 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3102 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3104 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3106 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3108 1999-11-07 Andreas Jaeger <aj@suse.de>
3110 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3111 defines from Linux scsi_ioctl.h header.
3113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3115 * sysdeps/unix/sysv/linux/Dist: Likewise.
3117 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3120 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3121 sync with Linux 2.3.26.
3123 1999-11-17 Andreas Jaeger <aj@suse.de>
3125 * shlib-versions: Allow mipsel for libm.
3126 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3128 1999-11-16 Andreas Jaeger <aj@suse.de>
3130 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
3132 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
3134 * locale/programs/ld-ctype.c (set_class_defaults): Set default
3135 value for alpha and alnum correctly.
3137 * locale/programs/ld-address.c (address_output): Fix output of
3140 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
3142 * timezone/asia: Update from tzdata1999j.
3143 * timezone/australasia: Likewise.
3144 * timezone/europe: Likewise.
3145 * timezone/northamerica: Likewise.
3146 * timezone/southamerica: Likewise.
3147 * timezone/zone.tab: Likewise.
3149 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3151 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3152 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3153 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3154 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3155 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3157 1999-11-15 Andreas Jaeger <aj@suse.de>
3159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3160 __syscall_setrlimit.
3161 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3163 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3165 * scripts/versions.awk: Don't expect to read predecessor versions,
3167 * Versions.def: Remove predecessors. They now get computed.
3169 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3171 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3172 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3174 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3175 * sysdeps/powerpc/stackinfo.h: New file.
3176 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3178 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3180 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3183 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3185 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3186 hurd_directory_name_split.
3187 * Versions.def (libc): Add GLIBC_2.1.3.
3189 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
3191 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3192 to return the location of the null byte written into the string.
3193 (describe_number): Likewise.
3194 (describe_number): Remove assert, not always used with #.
3195 If FLAVOR is null, don't use it.
3196 (describe_number): Take signed argument and print a - if negative.
3197 (_S_msg_report_wait): Report system call number for system calls that
3198 aren't mach_msg. Soup up reporting for mach_msg: If destination port
3199 matches SS->intr_port, bracket port description with [...] to indicate
3200 a Hurd interruptible RPC; if destination port is null, examine the
3201 receive port and report that state; if receive port is also null,
3202 check for timeout and report its value.
3203 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3204 zero iff we managed to examine the stack; take new args RCV_NAME,
3205 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3207 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3208 MACH_PORT_DEAD specially.
3210 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3212 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3213 (__directory_name_split): New function.
3214 * hurd/hurd.h: Declare them.
3215 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3216 __file_name_split, so we ignore trailing slashes properly.
3217 * sysdeps/mach/hurd/rename.c: Likewise.
3219 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
3221 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3222 from current kernel headers.
3224 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3225 SO_PASSCRED defined.
3227 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3229 * locale/C-ctype.c: Fix typo in char class name.
3231 * configure.in: Allow user so specify --enable-kernel=current.
3233 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
3235 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3237 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3239 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3240 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3241 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3242 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3244 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3246 * intl/locale.alias: Add Estonian entries.
3247 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3249 1999-11-02 Andreas Jaeger <aj@suse.de>
3251 * Versions.def: Add version GLIBC_2.2 for libm.
3252 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3254 * sysdeps/generic/feenablxcpt.c: Stub file.
3255 * sysdeps/generic/fedisblxcpt.c: Stub file.
3256 * sysdeps/generic/fegetexcept.c: Stub file.
3257 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3258 * sysdeps/i386/fpu/feenablxcpt.c: New file.
3259 * sysdeps/i386/fpu/fegetexcept.c: New file.
3260 * math/Makefile (libm-support): Add new files.
3261 * math/Versions: Add new functions with version GLIBC_2.2.
3262 * manual/arith.texi (Control Functions): Document fegetexcept,
3263 feenableexcept and fedisableexcept.
3265 1999-11-01 Wolfram Gloger <wg@malloc.de>
3267 * malloc/malloc.h: Describe __malloc_initialize_hook.
3268 * manual/memory.texi: Document __malloc_initialize_hook.
3270 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
3272 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3274 1999-11-09 Andreas Jaeger <aj@suse.de>
3276 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3277 implementation for ttyname_r call; fix inverted condition; return
3279 Closes PR libc/1438.
3281 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3283 * math/fenv.h: Include bits/fenvinline.h if optimizing.
3284 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
3285 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
3286 * sysdeps/generic/bits/fenv.h: New file.
3288 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3290 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3293 1999-11-10 Andreas Jaeger <aj@suse.de>
3295 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3297 1999-11-10 Andreas Jaeger <aj@suse.de>
3299 * string/strsignal.c (strsignal): Correct check for snprintf
3301 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3303 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3304 according to changed snprintf return value.
3305 Reported by Lawrence K. Chen <lchen@opentext.com>.
3307 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3308 for ecvt_r and fcvt_r.
3310 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3312 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3313 directory with the reference since this is as secure as using the
3314 object with the dependency.
3315 (_dl_dst_substitute): Likewise.
3317 * elf/dl-load.c (_dl_dst_count): Change strings in first two
3318 strncmp calls to allow reuse.
3319 (_dl_dst_substitute): Likewise.
3321 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
3323 * posix/regex.c (init_syntax_once): move below definition of
3324 ISALNUM etc., then use ISALNUM to init the table, so that
3325 the word ops will work if i18n'ed.
3326 (SYNTAX): And subscript with 0xFF for 8bit character sets.
3328 1999-11-09 Andreas Jaeger <aj@suse.de>
3330 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3331 implementation for ttyname_r call; fix inverted condition; return
3332 ut_user. Closes PR libc/1438.
3334 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3336 * timezone/checktab.awk: Update from tzcode1999h.
3337 * timezone/africa: Update from tzdata1999i.
3338 * timezone/asia: Likewise.
3339 * timezone/australasia: Likewise.
3340 * timezone/backward: Likewise.
3341 * timezone/europe: Likewise.
3342 * timezone/northamerica: Likewise.
3343 * timezone/southamerica: Likewise.
3344 * timezone/iso3166.tab: Likewise.
3345 * timezone/zone.tab: Likewise.
3347 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3348 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
3350 1999-11-09 Andreas Jaeger <aj@suse.de>
3352 * posix/Makefile (tests): Added tst-getlogin.
3354 * posix/tst-getlogin.c: New file, contains simple tests for
3355 getlogin and getlogin_r.
3357 1999-11-09 Andreas Schwab <schwab@suse.de>
3359 * misc/syslog.c: For LOG_PERROR only append a newline if
3362 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
3364 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3367 1999-11-08 Andreas Jaeger <aj@suse.de>
3369 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3370 this fixes a memory leak (closes PR libc/1435).
3372 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3373 reflect memory allocation.
3375 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3376 allocation in _nl_explode_name.
3378 1999-11-06 Andreas Jaeger <aj@suse.de>
3380 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3382 Reported by wes@surety.com, closes PR libc/1432.
3384 1999-11-05 Geoff Keating <geoffk@cygnus.com>
3386 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3387 enumerator lists (-pedantic complains).
3388 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
3389 test for 'one bit set'.
3390 (feclearexcept): Likewise.
3392 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
3394 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3396 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3398 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3401 1999-10-04 Tim Waugh <twaugh@redhat.com>
3403 * posix/wordexp-test.c: More tests.
3405 * posix/wordexp.c (wordexp): Explicit null words should be kept.
3407 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
3409 * locale/programs/linereader.c (get_string): Correct type of buf2
3411 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3412 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3413 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3414 _NL_CTYPE_OUTDIGIT*_WC.
3415 (allocate_arrays): Completely initialize mapping tables.
3416 * locale/programs/ld-time.c (time_startup): We need the wide car
3418 (time_finish): Correct handling of era.
3419 (time_output): Fix a few array indeces.
3420 (time_read): Pass the repertoire map to lr_token.
3422 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
3424 * Versions.def: Add version for libthread_db.
3426 1999-11-02 Andreas Jaeger <aj@suse.de>
3428 * manual/header.texi (Library Summary): The command @indexfonts
3429 doesn't exist anymore, use @smallfonts instead.
3431 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
3433 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3434 instead of duplicating definitions.
3436 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3438 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3440 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3441 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3442 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3443 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3444 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3446 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3448 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3450 * sysdeps/unix/sysv/linux/kernel-features.h
3451 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3452 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3454 * manual/texinfo.tex: Updated.
3456 1999-11-01 Andreas Jaeger <aj@suse.de>
3458 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3460 * inet/gethstbynm2_r.c: Reorder addresses.
3462 1999-09-11 Paul Eggert <eggert@twinsun.com>
3464 * posix/glob.h (glob): If #defining to glob64, do this before
3465 declaring it, so that all declarations and uses match, and do not
3466 declare glob64, to avoid a declaration clash.
3467 (globfree): Likewise with globfree64.
3469 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3471 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3472 Keep the trailing slash unless DIRNAME is just "x:/".
3474 1999-10-11 Andreas Jaeger <aj@suse.de>
3476 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3477 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3478 Closes PR libc/1384.
3480 1999-10-20 Andreas Schwab <schwab@suse.de>
3482 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3483 (generated): Add it here.
3484 (before-compile): Add libm-test.c.
3485 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3487 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3490 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3492 * Makefile (pdf): New goal.
3493 * manual/Makefile: Add definitions and rules for PDF generation.
3495 * Versions.def (libm): Add GLIBC_2.1.3.
3497 ISO C99 TR1 changes various fe* functions to return an error value.
3498 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3499 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3500 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3501 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3502 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3503 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3504 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3505 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3506 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3507 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3508 * sysdeps/arm/fpu/fegetenv.c: Likewise.
3509 * sysdeps/arm/fpu/fesetenv.c: Likewise.
3510 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3511 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3512 * sysdeps/generic/fclrexcpt.c: Likewise.
3513 * sysdeps/generic/fegetenv.c: Likewise.
3514 * sysdeps/generic/fesetenv.c: Likewise.
3515 * sysdeps/generic/feupdateenv.c: Likewise.
3516 * sysdeps/generic/fgetexcptflg.c: Likewise.
3517 * sysdeps/generic/fraiseexcpt.c: Likewise.
3518 * sysdeps/generic/fsetexcptflg.c: Likewise.
3519 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3520 * sysdeps/i386/fpu/fegetenv.c: Likewise.
3521 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3522 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3523 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3524 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3525 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3526 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3527 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3528 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3529 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3530 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3531 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3532 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3533 * sysdeps/mips/fclrexcpt.c: Likewise.
3534 * sysdeps/mips/fegetenv.c: Likewise.
3535 * sysdeps/mips/fesetenv.c: Likewise.
3536 * sysdeps/mips/feupdateenv.c: Likewise.
3537 * sysdeps/mips/fgetexcptflg.c: Likewise.
3538 * sysdeps/powerpc/fclrexcpt.c: Likewise.
3539 * sysdeps/powerpc/fegetenv.c: Likewise.
3540 * sysdeps/powerpc/fesetenv.c: Likewise.
3541 * sysdeps/powerpc/feupdateenv.c: Likewise.
3542 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3543 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3544 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3545 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3546 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3547 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3548 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3549 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3550 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3551 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3552 * math/fenv.h: Adjust prototypes.: Likewise.
3553 * manual/arith.texi: Adjust documentation for these changes.
3555 * manual/arith.texi: Document feraiseexcept.
3557 * sysdeps/powerpc/fegetenv.c: Moved to...
3558 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3559 * sysdeps/powerpc/fegetround.c: Moved to...
3560 * sysdeps/powerpc/fpu/fegetround.c: ...here.
3561 * sysdeps/powerpc/feholdexcpt.c: Moved to...
3562 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3563 * sysdeps/powerpc/fesetenv.c: Moved to...
3564 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3565 * sysdeps/powerpc/fenv_libc.h: Moved to...
3566 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3567 * sysdeps/powerpc/feupdateenv.c: Moved to...
3568 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3569 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3570 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3571 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3572 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3573 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3574 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3575 * sysdeps/powerpc/ftestexcept.c: Moved to...
3576 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3577 * sysdeps/powerpc/fesetround.c: Moved to...
3578 * sysdeps/powerpc/fpu/fesetround.c: ...here
3579 * sysdeps/powerpc/fenv_const.c: Moved to...
3580 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3582 * sysdeps/mips/fclrexcpt.c: Moved to...
3583 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3584 * sysdeps/mips/fegetenv.c: Moved to...
3585 * sysdeps/mips/fpu/fegetenv.c: ...here.
3586 * sysdeps/mips/fegetround.c: Moved to...
3587 * sysdeps/mips/fpu/fegetround.c: ...here.
3588 * sysdeps/mips/fesetenv.c: Moved to...
3589 * sysdeps/mips/fpu/fesetenv.c: ...here.
3590 * sysdeps/mips/fesetround.c: Moved to...
3591 * sysdeps/mips/fpu/fesetround.c: ...here.
3592 * sysdeps/mips/feupdateenv.c: Moved to...
3593 * sysdeps/mips/fpu/feupdateenv.c: ...here.
3594 * sysdeps/mips/fgetexcptflg.c: Moved to...
3595 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3596 * sysdeps/mips/ftestexcept.c: Moved to...
3597 * sysdeps/mips/fpu/ftestexcept.c: ...here.
3599 1999-10-29 Jakub Jelinek <jakub@redhat.com>
3601 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3602 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3603 libraries from statically linked programs.
3604 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3605 fix for sigaction on SPARC.
3606 Patches by David S. Miller <davem@redhat.com>.
3608 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3609 gregset_t and other required structures and defines for SPARC 64bit
3610 ABI as well, not only 32bit ABI.
3612 1999-10-31 Andreas Jaeger <aj@suse.de>
3614 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3615 by __USE_ISOC99 and update comments.
3617 * math/complex.h: Update comments for ISO C99.
3618 * math/fenv.h: Likewise.
3619 * math/test-fenv.c: Likewise.
3620 * math/tgmath.h: Likewise.
3621 * libio/stdio.h: Likewise.
3622 * posix/sys/types.h: Likewise.
3623 * sysdeps/generic/inttypes.h: Likewise.
3624 * sysdeps/generic/stdint.h: Likewise.
3626 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3628 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3630 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3631 recognize _ISOC99_SOURCE.
3632 * libio/stdio.h: Likewise.
3633 * math/math.h: Likewise.
3634 * math/bits/mathcalls.h: Likewise.
3635 * math/stdio.h: Likewise.
3636 * stdlib/stdlib.h: Likewise.
3637 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3638 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3639 * sysdeps/arm/bits/huge_val.h: Likewise.
3640 * sysdeps/generic/bits/mathdef.h: Likewise.
3641 * sysdeps/i386/bits/huge_val.h: Likewise.
3642 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3643 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3644 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3645 * sysdeps/m68k/bits/huge_val.h: Likewise.
3646 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3647 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3648 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3649 * sysdeps/powerpc/bits/mathinline.h: Likewise.
3650 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3651 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3652 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3653 * wcsmbs/wchar.h: Likewise.
3655 * sysdeps/powerpc/bits/mathdef.h: Moved to...
3656 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3657 * sysdeps/powerpc/bits/mathinline.h: Moved to...
3658 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3659 * sysdeps/powerpc/bits/fenv.h: Moved to...
3660 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3662 1999-10-31 Andreas Jaeger <aj@suse.de>
3664 * manual/math.texi (Errors in Math Functions): Correct TeX code.
3666 1999-10-31 Andreas Jaeger <aj@suse.de>
3668 * math/libm-test.inc: Change comments to use ISO C99 instead of
3670 * math/w_lgamma.c: Likewise.
3671 * math/w_lgammaf.c: Likewise.
3672 * math/w_lgammal.c: Likewise.
3673 * math/test-fenv.c: Likewise.
3674 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3676 * sysdeps/generic/printf_fphex.c: Likewise.
3678 1999-10-31 Andreas Jaeger <aj@suse.de>
3680 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3682 * manual/math.texi: Change ISO C9x to ISO C99.
3683 * manual/startup.texi: Likewise.
3684 * manual/stdio.texi: Likewise.
3686 1999-10-31 Andreas Jaeger <aj@suse.de>
3688 * manual/arith.texi: Change ISO C9x to ISO C99.
3689 * manual/time.texi (Low-Level Time String Parsing): Likewise.
3691 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
3693 * socket/Makefile (distribute): Add ifreq.h.
3695 * manual/time.texi (Formatting Date and Time): Revise comments about
3696 origins of the formats with ISO C99 references.
3698 1999-10-30 Andreas Jaeger <aj@suse.de>
3700 * sysdeps/unix/sysv/linux/ifreq.h: New file.
3702 1999-10-29 Andreas Jaeger <aj@suse.de>
3704 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3705 input format; mention that strtof and strtold are part of ISO C99.
3707 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3709 * manual/math.texi (Errors in Math Functions): New section.
3710 * math/libm-err-tab.pl: Moved to...
3711 * manual/libm-err-tab.pl: ...here.
3712 * manual/Makefile: Add rules for math function error table generation.
3714 * stdlib/tst-strtod.c: Add more hexadecimal tests.
3716 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3717 != 1 correctly and more than one digit before decimal point..
3719 1999-10-27 Andreas Jaeger <aj@suse.de>
3721 * sysdeps/generic/ifreq.h: New file.
3723 * resolv/res_hconf.c: Add missing includes to get all prototypes.
3724 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
3725 Reported by John DiMarco <jdd@cs.toronto.edu>.
3727 (_res_hconf_reorder_addrs): Made thread safe.
3728 (free_mem): New function, needed for malloc debugging.
3730 1999-10-29 Andreas Jaeger <aj@suse.de>
3732 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3733 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3734 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3735 opensock to use __opensock.
3737 * socket/Makefile (routines): Add opensock.
3739 * include/sys/socket.h (__opensock): Add prototype declaration.
3741 1999-10-29 Andreas Jaeger <aj@suse.de>
3743 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3745 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3747 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3748 new constant from Linux 2.3.25pre1.
3750 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3752 1999-10-29 Andreas Jaeger <aj@suse.de>
3754 * math/libm-err-tab.pl: New file to generate a table of
3755 libm-test-ulps values.
3757 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3759 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3760 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3761 struct sigcontext* object as second parameter for profil_counter.
3762 Patches by Jakub Jelinek <jakub@redhat.com>.
3764 1999-10-29 Andreas Jaeger <aj@suse.de>
3766 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3767 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3769 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3770 efs, qnx4 and reiser file systems.
3772 1999-10-29 Andreas Jaeger <aj@suse.de>
3774 * locale/Makefile (others): Set to localedef and locale for make
3777 * debug/Makefile (generated): Add xtrace for make clean to work.
3779 1999-10-29 Andreas Jaeger <aj@suse.de>
3781 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3783 1999-10-25 Andreas Jaeger <aj@suse.de>
3785 * math/libm-test.inc: Added code to ignore the given max ulps.
3786 (print_max_error): Check for ignore_max_ulp.
3787 (check_float_internal): Likewise.
3788 (parse_opt): Parse --ignore-max-ulp.
3789 (main): Initialize ignore_max_ulp.
3791 1999-10-26 Andreas Jaeger <aj@suse.de>
3793 * stdlib/msort.c: Include <alloca.h> for prototype.
3794 Remove K&R compatibility and _quicksort prototype.
3796 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3798 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3799 Remove K&R compatibility.
3800 Move prototype declaration to include/stdlib.h.
3801 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3803 * include/stdlib.h: Prototype declaration for _quicksort.
3805 1999-10-27 Andreas Jaeger <aj@suse.de>
3807 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3808 shifted a bit too much.
3809 Reported by Eugen Dedu <dedu@ese-metz.fr>.
3811 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3813 * resolv/gethnamaddr.c: Account bytes needed for alignment in
3814 buflen. Patch by Olaf Kirch <okir@lst.de>.
3816 * md5-crypt/md5test.c: Correct names of MD5 functions after
3817 removing of public names.
3819 * configure.in: Don't allow --enable-kernel without parameter.
3821 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3823 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3826 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
3828 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
3829 only used internally.
3830 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3831 remove weak alias for public names.
3832 * md5-crypt/md5.c: Remove weak aliase.
3834 1999-10-25 Andreas Jaeger <aj@suse.de>
3836 * math/README.libm-test: New file, documents libm-test.inc.
3838 1999-10-25 Andreas Jaeger <aj@suse.de>
3840 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3842 (print_ulps_file): Fix loops to not read @tests and @functions
3843 since those are not initialized with -n now.
3844 (parse_ulps): Set $results{..}{"kind"}.
3846 1999-10-25 Andreas Jaeger <aj@suse.de>
3848 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3850 * math/libm-test.inc (check_float_internal): Don't print ulps for
3853 1999-10-20 Andreas Jaeger <aj@suse.de>
3855 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3857 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3859 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
3861 * math/libm-test.inc: Disable some boundary case tests for inline
3864 * math/math.h: Pretty printing.
3866 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3867 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3869 * sysdeps/i386/fpu/e_log10.S: Likewise.
3870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3871 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3872 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3873 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3874 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3875 * sysdeps/i386/fpu/s_log2.S: Likewise.
3876 * sysdeps/i386/fpu/s_log2f.S: Likewise.
3877 * sysdeps/i386/fpu/s_log2l.S: Likewise.
3879 * sysdeps/i386/fpu/libm-test-ulps: New file.
3881 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3883 (pow): Correct case x == 0.
3884 (__sgn1l): Correct handling of -0.0.
3886 1999-10-22 Andreas Jaeger <aj@suse.de>
3888 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3889 (atan_test): Likewise.
3890 (atanh_test): Likewise.
3891 (atan2_test): Likewise.
3892 (carg_test): Likewise.
3893 (ceil_test): Likewise.
3894 (cos_test): Likewise.
3895 (cosh_test): Likewise.
3896 (cpow_test): Likewise.
3897 (erf_test): Likewise.
3898 (erfc_test): Likewise.
3899 (exp_test): Likewise.
3900 (exp10_test): Likewise.
3901 (exp2_test): Likewise.
3902 (expm1_test): Likewise.
3903 (fabs_test): Likewise.
3904 (floor_test): Likewise.
3905 (fmod_test): Likewise.
3906 (gamma_test): Likewise.
3907 (lgamma_test): Likewise.
3908 (log10_test): Likewise.
3909 (log1p_test): Likewise.
3910 (log2_test): Likewise.
3911 (logb_test): Likewise.
3912 (nearbyint_test): Likewise.
3913 (remainder_test): Likewise.
3914 (remquo_test): Likewise.
3915 (sin_test): Likewise.
3916 (sincos_test): Likewise.
3917 (sinh_test): Likewise.
3918 (sqrt_test): Likewise.
3919 (tan_test): Likewise.
3920 (tanh_test): Likewise.
3921 (tgamma_test): Likewise.
3923 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
3925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
3927 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
3929 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
3930 for -Inf and return NaN.
3932 * configure.in: Correct test for Cygnus gcc versions.
3934 1999-10-21 Andreas Jaeger <aj@suse.de>
3936 * math/libm-test.inc (cimag_test): New function, tests cimag.
3937 (creal_test): New function, tests creal.
3938 (conj_test): New function, tests conj.
3939 (main): Add new functions.
3941 1999-10-20 Andreas Jaeger <aj@suse.de>
3943 * math/libm-test.inc: Rewrite to allow different deltas for real
3944 and imaginary part of complex functions.
3945 * math/gen-libm-test.pl: Likewise.
3947 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
3949 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
3952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
3954 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
3955 for -Inf and return NaN.
3957 * math/gen-libm-test.pl: Fix program name in help message.
3959 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
3961 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
3963 * sysdeps/i386/Implies: Correct order of libm directories.
3965 1999-10-19 Andreas Jaeger <aj@suse.de>
3967 * include/bits/ipc.h: Remove K&R compatibility.
3968 * include/libintl.h: Likewise.
3969 * include/math.h: Likewise.
3970 * include/mntent.h: Likewise
3971 * include/netdb.h: Likewise.
3972 * include/pwd.h: Likewise.
3973 * include/sched.h: Likewise.
3974 * include/shadow.h: Likewise
3975 * include/stdlib.h: Likewise.
3976 * include/sys/file.h: Likewise.
3977 * include/sys/gmon.h: Likewise.
3978 * include/sys/ioctl.h: Likewise.
3979 * include/sys/mman.h: Likewise.
3980 * include/sys/resource.h: Likewise.
3981 * include/sys/socket.h: Likewise.
3982 * include/sys/stat.h: Likewise.
3983 * include/sys/sysinfo.h: Likewise.
3984 * include/sys/time.h: Likewise.
3985 * include/sys/times.h: Likewise.
3986 * include/sys/uio.h: Likewise.
3987 * include/sys/wait.h: Likewise.
3988 * include/termios.h: Likewise.
3989 * include/time.h: Likewise.
3990 * include/ulimit.h: Likewise.
3991 * include/utmp.h: Likewise.
3992 * include/wchar.h: Likewise.
3993 * include/wctype.h: Likewise.
3995 1999-10-19 Andreas Jaeger <aj@suse.de>
3997 * math/libm-test.inc: Remove one K&R compatibility.
3998 (main): Enable nexttoward_test.
4000 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4001 libm-test-ulps.h; pretty print output a bit.
4003 1999-10-19 Andreas Jaeger <aj@suse.de>
4005 * iconv/iconv_prog.c (main): Set exit value in case that reading
4006 from stdin failed [PR libc/1404].
4008 1999-10-18 Andreas Jaeger <aj@suse.de>
4010 Added improved math testsuite:
4011 * math/libm-test.inc: New file, contains all tests from
4012 libm-test.c but in a different form.
4013 * math/libm-test.c: Removed.
4014 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4015 * math/gen-libm-test.pl: New file: Preprocessor.
4016 * math/test-double.c: Adopted to new testsuite.
4017 * math/test-idouble.c: Likewise.
4018 * math/test-float.c: Likewise.
4019 * math/test-ifloat.c: Likewise.
4020 * math/test-ldouble.c: Likewise.
4021 * math/test-ildoubl.c: Likewise.
4022 * math/Makefile: Added rules to generate new suite.
4024 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4026 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4027 Patch by J. Richard Sladkey <jrs@world.std.com>.
4029 * scripts/config.sub: Update from latest autoconf version.
4030 * scripts/config.guess: Likewise.
4032 1999-10-18 Andreas Jaeger <aj@suse.de>
4034 * inet/arpa/inet.h: Remove K&R compatibility.
4035 * math/fenv.h: Likewise.
4037 1999-10-18 Andreas Jaeger <aj@suse.de>
4039 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4040 kernel_sigaction): Remove K&R compatibility.
4041 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4042 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4043 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4044 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4045 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4046 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4047 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4048 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4049 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4050 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4051 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4052 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4053 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4054 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4055 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4056 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4057 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4059 1999-10-18 Andreas Jaeger <aj@suse.de>
4061 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4062 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4064 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4066 * po/gl.po: New file.
4068 1999-10-18 Andreas Schwab <schwab@suse.de>
4070 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4071 namespace selection.
4073 1999-10-18 Andreas Schwab <schwab@suse.de>
4075 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4076 clash with the TERM environment variable.
4078 1999-10-18 Andreas Jaeger <aj@suse.de>
4080 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4081 returns now NaN + i NaN.
4082 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4083 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4085 1999-10-18 Andreas Jaeger <aj@suse.de>
4087 * include/aio.h: Remove K&R compatiblity.
4088 * include/alloca.h: Likewise.
4089 * include/db.h: Likewise.
4090 * include/dirent.h: Likewise.
4091 * include/fcntl.h: Likewise.
4092 * include/fpu_control.h: Likewise.
4093 * include/glob.h: Likewise.
4094 * include/grp.h: Likewise.
4095 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4096 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4097 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4098 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4100 * include/execinfo.h: Add __THROW.
4102 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4104 * sysdeps/mips/Implies: Remove wordsize-32 reference.
4105 * sysdeps/mips/mips3/Implies: Add it here.
4107 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
4109 * elf/elf.h: Add various platform and architecture extensions.
4111 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4112 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4115 * socket/sys/socket.h: Remove K&R compatibility.
4117 1999-10-16 Andreas Jaeger <aj@suse.de>
4119 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4121 1999-10-15 Andreas Jaeger <aj@suse.de>
4123 * stdlib/Makefile (tests): Added tst-xpg-basename.
4125 * stdlib/tst-xpg-basename.c: New test file.
4127 1999-10-14 Cristian Gafton <gafton@redhat.com>
4129 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4131 1999-10-14 Andreas Jaeger <aj@suse.de>
4133 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
4134 endian version works for both endiannesses.
4136 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4139 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4141 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4142 register names unconditionally, only if __USE_GNU.
4144 * debug/Makefile: Fix rules to generate pcprofiledump.
4146 * include/ucontext.h: New file.
4148 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4150 1999-10-12 Andreas Jaeger <aj@suse.de>
4152 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4154 * math/basic-test.c: Fix typo.
4156 * locale/programs/xstrdup.c: Include string.h for glibc
4157 compilation to get string prototypes.
4159 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4160 gregset_t and fpregset_t.
4162 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4163 warnings. Correct value for x == 0.
4165 * argp/argp-help.c: Remove broken definition of flockfile and
4168 1999-10-12 Andreas Schwab <schwab@suse.de>
4170 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4171 generic Linux version.
4173 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4175 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4177 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4179 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4180 and fpregset_t definitions.
4182 * malloc/memprof.c (GETSP): Define for PowerPC.
4183 (GETTIME): Fix generic version.
4185 1999-10-10 Philip Blundell <philb@gnu.org>
4187 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4190 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4192 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4193 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4194 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4195 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4197 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4199 * sysdeps/powerpc/e_sqrt.c: Moved to...
4200 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4201 * sysdeps/powerpc/e_sqrtf.c: Moved to...
4202 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4204 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4205 * sysdeps/powerpc/sub_n.S: Likewise.
4206 * sysdeps/powerpc/strlen.S: Likewise.
4207 * sysdeps/powerpc/strcpy.S: Likewise.
4208 * sysdeps/powerpc/strcmp.S: Likewise.
4209 * sysdeps/powerpc/strchr.S: Likewise.
4210 * sysdeps/powerpc/stpcpy.S: Likewise.
4211 * sysdeps/powerpc/setjmp.S: Likewise.
4212 * sysdeps/powerpc/rshift.S: Likewise.
4213 * sysdeps/powerpc/ppc-mcount.S: Likewise.
4214 * sysdeps/powerpc/mul_1.S: Likewise.
4215 * sysdeps/powerpc/memset.S: Likewise.
4216 * sysdeps/powerpc/lshift.S: Likewise.
4217 * sysdeps/powerpc/dl-start.S: Likewise.
4218 * sysdeps/powerpc/bzero.S: Likewise.
4219 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4220 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4221 * sysdeps/powerpc/addmul_1.S: Likewise.
4222 * sysdeps/powerpc/add_n.S: Likewise.
4223 * sysdeps/powerpc/__longjmp.S: Likewise.
4224 * sysdeps/powerpc/elf/start.S: Likewise.
4226 1999-10-11 Cristian Gafton <gafton@redhat.com>
4228 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4231 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
4233 * stdlib/atexit.c (initial): New variable. Use to initialize
4235 * stdlib/exit.c (exit): Beware to not free statically allocated
4236 list element [PR libc/1305].
4238 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4239 slash before the basename [PR libc/1383].
4241 * argp/argp.h: Fix typo in last patch.
4243 * sysdeps/powerpc/sysdep.h: New file.
4244 * sysdeps/unix/powerpc/sysdep.h: New file.
4245 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4246 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4247 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4248 instead of bare numbers.
4249 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4250 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4251 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4253 * sysdeps/hppa/sysdep.h: New file.
4255 1999-10-10 Andreas Jaeger <aj@suse.de>
4257 * misc/sgtty.h: Fix typo in last patch.
4259 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
4261 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4262 * sysdeps/powerpc/s_copysign.S: Move to...
4263 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
4264 * sysdeps/powerpc/s_copysignf.S: Move to...
4265 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4266 * sysdeps/powerpc/s_fabs.S: Move to...
4267 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
4268 * sysdeps/powerpc/s_fabsf.S: Move to...
4269 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4270 * sysdeps/powerpc/s_fdim.c: Move to...
4271 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4272 * sysdeps/powerpc/s_fdimf.c: Move to...
4273 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4274 * sysdeps/powerpc/s_fmax.S: Move to...
4275 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
4276 * sysdeps/powerpc/s_fmaxf.S: Move to...
4277 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4278 * sysdeps/powerpc/s_fmin.S: Move to...
4279 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
4280 * sysdeps/powerpc/s_fminf.S: Move to...
4281 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4282 * sysdeps/powerpc/s_isnan.S: Move to...
4283 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4284 * sysdeps/powerpc/s_isnanf.S: Move to...
4285 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4286 * sysdeps/powerpc/s_llrint.c: Move to...
4287 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4288 * sysdeps/powerpc/s_llrintf.c: Move to...
4289 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4290 * sysdeps/powerpc/s_llround.c: Move to...
4291 * sysdeps/powerpc/fpu/s_llround.c: ...here.
4292 * sysdeps/powerpc/s_llroundf.c: Move to...
4293 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4294 * sysdeps/powerpc/s_lrint.c: Move to...
4295 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4296 * sysdeps/powerpc/s_lrintf.S: Move to...
4297 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4298 * sysdeps/powerpc/s_lround.c: Move to...
4299 * sysdeps/powerpc/fpu/s_lround.c: ...here.
4300 * sysdeps/powerpc/s_lroundf.c: Move to...
4301 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4302 * sysdeps/powerpc/s_rint.c: Move to...
4303 * sysdeps/powerpc/fpu/s_rint.c: ...here.
4304 * sysdeps/powerpc/s_rintf.c: Move to...
4305 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4306 * sysdeps/powerpc/t_sqrt.c: Move to...
4307 * sysdeps/powerpc/fpu/t_sqrt: ...here.
4308 * sysdeps/powerpc/w_sqrt.c: Move to...
4309 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4310 * sysdeps/powerpc/w_sqrtf.c: Move to...
4311 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4312 * configure.in: Support platforms which have no .text pseudo-op.
4313 Patches partly by Jimi X <jimix@pobox.com>.
4315 * Makeconfig: Look also in all subdirs for shlib-versions files.
4317 * malloc/memprof.sh: Fix --help string a bit.
4319 * argp/argp.h: Remove K&R compatiblity.
4320 * assert/assert.h: Likewise.
4321 * catgets/nl_types.h: Likewise.
4322 * ctype/ctype.h: Likewise.
4323 * db/db.h: Likewise.
4324 * db/ndbm.h: Likewise.
4325 * db2/db.h: Likewise.
4326 * db2/db_185.h: Likewise.
4327 * debug/execinfo.h: Likewise.
4328 * dirent/dirent.h: Likewise.
4329 * dlfcn/dlfcn.h: Likewise.
4330 * gmon/sys/gmon.h: Likewise.
4331 * grp/grp.h: Likewise.
4332 * iconv/gconv.h: Likewise.
4333 * iconv/iconv.h: Likewise.
4334 * include/execinfo.h: Likewise.
4335 * inet/aliases.h: Likewise.
4336 * inet/netinet/ether.h: Likewise.
4337 * inet/netinet/in.h: Likewise.
4338 * intl/libintl.h: Likewise.
4339 * io/fcntl.h: Likewise.
4340 * io/fts.h: Likewise.
4341 * io/ftw.h: Likewise.
4342 * io/utime.h: Likewise.
4343 * io/sys/poll.h: Likewise.
4344 * io/sys/stat.h: Likewise.
4345 * io/sys/statfs.h: Likewise.
4346 * io/sys/statvfs.h: Likewise.
4347 * libio/libio.h: Likewise.
4348 * libio/stdio.h: Likewise.
4349 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4350 * locale/locale.h: Likewise.
4351 * login/pty.h: Likewise.
4352 * login/utmp.h: Likewise.
4353 * malloc/mcheck.h: Likewise.
4354 * math/complex.h: Likewise.
4355 * math/math.h: Likewise.
4356 * math/math_private.h: Likewise.
4357 * misc/err.h: Likewise.
4358 * misc/fstab.h: Likewise.
4359 * misc/libgen.h: Likewise.
4360 * misc/mntent.h: Likewise.
4361 * misc/regexp.h: Likewise.
4362 * misc/search.h: Likewise.
4363 * misc/sgtty.h: Likewise.
4364 * misc/ttyent.h: Likewise.
4365 * misc/sys/cdefs.h: Likewise.
4366 * misc/sys/file.h: Likewise.
4367 * misc/sys/ioctl.h: Likewise.
4368 * misc/sys/mman.h: Likewise.
4369 * misc/sys/select.h: Likewise.
4370 * misc/sys/syslog.h: Likewise.
4371 * misc/sys/uio.h: Likewise.
4372 * misc/sys/ustat.h: Likewise.
4373 * nss/nss.h: Likewise.
4374 * posix/sched.h: Likewise.
4375 * posix/unistd.h: Likewise.
4376 * posix/wordexp.h: Likewise.
4377 * posix/sys/times.h: Likewise.
4378 * posix/sys/utsname.h: Likewise.
4379 * posix/sys/wait.h: Likewise.
4380 * pwd/pwd.h: Likewise.
4381 * resolv/netdb.h: Likewise.
4382 * resolv/resolv.h: Likewise.
4383 * resource/ulimit.h: Likewise.
4384 * resource/sys/resource.h: Likewise.
4385 * resource/sys/vlimit.h: Likewise.
4386 * resource/sys/vtimes.h: Likewise.
4387 * rt/aio.h: Likewise.
4388 * setjmp/setjmp.h: Likewise.
4389 * shadow/shadow.h: Likewise.
4390 * signal/signal.h: Likewise.
4391 * socket/socket.h: Likewise.
4392 * stdio/stdio.h: Likewise.
4393 * stdio-common/_itoa.h: Likewise.
4394 * stdio-common/_itowa.h: Likewise.
4395 * stdio-common/printf.h: Likewise.
4396 * stdlib/alloca.h: Likewise.
4397 * stdlib/fmtmsg.h: Likewise.
4398 * stdlib/monetary.h: Likewise.
4399 * stdlib/stdlib.h: Likewise.
4400 * stdlib/ucontext.h: Likewise.
4401 * streams/stropts.h: Likewise.
4402 * string/argz.h: Likewise.
4403 * string/envz.h: Likewise.
4404 * string/string.h: Likewise.
4405 * string/strings.h: Likewise.
4406 * string/bits/string2.h: Likewise.
4407 * sunrpc/rpc/auth.h: Likewise.
4408 * sunrpc/rpc/auth_des.h: Likewise.
4409 * sunrpc/rpc/auth_unix.h: Likewise.
4410 * sunrpc/rpc/clnt.h: Likewise.
4411 * sunrpc/rpc/des_crypt.h: Likewise.
4412 * sunrpc/rpc/netdb.h: Likewise.
4413 * sunrpc/rpc/pmap_clnt.h: Likewise.
4414 * sunrpc/rpc/pmap_prot.h: Likewise.
4415 * sunrpc/rpc/pmap_rmt.h: Likewise.
4416 * sunrpc/rpc/rpc_msg.h: Likewise.
4417 * sunrpc/rpc/svc.h: Likewise.
4418 * sunrpc/rpc/svc_auth.h: Likewise.
4419 * sunrpc/rpc/xdr.h: Likewise.
4420 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4421 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4422 * sysvipc/sys/ipc.h: Likewise.
4423 * sysvipc/sys/msg.h: Likewise.
4424 * sysvipc/sys/sem.h: Likewise.
4425 * sysvipc/sys/shm.h: Likewise.
4426 * termios/termios.h: Likewise.
4427 * time/time.h: Likewise.
4428 * time/sys/time.h: Likewise.
4429 * time/sys/timeb.h: Likewise.
4430 * wcsmbs/wchar.h: Likewise.
4431 * wctype/wctype.h: Likewise.
4433 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
4435 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4436 _GNU_SOURCE be defined.
4438 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4440 * ctype/ctype.h: Pretty print.
4442 * po/cs.po: Fix typos.
4444 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4445 handling of empty entries. [PR libc/1345]
4446 Patch by Thorsten Kukuk <kukuk@suse.de>.
4448 1999-10-08 Andreas Schwab <schwab@suse.de>
4450 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
4452 1999-10-08 Andreas Schwab <schwab@suse.de>
4454 * debug/pcprofiledump.c: Fix typos.
4456 1999-10-07 Andreas Jaeger <aj@suse.de>
4458 * math/Makefile (tests): Added basic-tests.
4460 * math/basic-test.c: New file. Contains function basic_tests from
4463 1999-10-07 Andreas Schwab <schwab@suse.de>
4465 * malloc/memprof.sh: Fix quoting bugs.
4467 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4469 * timezone/europe: Update from tzdata1999h.
4471 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4473 * elf/elf.h: Update from last gABI draft.
4475 * elf/elf.h: Remove EM_486 entry.
4476 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4479 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4481 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4482 Add rules for both programs.
4483 * debug/pcprofiledump.c: New file.
4484 * debug/xtrace.sh: New file.
4485 * debug/pcprofile.c: Allow creating output file. Add magic signature
4486 to let reader recognize file format.
4488 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
4490 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4492 1999-10-05 Andreas Jaeger <aj@suse.de>
4494 * locale/programs/ld-identification.c: Fix typo in comment.
4495 * locale/programs/ld-messages.c: Likewise.
4496 * locale/programs/ld-monetary.c: Likewise.
4497 * locale/programs/ld-name.c: Likewise.
4499 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4500 (collate_read): Remove unnecessary comparisons with ignore_content.
4502 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4504 (ctype_read): Remove unnecessary comparisons with ignore_content.
4505 Fix typos in comments.
4507 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4508 comparisons with ignore_content.
4510 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
4514 * time/time.h: Move __gmtime_r declaration to ...
4515 * include/time.h: ...here.
4517 1999-10-05 Andreas Jaeger <aj@suse.de>
4519 * manual/message.texi (The message catalog files): Fix description
4520 to match gencat implementation and Unix98: Message fields are
4521 separated by a single blank space.
4523 1999-10-05 Andreas Jaeger <aj@suse.de>
4525 * manual/string.texi (Search Functions): Add missing end for
4526 memrchr description.
4528 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4530 * malloc/memprof.sh: Various small cleanups. Add short options.
4531 Write error messages to stderr.
4533 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4535 * malloc/memprof.sh: Take options to control memprofstat.
4537 * malloc/Makefile: Add rule to generate memprof script.
4538 * malloc/memprof.sh: New file.
4540 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4543 1999-10-04 Andreas Jaeger <aj@suse.de>
4545 * configure.in: Allow makeinfo 4.*.
4547 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4549 * stdio-common/vfprintf.c: Correct last patch and use outchar
4550 instead of PUTC to output single characters.
4551 * stdio-common/Makefile (tests): Add bug13.
4552 * stdio-common/bug13.c: New file.
4554 * configure.in: Add additional options --with-gd-include and
4555 --with-gd-lib to help people with strange installations.
4557 * malloc/Makefile: Add libdl dependency to libmemprof.so.
4558 * malloc/Depend: New file.
4560 1999-10-04 Andreas Jaeger <aj@suse.de>
4562 * timezone/README: Change wording to not mention the current
4563 version. This way we can't forget to update the file.
4565 1999-10-04 Andreas Jaeger <aj@suse.de>
4567 * manual/time.texi (Basic CPU Time): Fix typo.
4568 Reported by Ben Pfaff <pfaffben@msu.edu>.
4570 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4572 * string/string.h: Move __memrchr declaration to ...
4573 * include/string.h: ...here.
4575 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4577 * string/Makefile (routines): Add memrchr.
4579 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4580 Correct order of tests for matching bytes.
4582 * string/tester.c: Add tests for memrchr.
4584 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4585 Start from the last character and take decrement not increment
4586 into account for correction in return line. Add memrchr alias.
4587 * sysdeps/i386/bits/string.h: Likewise.
4589 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4591 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4593 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4595 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4597 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4600 * string/Versions: Export memrchr.
4602 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4604 * misc/Versions (GLIBC_2.2): Add getloadavg.
4605 * misc/Makefile (routines): Add getloadavg.
4606 * sysdeps/generic/getloadavg.c: New file.
4607 * sysdeps/mach/getloadavg.c: New file.
4608 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4610 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4611 * sysdeps/i386/bits/string.h (__memrchr): New function.
4612 * string/string.h: Declare memrchr, __memrchr.
4613 * manual/string.texi (Search Functions): Document memrchr.
4615 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4617 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4618 CFLAGS-memprofstat.c, and LIBGD variables.
4619 * config.make.in: Add LIBGD.
4620 * malloc/Makefile: Add rules to generate libmemprof.so and
4622 * malloc/memprof.c: New file.
4623 * malloc/memprofstat.c: New file.
4625 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
4627 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4629 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4630 (inet_ntop6): Likewise.
4632 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4635 * resolv/tst-aton.c (main): Add more tests.
4637 * resolv/inet_addr.c (inet_aton): Correct some problems with to
4638 large numbers. Optimize a bit.
4640 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4642 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4643 account for added '0'.
4645 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4646 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
4647 len argument to be greater than needed address size.
4649 1999-10-01 Andreas Jaeger <aj@suse.de>
4651 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4653 * intl/finddomain.c (_nl_find_domain): Likewise.
4655 1999-09-30 Andreas Schwab <schwab@suse.de>
4657 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4659 1999-09-30 Andreas Jaeger <aj@suse.de>
4661 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4662 * sysdeps/i386/rshift.S: Likewise.
4663 * sysdeps/i386/strchrnul.S: Likewise.
4664 * sysdeps/i386/strchr.S: Likewise.
4665 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4668 1999-09-30 Andreas Jaeger <aj@suse.de>
4670 * manual/examples/pipe.c: Close other end of pipe to make example work.
4672 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4674 * timezone/checktab.awk: Update from tzcode1999g.
4675 * timezone/tzselect.ksh: Likewise.
4676 * timezone/africa: Update from tzdata1999g.
4677 * timezone/asia: Likewise.
4678 * timezone/australasia: Likewise.
4679 * timezone/europe: Likewise.
4680 * timezone/northamerica: Likewise.
4681 * timezone/southamerica: Likewise.
4682 * timezone/iso3166.tab: Likewise.
4683 * timezone/zone.tab: Likewise.
4685 1999-09-27 Andreas Jaeger <aj@suse.de>
4687 * resolv/netdb.h: Remove declaration of getnodebyname. It has
4688 been renamed to getipnodebyname. Move flags around.
4690 1999-09-27 Andreas Schwab <schwab@suse.de>
4692 * manual/message.texi (Locating gettext catalog): Fix typos.
4694 1999-09-27 Andreas Jaeger <aj@suse.de>
4696 * manual/socket.texi (Out-of-Band Data): Correct example program,
4697 rename some variables for clarity.
4698 Reported by James Antill <james@and.org>, close PR libc/1329.
4700 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
4702 * locale/programs/ld-collate.c (insert_value): Add hack to not
4703 crash in incomplete collate implementation.
4705 * locale/programs/ld-collate.c (read_directions): Read new token
4706 after accepting sorting rule.
4708 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
4710 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4711 error message printing. Correctly test whether all characters of
4712 current token are used.
4713 (ctype_read): NUL terminate last_str.
4715 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
4717 * nscd/connections.c: Invalidate caches on request.
4718 * nscd/nscd-client.h: Add INVALIDATE to request_type.
4719 * nscd/nscd.c: Add invalidate cache option.
4720 * nscd/nscd.conf: Change log directory to /var/log (FHS).
4722 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
4724 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4725 not ovverwrite last group member with NULL pointer.
4726 Reported by Thomas Winder <thomas.winder@newlogic.at>.
4728 1999-09-24 Andreas Jaeger <aj@suse.de>
4730 * stdio-common/tst-printf.c (main): Add a testcase for large
4731 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4733 1999-09-24 Andreas Schwab <schwab@suse.de>
4735 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
4737 1999-09-24 Andreas Jaeger <aj@suse.de>
4739 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4740 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
4742 1999-09-23 Mark Kettenis <kettenis@gnu.org>
4744 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4745 variable. Define MORECORE_CLEARS to 2.
4747 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4748 doesn't clear the contents of memory that is reallocated after
4749 decrementing the break value first. Update comment about
4750 MORECORE_CLEARS, explaining the meaning of the values it can be
4753 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
4755 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4758 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4764 1999-09-22 Andreas Jaeger <aj@suse.de>
4766 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4767 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4769 1999-09-22 Andreas Schwab <schwab@suse.de>
4771 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4773 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4775 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4776 the source directory. Fixes PR libc/1059.
4778 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
4780 * locale/programs/repertoire.c (repertoire_find_value): Abort if
4781 rep parameter is NULL.
4782 (repertoire_find_symbol): Likewise.
4783 (repertoire_find_seq): Likewise.
4785 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
4787 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4788 returned errno value in some cases.
4790 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4792 * iconvdata/Makefile (modules): Add GBK.
4793 (distribute): Add gbk.c.
4794 * iconvdata/gbk.c: New file.
4795 * iconvdata/gconv-modules: Add GBK entry.
4796 Contributed by Sean Chen <sean.chen@turbolinux.com>.
4798 * locale/programs/ld-monetary.c (monetary_output): Remove
4801 * locale/programs/ld-time.c (time_output): Correct expected number
4804 * manual/filesys.texi (Testing File Access): Correct description of
4807 1999-080-25 H.J. Lu <hjl@gnu.org>
4809 * csu/defs.awk (.end): Only match with leading white spaces.
4812 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4814 * stdlib/isomac.c: Add va_copy to allowed macros.
4816 * po/pl.po: Updated.
4818 1999-09-17 Andreas Schwab <schwab@suse.de>
4820 * Makefile (clean): Also remove $(postclean) files.
4822 1999-09-15 Andreas Jaeger <aj@suse.de>
4824 * pwd/Makefile (otherlibs): Add for building with static-nss.
4825 * inet/Makefile (otherlibs): Likewise.
4827 1999-09-15 Andreas Jaeger <aj@suse.de>
4829 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4830 function definition to avoid a compilation failure.
4832 1999-09-15 Andreas Jaeger <aj@suse.de>
4834 * stdlib/tst-environ.c (main): Add getenv regression test for
4835 environment variable that's one character long.
4837 1999-09-15 Andreas Jaeger <aj@suse.de>
4839 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4840 signal definitions to let glibc compile with older Linux versions
4841 (2.0.10 to 2.1.100 or so).
4843 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
4845 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4846 return zero to indicate no children died yet (assuming WNOHANG).
4848 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4850 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
4852 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4854 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4855 Return _hurd_pgrp instead of 0.
4857 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
4859 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4860 pages rather than just reprotecting them. This way we don't hold on
4861 to the backing space.
4863 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4864 Use __munmap instead of __vm_deallocate.
4866 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
4868 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4869 returned errno value in some cases.
4871 1999-09-17 Andreas Jaeger <aj@suse.de>
4873 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4874 to override user settings.
4876 1999-09-17 Andreas Schwab <schwab@suse.de>
4878 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4879 using a pointer to it.
4881 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
4883 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4884 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4886 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
4888 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4890 * elf/elf.h (PF_MASKOS): New definition.
4891 (EM_VAX): New definition.
4893 1999-08-09 Scott Bambrough <scottb@netwinder.org>
4895 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4896 'unsigned char ftype[8]', and 'unsigned int init_flag' to
4897 struct user_fp. These were added in version 2.2.12 of the
4899 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4900 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4901 The generic procfs.h included <asm/elf.h>. This causes
4902 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
4903 are included in the same source file. Found when building GDB.
4905 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
4907 * locale/langinfo.h: Remove byte-order dependent names.
4908 * locale/categories.def: Update after removal of byte-order dependent
4910 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
4911 with magic number in other byte order.
4912 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
4913 * locale/C-collate.c: Remove initializers for other byte-order.
4914 * locale/C-ctype.c: Likewise.
4915 * locale/C-monetary.c: Likewise.
4916 * locale/C-paper.c: Likewise.
4917 * locale/C-time.c: Likewise.
4918 * locale/lc-collate.c: Remove byte-order oriented initialization.
4919 * locale/lc-ctype.c: Likewise.
4920 * locale/lc-monetary.c: Likewise.
4921 * locale/lc-time.c: Likewise.
4922 * locale/programs/ld-address.c: Don't generate output in both
4924 * locale/programs/ld-ctype.c: Likewise.
4925 * locale/programs/ld-paper.c: Likewise.
4926 * locale/programs/ld-time.c: Likewise.
4927 * time/strftime.c (NLW): Don't use different byte-orders.
4928 * wctype/cname-lookup.h (cname_lookup): Likewise.
4930 * Makeconfig (localedir): Define using libdir, not datadir.
4931 (msgcatdir): New variable.
4932 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
4933 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
4935 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
4936 (CPPFLAGS): Define paths using msgcatdir.
4937 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
4938 * po/Makefile (mo-installed): Define using msgcatdir.
4940 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
4942 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
4944 * stdio-common/vfprintf.c: Remove limitation on size of precision
4947 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
4948 glibc by defining internal_function if it isn't already.
4950 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
4951 fails don't rely on errno value.
4952 (getanswer_r): Set *ERRNOP in error cases.
4954 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
4955 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
4956 associated data. Test for matching numeric address and family.
4957 (getaddrinfo): Remember EAI_NODATA result and return this in case
4959 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
4961 * locale/programs/ld-address.c: Fix handling of non-existing
4962 definitions for this category. Correctly ignore content of this
4963 category is this is necessary.
4964 * locale/programs/ld-collate.c: Likewise.
4965 * locale/programs/ld-ctype.c: Likewise.
4966 * locale/programs/ld-identification.c: Likewise.
4967 * locale/programs/ld-measurement.c: Likewise.
4968 * locale/programs/ld-messages.c: Likewise.
4969 * locale/programs/ld-monetary.c: Likewise.
4970 * locale/programs/ld-name.c: Likewise.
4971 * locale/programs/ld-numeric.c: Likewise.
4972 * locale/programs/ld-paper.c: Likewise.
4973 * locale/programs/ld-telephone.c: Likewise.
4974 * locale/programs/ld-time.c: Likewise.
4975 * locale/programs/locfile.h (handle_copy): Take extra parameter
4976 with result pointer. Fill in name of locale from which to copy.
4977 Correctly read token after `END'.
4979 * locale/programs/localedef.c (main): Correct handling copy.
4980 (add_to_readlist): Take extra parameter which says whether we
4981 are supposed to read the file or not.
4982 (find_locale): Call add_to_readlist with extra parameter set to 0.
4984 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
4985 instead of wrong number in array definitions.
4986 (add_to_readlist): Update prototype.
4988 * locale/programs/locfile.c (locfile_read): Mark categories not
4989 available in source file as read.
4990 (write_all_categories): Fix typo.
4992 * locale/programs/locales.h: Removed.
4994 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4996 * elf/elf.h (SHF_MASKOS): Added.
4998 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5000 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5002 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5004 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5006 * configure.in: Fix make version test for make 3.77.95 and later
5008 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5010 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5012 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5014 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5017 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5019 1999-09-09 Andreas Schwab <schwab@suse.de>
5021 * elf/link.h: Fix comment.
5023 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5025 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5027 * math/math.h: Pretty print.
5029 1999-09-10 Andreas Schwab <schwab@suse.de>
5031 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5032 character variable on bigendian platforms without unaligned memory
5035 1999-09-07 Cristian Gafton <gafton@redhat.com>
5037 * sysdeps/unix/sysv/linux/sys/raw.h: New file
5038 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5039 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5041 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5043 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5045 * time/ap.c: Removed. It was not used.
5046 * time/date.c: Likewise.
5047 * sysdeps/unix/nlist.c: Likewise.
5048 * sysdeps/generic/nlist.c: Likewise.
5049 * sysdeps/generic/varargs.h: Likewise.
5050 * stdio-common/scanf11.c: Likewise.
5051 * stdio-common/scanf6.c: Likewise.
5052 * scripts/=__ify: Likewise.
5053 * scripts/printsources: Likewise.
5054 * resolv/getnetnamadr.c: Likewise.
5055 * posix/id.c: Likewise.
5056 * misc/ioctltst.c: Likewise.
5057 * misc/nlist.h: Likewise.
5058 * math/test-math.h: Likewise.
5059 * include/nlist.h: Likewise.
5061 1999-09-06 Andreas Schwab <schwab@suse.de>
5063 * time/tzset.c (compute_change): Replace slow loop to compute T by
5066 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5068 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5069 escape sequences out even if the character itself does not fit
5072 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5074 1999-08-31 H.J. Lu <hjl@gnu.org>
5076 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5078 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
5080 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5081 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5082 (_hurd_priority_which_map):
5084 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
5086 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5088 1999-09-03 Andreas Schwab <schwab@suse.de>
5090 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5091 fork from __syscall_fork to __libc_fork.
5092 * posix/Versions: Add __libc_fork and __vfork to version
5095 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5097 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5098 dependencies in sort.
5100 1999-09-01 H.J. Lu <hjl@gnu.org>
5102 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5104 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5105 <sys/user.h> instead of <asm/user.h>.
5107 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
5109 * elf/elf.h: Update PARISC-specific flags and symbolic names.
5111 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
5113 * elf/elf.h: Update PARISC relocations.
5115 1999-08-31 Scott Bambrough <scottb@netwinder.org>
5117 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5118 #ifdef statement to prevent it from being included twice.
5119 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5120 #include <bits/armsigctx.h>.
5122 1999-08-31 Andreas Schwab <schwab@suse.de>
5124 * locale/C-collate.c: Add missing initialisations.
5125 * locale/C-ctype.c: Likewise.
5127 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
5129 * time/strftime.c (my_strftime): Remove unneeded variable len.
5131 * time/strptime.c: Undo last change.
5133 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
5135 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5136 Change charset.h to charmap.h.
5137 (categories): Add new categories. Leave out collate for now.
5139 * locale/categories.def: Add definitions for new categories.
5140 * locale/langinfo.h: Likewise.
5141 * locale/locale.h: Likewise.
5142 * locale/C-address.c: New file.
5143 * locale/C-identification.c: New file.
5144 * locale/C-measurement.c: New file.
5145 * locale/C-name.c: New file.
5146 * locale/C-paper.c: New file.
5147 * locale/C-telephone.c: New file.
5148 * locale/lc-address.c: Likewise.
5149 * locale/lc-identification.c: Likewise.
5150 * locale/lc-measurement.c: Likewise.
5151 * locale/lc-name.c: Likewise.
5152 * locale/lc-paper.c: Likewise.
5153 * locale/lc-telephone.c: Likewise.
5154 * locale/C-ctype.c: Update for locale rewrite.
5155 * locale/C-messages.c: Likewise.
5156 * locale/C-monetary.c: Likewise.
5157 * locale/C-time.c: Likewise.
5158 * locale/lc-collate.c: Likewise.
5159 * locale/lc-ctype.c: Likewise.
5160 * locale/lc-monetary.c: Likewise.
5161 * locale/lc-time.c: Likewise.
5162 * locale/localeinfo.h: Likewise.
5163 * locale/newlocale.c: Likewise.
5164 * locale/setlocale.c: Likewise.
5165 * locale/weight.h: Likewise.
5166 * locale/findlocale.c: Unconditionally use mmap.
5167 Handle new categories.
5168 * locale/loadlocale.c: Likewise.
5169 * locale/iso-3166.def: New file.
5170 * locale/iso-639.def: New file.
5171 * locale/programs/charmap-kw.gperf: Add new keywords.
5172 * locale/programs/locfile-kw.gperf: Likewise.
5173 * locale/programs/locfile-token.h: Define new tokens.
5174 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5175 * locale/programs/charmap.h: New file.
5176 * locale/programs/charset.h: Removed.
5177 * locale/programs/config.h: Add __LC_LAST.
5178 * locale/programs/lc-address.c: New file.
5179 * locale/programs/lc-identification.c: New file.
5180 * locale/programs/lc-measurement.c: New file.
5181 * locale/programs/lc-name.c: New file.
5182 * locale/programs/lc-paper.c: New file.
5183 * locale/programs/lc-telephone.c: New file.
5184 * locale/programs/lc-collate.c: Update for locale rewrite.
5185 * locale/programs/lc-ctype.c: Likewise.
5186 * locale/programs/lc-messages.c: Likewise.
5187 * locale/programs/lc-monetary.c: Likewise.
5188 * locale/programs/lc-numeric.c: Likewise.
5189 * locale/programs/lc-time.c: Likewise.
5190 * locale/programs/locale.c: Likewise.
5191 * locale/programs/localedef.c: Likewise.
5192 * locale/programs/locfile.c: Likewise.
5193 * locale/programs/repertoire.c: Likewise.
5194 * locale/programs/repertoire.h: Likewise.
5195 * locale/programs/locfile.c: Update prototypes.
5196 Update handle_copy definition.
5197 * locale/programs/linereader.c: Add handling of wide char strings and
5198 new definition file syntax.
5199 * locale/programs/linereader.h (struct token): Add elements for wide
5201 * locale/programs/locale-spec.c: Disable handling of collation
5203 * locale/programs/simple-hash.h: Cleanup.
5204 * locale/programs/stringtrans.h: Handle quite of end of line.
5205 * string/strcoll.c: Fall back on strcmp for now.
5206 * string/strxfrm.c: Fall back on strncpy/strlen for now.
5207 * time/strftime.c: Use new wide character data for wcsftime.
5208 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5209 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5211 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5212 compiling for i386 to avoid i686-like GOT pointer computation.
5214 * db2/db_int.h: Change tsl_t type to u_int32_t.
5215 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5216 * db2/mutex/alpha.h: New file.
5217 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
5218 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5220 Patches by Richard Henderson.
5222 * stdlib/tst-environ.c: Add cast to avoid warning.
5223 * timezone/test-tz.c: Use setenv instead of putenv.
5225 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5227 * manual/libc.texinfo: Update version and date.
5229 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5231 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5232 (File System Interface): Correct entry.
5233 (Permission Bits): Add missing commata after @xref.
5235 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5237 * timezone/tst-timezone.c (main): Don't pass const strings to
5238 putenv to avoid warnings.
5240 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5242 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
5244 * nis/Versions: Add _nss_*_getipnodebyname_r.
5245 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5246 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5247 * nss/Versions: Add _nss_files_getipnodebyname_r.
5249 1999-08-28 H.J. Lu <hjl@gnu.org>
5251 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5254 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5256 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5258 * inet/netinet/in.h: Likewise.
5259 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5260 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5262 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
5264 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5265 thresholds for SUID binaries. [PR libc/1277]
5267 * posix/regexbug1.c: Add one more similar case.
5269 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5271 * manual/install.texi (Running make install): Give examples for
5272 timezone and locale installation.
5274 1999-08-28 Zack Weinberg <zack@bitmover.com>
5276 * glibcbug.in: Get CCVERSION from autoconf substitution.
5277 * configure.in: Calculate and substitute CCVERSION.
5279 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5281 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5282 partially reverting a patch from 1998-12-29. We just can't change
5283 the flags, kernels with different flags lead to
5286 1999-08-26 Andreas Schwab <schwab@suse.de>
5288 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5290 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5292 * inet/rexec.c (rexec): Free memory if strings were allocated in
5293 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
5295 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5297 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5299 * manual/argp.texi: Fixing language and typos.
5300 * manual/conf.texi: Likewise.
5301 * manual/contrib.texi: Likewise.
5302 * manual/ctype.texi: Likewise.
5303 * manual/filesys.texi: Likewise.
5304 * manual/install.texi: Likewise.
5305 * manual/job.texi: Likewise.
5306 * manual/lang.texi: Likewise.
5307 * manual/llio.texi: Likewise.
5308 * manual/locale.texi: Likewise.
5309 * manual/math.texi: Likewise.
5310 * manual/nss.texi: Likewise.
5311 * manual/pipe.texi: Likewise.
5312 * manual/signal.texi: Likewise.
5313 * manual/socket.texi: Likewise.
5314 * manual/stdio.texi: Likewise.
5315 * manual/sysinfo.texi: Likewise.
5316 * manual/users.texi: Likewise.
5317 Patches by Neil Booth <NeilB@earthling.net>.
5319 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5321 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5322 unsigned to avoid warning. [PR libc/1271].
5324 * conform/conformtest.pl: Allow testing regex.h which requires
5325 sys/types.h being included.
5327 * conform/data/regex.h-data: Allow *_t types.
5328 * conform/data/pwd.h-data: Likewise.
5329 * conform/data/sched.h-data: Likewise.
5330 * conform/data/pthread.h-data: Likewise.
5331 * conform/data/search.h-data: Likewise.
5333 * misc/search.h: Avoid namespace pollution.
5335 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5336 pwd.h, and pthread.h.
5337 * conform/data/pthread.h-data: New file.
5338 * conform/data/pwd.h-data: New file.
5339 * conform/data/regex.h-data: New file.
5340 * conform/data/sched.h-data: New file.
5341 * conform/data/search.h-data: New file.
5343 * NAMESPACE: Add REG_ for regex.h.
5345 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5348 * configure.in (libc_cv_asm_global_directive): Indent .text in
5349 test code so that the lame HPUX compiler recognizes it.
5350 * sysdeps/hppa/bits/endian.h: New file.
5351 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5352 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5353 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5354 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5356 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5357 Patch by John Tobey <jtobey@banta-im.com>.
5359 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5361 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5362 old_siocfifconf definition to toplevel.
5363 (__protocol_available): Remove old_siocfifconf definition.
5365 1999-08-25 Mark Kettenis <kettenis@gnu.org>
5367 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5368 really dealing with a master pseudo terminal, and really returning
5369 the name of the associated slave pseudo terminal by checking the
5371 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5372 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5374 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5376 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5377 underscore in _llseek entry.
5379 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5382 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5383 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5385 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5386 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5388 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5390 * inet/Makefile (routines): Add getipnodebynm.
5391 * inet/getipnodebynm.c: New file.
5392 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5394 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5395 EXTRA_ARGS_VALUE is not already done.
5396 (internal_getent): Allow extra parameters and pass them to parse_line.
5397 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5398 (_nss_files_get##name##_r): Likewise.
5399 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5400 and EXTRA_ARGS_VALUE to pass flags and type to parser.
5401 Add getipnodebyname function.
5402 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5403 EXTRA_ARGS_VALUE is not already done.
5404 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5405 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5407 (_nss_db_get##name##_r): Pass extra parameters to lookup.
5408 (_nss_db_get,ENTNAME_r): Likewise.
5409 * sysdeps/generic/if_index.c (__protocol_available): New function.
5410 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5412 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5414 * login/pty-private.h: Move to...
5415 * sysdeps/generic/pty-private.h: ...here.
5416 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
5418 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5421 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5424 * conform/conformtest.pl (@headers): Add monetary.h-data,
5425 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5426 * conform/data/monetary.h-data: New file.
5427 * conform/data/mqueue.h-data: New file.
5428 * conform/data/ndbm.h-data: New file.
5429 * conform/data/nl_types.h.h-data: New file.
5430 * conform/data/poll.h-data: New file.
5432 * stdio-common/Makefile (test): Add tst-cookie.
5433 * stdio-common/tst-cookie.c: New file.
5435 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5436 changed in last patch. Reported by Ralf Baechle.
5438 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5440 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5442 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5443 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5445 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5447 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5450 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5452 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5454 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5456 * misc/libgen.h: Don't take basename macro as taking arguments.
5458 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5460 * sysdeps/i386/bits/huge_val.h: Likewise.
5461 * sysdeps/i386/bits/huge_val.h: Likewise.
5462 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5463 * sysdeps/m68k/bits/huge_val.h: Likewise.
5464 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5465 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5467 * conform/Makefile: New file.
5468 * conform/conformtest.pl: New file.
5469 * conform/data/aio.h-data: New file.
5470 * conform/data/assert.h-data: New file.
5471 * conform/data/cpio.h-data: New file.
5472 * conform/data/ctype.h-data: New file.
5473 * conform/data/dirent.h-data: New file.
5474 * conform/data/dlfcn.h-data: New file.
5475 * conform/data/errno.h-data: New file.
5476 * conform/data/fcntl.h-data: New file.
5477 * conform/data/float.h-data: New file.
5478 * conform/data/fmtmsg.h-data: New file.
5479 * conform/data/fnmatch.h-data: New file.
5480 * conform/data/ftw.h-data: New file.
5481 * conform/data/glob.h-data: New file.
5482 * conform/data/grp.h-data: New file.
5483 * conform/data/iconv.h-data: New file.
5484 * conform/data/inttypes.h-data: New file.
5485 * conform/data/iso646.h-data: New file.
5486 * conform/data/langinfo.h-data: New file.
5487 * conform/data/libgen.h-data: New file.
5488 * conform/data/locale.h-data: New file.
5489 * conform/data/math.h-data: New file.
5491 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5493 * posix/execvp.c (execvp): Correct copying of file name.
5495 1999-08-23 Mark Kettenis <kettenis@gnu.org>
5497 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5499 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5501 * stdio-common/Makefile: Move addition to routines to the right place.
5503 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5505 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
5506 since mips*-linux has ECANCELED.
5508 1999-08-23 Andreas Schwab <schwab@suse.de>
5510 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5511 SIGCONTEXT_EXTRA_ARGS.
5512 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5513 * sysdeps/generic/sigcontextinfo.h: Likewise.
5514 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5515 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5516 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5517 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5521 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5523 * posix/regexbug1.c: Make it an error if the test fails.
5525 1999-08-23 Andreas Schwab <schwab@suse.de>
5527 * posix/regex.c (re_match_2_internal): Correct check for charset
5528 after exactn in loop.
5530 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
5532 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5533 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5534 Patch by Joel Klecker.
5536 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5537 (__gconv_find_transform): Update prototype.
5538 (__gconv_open): Likewise.
5539 * iconv/gconv_open.c: Take extra parameter and pass it to
5540 __gconv_find_transform.
5541 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5542 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
5544 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5545 * wcsmbs/wcsmbsload.c: Likewise.
5546 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5548 * intl/gettextP.h: Likewise.
5549 * intl/loadmsgcat.c: Likewise.
5551 * posix/regexbug1.c: New file.
5552 * posix/Makefile (tests): Add regexbug1.
5554 1999-08-22 Mark Kettenis <kettenis@gnu.org>
5556 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5557 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5558 installing PORT in the descriptor cell.
5560 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
5562 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5563 TIMEOUT as outputs of the asm to indicate that the signal thread
5565 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5566 mach_msg if only sending or only receiving (i.e., not an RPC). When
5567 making an RPC that might get interrupted, save OPTION and the portion
5568 of the message buffer that gets clobbered by an EINTR reply message,
5569 and properly restore them before attempting to retry the request
5572 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5574 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5575 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5576 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5577 stdio is used instead of libio.
5578 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5579 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5580 to make the code compile again when stdio is used instead of
5582 (vfprintf): Only check for correct orientation if ORIENT is
5584 * stdio-common/Makefile (routines): Only add vfwprintf and
5585 vfwscanf if we're using libio.
5587 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5589 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5590 any additional prototype just as we do for libio.
5592 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5594 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5595 TZNAME_MAX. These limits are not X/Open specific.
5596 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5599 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5601 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5602 UIO_MAXIOV is left undefined in sys/uio.h.
5603 * stdio-common/stdio_lim.h.in: Adapt for change above.
5605 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5607 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5608 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5609 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5611 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
5613 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5615 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
5617 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5619 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5620 call. It should not be necessary andis harmful for Alpha.
5622 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5623 type. [PR libc/1269]
5625 * posix/execvp.c (execvp): Allocate array name of correct size.
5626 Optimize inner loop. Use execve directly, not execv.
5628 * elf/elf.h: Corrected SHT_ values from new draft.
5630 * intl/gettextP.h (struct loaded_domain): Add conv element.
5631 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5632 Instead of returning found message directly convert it using iconv
5633 if a conversion was found when opening the file.
5634 * intl/loadinfo.h: Protect against multiple inclusion.
5635 Declare _nl_find_msg.
5636 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5637 in the message file and if necessary find approrpiate
5638 conversion to match currently selected charset.
5639 * include/libintl.h: Declare __dgettext and __dcgettext.
5640 * include/iconv.h: New file.
5642 1999-08-20 Andreas Schwab <schwab@suse.de>
5644 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5646 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
5648 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
5649 all threads [PR libc/1223].
5651 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5654 * configure.in: Search for programs with prefix gnu* and g* first.
5657 * dirent/Makefile (routines): Add getdents64.
5658 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5660 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5661 compiled with _FILE_OFFSET_BITS=64.
5662 * sysdeps/generic/getdents64.c: New file.
5663 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5664 __lseek for getdirentries64 definition.
5666 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5668 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5669 _FILE_OFFSET_BITS=64.
5671 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5674 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5675 after we have the lock.
5677 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5678 Patch by Richard Henderson.
5680 1999-08-19 Andreas Schwab <schwab@suse.de>
5682 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5683 and call _IO_fwide, to get the wide stream state initialized
5684 correctly. Don't set _IO_JUMPS.
5685 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5686 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
5687 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5690 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5692 * math/libm-test.c (jn_test): Fix typo in description.
5693 (erfc_test): Add some more tests.
5694 (erf_test): Add some more tests.
5696 1999-08-19 Andreas Schwab <schwab@suse.de>
5698 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5699 expression using $(exceptions).
5701 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5703 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5705 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5706 allocated so far. [PR libc/1261].
5708 * math/libm-test.c (j0_test): Adjust deltas for m68k.
5709 (jn_test): Likewise.
5711 * dirent/dirent.h: Only define ino64_t if not already done.
5712 * posix/sys/types.h: Likewise.
5714 * ctype/ctype.h: Avoid useless #endif #if pairs.
5716 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5717 (seekdir): Fix type of second parameter.
5718 * sysdeps/generic/seekdir.c: Likewise.
5719 * sysdeps/mach/hurd/seekdir.c: Likewise.
5720 * sysdeps/unix/seekdir.c: Likewise.
5722 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5724 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5726 * manual/install.texi (Configuring and compiling): Clarify ix86
5729 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5731 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5732 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5733 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5734 stdio_lim.h. Define LONG_BIT and WORD_BIT.
5736 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5738 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5740 * misc/search.h: Don't define NULL.
5742 * posix/sys/types.h: Define blksize_t if it hasn't happened.
5743 Only define key_t and blkcnt_t if it hasn't happened before.
5744 Define blksize_t if not happened before.
5745 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
5746 * sysdeps/generic/bits/types.h: Define __blksize_t.
5747 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5748 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5749 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5750 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5751 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5752 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5754 (struct stat64): Likewise.
5755 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5756 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5757 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5758 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5759 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5760 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5761 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5763 * stdlib/getsubopt.c: Correct type of second argument.
5764 * stdlib/stdlib.h: Likewise.
5766 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
5769 * sysdeps/generic/putenv.c: Correct type of parameter.
5770 * stdlib/stdlib.h: Likewise.
5772 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5773 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5774 * sysvips/sys/msg.h: Likewise.
5776 * sysdeps/generic/semop.c: Correct type of third parameter.
5777 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5778 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
5781 * sysdeps/generic/shmget.c: Correct type of second parameter.
5782 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5783 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
5784 Declare __getpagesize here.
5786 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5788 * sysdeps/gnu/bits/ipc.h: Likewise.
5789 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5790 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5791 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5792 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5795 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5797 * debug/versions: Export __cyg_profile_func_enter and
5798 __cyg_profile_func_exit.
5800 * math/bits/mathcalls.h: Pretty print.
5802 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5804 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5805 case for new tzdata.
5807 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5809 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5810 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5811 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5812 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5814 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5816 * sysdeps/generic/ualarm.c (ualarm): Change return value and
5817 parameter type to useconds_t.
5818 * sysdeps/unix/bsd/ualarm.c: Likewise.
5820 * sysdeps/generic/usleep.c (usleep): Change parameter type to
5822 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5823 * sysdeps/mach/usleep.c: Likewise.
5825 * locale/weight.h: Include <errno.h>.
5827 * posix/sys/types.h: Define type useconds_t if not done already.
5828 * posix/unistd.h: Likewise. Use this in ualarm and usleep
5830 * sysdeps/generic/bits/types.h: Define type __useconds_t.
5831 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5832 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5833 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5834 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5835 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5837 * dirent/dirent.h (telldir): Change return type to long int.
5838 * sysdeps/generic/telldir.c: Likewise.
5839 * sysdeps/mach/hurd/telldir.c: Likewise.
5840 * sysdeps/unix/telldir.c: Likewise.
5841 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
5843 * locale/weight.h: Set errno if an invalid character is found.
5845 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5847 * math/libm-test.c (erfc_test): Add test for example from PR
5849 (erf_test): Likewise.
5851 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5853 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5854 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
5856 * timezone/private.h: Update from tzcode1999e.
5857 * timezone/zic.c: Likewise.
5859 * timezone/africa: Update from tzdata1999e.
5860 * timezone/antarctica: Likewise.
5861 * timezone/asia: Likewise.
5862 * timezone/australasia: Likewise.
5863 * timezone/europe: Likewise.
5864 * timezone/leapseconds: Likewise.
5865 * timezone/northamerica: Likewise.
5866 * timezone/southamerica: Likewise.
5868 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5869 and write correct number of bytes in case of %ls with precision.
5870 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5872 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
5874 * nscd/nscd.init: Test for kernel version and make LSB compliant.
5875 Patch by Christian Gafton.
5877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5878 O_RSYNC. Patch by Christian Gafton.
5880 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5881 possibly unterminated strings for %ls when a precision is
5883 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5885 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5886 update_conversion_ptrs.
5887 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5889 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5891 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5892 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5894 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5895 * wcsmbs/tst-wcsnlen.c: New file.
5897 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5899 * libio/ioputs.c (_IO_puts): Add missing brace.
5901 1999-07-20 Geoff Keating <geoffk@cygnus.com>
5903 * math/libm-test.c: Tweak deltas for a clean run on ppc.
5905 1999-08-10 H.J. Lu <hjl@gnu.org>
5907 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
5908 (vfprintf): Likewise.
5909 * stdio-common/vfscanf.c (ORIENT): Likewise.
5910 * libio/genops.c (__underflow): Likewise.
5911 (__uflow): Likewise.
5912 * libio/iofputs.c (_IO_fputs): Likewise.
5913 * libio/ioftell.c (_IO_ftell): Likewise.
5914 * libio/iofwrite.c (_IO_fwrite): Likewise.
5915 * libio/ioputs.c (_IO_puts): Likewise.
5916 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5917 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5919 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5921 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
5923 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5925 * manual/job.texi (Process Group Functions): Document getpgid,
5928 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5930 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
5931 initialize si_pid from it.
5932 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
5934 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
5935 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
5936 (struct requestlist): Likewise.
5937 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
5938 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
5940 (__aio_notify): Pass caller PID to __aio_notify_only.
5941 * rt/aio_suspend.c: Initialize caller_pid.
5942 * rt/lio_listio.c: Likewise.
5943 * rt/lio_listio64.c: Likewise.
5945 * rt/lio_listio.c: If nothing has to be done free mutex before
5947 * rt/lio_listio64.c: Likewise.
5949 1999-08-10 H.J. Lu <hjl@gnu.org>
5951 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
5954 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5956 * elf/elf.h: Define ElfXX_Versym.
5957 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
5960 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
5961 for string output correctly in the wide character case.
5962 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5964 * intl/locale.alias: Add catalan.
5966 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5968 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
5970 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5972 * po/pt_BR.po: New file.
5974 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5976 * math/libm-test.c (yn_test): Adjust deltas for i386.
5977 (ccosh_test): Likewise.
5978 (jn_test): Likewise.
5980 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5982 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
5984 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5986 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
5989 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5991 * configure.in: install-sh lives now in scripts subdir.
5992 PR libc/1255 (bug 4).
5994 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5996 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6001 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
6003 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6005 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6007 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6010 1999-08-10 Andreas Schwab <schwab@suse.de>
6012 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6015 1999-08-09 Scott Bambrough <scottb@netwinder.org>
6017 * elf/elf.h: Added definition of ELFOSABI_ARM.
6018 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6019 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6020 object's header and ABI values are acceptable.
6021 (VALID_ELF_HEADER): New macro; provide default definition.
6022 (VALID_ELF_OSABI): New macro; provide default definition.
6023 (VALID_ELF_ABIVERSION): New macro; provide default definition.
6024 * sysdeps/arm/dl-machine.h Define ARM specific versions of
6025 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6027 1999-08-09 Andreas Schwab <schwab@suse.de>
6029 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6031 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
6033 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6035 1999-08-09 Andreas Schwab <schwab@suse.de>
6037 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6039 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
6041 * sysdeps/ieee754/ieee754.h: Handle platforms with special
6042 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
6044 * string/bits/string2.h: Mark void* operations as extensions.
6045 * sysdeps/i386/i486/bits/string.h: Likewise.
6047 * debug/Makefile (routines): Add noophooks.
6048 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
6049 * debug/noophooks.c: New file.
6050 * debug/pcprofile.c: New file.
6052 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6054 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6055 systems which allow using the functions also on non-seekable
6058 * resolv/res_send.c (res_send): Recompute timeout for poll for
6059 each jump to `wait'.
6061 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6062 braces to avoid warnings.
6063 (IN6ADDR_LOOPBACK_INIT): Likewise.
6065 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6068 1999-08-06 H.J. Lu <hjl@gnu.org>
6070 * malloc/malloc.c: Initialize __libc_pagesize early.
6072 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6074 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6077 * inet/Makefile (tests): Add tst-ipnode.
6078 * inet/tst-ipnode.c: New file.
6080 1999-08-06 Andreas Schwab <schwab@suse.de>
6082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6084 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6085 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6086 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6088 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6089 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6091 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
6093 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6094 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6095 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6097 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6099 * resolv/res_send.c (res_send): Don't test file descriptor for
6100 range, we use poll now. [PR libc/1240]
6102 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
6104 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6105 2.0 defined if they are not available.
6107 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
6109 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6112 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
6114 * rt/aio_read.c: Fix return value.
6115 * rt/aio_read64.c: Likewise.
6116 Reported by Christian Gafton.
6118 * rt/aio_write.c: Fix return value.
6119 * rt/aio_write64.c: Likewise.
6120 * rt/aio_fsync.c: Likewise.
6122 * rt/aio_misc.c: Set errno at correct place.
6124 * rt/aio_fsync.c: Test OP parameter for correct values.
6126 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6128 1999-08-04 Andreas Schwab <schwab@suse.de>
6130 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6131 Initialize result to one.
6132 (GET_NPROCS_CONF_PARSER): Likewise.
6134 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
6136 * inet/ether_hton.c: Pass errno pointer to NSS function.
6137 * inet/getnetgrent_r.c: Likewise.
6138 Reported by Marty Leisner <leisner@rochester.rr.com>.
6140 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6142 * nis/nis_callback.c: Fix port problem on big-endian machines
6143 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6144 fields are always 32 bit.
6145 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6147 * nis/nss_nis/nis-service.c: Remove htons, port is always in
6149 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6151 1999-08-03 Andreas Schwab <schwab@suse.de>
6153 * sysdeps/posix/sigset.c: Unblock the signal after setting its
6154 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6155 avoid two calls to sigprocmask.
6157 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6159 * sysdeps/generic/s_nexttowardf.c: Fix typo.
6161 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
6163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6164 Only allow rt signal frames. No SA_SIGINFO signals will have the
6165 siginfo_t just not filled out with SI_NOINFO code.
6166 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6167 (register_dump): Take the above change into account.
6168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6169 (rt_signal_frame): Likewise.
6171 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6173 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6175 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6176 instead of select().
6178 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6180 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6181 nexttoward so something else so that aliasing works.
6183 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6185 * sysdeps/generic/math_ldbl.h: Fix typo.
6186 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6187 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6189 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6191 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
6193 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
6195 * elf/Makefile (tests): Add resolvfail. Add rules to build the
6197 * elf/resolvfail.c: New file.
6199 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6200 pass it to _dl_lookup_symbol.
6202 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6203 bit. Reword message.
6205 * dlfcn/dlerror.c: Make code thread-safe.
6207 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
6209 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6210 initializer in CHECK: a bit size, not the type code repeated!
6212 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6214 * string/tester.c: Add tests with constant arguments for strcpy
6217 1999-07-31 H.J. Lu <hjl@gnu.org>
6219 * string/bits/string2.h (__strcpy_small): Fix a typo.
6221 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6223 * Makeconfig (link-libc): Always define it, not only for shared
6226 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6227 * sysdeps/i386/fpu/e_powf.S: Likewise.
6228 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
6230 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6231 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
6233 1999-07-30 Andreas Schwab <schwab@suse.de>
6235 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6237 (__get_nprocs): Use it.
6238 (__get_nprocs_conf): Define as separate function if
6239 GET_NPROCS_CONF_PARSER is defined.
6240 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6242 * include/sys/sysinfo.h: New file.
6243 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6245 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6247 1999-07-30 H.J. Lu <hjl@gnu.org>
6249 * libio/iofflush.c (fflush_unlocked): Weak aliase if
6250 _IO_MTSAFE_IO is not defined.
6251 * libio/clearerr.c (clearerr_unlocked): Likewise.
6252 * libio/feof.c (feof_unlocked): Likewise.
6253 * libio/ferror.c (ferror_unlocked): Likewise.
6254 * libio/fputc.c (fputc_unlocked): Likewise.
6255 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6256 * libio/getchar.c (getchar_unlocked): Likewise.
6257 * libio/putc.c (putc_unlocked): Likewise.
6258 * libio/putchar.c (putchar_unlocked): Likewise.
6260 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
6262 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6263 svc_max_pollfd and svc_pollfd to GLIBC_2.2
6264 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6265 for svc_run/poll interface.
6266 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6267 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6269 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6270 rewrite other svc_getreq* functions to use svc_getreq_common.
6271 * sunrpc/svc_run.c: Use poll().
6273 1999-07-30 Andreas Schwab <schwab@suse.de>
6275 * Makerules: Put sysd-versions and Versions.all on
6276 postclean-generated instead of common-generated.
6278 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6280 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6281 around and CLOCKS_PER_SEC is 1e6.
6283 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
6285 * configure.in: Add test for local label subtraction.
6286 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6287 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6288 labels to reduce number of runtime relocations and move jump
6289 tables in read-only seciton.
6291 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
6292 assignment cannot be moved.
6294 1999-07-29 H.J. Lu <hjl@gnu.org>
6296 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6297 if no threads are used.
6299 * libio/iofwrite.c: Add weak alias for _unlocked function if not
6301 * libio/iofread.c: Likewise.
6302 * libio/iofgets.c: Likewise.
6303 * libio/iofputs.c: Likewise.
6305 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6308 * stdlib/mbtowc.c: Include <string.h>.
6309 * stdlib/wctomb.c: Likewise.
6310 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6311 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6313 * misc/mntent_r.c: Include <alloca.h>.
6314 * elf/dl-runtime.c: Likewise.
6316 1999-07-29 Andreas Schwab <schwab@suse.de>
6318 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6319 all floating point formats supported by gcc. Error out for
6320 unhandled precisions.
6321 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6322 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6323 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6325 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
6327 * sysdeps/generic/setenv.c: Move setenv code in new function
6328 __add_to_environ. Add new parameter specifying already
6329 constructed string for the environment.
6330 (setenv): Call __add_to_environ with new parameter set to NULL.
6331 (unsetenv): Really test all elements for duplicated name. Missed those
6332 cases where the two are following each other.
6333 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6334 * include/stdlib.h: Add prototype of __add_to_environ.
6335 * stdlib/tst-environ.c: New file.
6336 * stdlib/Makefile (tests): Add tst-environ.
6338 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6340 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6341 argument in realloc call.
6342 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6344 Reported by Danny Braniss <danny@cs.huji.ac.il>.
6346 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6348 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6350 * misc/efgcvt_r.c: Likewise.
6351 * misc/qefgcvt.c: Likewise.
6352 * misc/qefgcvt_r.c: Likewise.
6353 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6356 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6358 * manual/math.texi (FP Function Optimization): Mention drawbacks.
6360 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6362 * stdlib/mblen.c: Use static state.
6363 Reported by Bruno Haible <haible@ilog.fr>.
6365 * stdlib/mbtowc.c: Reset state for s == NULL.
6366 * stdlib/wctomb.c: Likewise.
6367 Reported by Bruno Haible <haible@ilog.fr>.
6369 * stdlib/mbstowcs.c: Do not use global state.
6370 Reported by Bruno Haible <haible@ilog.fr>.
6372 1999-07-28 Andeas Schwab <schwab@suse.de>
6374 * iconvdata/Makefile: Don't try to run iconv tests when cross
6377 1999-07-27 Mark Kettenis <kettenis@gnu.org>
6379 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6380 assembler code to switch stacks and call init1 outside this
6381 function. Inside `init' the code was optimized away by gcc
6382 2.95 since it was "clearly" unreachable.
6383 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6384 Do something similar for the trampoline code.
6386 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
6388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6389 for the hinted protocol.
6391 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6393 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6395 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6397 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6398 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6399 * elf/dl-load.c (_dl_map_object): Likewise.
6400 * elf/do-lookup.h (do_lookup*): Likewise.
6401 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6402 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6404 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6406 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6408 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6409 * sysdeps/generic/getpgrp.c: Likewise.
6410 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6411 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6412 Patch by John Tobey <jtobey@banta-im.com>.
6414 * sysdeps/posix/wait3.c: Help compiling in presence of
6415 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
6417 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6419 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6420 as much as possible. Declare them using .register pseudo-op if they
6422 * sysdeps/sparc/sparc64/lshift.S: Likewise.
6423 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6424 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6425 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6426 * sysdeps/sparc/sparc64/memset.S: Likewise.
6427 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6428 * sysdeps/sparc/sparc64/rshift.S: Likewise.
6429 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6430 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6431 * sysdeps/sparc/sparc64/strcat.S: Likewise.
6432 * sysdeps/sparc/sparc64/strchr.S: Likewise.
6433 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6434 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6435 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6436 * sysdeps/sparc/sparc64/strlen.S: Likewise.
6437 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6438 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6439 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6440 * sysdeps/sparc/sparc64/strspn.S: Likewise.
6441 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6442 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6443 Optimize trampoline code for .plt4-.plt32767.
6444 Fix trampolines for .plt32768+.
6446 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6448 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6450 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6451 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6452 libc's private use (as assembly routine clobber it anyway).
6454 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6456 * README.template (configurations): The crypt add-on has a new
6458 * manual/install.texi (Installation): Likewise.
6460 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6462 * time/time.h: Add forward for struct sigevent. Unix98 maybe
6463 requires to have a full definition but we wait for a bug report
6464 based on the test suite.
6466 * sysdeps/generic/clock_getres.c: New file.
6467 * sysdeps/generic/clock_gettime.c: New file.
6468 * sysdeps/generic/clock_settime.c: New file.
6469 * sysdeps/generic/timer_create.c: New file.
6470 * sysdeps/generic/timer_delete.c: New file.
6471 * sysdeps/generic/timer_getoverr.c: New file.
6472 * sysdeps/generic/timer_gettime.c: New file.
6473 * sysdeps/generic/timer_settime.c: New file.
6475 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6476 CLOCK_REALTIME, and TIMER_ABSTIME.
6477 * sysdeps/mach/hurd/bits/time.h: Likewise.
6478 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6479 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6481 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6483 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6486 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6488 * time/Makefile (routines): Add clock_getres, clock_gettime,
6489 clock_setres, timer_create, timer_delete, timer_getoverr,
6490 timer_gettime, and timer_settime.
6492 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6493 POSIX.1b. Add prototypes for clock and timer functions.
6495 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
6497 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6498 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6500 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6502 * stdlib/wcstombs.c: Do not use global state.
6503 Reported by Bruno Haible <haible@ilog.fr>.
6505 * wcsmbs/wctob.c: Avoid sign extension when returning character.
6506 Reported by Bruno Haible <haible@ilog.fr>.
6508 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6509 of wide characters to convert do it right and don't overestimate
6510 by multiplying with MB_CUR_MAX.
6511 Reported by Bruno Haible <haible@ilog.fr>.
6513 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
6515 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6516 (__stpcpy_small): Likewise.
6517 Union has no __uc member but __c.
6519 1999-07-26 Andreas Schwab <schwab@suse.de>
6521 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6523 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6525 * libio/iofclose.c (_IO_new_fclose): Only fall back on
6526 _IO_old_fclose if doing versioning.
6528 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6530 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6532 * misc/mntent_r.c: Allow spaces and tabs in entry names by
6533 encoding these characters.
6534 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6536 * string/bits/string2.h: Fix aliasing problems.
6537 * sysdeps/i386/i486/bits/string.h: Likewise.
6538 * sysdeps/i386/bits/string.h: Likewise.
6540 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
6542 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6543 * elf/rtld.c (dl_main): Don't call malloc() between
6544 re-relocating the dynamic linker and running the application's crt0.
6546 1999-07-21 Paul D. Smith <psmith@gnu.org>
6548 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6549 glob.h to get __P() macro.
6551 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6553 (__strchrnul): This won't exist outside GLIBC, so create one.
6555 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6557 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6558 __ino64_t should be 32bit unsigned type on sparc32.
6559 Define __off64_t to __quad_t instead of __int64_t.
6560 Make __pic_pid_t unsigned on sparc32.
6562 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6564 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6567 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6569 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6570 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
6572 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
6574 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6577 * resolv/res_send.c: Add locks for res_send and res_close use.
6579 * elf/Makefile (dl-routines): Add preinit.
6580 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6581 * elf/link.h (struct link_map): Add new field l_preinitcount.
6582 * elf/dl-preinit.c: New file.
6583 * elf/dynamic-link.h: Initialize l_preinitcount.
6584 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6586 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6587 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
6589 * elf/dl-init.c: Handle DT_INIT_ARRAY.
6590 * elf/dynamic-link.h: Change parameters. Now only get link_map
6591 pointer. Calculate l_initcount.
6593 * elf/link.h (struct link_map): Add l_runpath_dirs.
6594 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6595 * elf/dl-load.c: Pretty print.
6596 (decompose_rpath): Take new parameter with info from where the path
6597 comes. Pass it the fillin_rpath.
6598 (_dl_init_paths): Initialize l_runpath_dirs.
6599 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6600 Search using RUNPATH after LD_LIBRARY_PATH.
6601 * elf/dl-support.c: Adjust comment.
6602 * elf/rtld.c: Adjust help message.
6604 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6606 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6609 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
6611 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6612 match BSD value; previous value of 1<<8 was a typo. I bet nothing
6613 ever used this, so I'm not going to worry about compatibility.
6614 [__USE_GNU] (IUCLC, OLCUC): New macros.
6616 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
6618 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6620 * elf/elf.h: Add ET_LOOS and ET_HIOS.
6621 Add various EM_* constants.
6622 Add SHN_LOOS and SHN_HIOS.
6623 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6624 Add SHF_MERGE and SHF_STRINGS.
6625 (ElfXX_Sym): Update description of st_other field.
6627 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6629 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6630 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6631 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6633 * posix/unistd.h: Move declaration of __libc_enable_secure to...
6634 * include/unistd.h: ...here.
6636 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6637 * elf/dl-deps.c (expand_dst): Likewise.
6639 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6640 based on DT_FLAGS value.
6642 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6643 Add test for symbols marked STV_HIDDEN.
6644 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6645 add undef_map. Compute reference_name locally. Update call to
6647 (_dl_lookup_symbol_skip): Likewise.
6648 (_dl_lookup_versioned_symbol): Likewise.
6649 (_dl_lookup_versioned_symbol_skip): Likewise.
6650 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6651 * elf/dl-runtime.c: Likewise.
6652 * elf/dl-sym.c: Likewise.
6653 * elf/dl-symbol.c: Likewise.
6654 * elf/ldsodefs.h: Adjust prototypes.
6656 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6657 handle appropriately. Add comment about DT_TEXTREL.
6658 * elf/dl-runtime.c: Likewise.
6660 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
6662 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6663 * elf/ldsodefs.h: Declare it.
6664 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6666 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
6667 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6668 (elf_machine_lazy_rel): Likewise.
6669 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6670 (elf_machine_lazy_rel): Likewise.
6671 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6672 (elf_machine_lazy_rel): Likewise.
6673 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6674 (elf_machine_lazy_rel): Likewise.
6675 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6676 (elf_machine_lazy_rel): Likewise.
6677 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6678 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6679 (elf_machine_lazy_rel): Likewise.
6680 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6681 (elf_machine_lazy_rel): Likewise.
6682 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6683 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6684 _dl_reloc_bad_type instead of _dl_signal_error.
6685 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6687 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6689 * sysdeps/mach/_strerror.c: Include <libintl.h>.
6691 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
6693 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6694 hurd_signal_preemptor matches but its `preemptor' field is null, use
6695 its `handler' field directly. This is to comply with behavior
6696 documented in <hurd/sigpreempt.h>.
6698 1999-07-21 Andreas Schwab <schwab@suse.de>
6700 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6701 when reading from write-only stream.
6702 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6703 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6705 1999-07-21 Andreas Schwab <schwab@suse.de>
6707 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6710 1999-07-21 Mark Kettenis <kettenis@gnu.org>
6712 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6714 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6716 (__libc_write): Call __pwrite instead of __pread.
6718 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6720 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6721 __vm_allocate calls.
6723 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
6724 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6726 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6727 _hurd_fd_read with new OFFSET argument set to -1.
6728 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6731 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
6733 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6734 descriptor table sent in the RPC.
6736 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6738 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
6739 bill@taniwha.org [PR libc/1211].
6741 1999-07-19 Andreas Schwab <schwab@suse.de>
6743 * libio/Makefile (routines): Add fwprintf.
6745 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6746 * math/w_sqrt.c: Moved to ...
6747 * sysdeps/generic/w_sqrt.c: ... here.
6748 * math/w_sqrtf.c: Moved to ...
6749 * sysdeps/generic/w_sqrtf.c: ... here.
6751 * Make-dist (generic-dirs): New variable.
6752 (try-sysdeps, +sysdep-names): Use it.
6753 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
6754 instead of $(lib)-routines.
6755 * elf/Makefile (distribute): Add dl-cache.h.
6756 * db2/Makefile (distribute): Add all new files.
6757 * iconvdata/Makefile (distribute): Don't distribute CVS
6759 * math/Makefile (distribute): Remove machine/endian.h, add
6761 * stdio-common/Makefile (distribute): Add _itowa.h.
6762 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6763 * sysdeps/gnu/Dist: Add eval.c
6764 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6765 dlfcn]: Add to this instead of libdl-routines.
6766 * sysdeps/ieee754/ldbl-128/Dist: New file.
6767 * sysdeps/mach/hurd/Dist: Add siglist.h
6768 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6770 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
6772 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6774 * inet/Makefile (routines): Add getipnodebyad and freehostent.
6775 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6776 * inet/freehostent.c: New file.
6777 * inet/getipnodebyad.c: New file.
6778 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6779 and getipnodebyname. The latter comes soon.
6780 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6781 Add support for getipnode* functions.
6783 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6784 Set h_aliases to NULL and not to a pointer to an array with a NULL
6785 pointer following XNS 5.2.
6787 * posix/sched.h: Remove internal interfaces.
6788 * include/sched.h: Add internal interfaces.
6790 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6792 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6794 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6795 and return an error in this case.
6796 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6799 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6801 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6802 1999-07-17 and adjust len parameter.
6803 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6804 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6805 * manual/socket.texi (Host Names): Likewise.
6806 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6807 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6809 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6810 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6811 (ht_gethostbyaddr): Likewise.
6812 (_gethtbyaddr): Likewise.
6814 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6816 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6818 * include/netdb.h: Likewise.
6819 * inet/gethstbyad.c: Correct type of len parameter.
6820 * inet/gethstbyad_r.c: Likewise.
6822 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6824 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
6826 * include/libc-symbol.h: Clean up definitions of weak_alias,
6827 strong_alias, symbol_version, etc. etc.
6828 * posix/getopt.h: Use ctype.h to get features.h included, and don't
6829 include it at all if __GNU_LIBRARY__ is already defined.
6831 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6833 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6835 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6837 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6838 type for tv_usec element.
6839 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6840 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6841 * sysdeps/generic/bits/time.h: Likewise.
6842 * sysdeps/mach/hurd/bits/time.h: Likewise.
6843 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6844 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6845 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6846 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6847 * sysdeps/generic/bits/types.h: Likewise.
6848 * posix/sys/types.h: Define suseconds_t for X/Open.
6850 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6852 * stdio-common/bug1.c: Avoid memory leak.
6854 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6855 program deterministic.
6856 * sysdeps/i386/fpu/e_powf.S: Likewise.
6857 * sysdeps/i386/fpu/e_powl.S: Likewise.
6859 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
6861 * math/Makefile: Add t_sincosl and k_sincosl support routines.
6862 * math/math_private.h (__kernel_sincosl): New declaration.
6863 * sysdeps/generic/t_sincosl.c: New file.
6864 * sysdeps/generic/k_sincosl.c: New file.
6865 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6866 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6867 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6868 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6869 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6870 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6872 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6875 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6877 * posix/unistd.h: Use __PMT for exit.
6879 1999-07-15 Philip Blundell <pb@nexus.co.uk>
6881 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6882 _outw, _outl): Added to GLIBC_2.1.2.
6884 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6886 * posix/fnmatch.h: Use __name instead of __string in prototype to
6887 allow use outside glibc.
6889 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
6891 * time/tst-strptime.c (main): Add one more test case. Produce
6892 output even when result is ok.
6894 * time/strptime.c (get_number): Handle number parsing more
6895 consistent with strftime. Only parse a given number of digits.
6896 (get_alt_number): Fix implementation. Was broken.
6897 (strptime_internal): Add third parameter to get_number and
6898 get_alt_number calls.
6900 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6902 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
6903 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
6904 try both 32bit and 64bit dynamic linker.
6905 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
6906 script on all sparc targets.
6908 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6910 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
6913 1999-07-13 Andreas Schwab <schwab@suse.de>
6915 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
6916 inlining. Fixes PR libc/1198.
6918 1999-07-14 Andreas Schwab <schwab@suse.de>
6920 * Makerules (common-generated): Don't prepend $(common-objpfx).
6922 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
6924 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
6925 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
6926 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
6927 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
6929 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6931 * sysdeps/arm/Implies: Likewise.
6932 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6933 ieee754/ldbl-96 instead of ieee754.
6934 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
6935 * sysdeps/generic/e_atanhl.c: New file.
6936 * sysdeps/generic/e_coshl.c: New file.
6937 * sysdeps/generic/e_sinhl.c: New file.
6938 * sysdeps/generic/e_gammal_r.c: New file.
6939 * sysdeps/generic/e_hypotl.c: New file.
6940 * sysdeps/generic/s_cbrtl.c: New file.
6941 * sysdeps/generic/s_asinhl.c: New file.
6942 * sysdeps/generic/s_tanhl.c: New file.
6943 * sysdeps/generic/w_expl.c: New file.
6944 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6946 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6947 ieee754/ldbl-96 instead of ieee754.
6948 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
6949 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
6951 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6953 * sysdeps/mips/mips64/Implies: Likewise.
6954 * sysdeps/powerpc/Implies: Likewise.
6955 * sysdeps/sparc/Implies: Remove.
6956 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
6958 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
6959 and ieee754/ldbl-128.
6961 * sysdeps/sparc/bits/wordsize.h: Remove.
6962 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
6963 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
6965 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
6966 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
6967 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
6968 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6969 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
6972 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
6973 of carries. Optimize.
6975 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
6976 * sysdeps/generic/e_exp10.c: ...here.
6977 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
6978 * sysdeps/generic/e_exp10f.c: ...here.
6979 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
6980 * sysdeps/generic/e_exp10l.c: ...here.
6981 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
6982 * sysdeps/generic/e_scalb.c: ...here.
6983 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
6984 * sysdeps/generic/e_scalbf.c: ...here.
6985 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
6986 * sysdeps/generic/e_scalbl.c: ...here.
6987 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
6988 * sysdeps/generic/s_cacos.c: ...here.
6989 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
6990 * sysdeps/generic/s_cacosf.c: ...here.
6991 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
6992 * sysdeps/generic/s_cacosh.c: ...here.
6993 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
6994 * sysdeps/generic/s_cacoshf.c: ...here.
6995 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
6996 * sysdeps/generic/s_cacoshl.c: ...here.
6997 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
6998 * sysdeps/generic/s_cacosl.c: ...here.
6999 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7000 * sysdeps/generic/s_casin.c: ...here.
7001 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7002 * sysdeps/generic/s_casinf.c: ...here.
7003 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7004 * sysdeps/generic/s_casinh.c: ...here.
7005 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7006 * sysdeps/generic/s_casinhf.c: ...here.
7007 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7008 * sysdeps/generic/s_casinhl.c: ...here.
7009 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7010 * sysdeps/generic/s_casinl.c: ...here.
7011 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7012 * sysdeps/generic/s_catan.c: ...here.
7013 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7014 * sysdeps/generic/s_catanf.c: ...here.
7015 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7016 * sysdeps/generic/s_catanh.c: ...here.
7017 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7018 * sysdeps/generic/s_catanhf.c: ...here.
7019 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7020 * sysdeps/generic/s_catanhl.c: ...here.
7021 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7022 * sysdeps/generic/s_catanl.c: ...here.
7023 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7024 * sysdeps/generic/s_ccos.c: ...here.
7025 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7026 * sysdeps/generic/s_ccosf.c: ...here.
7027 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7028 * sysdeps/generic/s_ccosh.c: ...here.
7029 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7030 * sysdeps/generic/s_ccoshf.c: ...here.
7031 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7032 * sysdeps/generic/s_ccoshl.c: ...here.
7033 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7034 * sysdeps/generic/s_ccosl.c: ...here.
7035 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7036 * sysdeps/generic/s_cexp.c: ...here.
7037 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7038 * sysdeps/generic/s_cexpf.c: ...here.
7039 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7040 * sysdeps/generic/s_cexpl.c: ...here.
7041 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7042 * sysdeps/generic/s_clog.c: ...here.
7043 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7044 * sysdeps/generic/s_clog10.c: ...here.
7045 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7046 * sysdeps/generic/s_clog10f.c: ...here.
7047 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7048 * sysdeps/generic/s_clog10l.c: ...here.
7049 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7050 * sysdeps/generic/s_clogf.c: ...here.
7051 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7052 * sysdeps/generic/s_clogl.c: ...here.
7053 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7054 * sysdeps/generic/s_cpow.c: ...here.
7055 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7056 * sysdeps/generic/s_cpowf.c: ...here.
7057 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7058 * sysdeps/generic/s_cpowl.c: ...here.
7059 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7060 * sysdeps/generic/s_cproj.c: ...here.
7061 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7062 * sysdeps/generic/s_cprojf.c: ...here.
7063 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7064 * sysdeps/generic/s_cprojl.c: ...here.
7065 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7066 * sysdeps/generic/s_csin.c: ...here.
7067 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7068 * sysdeps/generic/s_csinf.c: ...here.
7069 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7070 * sysdeps/generic/s_csinh.c: ...here.
7071 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7072 * sysdeps/generic/s_csinhf.c: ...here.
7073 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7074 * sysdeps/generic/s_csinhl.c: ...here.
7075 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7076 * sysdeps/generic/s_csinl.c: ...here.
7077 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7078 * sysdeps/generic/s_csqrt.c: ...here.
7079 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7080 * sysdeps/generic/s_csqrtf.c: ...here.
7081 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7082 * sysdeps/generic/s_csqrtl.c: ...here.
7083 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7084 * sysdeps/generic/s_ctan.c: ...here.
7085 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7086 * sysdeps/generic/s_ctanf.c: ...here.
7087 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7088 * sysdeps/generic/s_ctanh.c: ...here.
7089 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7090 * sysdeps/generic/s_ctanhf.c: ...here.
7091 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7092 * sysdeps/generic/s_ctanhl.c: ...here.
7093 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7094 * sysdeps/generic/s_ctanl.c: ...here.
7095 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7096 * sysdeps/generic/s_fdim.c: ...here.
7097 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7098 * sysdeps/generic/s_fdimf.c: ...here.
7099 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7100 * sysdeps/generic/s_fdiml.c: ...here.
7101 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7102 * sysdeps/generic/s_fma.c: ...here.
7103 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7104 * sysdeps/generic/s_fmaf.c: ...here.
7105 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7106 * sysdeps/generic/s_fmal.c: ...here.
7107 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7108 * sysdeps/generic/s_fmax.c: ...here.
7109 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7110 * sysdeps/generic/s_fmaxf.c: ...here.
7111 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7112 * sysdeps/generic/s_fmaxl.c: ...here.
7113 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7114 * sysdeps/generic/s_fmin.c: ...here.
7115 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7116 * sysdeps/generic/s_fminf.c: ...here.
7117 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7118 * sysdeps/generic/s_fminl.c: ...here.
7119 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7120 * sysdeps/generic/s_ldexp.c: ...here.
7121 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7122 * sysdeps/generic/s_ldexpf.c: ...here.
7123 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7124 * sysdeps/generic/s_ldexpl.c: ...here.
7125 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7126 * sysdeps/generic/s_nan.c: ...here.
7127 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7128 * sysdeps/generic/s_nanf.c: ...here.
7129 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7130 * sysdeps/generic/s_nanl.c: ...here.
7131 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7132 * sysdeps/generic/s_significand.c: ...here.
7133 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7134 * sysdeps/generic/s_significandf.c: ...here.
7135 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7136 * sysdeps/generic/s_significandl.c: ...here.
7137 Avoid conversion from int to double and then to long double.
7138 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7139 * math/w_acos.c: ...here.
7140 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7141 * math/w_acosf.c: ...here.
7142 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7143 * math/w_acosh.c: ...here.
7144 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7145 * math/w_acoshf.c: ...here.
7146 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7147 * math/w_acoshl.c: ...here.
7148 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7149 * math/w_acosl.c: ...here.
7150 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7151 * math/w_asin.c: ...here.
7152 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7153 * math/w_asinf.c: ...here.
7154 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7155 * math/w_asinl.c: ...here.
7156 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7157 * math/w_atan2.c: ...here.
7158 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7159 * math/w_atan2f.c: ...here.
7160 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7161 * math/w_atan2l.c: ...here.
7162 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7163 * math/w_atanh.c: ...here.
7164 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7165 * math/w_atanhf.c: ...here.
7166 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7167 * math/w_atanhl.c: ...here.
7168 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7169 * math/w_cosh.c: ...here.
7170 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7171 * math/w_coshf.c: ...here.
7172 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7173 * math/w_coshl.c: ...here.
7174 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7175 * math/w_drem.c: ...here.
7176 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7177 * math/w_dremf.c: ...here.
7178 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7179 * math/w_dreml.c: ...here.
7180 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7181 * math/w_exp10.c: ...here.
7182 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7183 * math/w_exp10f.c: ...here.
7184 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7185 * math/w_exp10l.c: ...here.
7186 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7187 * math/w_exp2.c: ...here.
7188 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7189 * math/w_exp2f.c: ...here.
7190 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7191 * math/w_exp2l.c: ...here.
7192 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7193 * math/w_fmod.c: ...here.
7194 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7195 * math/w_fmodf.c: ...here.
7196 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7197 * math/w_fmodl.c: ...here.
7198 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7199 * math/w_hypot.c: ...here.
7200 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7201 * math/w_hypotf.c: ...here.
7202 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7203 * math/w_hypotl.c: ...here.
7204 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7205 * math/w_j0.c: ...here.
7206 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7207 * math/w_j0f.c: ...here.
7208 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7209 * math/w_j0l.c: ...here.
7210 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7211 * math/w_j1.c: ...here.
7212 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7213 * math/w_j1f.c: ...here.
7214 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7215 * math/w_j1l.c: ...here.
7216 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7217 * math/w_jn.c: ...here.
7218 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7219 * math/w_jnf.c: ...here.
7220 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7221 * math/w_jnl.c: ...here.
7222 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7223 * math/w_lgamma.c: ...here.
7224 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7225 * math/w_lgamma_r.c: ...here.
7226 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7227 * math/w_lgammaf.c: ...here.
7228 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7229 * math/w_lgammaf_r.c: ...here.
7230 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7231 * math/w_lgammal.c: ...here.
7232 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7233 * math/w_lgammal_r.c: ...here.
7234 * sysdeps/libm-ieee754/w_log.c: Moved to ...
7235 * math/w_log.c: ...here.
7236 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7237 * math/w_log10.c: ...here.
7238 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7239 * math/w_log10f.c: ...here.
7240 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7241 * math/w_log10l.c: ...here.
7242 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7243 * math/w_logf.c: ...here.
7244 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7245 * math/w_logl.c: ...here.
7246 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7247 * math/w_pow.c: ...here.
7248 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7249 * math/w_powf.c: ...here.
7250 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7251 * math/w_powl.c: ...here.
7252 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7253 * math/w_remainder.c: ...here.
7254 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7255 * math/w_remainderf.c: ...here.
7256 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7257 * math/w_remainderl.c: ...here.
7258 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7259 * math/w_scalb.c: ...here.
7260 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7261 * math/w_scalbf.c: ...here.
7262 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7263 * math/w_scalbl.c: ...here.
7264 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7265 * math/w_sinh.c: ...here.
7266 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7267 * math/w_sinhf.c: ...here.
7268 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7269 * math/w_sinhl.c: ...here.
7270 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7271 * math/w_sqrt.c: ...here.
7272 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7273 * math/w_sqrtf.c: ...here.
7274 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7275 * math/w_sqrtl.c: ...here.
7276 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7277 * math/w_tgamma.c: ...here.
7278 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7279 * math/w_tgammaf.c: ...here.
7280 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7281 * math/w_tgammal.c: ...here.
7282 * sysdeps/libm-i387/e_acos.S: Moved to ...
7283 * sysdeps/i386/fpu/e_acos.S: ...here.
7284 * sysdeps/libm-i387/e_acosf.S: Moved to ...
7285 * sysdeps/i386/fpu/e_acosf.S: ...here.
7286 * sysdeps/libm-i387/e_acosh.S: Moved to ...
7287 * sysdeps/i386/fpu/e_acosh.S: ...here.
7288 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7289 * sysdeps/i386/fpu/e_acoshf.S: ...here.
7290 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7291 * sysdeps/i386/fpu/e_acoshl.S: ...here.
7292 * sysdeps/libm-i387/e_acosl.S: Moved to ...
7293 * sysdeps/i386/fpu/e_acosl.S: ...here.
7294 * sysdeps/libm-i387/e_asin.S: Moved to ...
7295 * sysdeps/i386/fpu/e_asin.S: ...here.
7296 * sysdeps/libm-i387/e_asinf.S: Moved to ...
7297 * sysdeps/i386/fpu/e_asinf.S: ...here.
7298 * sysdeps/libm-i387/e_asinl.S: Moved to ...
7299 * sysdeps/i386/fpu/e_asinl.S: ...here.
7300 * sysdeps/libm-i387/e_atan2.S: Moved to ...
7301 * sysdeps/i386/fpu/e_atan2.S: ...here.
7302 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7303 * sysdeps/i386/fpu/e_atan2f.S: ...here.
7304 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7305 * sysdeps/i386/fpu/e_atan2l.S: ...here.
7306 * sysdeps/libm-i387/e_atanh.S: Moved to ...
7307 * sysdeps/i386/fpu/e_atanh.S: ...here.
7308 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7309 * sysdeps/i386/fpu/e_atanhf.S: ...here.
7310 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7311 * sysdeps/i386/fpu/e_atanhl.S: ...here.
7312 * sysdeps/libm-i387/e_exp.S: Moved to ...
7313 * sysdeps/i386/fpu/e_exp.S: ...here.
7314 * sysdeps/libm-i387/e_exp10.S: Moved to ...
7315 * sysdeps/i386/fpu/e_exp10.S: ...here.
7316 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7317 * sysdeps/i386/fpu/e_exp10f.S: ...here.
7318 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7319 * sysdeps/i386/fpu/e_exp10l.S: ...here.
7320 * sysdeps/libm-i387/e_expf.S: Moved to ...
7321 * sysdeps/i386/fpu/e_expf.S: ...here.
7322 * sysdeps/libm-i387/e_expl.S: Moved to ...
7323 * sysdeps/i386/fpu/e_expl.S: ...here.
7324 * sysdeps/libm-i387/e_fmod.S: Moved to ...
7325 * sysdeps/i386/fpu/e_fmod.S: ...here.
7326 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7327 * sysdeps/i386/fpu/e_fmodf.S: ...here.
7328 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7329 * sysdeps/i386/fpu/e_fmodl.S: ...here.
7330 * sysdeps/libm-i387/e_hypot.S: Moved to ...
7331 * sysdeps/i386/fpu/e_hypot.S: ...here.
7332 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7333 * sysdeps/i386/fpu/e_hypotf.S: ...here.
7334 * sysdeps/libm-i387/e_log.S: Moved to ...
7335 * sysdeps/i386/fpu/e_log.S: ...here.
7336 * sysdeps/libm-i387/e_log10.S: Moved to ...
7337 * sysdeps/i386/fpu/e_log10.S: ...here.
7338 * sysdeps/libm-i387/e_log10f.S: Moved to ...
7339 * sysdeps/i386/fpu/e_log10f.S: ...here.
7340 * sysdeps/libm-i387/e_log10l.S: Moved to ...
7341 * sysdeps/i386/fpu/e_log10l.S: ...here.
7342 * sysdeps/libm-i387/e_logf.S: Moved to ...
7343 * sysdeps/i386/fpu/e_logf.S: ...here.
7344 * sysdeps/libm-i387/e_logl.S: Moved to ...
7345 * sysdeps/i386/fpu/e_logl.S: ...here.
7346 * sysdeps/libm-i387/e_pow.S: Moved to ...
7347 * sysdeps/i386/fpu/e_pow.S: ...here.
7348 * sysdeps/libm-i387/e_powf.S: Moved to ...
7349 * sysdeps/i386/fpu/e_powf.S: ...here.
7350 * sysdeps/libm-i387/e_powl.S: Moved to ...
7351 * sysdeps/i386/fpu/e_powl.S: ...here.
7352 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7353 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7354 * sysdeps/libm-i387/e_remainder.S: Moved to ...
7355 * sysdeps/i386/fpu/e_remainder.S: ...here.
7356 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7357 * sysdeps/i386/fpu/e_remainderf.S: ...here.
7358 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7359 * sysdeps/i386/fpu/e_remainderl.S: ...here.
7360 * sysdeps/libm-i387/e_scalb.S: Moved to ...
7361 * sysdeps/i386/fpu/e_scalb.S: ...here.
7362 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7363 * sysdeps/i386/fpu/e_scalbf.S: ...here.
7364 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7365 * sysdeps/i386/fpu/e_scalbl.S: ...here.
7366 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7367 * sysdeps/i386/fpu/e_sqrt.S: ...here.
7368 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7369 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7370 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7371 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7372 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7373 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7374 * sysdeps/libm-i387/s_asinh.S: Moved to ...
7375 * sysdeps/i386/fpu/s_asinh.S: ...here.
7376 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7377 * sysdeps/i386/fpu/s_asinhf.S: ...here.
7378 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7379 * sysdeps/i386/fpu/s_asinhl.S: ...here.
7380 * sysdeps/libm-i387/s_atan.S: Moved to ...
7381 * sysdeps/i386/fpu/s_atan.S: ...here.
7382 * sysdeps/libm-i387/s_atanf.S: Moved to ...
7383 * sysdeps/i386/fpu/s_atanf.S: ...here.
7384 * sysdeps/libm-i387/s_atanl.S: Moved to ...
7385 * sysdeps/i386/fpu/s_atanl.S: ...here.
7386 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7387 * sysdeps/i386/fpu/s_cbrt.S: ...here.
7388 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7389 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7390 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7391 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7392 * sysdeps/libm-i387/s_ceil.S: Moved to ...
7393 * sysdeps/i386/fpu/s_ceil.S: ...here.
7394 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7395 * sysdeps/i386/fpu/s_ceilf.S: ...here.
7396 * sysdeps/libm-i387/s_ceill.S: Moved to ...
7397 * sysdeps/i386/fpu/s_ceill.S: ...here.
7398 * sysdeps/libm-i387/s_cexp.S: Moved to ...
7399 * sysdeps/i386/fpu/s_cexp.S: ...here.
7400 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7401 * sysdeps/i386/fpu/s_cexpf.S: ...here.
7402 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7403 * sysdeps/i386/fpu/s_cexpl.S: ...here.
7404 * sysdeps/libm-i387/s_copysign.S: Moved to ...
7405 * sysdeps/i386/fpu/s_copysign.S: ...here.
7406 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7407 * sysdeps/i386/fpu/s_copysignf.S: ...here.
7408 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7409 * sysdeps/i386/fpu/s_copysignl.S: ...here.
7410 * sysdeps/libm-i387/s_cos.S: Moved to ...
7411 * sysdeps/i386/fpu/s_cos.S: ...here.
7412 * sysdeps/libm-i387/s_cosf.S: Moved to ...
7413 * sysdeps/i386/fpu/s_cosf.S: ...here.
7414 * sysdeps/libm-i387/s_cosl.S: Moved to ...
7415 * sysdeps/i386/fpu/s_cosl.S: ...here.
7416 * sysdeps/libm-i387/s_exp2.S: Moved to ...
7417 * sysdeps/i386/fpu/s_exp2.S: ...here.
7418 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7419 * sysdeps/i386/fpu/s_exp2f.S: ...here.
7420 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7421 * sysdeps/i386/fpu/s_exp2l.S: ...here.
7422 * sysdeps/libm-i387/s_expm1.S: Moved to ...
7423 * sysdeps/i386/fpu/s_expm1.S: ...here.
7424 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7425 * sysdeps/i386/fpu/s_expm1f.S: ...here.
7426 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7427 * sysdeps/i386/fpu/s_expm1l.S: ...here.
7428 * sysdeps/libm-i387/s_fdim.S: Moved to ...
7429 * sysdeps/i386/fpu/s_fdim.S: ...here.
7430 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7431 * sysdeps/i386/fpu/s_fdimf.S: ...here.
7432 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7433 * sysdeps/i386/fpu/s_fdiml.S: ...here.
7434 * sysdeps/libm-i387/s_finite.S: Moved to ...
7435 * sysdeps/i386/fpu/s_finite.S: ...here.
7436 * sysdeps/libm-i387/s_finitef.S: Moved to ...
7437 * sysdeps/i386/fpu/s_finitef.S: ...here.
7438 * sysdeps/libm-i387/s_finitel.S: Moved to ...
7439 * sysdeps/i386/fpu/s_finitel.S: ...here.
7440 * sysdeps/libm-i387/s_floor.S: Moved to ...
7441 * sysdeps/i386/fpu/s_floor.S: ...here.
7442 * sysdeps/libm-i387/s_floorf.S: Moved to ...
7443 * sysdeps/i386/fpu/s_floorf.S: ...here.
7444 * sysdeps/libm-i387/s_floorl.S: Moved to ...
7445 * sysdeps/i386/fpu/s_floorl.S: ...here.
7446 * sysdeps/libm-i387/s_fma.S: Moved to ...
7447 * sysdeps/i386/fpu/s_fma.S: ...here.
7448 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7449 * sysdeps/i386/fpu/s_fmaf.S: ...here.
7450 * sysdeps/libm-i387/s_fmal.S: Moved to ...
7451 * sysdeps/i386/fpu/s_fmal.S: ...here.
7452 * sysdeps/libm-i387/s_fmax.S: Moved to ...
7453 * sysdeps/i386/fpu/s_fmax.S: ...here.
7454 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7455 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7456 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7457 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7458 * sysdeps/libm-i387/s_fmin.S: Moved to ...
7459 * sysdeps/i386/fpu/s_fmin.S: ...here.
7460 * sysdeps/libm-i387/s_fminf.S: Moved to ...
7461 * sysdeps/i386/fpu/s_fminf.S: ...here.
7462 * sysdeps/libm-i387/s_fminl.S: Moved to ...
7463 * sysdeps/i386/fpu/s_fminl.S: ...here.
7464 * sysdeps/libm-i387/s_frexp.S: Moved to ...
7465 * sysdeps/i386/fpu/s_frexp.S: ...here.
7466 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7467 * sysdeps/i386/fpu/s_frexpf.S: ...here.
7468 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7469 * sysdeps/i386/fpu/s_frexpl.S: ...here.
7470 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7471 * sysdeps/i386/fpu/s_ilogb.S: ...here.
7472 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7473 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7474 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7475 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7476 * sysdeps/libm-i387/s_llrint.S: Moved to ...
7477 * sysdeps/i386/fpu/s_llrint.S: ...here.
7478 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7479 * sysdeps/i386/fpu/s_llrintf.S: ...here.
7480 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7481 * sysdeps/i386/fpu/s_llrintl.S: ...here.
7482 * sysdeps/libm-i387/s_log1p.S: Moved to ...
7483 * sysdeps/i386/fpu/s_log1p.S: ...here.
7484 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7485 * sysdeps/i386/fpu/s_log1pf.S: ...here.
7486 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7487 * sysdeps/i386/fpu/s_log1pl.S: ...here.
7488 * sysdeps/libm-i387/s_log2.S: Moved to ...
7489 * sysdeps/i386/fpu/s_log2.S: ...here.
7490 * sysdeps/libm-i387/s_log2f.S: Moved to ...
7491 * sysdeps/i386/fpu/s_log2f.S: ...here.
7492 * sysdeps/libm-i387/s_log2l.S: Moved to ...
7493 * sysdeps/i386/fpu/s_log2l.S: ...here.
7494 * sysdeps/libm-i387/s_logb.S: Moved to ...
7495 * sysdeps/i386/fpu/s_logb.S: ...here.
7496 * sysdeps/libm-i387/s_logbf.S: Moved to ...
7497 * sysdeps/i386/fpu/s_logbf.S: ...here.
7498 * sysdeps/libm-i387/s_logbl.S: Moved to ...
7499 * sysdeps/i386/fpu/s_logbl.S: ...here.
7500 * sysdeps/libm-i387/s_lrint.S: Moved to ...
7501 * sysdeps/i386/fpu/s_lrint.S: ...here.
7502 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7503 * sysdeps/i386/fpu/s_lrintf.S: ...here.
7504 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7505 * sysdeps/i386/fpu/s_lrintl.S: ...here.
7506 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7507 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7508 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7509 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7510 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7511 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7512 * sysdeps/libm-i387/s_remquo.S: Moved to ...
7513 * sysdeps/i386/fpu/s_remquo.S: ...here.
7514 * sysdeps/libm-i387/s_remquof.S: Moved to ...
7515 * sysdeps/i386/fpu/s_remquof.S: ...here.
7516 * sysdeps/libm-i387/s_remquol.S: Moved to ...
7517 * sysdeps/i386/fpu/s_remquol.S: ...here.
7518 * sysdeps/libm-i387/s_rint.S: Moved to ...
7519 * sysdeps/i386/fpu/s_rint.S: ...here.
7520 * sysdeps/libm-i387/s_rintf.S: Moved to ...
7521 * sysdeps/i386/fpu/s_rintf.S: ...here.
7522 * sysdeps/libm-i387/s_rintl.S: Moved to ...
7523 * sysdeps/i386/fpu/s_rintl.S: ...here.
7524 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7525 * sysdeps/i386/fpu/s_scalbn.S: ...here.
7526 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7527 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7528 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7529 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7530 * sysdeps/libm-i387/s_significand.S: Moved to ...
7531 * sysdeps/i386/fpu/s_significand.S: ...here.
7532 * sysdeps/libm-i387/s_significandf.S: Moved to ...
7533 * sysdeps/i386/fpu/s_significandf.S: ...here.
7534 * sysdeps/libm-i387/s_significandl.S: Moved to ...
7535 * sysdeps/i386/fpu/s_significandl.S: ...here.
7536 * sysdeps/libm-i387/s_sin.S: Moved to ...
7537 * sysdeps/i386/fpu/s_sin.S: ...here.
7538 * sysdeps/libm-i387/s_sincos.S: Moved to ...
7539 * sysdeps/i386/fpu/s_sincos.S: ...here.
7540 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7541 * sysdeps/i386/fpu/s_sincosf.S: ...here.
7542 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7543 * sysdeps/i386/fpu/s_sincosl.S: ...here.
7544 * sysdeps/libm-i387/s_sinf.S: Moved to ...
7545 * sysdeps/i386/fpu/s_sinf.S: ...here.
7546 * sysdeps/libm-i387/s_sinl.S: Moved to ...
7547 * sysdeps/i386/fpu/s_sinl.S: ...here.
7548 * sysdeps/libm-i387/s_tan.S: Moved to ...
7549 * sysdeps/i386/fpu/s_tan.S: ...here.
7550 * sysdeps/libm-i387/s_tanf.S: Moved to ...
7551 * sysdeps/i386/fpu/s_tanf.S: ...here.
7552 * sysdeps/libm-i387/s_tanl.S: Moved to ...
7553 * sysdeps/i386/fpu/s_tanl.S: ...here.
7554 * sysdeps/libm-i387/s_trunc.S: Moved to ...
7555 * sysdeps/i386/fpu/s_trunc.S: ...here.
7556 * sysdeps/libm-i387/s_truncf.S: Moved to ...
7557 * sysdeps/i386/fpu/s_truncf.S: ...here.
7558 * sysdeps/libm-i387/s_truncl.S: Moved to ...
7559 * sysdeps/i386/fpu/s_truncl.S: ...here.
7560 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7561 * sysdeps/ieee754/k_standard.c: ...here.
7562 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7563 * sysdeps/ieee754/s_lib_version.c: ...here.
7564 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7565 * sysdeps/ieee754/s_matherr.c: ...here.
7566 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7567 * sysdeps/ieee754/s_signgam.c: ...here.
7568 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7569 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7570 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7571 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7572 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7573 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7574 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7575 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7576 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7577 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7578 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7579 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7580 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7581 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7582 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7583 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7584 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7585 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7586 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7587 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7588 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7589 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7590 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7591 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7592 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7593 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7594 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7595 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7596 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7597 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7598 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7599 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7600 * sysdeps/libm-ieee754/e_log.c: Moved to ...
7601 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7602 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7603 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7604 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7605 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7606 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7607 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7608 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7609 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7610 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7611 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7612 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7613 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7614 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7615 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7616 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7617 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7618 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7619 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7620 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7621 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7622 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7623 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7624 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7625 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7626 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7627 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7628 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7629 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7630 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7631 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7632 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7633 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7634 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7635 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7636 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7637 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7638 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7639 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7640 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7641 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7642 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7643 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7644 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7645 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7646 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7647 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7648 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7649 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7650 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7651 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7652 (__isnan): Comment above function says it returns 0 or 1, but it
7653 used to return 0 or -1.
7654 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7655 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7656 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7657 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7658 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7659 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7660 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7661 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7662 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7663 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7664 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7665 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7666 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7667 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7668 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7669 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7670 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7671 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7672 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7673 * sysdeps/generic/s_nextafter.c: ...here.
7674 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7675 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7676 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7677 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7678 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7679 * sysdeps/libm-ieee754/s_round.c: Moved to ...
7680 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7681 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7682 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7683 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7684 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7685 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7686 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7687 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7688 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7689 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7690 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7691 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7692 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7693 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7694 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7695 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7696 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7697 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7698 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7699 * sysdeps/ieee754/mpn2flt.c: Moved to ...
7700 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7701 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7702 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7703 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7704 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7705 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7706 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7707 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7708 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7709 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7710 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7711 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7712 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7713 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7714 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7715 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7716 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7717 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7718 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7719 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7720 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7721 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7722 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7723 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7724 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7725 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7726 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7727 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7729 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7730 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7731 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7732 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7733 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7734 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7735 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7736 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7737 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7738 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7739 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7740 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7741 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7742 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7743 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7744 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7745 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7746 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7747 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7748 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7749 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7750 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7751 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7752 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7753 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7754 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7755 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7756 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7757 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7758 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7759 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7760 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7761 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7762 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7763 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7764 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7765 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7766 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7767 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7768 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7769 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7770 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7771 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7772 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7773 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7774 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7775 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7776 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7777 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7778 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7779 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7780 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7781 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7782 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7783 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7784 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7785 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7786 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7787 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7788 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7789 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7790 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7791 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7792 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7793 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7794 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7795 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7796 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7797 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7798 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7799 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7800 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7801 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7802 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7803 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7804 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7805 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7806 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7807 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7808 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7809 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7810 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7811 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7812 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7813 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7814 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7815 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7816 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7817 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7818 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7819 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7820 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7821 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7822 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7823 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7824 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7825 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7827 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7828 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7829 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7831 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7832 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7833 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7834 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7835 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7836 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7837 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7838 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7839 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7840 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7841 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7842 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7843 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7844 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7845 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7846 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7847 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7848 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7849 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7850 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7851 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7852 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7853 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7854 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7855 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7856 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7857 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7858 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7859 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7860 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7861 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7862 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7863 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7864 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7865 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7866 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7867 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7868 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7869 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7870 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7871 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7872 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7873 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7874 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7875 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7877 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7878 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7879 (__nearbyintl): Fix for exponents 2^30.
7880 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7881 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7882 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7883 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7884 (__rintl): Fix for exponents 2^30.
7885 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7886 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7887 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7888 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7889 (__scalbnl): Fix exponent for subnormal result.
7890 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7891 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7892 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7893 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7894 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7895 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7896 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7897 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7898 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7899 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7900 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7901 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
7902 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
7903 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
7904 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
7905 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
7906 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
7907 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
7908 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
7909 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
7910 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
7911 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
7912 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
7913 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
7914 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
7915 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
7916 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
7917 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
7918 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
7919 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
7920 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
7921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
7922 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
7923 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
7924 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
7925 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
7926 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
7927 * sysdeps/i386/fpu/s_scalbln.c: ...here.
7928 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
7929 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
7930 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
7931 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
7932 * sysdeps/libm-i387/t_exp.c: Moved to ...
7933 * sysdeps/i386/fpu/t_exp.c: ...here.
7934 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
7935 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
7936 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
7937 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
7938 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
7939 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
7940 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
7941 * sysdeps/i386/fpu/s_isinfl.c: ...here.
7942 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
7943 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
7944 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
7945 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
7946 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
7947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
7948 Fix exponent for subnormal result.
7949 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
7950 * sysdeps/generic/s_nexttowardl.c: ...here.
7951 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
7952 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
7953 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
7954 * sysdeps/i386/fpu/s_isnanl.c: ...here.
7955 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
7956 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
7957 Comment above function says it returns 0 or 1, but it used to return
7959 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
7960 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
7961 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
7962 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
7963 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
7964 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
7965 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
7966 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
7967 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
7968 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
7969 Cannot compare exponents with different biases without adjusting.
7970 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
7971 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
7972 Cannot compare exponents with different biases without adjusting.
7973 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
7974 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
7975 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
7976 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
7977 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
7978 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
7979 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7980 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
7981 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
7982 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7983 * sysdeps/libm-ieee754/Dist: Split into ...
7984 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
7985 * sysdeps/ieee754/flt-32/Dist: ...this file.
7987 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
7988 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
7989 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
7990 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
7991 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
7992 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
7993 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
7994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
7995 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
7996 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
7997 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
7998 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
7999 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8000 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8001 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8002 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8003 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8004 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8005 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8006 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8007 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8008 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8009 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8011 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8012 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8013 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8014 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8015 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8016 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8017 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8018 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8019 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8020 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8022 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8023 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8024 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8025 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8026 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8027 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8028 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8029 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8030 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8031 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8032 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8033 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8035 * sysdeps/generic/math_ldbl.h: New file.
8036 * sysdeps/generic/s_nexttowardf.c: New file.
8037 * sysdeps/generic/strtold.c: New file.
8038 * sysdeps/generic/ldbl2mpn.c: New file.
8040 * math/machine/endian.h: Remove.
8041 * sysdeps/i386/fpu/Implies: Remove.
8042 * sysdeps/ieee754/Implies: Remove.
8044 * math/math_private.h: Move long double macros to math_ldbl.h
8047 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8049 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8050 connections without a hostname set address to localhost address.
8052 1999-07-11 H.J. Lu <hjl@gnu.org>
8054 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8055 nscd's own strong version of the get[a-z]*_r function.
8056 * nscd/hstcache.c: Likewise.
8057 * nscd/pwdcache.c: Likewise.
8059 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8061 * configure.in: Recognize 2.95 as gcc version number.
8062 Patch by Joel Klecker <jk@espy.org>.
8064 1999-07-12 Andreas Schwab <schwab@suse.de>
8066 * elf/rtld.c (dl_main): When putting back the interpreter object
8067 handle the case where a missing object might occur in the list of
8068 objects but not in the search list when in trace mode.
8070 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
8072 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8073 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8074 _nss_hesiod_initgroups.
8076 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8078 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8079 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8080 Initialize it from &__data_start if defined, or else &_end.
8082 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8084 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8085 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8087 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8089 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8091 1999-07-09 H.J. Lu <hjl@gnu.org>
8093 * Versions.def (GLIBC_2.1.2): Added.
8095 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8096 old one as GLIBC_2.0.
8097 * nss/getXXbyYY_r.c: Likewise.
8099 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8101 * inet/Versions (getaliasbyname_r, getaliasent_r,
8102 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8103 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8104 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8105 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8106 getservbyname_r): Likewise.
8107 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8108 * shadow/Versions (getspent_r, getspnam_r): Likewise.
8110 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8112 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8114 (__memset_cc): Likewise.
8116 * sysdeps/generic/libc-start.c: For SUID binaries check whether
8117 the standard file descriptors are open.
8118 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8120 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8121 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8122 range of mmap. If not fail.
8123 Patches by Daniel Jacobowitz <dan@debian.org>.
8125 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8126 before the relocation happened.
8127 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8129 * Versions.def (libnsl): Add GLIBC_2.2.
8130 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8132 1999-07-08 Cristian Gafton <gafton@redhat.com>
8134 * nis/yp_xdr.c (xdr_ypall): New function.
8136 1999-07-09 Andreas Schwab <schwab@suse.de>
8138 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8140 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8142 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8144 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8145 * hesiod/hesiod-grp.c: Add initgroups support.
8146 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8148 1999-07-08 Andreas Schwab <schwab@suse.de>
8150 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8152 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8155 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8157 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8159 1999-07-08 Andreas Schwab <schwab@suse.de>
8161 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8163 1999-07-08 Andreas Schwab <schwab@suse.de>
8165 * libio/fileno.c: Return -1 instead of EOF and set errno if the
8166 stream is not a real file stream.
8168 1999-07-08 Andreas Schwab <schwab@suse.de>
8170 * manual/charset.texi: Fix typos.
8172 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8174 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8176 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
8178 * dlfcn: New directory. Move the following files from elf:
8179 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8180 dlopenold.c, dlsym.c, dlvsym.c.
8181 * dlfcn/Makefile: New file.
8182 * dlfcn/Versions: New file.
8183 * dlfcn/dlsym.c: All ELF-specific code split out to new
8185 * dlfcn/dlvsym.c: All ELF-specific code split out to new
8187 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
8190 * dlfcn/dladdr.c: Remove all references to ELF data structures
8192 * dlfcn/dlclose.c: Likewise.
8193 * dlfcn/dlerror.c: Likewise.
8194 * dlfcn/dlopen.c: Likewise.
8195 * dlfcn/dlopenold.c: Likewise.
8197 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8198 yes, empty otherwise.
8199 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8200 depending on build-shared.
8201 (subdirs): Add $(dlfcn).
8202 (rpath-dirs): Add dlfcn.
8203 * elf/Makefile: Remove all references to libdl or its
8204 components, except the ones relating to the test cases.
8205 (routines): Add dl-sym.
8206 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8209 * elf/dl-close.c (_dl_close): Change argument to void *.
8210 * elf/dl-open.c (_dl_open): Change return type to void *.
8211 * elf/eval.c: Removed.
8212 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8213 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8214 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
8216 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8217 Include real header from dlfcn directory.
8218 * include/ldsodefs.h: Removed.
8220 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8221 * nss/getXXbyYY_r.c: Likewise.
8222 * nss/getXXent_r.c: Likewise.
8223 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
8224 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
8225 * iconv/skeleton.c: Don't include ldsodefs.h.
8226 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
8228 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8230 * sysdeps/generic/setenv.c: Describe problem.
8232 * malloc/malloc.c (request2size): Also set errno if failing.
8234 * malloc/malloc.c (request2size): Take care of overflow in
8237 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
8238 (NULL, != 0) correctly.
8240 * elf/dl-load.c: Use a few more __builtin_expect.
8242 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8245 1999-07-07 Andreas Schwab <schwab@suse.de>
8247 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8248 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8249 (_PATH_DEVPTMX): Use _PATH_DEV.
8251 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8253 * malloc/tst-malloc.c: New file. Tests some basic functionality.
8254 * malloc/Makefile (tests): Add tst-malloc.
8256 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8258 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8261 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8263 Patch by Jay Estabrook.
8265 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8267 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8268 Patch by Cristian Gafton.
8270 1999-07-02 Cristian Gafton <gafton@redhat.com>
8272 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8273 instead of "return NULL" to make C++ happy.
8275 1999-07-04 Mark Kettenis <kettenis@gnu.org>
8277 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8278 allowed by the file access mode of the open file.
8280 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8282 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8285 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
8287 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8288 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8289 * sysdeps/sparc/sparc64/rshift.S: Likewise.
8290 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8292 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8294 * malloc/malloc.c (request2size): Check for overflow and return
8295 NULL whenever it is encountered.
8297 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
8299 * sysdeps/posix/tempname.c (__gen_tempname): Add
8300 ability to create directories. Replace OPENIT and LARGEFILE
8301 args with a single flags parameter.
8302 * sysdeps/generic/tempname.c: Likewise.
8303 * include/stdio.h: Adjust prototype of __gen_tempname to
8304 match. Define symbolic constants for second argument.
8306 * misc/mkdtemp.c: New file, provides new function mkdtemp().
8307 * stdlib/stdlib.h: Prototype it.
8308 * misc/Versions: Export it.
8309 * misc/Makefile (routines): Add mktemp.
8310 * manual/filesys.texi: Document it.
8312 * misc/mktemp.c: Adjust call of __gen_tempname to match new
8314 * misc/mkstemp.c: Likewise.
8315 * stdio-common/tempnam.c: Likewise.
8316 * stdio-common/tmpfile.c: Likewise.
8317 * stdio-common/tmpfile64.c: Likewise.
8318 * stdio-common/tmpnam.c: Likewise.
8319 * stdio-common/tmpnam_r.c: Likewise.
8321 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
8323 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8324 R_SPARC_OLO10 relocations.
8325 * elf/elf.h (R_SPARC_OLO10): Fix comment.
8327 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
8329 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
8330 doesn't belong in the tests, but in the wordexp implementation.
8332 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8335 1999-07-01 Cristian Gafton <gafton@redhat.com>
8337 * time/strptime.c (strptime): Initialize the tm struct first to avoid
8338 returning bogus results on incomplete data.
8339 (strptime_internal): day_of_the_week() requres both tm_mon and
8340 tm_mday to be initialized.
8341 Compute them first if they are not given.
8342 (strptime_internal): (have_mon, have_mday): New variables.
8344 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8346 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8348 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8350 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8351 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8353 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8355 * posix/wordexp.c (parse_tilde): Handle failing call to
8356 get.*_r functions correctly for non-existing entry.
8357 * sysdeps/posix/cuserid.c (cuserid): Likewise.
8358 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8360 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8362 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8363 getxxbyYY_r functions correctly for non-existing entry.
8364 * sunrpc/getrpcport.c: Likewise.
8365 * sunrpc/clnt_simp.c: Likewise.
8366 * inet/rexec.c: Likewise.
8367 * sunrpc/clnt_gen.c: Likewise.
8368 * inet/rcmd.c: Likewise.
8369 * sysdeps/generic/glob.c: Likewise.
8371 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8373 * pwd/Makefile (tests): Add rules for tst-getpw.
8375 * pwd/tst-getpw.c: New program to test getpw.
8377 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8379 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8382 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8384 * manual/arith.texi (System V Number Conversion): Fix the
8385 description which confused pointer and value to pointer.
8386 Reported by Andries.Brouwer@cwi.nl.
8388 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8390 * pwd/getpw.c (__getpw): Check for NULL result pointer.
8392 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8394 * manual/users.texi (Lookup User): Document POSIX return
8395 semantics for getpwuid_r and getgrgid_r.
8397 * manual/socket.texi (Host Names): Document that the result
8398 pointer is null in case of error or host not found and fix a
8399 typo. Give a small example.
8401 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8403 * pwd/getpw.c: Add warning since no buffer size is given and
8404 therefore no overrun tests are possible.
8406 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8408 * pwd/pwd.h: Add getpw prototype declaration.
8410 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8412 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8413 * wcsmbs/wcschr.c: Likewise.
8415 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8417 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8419 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8420 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8421 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8423 * elf/dl-dst.h: Fix typo.
8424 * elf/dl-open.c: Likewise.
8426 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
8428 * elf/dl-libc.c: New file, provides three functions:
8429 __libc_dlopen, __libc_dlclose, __libc_dlsym.
8430 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
8431 * elf/Makefile (routines): Add dl-libc.c.
8432 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8434 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8436 * iconv/gconv.c: Include dlfcn.h.
8437 * iconv/gconv_db.c: Likewise.
8438 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
8440 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8441 `handle' to a void *.
8442 (__gconv_find_func): Delete prototype.
8444 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
8445 dlerror_run and related functions and structs. Use
8446 __libc_dlopen, __libc_dlsym, __libc_dlclose.
8447 * nss/nsswitch.c: Likewise.
8449 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8451 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8454 * sunrpc/getrpcport.c: Test for gethostbyname_r function
8457 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8459 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8460 functions correctly.
8462 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8464 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
8467 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8469 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8471 * manual/string.texi (Copying and Concatenation): Mention that
8472 strndup is a GNU extension.
8474 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8476 * pwd/getpw.c (__getpw): Fix check for error return.
8478 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8480 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8481 occurence of the aux object start with the current list entry, not
8482 the new one. Adjust tail pointer in the unique list. Explain how
8483 the meaning of the variables changes [PR libc/1168].
8485 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8487 * sysdeps/m68k/fpu/Dist: New file.
8489 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8491 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8493 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
8494 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8495 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8496 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8497 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8498 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8499 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8500 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8501 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8502 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8503 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8504 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8505 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8506 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8507 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8508 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8510 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
8512 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8513 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8514 _EXTERN_INLINE, use a macro specific to each file,
8515 _HURD_FD_H_EXTERN_INLINE and the like.
8516 * hurd/Makefile (inline-headers): New variable.
8517 (routines): Remove hurdinline. Add $(inlines).
8518 (inlines): New variable.
8519 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8520 (generated): Append those here.
8521 * hurd/hurdinline.c: File removed.
8523 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8525 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8527 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8529 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8531 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
8533 * string/bits/string2.h (strnlen): Remove extra prototype.
8535 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8537 * manual/filesys.texi (Working on Directory Trees): Fix typos.
8538 Reported by Andries.Brouwer@cwi.nl.
8540 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
8542 * nscd/connections.c (handle_request): Use correct type for optlen
8545 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8546 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8548 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
8550 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8551 * nscd/pwdcache.c: Likewise.
8552 * nscd/hstcache.c: Likewise.
8554 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8556 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8558 * posix/getopt.h: Include stdio.h.
8560 * manual/arith.texi: Document restriction of ndigit parameter of
8562 * misc/efgcvt.c: Define NDIGIT_MAX.
8563 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8564 Do not dynamically allocate the static buffers. They are small enough.
8565 * misc/efgcvt_r.c: Define NDIGIT_MAX.
8566 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8567 * misc/qefgcvt.c: Define NDIGIT_MAX.
8568 * misc/qefgcvt_r.c: Likewise.
8569 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8571 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
8573 * libio/stdio.h: Define stdin, stdout, stderr as macros.
8574 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8575 These are *pragmas* not macros.
8576 * wcsmbs/wchar.h: Fix comment.
8578 * grp/grp.h: Use __foo_t_defined convention to typedef things
8580 * io/sys/stat.h: Likewise.
8581 * libio/stdio.h: Likewise.
8582 * posix/unistd.h: Likewise.
8583 * posix/sys/types.h: Likewise.
8584 * posix/sys/wait.h: Likewise.
8585 * pwd/pwd.h: Likewise.
8586 * signal/signal.h: Likewise.
8587 * sysdeps/generic/stdint.h: Likewise.
8588 * sysdeps/gnu/utmpx.h: Likewise.
8589 * termios/termios.h: Likewise.
8591 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8593 * stdio/fputc.c: Don't define alias if fputc is defined as a
8595 * stdio/putc.c: Define weak alias here since it is not done
8598 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8600 * assert/assert.h: Don't produce `defined' as part of macro
8603 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
8605 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8606 OFFSET argument of (off_t) -1.
8607 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8608 OFFSET argument of (off_t) -1.
8610 * sysdeps/mach/hurd/pwrite.c: New file.
8611 * sysdeps/mach/hurd/pread.c: New file.
8613 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8614 pass it in the RPC instead of always -1.
8615 * hurd/fd-write.c (_hurd_fd_write): Likewise.
8616 * hurd/hurd/fd.h: Update decls.
8618 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8620 * libio/wscanf.c: Include <wchar.h> for prototype.
8622 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
8624 * manual/io.texi. Fix typos.
8625 * manual/stdio.texi: Likewise.
8626 Patches by Brian Youmans <3diff@gnu.org>.
8628 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
8630 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8631 bits of two words differ.
8633 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8635 * libio/Makefile (routines): Add putwchar and putwchar_u.
8637 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8638 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
8639 stdout. Fix parameter name.
8641 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8642 * libio/getchar_u.c: Likewise.
8644 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8646 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8648 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8649 macro expansion---it's undefined. Properly parenthesize
8650 substituted parameters.
8651 (__GLIBC_PREREQ): Likewise.
8653 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
8655 * Makeconfig (CPPFLAGS): Revert last change. It has too many
8658 * stdlib/longlong.h: Provide __P definition if not already
8661 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8663 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
8665 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8667 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8669 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8671 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8673 * stdio-common/vfprintf.c (group_member): Make parameters and
8674 return types pointers to CHAR_T instead of UCHAR_T.
8675 (vfprintf): Change type of work_buffer, workend and string to
8676 CHAR_T pointer/array.
8677 (process_arg, process_string_arg): Adjust/remove casts. Add
8678 missing use of L_ macro.
8679 (printf_unknown): Add missing uses of L_ macro.
8681 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8683 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8686 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8688 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
8689 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8690 (__wunderflow): Likewise.
8691 (_IO_switch_to_wget_mode): Likewise.
8692 (_IO_init_wmarker): Likewise.
8694 * libio/wfileops.c (_IO_wfile_seekoff): Call
8695 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8696 (_IO_wfile_jumps): Fix pbackfail entry.
8698 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8699 function if the stream is currently unoriented.
8701 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
8703 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8704 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
8705 __gnuc_va_list in v*w(printf|scanf) prototypes.
8707 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8709 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8710 1999-03-29 to iopopen also here.
8711 Reported by Richard Braakman <dark@xs4all.nl>.
8713 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8715 * include/features.h: Use __GNUC_PREREQ.
8716 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8718 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8720 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8721 Change EOF to WEOF and remove cast.
8722 (UNGETC): Remove macro.
8723 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8724 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8725 Change ISASCII to isascii and MBRLEN to mbrlen.
8726 (parse_one_spec): Compare info.spec always against wchar_t
8728 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8729 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8730 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8732 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8734 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8735 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8736 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8737 oldiofsetpos64 only if doing versioning.
8739 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8741 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8743 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8745 * libio/libio.h: Fix last patch.
8747 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8749 * libio/libio.h (_IO_putwc): Correct type of first argument.
8750 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8751 putwc_unlocked, putwchar_unlocked): Likewise.
8752 * libio/fputwc.c: Likewise.
8753 * libio/fputwc_unlocked.c: Likewise.
8754 * libio/putwc.c: Likewise.
8755 * libio/putwc_unlocked.c: Likewise.
8756 * libio/putwchar.c: Likewise.
8757 * libio/putwchar_unlocked.c: Likewise.
8759 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
8761 * sysdeps/gnu/siglist.h: File moved to ...
8762 * sysdeps/generic/siglist.h: ... here. This file should be usable for
8763 any platform, since it just associates the SIG* macros with text names
8764 and descriptions. For any signal macros do not exist on every
8765 platform, we can use #ifdef tests here and still use this single
8766 common file for all platforms.
8767 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
8768 should be usable for all platforms after the binary compatibility
8769 stuff in the current sysdeps/gnu version is no longer required.
8770 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8771 * sysdeps/generic/make_siglist.c: File removed.
8772 * sysdeps/mach/hurd/siglist.h: Use #include_next.
8773 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8775 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
8777 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8778 * sysdeps/gnu/siglist.c: ... here.
8779 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8780 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8781 * sysdeps/gnu/siglist.h: New file, contents from linux version.
8782 Add entry for SIGLOST protected by #ifdef.
8783 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8784 and define OLD_SIGLIST_SIZE_STR.
8785 * sysdeps/mach/hurd/siglist.h: New file, likewise.
8787 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8789 * include/features.h: Define new macros __GNUC_PREREQ and
8790 __GLIBC_PREREQ which can be used to test the version of gcc
8791 and glibc respectively.
8793 * assert/assert.h: Use __GNUC_PREREQ.
8794 * intl/libintl.h: Likewise.
8795 * math/complex.h: Likewise.
8796 * math/tgmath.h: Likewise.
8797 * misc/sys/cdefs.h: Likewise.
8798 * posix/sys/types.h: Likewise.
8799 * socket/sys/socket.h: Likewise.
8800 * string/bits/string2.h: Likewise.
8801 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8802 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8804 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8806 * include/libintl.h: Declare _libc_intl_domainname here.
8807 Define _ and N_ here.
8808 * include/libc-symbols.h: Don't include <libintl.h>. Don't
8809 define _ and N_. Don't declare _libc_intl_domainname.
8810 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8812 * db2/config.h: Don't include sys/stat.h or define
8813 HAVE_ST_BLKSIZE here...
8814 * db2/compat.h: ...do it here.
8816 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8818 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8819 * iconv/iconv.c: Include stddef.h for NULL.
8820 * malloc/malloc.h: Include features.h.
8821 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8823 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8824 into the generated file.
8825 * sysdeps/gnu/errlist.awk: Likewise.
8826 * sysdeps/gnu/errlist.c: Rebuilt.
8828 * assert/assert-perr.c: Include libintl.h.
8829 * assert/assert.c: Likewise.
8830 * elf/dl-open.c: Likewise.
8831 * elf/dlsym.c: Likewise.
8832 * elf/dlvsym.c: Likewise.
8833 * iconv/iconv_prog.c: Likewise.
8834 * inet/rcmd.c: Likewise.
8835 * inet/ruserpass.c: Likewise.
8836 * locale/programs/charset.c: Likewise.
8837 * locale/programs/ld-collate.c: Likewise.
8838 * locale/programs/ld-ctype.c: Likewise.
8839 * locale/programs/ld-messages.c: Likewise.
8840 * locale/programs/ld-monetary.c: Likewise.
8841 * locale/programs/ld-numeric.c: Likewise.
8842 * locale/programs/ld-time.c: Likewise.
8843 * locale/programs/locfile.c: Likewise.
8844 * locale/programs/repertoire.c: Likewise.
8845 * login/programs/database.c: Likewise.
8846 * login/programs/request.c: Likewise.
8847 * malloc/mcheck.c: Likewise.
8848 * misc/error.c: Likewise.
8849 * nis/nis_call.c: Likewise.
8850 * nis/nis_callback.c: Likewise.
8851 * nis/nis_error.c: Likewise.
8852 * nis/nis_local_names.c: Likewise.
8853 * nis/nis_print.c: Likewise.
8854 * nis/nis_print_group_entry.c: Likewise.
8855 * nis/ypclnt.c: Likewise.
8856 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8857 * nscd/cache.c: Likewise.
8858 * nscd/connections.c: Likewise.
8859 * nscd/grpcache.c: Likewise.
8860 * nscd/hstcache.c: Likewise.
8861 * nscd/nscd_conf.c: Likewise.
8862 * nscd/nscd_stat.c: Likewise.
8863 * nscd/pwdcache.c: Likewise.
8864 * posix/id.c: Likewise.
8865 * resolv/herror.c: Likewise.
8866 * stdio-common/psignal.c: Likewise.
8867 * string/strsignal.c: Likewise.
8868 * sunrpc/auth_unix.c: Likewise.
8869 * sunrpc/clnt_perr.c: Likewise.
8870 * sunrpc/clnt_raw.c: Likewise.
8871 * sunrpc/clnt_tcp.c: Likewise.
8872 * sunrpc/clnt_udp.c: Likewise.
8873 * sunrpc/clnt_unix.c: Likewise.
8874 * sunrpc/get_myaddr.c: Likewise.
8875 * sunrpc/pm_getmaps.c: Likewise.
8876 * sunrpc/pmap_clnt.c: Likewise.
8877 * sunrpc/pmap_rmt.c: Likewise.
8878 * sunrpc/rpc_main.c: Likewise.
8879 * sunrpc/rpc_scan.c: Likewise.
8880 * sunrpc/svc_run.c: Likewise.
8881 * sunrpc/svc_simple.c: Likewise.
8882 * sunrpc/svc_tcp.c: Likewise.
8883 * sunrpc/svc_udp.c: Likewise.
8884 * sunrpc/svc_unix.c: Likewise.
8885 * sunrpc/xdr_rec.c: Likewise.
8886 * sunrpc/xdr_ref.c: Likewise.
8887 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8888 * sysdeps/posix/gai_strerror.c: Likewise.
8889 * sysdeps/unix/siglist.c: Likewise.
8890 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8891 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8892 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8893 * timezone/zic.c: Likewise.
8895 1999-06-18 H.J. Lu <hjl@gnu.org>
8897 * localedata/Makefile (charmaps): Exclude SCCS.
8898 (locales): Likewise.
8899 (repertoiremaps): Likewise.
8901 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
8903 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
8904 * sysdeps/generic/bsd-setjmp.c: Likewise.
8906 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
8908 * iconv/gconv_open.c: Include string.h for memset prototype.
8910 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
8913 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
8914 assignment to avoid warning on 64bit platforms.
8916 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8918 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
8920 * nss/getXXbyYY_r.c: Return error code not -1.
8921 * nss/getXXent_r.c: Likewise.
8922 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
8924 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
8925 value > 0 for error.
8926 * nscd/nscd_gethst_r.c: Likewise.
8927 * nscd/nscd_getpw_r.c: Likewise.
8929 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8931 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
8934 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8936 * nscd/nscd_nischeck.c: Fix typos.
8938 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8940 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
8941 always when oact is NULL.
8942 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
8944 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8946 * math/libm-test.c (jn_test): Adjust delta.
8948 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8950 * libio/vwprintf.c: Include <wchar.h> for prototypes.
8951 * libio/wprintf.c: Likewise.
8953 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8955 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
8956 to not write beyond allocated memory.
8957 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
8959 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8961 * malloc/mtrace.c: Keep lock while printing output lines.
8962 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
8964 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
8966 * configure.in: Add warnings about broken code.
8968 * Versions.def: Add GLIBC_2.2 for libc.
8970 * iconv/gconv.h: Make header suitable for inclusion in public header
8971 by protecting all names with __.
8972 * iconv/gconv.c: Adapt for symbol name changes.
8973 * iconv/gconv.h: Likewise.
8974 * iconv/gconv_builtin.c: Likewise.
8975 * iconv/gconv_close.c: Likewise.
8976 * iconv/gconv_db.c: Likewise.
8977 * iconv/gconv_dl.c: Likewise.
8978 * iconv/gconv_int.h: Likewise.
8979 * iconv/gconv_open.c: Likewise.
8980 * iconv/gconv_simple.c: Likewise.
8981 * iconv/iconv.c: Likewise.
8982 * iconv/iconv_close.c: Likewise.
8983 * iconv/iconv_open.c: Likewise.
8984 * iconv/loop.c: Likewise.
8985 * iconv/skeleton.c: Likewise.
8986 * iconvdata/8bit-gap.c: Likewise.
8987 * iconvdata/8bit-generic.c: Likewise.
8988 * iconvdata/ansi_x3.110.c: Likewise.
8989 * iconvdata/big5.c: Likewise.
8990 * iconvdata/cns11643.h: Likewise.
8991 * iconvdata/cns11643l1.h: Likewise.
8992 * iconvdata/euc-cn.c: Likewise.
8993 * iconvdata/euc-jp.c: Likewise.
8994 * iconvdata/euc-kr.c: Likewise.
8995 * iconvdata/euc-tw.c: Likewise.
8996 * iconvdata/gb2312.h: Likewise.
8997 * iconvdata/iso-2022-jp.c: Likewise.
8998 * iconvdata/iso-2022-kr.c: Likewise.
8999 * iconvdata/iso646.c: Likewise.
9000 * iconvdata/iso8859-1.c: Likewise.
9001 * iconvdata/iso_6937-2.c: Likewise.
9002 * iconvdata/iso_6937.c: Likewise.
9003 * iconvdata/jis0201.h: Likewise.
9004 * iconvdata/jis0208.h: Likewise.
9005 * iconvdata/jis0212.h: Likewise.
9006 * iconvdata/johab.c: Likewise.
9007 * iconvdata/ksc5601.h: Likewise.
9008 * iconvdata/sjis.c: Likewise.
9009 * iconvdata/t.61.c: Likewise.
9010 * iconvdata/uhc.c: Likewise.
9011 * stdlib/mblen.c: Likewise.
9012 * stdlib/mbtowc.c: Likewise.
9013 * stdlib/wctomb.c: Likewise.
9014 * wcsmbs/btowc.c: Likewise.
9015 * wcsmbs/mbrtowc.c: Likewise.
9016 * wcsmbs/mbsnrtowcs.c: Likewise.
9017 * wcsmbs/mbsrtowcs.c: Likewise.
9018 * wcsmbs/wchar.h: Likewise.
9019 * wcsmbs/wcrtomb.c: Likewise.
9020 * wcsmbs/wcsmbsload.c: Likewise.
9021 * wcsmbs/wcsmbsload.h: Likewise.
9022 * wcsmbs/wcsnrtombs.c: Likewise.
9023 * wcsmbs/wcsrtombs.c: Likewise.
9024 * wcsmbs/wctob.c: Likewise.
9026 * include/limits.h (MB_LEN_MAX): Increase to 16.
9028 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
9030 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9031 * include/wchar.h: Change mbstate_t to __mbstate_t.
9033 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9034 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9035 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9036 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9037 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9038 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9040 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9041 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9042 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9043 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9044 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9045 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9046 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9047 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9049 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
9050 Extend _IO_file contain pointer to codecvt, widedata and mode.
9051 (_IO_getwc_unlocked): New macro.
9052 (_IO_putwc_unlocked): New macro.
9053 (_IO_fwide): New macro.
9054 * libio/libioP.h: Add new prototypes and adjust existing declarations.
9055 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9056 buffers based on mode.
9057 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9059 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9060 flag to be enough to signal unallocated buffer. For wide oriented
9061 stream don't make it linebuffered. Don't use _IO_do_flush, use
9062 _IO_new_do_write directly.
9063 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9064 (_IO_file_seek): Likewise.
9065 * libio/genops.c (_IO_least_marker): Make global.
9066 (__underflow): Orient stream if not already done.
9067 (__uflow): Likewise.
9068 (_IO_default_seekpos): Change to type _IO_off64_t.
9069 (_IO_default_seekoff): Likewise.
9070 (_IO_default_seek): Likewise.
9071 (_IO_no_init): New function. Similar to _IO_init but allows to orient
9073 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
9075 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
9077 * libio/ftello64.c: Likewise.
9078 * libio/ioftell.c: Likewise.
9079 * libio/iofopncook.c: Likewise.
9080 * libio/ioseekoff.c: Likewise.
9081 * libio/ioseekpos.c: Likewise.
9082 * libio/oldfileops.c: Likewise.
9083 * libio/iofgetpos.c: Store state of conversion if necessary.
9084 * libio/iofgetpos64.c: Likewise.
9085 * libio/iofsetpos.c: Restore conversion state if necessary.
9086 * libio/iofsetpos64.c: Likewise.
9087 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9088 * libio/iofopen.c: Likewise.
9089 * libio/iofopen64.c: Likewise.
9090 * libio/iopopen.c: Likewise.
9091 * libio/iovdprintf.c: Likewise.
9092 * libio/iovsprintf.c: Likewise.
9093 * libio/iovsscanf.c: Likewise.
9094 * libio/memstream.c: Likewise.
9095 * libio/obprintf.c: Likewise.
9096 * libio/iofputs.c: Orient stream if not already happened.
9097 * libio/iofputs_u.c: Likewise.
9098 * libio/iofwrite.c: Likewise.
9099 * libio/iofwrite_u.c: Likewise.
9100 * libio/ioputs.c: Likewise.
9101 * libio/iosetbuffer.c: Handle not yet oriented stream.
9102 * libio/iosetvbuf.c: Likewise.
9103 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9104 * libio/stdfiles.c: Likewise.
9105 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9107 (_IO_str_seekoff): Use _IO_off64_t.
9108 * libio/vasprintf.c: Pre-orient stream.
9109 * libio/vsnprintf.c: Likewise.
9110 * libio/fputwc.c: New file.
9111 * libio/fputwc_u.c: New file.
9112 * libio/fwprintf.c: New file.
9113 * libio/fwscanf.c: New file.
9114 * libio/getwc.c: New file.
9115 * libio/getwc_u.c: New file.
9116 * libio/getwchar.c: New file.
9117 * libio/getwchar_u.c: New file.
9118 * libio/iofgetws.c: New file.
9119 * libio/iofgetws_u.c: New file.
9120 * libio/iofputws.c: New file.
9121 * libio/iofputws_u.c: New file.
9122 * libio/iofwide.c: New file.
9123 * libio/iogetwline.c: New file.
9124 * libio/ioungetwc.c: New file.
9125 * libio/iovswscanf.c: New file.
9126 * libio/iowpadn.c: New file.
9127 * libio/oldiofgetpos.c: New file.
9128 * libio/oldiofgetpos64.c: New file.
9129 * libio/oldiofsetpos.c: New file.
9130 * libio/oldiofsetpos64.c: New file.
9131 * libio/putwc.c: New file.
9132 * libio/putwc_u.c: New file.
9133 * libio/putwchar.c: New file.
9134 * libio/putwchar_u.c: New file.
9135 * libio/swprintf.c: New file.
9136 * libio/swscanf.c: New file.
9137 * libio/tst_swprintf.c: New file.
9138 * libio/tst_swscanf.c: New file.
9139 * libio/tst_wprintf.c: New file.
9140 * libio/tst_wscanf.c: New file.
9141 * libio/tst_wscanf.input: New file.
9142 * libio/vswprintf.c: New file.
9143 * libio/vwprintf.c: New file.
9144 * libio/vwscanf.c: New file.
9145 * libio/wfiledoalloc.c: New file.
9146 * libio/wfileops.c: New file.
9147 * libio/wgenops.c: New file.
9148 * libio/wprintf.c: New file.
9149 * libio/wscanf.c: New file.
9150 * libio/wstrops.c: New file.
9151 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9152 vfwprintf, and vfwscanf.
9153 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9155 * stdio-common/_itowa.c: New file.
9156 * stdio-common/_itowa.h: New file.
9157 * stdio-common/itoa-digits.c: Minimal optimization.
9158 * stdio-common/itowa-digits.c: New file.
9159 * stdio-common/printf-parse.h: Allow use in wide character context.
9160 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9161 * stdio-common/printf.h (printf_info): Add wide bit.
9162 * stdio-common/printf_fp.c: Determine from wide bit whether stream
9163 is wide oriented or not.
9164 * stdio-common/printf_size.c: Likewise.
9165 * sysdeps/generic/printf_fphex.c: Likewise.
9166 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9167 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9169 * stdio-common/vfscand.c: Likewise.
9170 * stdio-common/vfwprintf.c: New file.
9171 * stdio-common/vfwscanf.c: New file.
9173 * time/Makefile (routines): Add wcsftime.
9174 (tests): Add tst_wcsftime.
9175 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9176 * time/strftime.c: Make usable as wcsftime.
9177 * time/wcsftime.c: New file.
9178 * time/tst_wcsftime.c: New file.
9180 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9181 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9182 * wcsmbs/wcschrnul.c: New file.
9183 * wcsmbs/wmemcpy.c: New file.
9184 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9185 * wcsmbs/wmemmove.c: Likewise for wmemmove.
9187 * manual/stdio.texi: Document is_char and wide element if printf_info.
9189 * manual/time.texi: Document wcsftime.
9191 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9192 __wmemmove, __wcschrnul, and __vfwscanf.
9194 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9195 * locale/C-time.c: Adapt for above change.
9196 * locale/categories.def: Likewise.
9197 * locale/localeinfo.h: Likewise.
9198 * localedata/Makefile: Don't run tests for now.
9200 * manual/errno.texi: Fix typos.
9201 * manual/memory.texi: Likewise.
9202 * manual/ctype.texi: Likewise.
9203 Patches by Brian Youmans <3diff@gnu.org>.
9205 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9207 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9209 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9211 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9213 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9214 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9216 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9218 * db2/db/db.c: Restore __nss_db_open alias.
9219 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9221 * db2/os/os_rw.c (__os_write): Maintain const correctness.
9222 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9224 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9226 * stdio-common/printf-parse.h (parse_one_spec): Don't set
9227 is_longlong if not necessary.
9229 1999-06-15 H.J. Lu <hjl@gnu.org>
9231 * Make-dist (sysdep_dirs): Exclude SCCS.
9232 * MakeTAGS (sysdep_dirs): Likewise.
9234 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9236 * posix/regex.c (re_error_msgid): Remove extra commas.
9238 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
9240 * stdlib/tst-strtoll.c: New file.
9241 * stdlib/Makefile (tests): Add tst-strtoll.c
9242 * stdlib/strtol.c: It is not generally true that if
9243 (unsigned)a*(unsigned)b overflows, then the result is
9246 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
9248 * nscd/connections.c (handle_request): Only root is allowed to
9249 send GETSTAT request in non secure mode.
9250 * nscd/nscd.c: Print error message if other then root try to
9253 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9255 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9257 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9259 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9260 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9262 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9264 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9265 for character to search, to help the compiler.
9266 * sysdeps/generic/strchrnul.c: Likewise.
9267 * sysdeps/generic/memchr.c: Likewise.
9268 * sysdeps/generic/memccpy.c: Likewise.
9269 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
9271 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9273 * sysdeps/m68k/memchr.S: New file.
9274 * sysdeps/m68k/rawmemchr.S: New file.
9275 * sysdeps/m68k/strchr.S: New file.
9276 * sysdeps/m68k/strchrnul.S: New file.
9278 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
9280 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9281 add `memory' clobber; optimise for constant `val'.
9282 (atomic_add): Likewise.
9283 (test_and_set): Remove `volatile'; add `memory' clobber; be more
9284 like the original `test_and_set'.
9285 (compare_and_swap): Remove `volatile'; add `memory' clobber;
9286 optimise for constant `oldval'.
9287 (always_swap): Remove `volatile'; add `memory' clobber.
9289 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9291 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9292 functions for gcc <= 2.7.x.
9294 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
9296 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9299 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
9301 * db2/Makefile (distribute): Remove files which do not exist
9304 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9305 definitions to calm down gcc.
9307 * db2/db.h: Update from db 2.7.5.
9308 * db2/db_185.h: Likewise.
9309 * db2/db_int.h: Likewise.
9310 * db2/btree/bt_compare.c: Likewise.
9311 * db2/btree/bt_conv.c: Likewise.
9312 * db2/btree/bt_curadj.c: Likewise.
9313 * db2/btree/bt_cursor.c: Likewise.
9314 * db2/btree/bt_delete.c: Likewise.
9315 * db2/btree/bt_open.c: Likewise.
9316 * db2/btree/bt_page.c: Likewise.
9317 * db2/btree/bt_put.c: Likewise.
9318 * db2/btree/bt_rec.c: Likewise.
9319 * db2/btree/bt_recno.c: Likewise.
9320 * db2/btree/bt_rsearch.c: Likewise.
9321 * db2/btree/bt_search.c: Likewise.
9322 * db2/btree/bt_split.c: Likewise.
9323 * db2/btree/bt_stat.c: Likewise.
9324 * db2/btree/btree_auto.c: Likewise.
9325 * db2/common/db_appinit.c: Likewise.
9326 * db2/common/db_apprec.c: Likewise.
9327 * db2/common/db_err.c: Likewise.
9328 * db2/common/db_region.c: Likewise.
9329 * db2/common/db_salloc.c: Likewise.
9330 * db2/db/db.c: Likewise.
9331 * db2/db/db.src: Likewise.
9332 * db2/db/db_am.c: Likewise.
9333 * db2/db/db_auto.c: Likewise.
9334 * db2/db/db_dispatch.c: Likewise.
9335 * db2/db/db_dup.c: Likewise.
9336 * db2/db/db_iface.c: Likewise.
9337 * db2/db/db_join.c: Likewise.
9338 * db2/db/db_overflow.c: Likewise.
9339 * db2/db/db_pr.c: Likewise.
9340 * db2/db/db_rec.c: Likewise.
9341 * db2/db/db_ret.c: Likewise.
9342 * db2/db185/db185.c: Likewise.
9343 * db2/dbm/dbm.c: Likewise.
9344 * db2/hash/hash.c: Likewise.
9345 * db2/hash/hash_auto.c: Likewise.
9346 * db2/hash/hash_dup.c: Likewise.
9347 * db2/hash/hash_page.c: Likewise.
9348 * db2/hash/hash_rec.c: Likewise.
9349 * db2/hash/hash_stat.c: Likewise.
9350 * db2/include/btree.h: Likewise.
9351 * db2/include/btree_ext.h: Likewise.
9352 * db2/include/clib_ext.h: Likewise.
9353 * db2/include/common_ext.h: Likewise.
9354 * db2/include/db_am.h: Likewise.
9355 * db2/include/db_auto.h: Likewise.
9356 * db2/include/db_cxx.h: Likewise.
9357 * db2/include/db_ext.h: Likewise.
9358 * db2/include/db_join.h: Likewise.
9359 * db2/include/db_page.h: Likewise.
9360 * db2/include/hash.h: Likewise.
9361 * db2/include/hash_ext.h: Likewise.
9362 * db2/include/lock.h: Likewise.
9363 * db2/include/lock_ext.h: Likewise.
9364 * db2/include/log.h: Likewise.
9365 * db2/include/log_ext.h: Likewise.
9366 * db2/include/mp.h: Likewise.
9367 * db2/include/mp_ext.h: Likewise.
9368 * db2/include/os.h: Likewise.
9369 * db2/include/os_ext.h: Likewise.
9370 * db2/include/os_func.h: Likewise.
9371 * db2/include/txn.h: Likewise.
9372 * db2/include/txn_auto.h: Likewise.
9373 * db2/include/txn_ext.h: Likewise.
9374 * db2/include/xa.h: Likewise.
9375 * db2/include/xa_ext.h: Likewise.
9376 * db2/lock/lock.c: Likewise.
9377 * db2/lock/lock_conflict.c: Likewise.
9378 * db2/lock/lock_deadlock.c: Likewise.
9379 * db2/lock/lock_region.c: Likewise.
9380 * db2/lock/lock_util.c: Likewise.
9381 * db2/log/log.c: Likewise.
9382 * db2/log/log_archive.c: Likewise.
9383 * db2/log/log_auto.c: Likewise.
9384 * db2/log/log_findckp.c: Likewise.
9385 * db2/log/log_get.c: Likewise.
9386 * db2/log/log_put.c: Likewise.
9387 * db2/log/log_rec.c: Likewise.
9388 * db2/log/log_register.c: Likewise.
9389 * db2/mp/mp_bh.c: Likewise.
9390 * db2/mp/mp_fget.c: Likewise.
9391 * db2/mp/mp_fopen.c: Likewise.
9392 * db2/mp/mp_fput.c: Likewise.
9393 * db2/mp/mp_fset.c: Likewise.
9394 * db2/mp/mp_open.c: Likewise.
9395 * db2/mp/mp_pr.c: Likewise.
9396 * db2/mp/mp_region.c: Likewise.
9397 * db2/mp/mp_sync.c: Likewise.
9398 * db2/mutex/mutex.c: Likewise.
9399 * db2/mutex/uts4_cc.s: Likewise.
9400 * db2/os/os_abs.c: Likewise.
9401 * db2/os/os_alloc.c: Likewise.
9402 * db2/os/os_config.c: Likewise.
9403 * db2/os/os_dir.c: Likewise.
9404 * db2/os/os_fid.c: Likewise.
9405 * db2/os/os_fsync.c: Likewise.
9406 * db2/os/os_map.c: Likewise.
9407 * db2/os/os_oflags.c: Likewise.
9408 * db2/os/os_open.c: Likewise.
9409 * db2/os/os_rw.c: Likewise.
9410 * db2/os/os_seek.c: Likewise.
9411 * db2/os/os_sleep.c: Likewise.
9412 * db2/os/os_spin.c: Likewise.
9413 * db2/os/os_stat.c: Likewise.
9414 * db2/os/os_tmpdir.c: Likewise.
9415 * db2/os/os_unlink.c: Likewise.
9416 * db2/progs/db_archive/db_archive.c: Likewise.
9417 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9418 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9419 * db2/progs/db_dump/db_dump.c: Likewise.
9420 * db2/progs/db_load/db_load.c: Likewise.
9421 * db2/progs/db_printlog/README: Likewise.
9422 * db2/progs/db_printlog/commit.awk: Likewise.
9423 * db2/progs/db_printlog/count.awk: Likewise.
9424 * db2/progs/db_printlog/db_printlog.c: Likewise.
9425 * db2/progs/db_printlog/pgno.awk: Likewise.
9426 * db2/progs/db_printlog/range.awk: Likewise.
9427 * db2/progs/db_printlog/status.awk: Likewise.
9428 * db2/progs/db_printlog/txn.awk: Likewise.
9429 * db2/progs/db_recover/db_recover.c: Likewise.
9430 * db2/progs/db_stat/db_stat.c: Likewise.
9431 * db2/txn/txn.c: Likewise.
9432 * db2/txn/txn.src: Likewise.
9433 * db2/txn/txn_auto.c: Likewise.
9434 * db2/txn/txn_rec.c: Likewise.
9435 * db2/xa/xa.c: Likewise.
9436 * db2/xa/xa_db.c: Likewise.
9437 * db2/xa/xa_map.c: Likewise.
9439 * db2/btree/bt_close.c: Removed.
9440 * db2/db/db_thread.c: Likewise.
9441 * db2/hash/hash_debug.c: Likewise.
9442 * db2/include/db.h.src: Likewise.
9443 * db2/include/db_int.h.src: Likewise.
9444 * db2/include/os_jump.h: Likewise.
9445 * db2/mutex/alpha.dec: Likewise.
9446 * db2/mutex/alpha.gcc: Likewise.
9447 * db2/mutex/parisc.hp: Likewise.
9448 * db2/mutex/uts4.cc.s: Likewise.
9450 * db2/Makefile: Add new routines, remove old for 2.7.5.
9451 * db2/Versions: Add internal function names for the helper programs.
9452 * db2/makedb.c: Update for new cursor callback.
9453 * Versions.def: Define versions for libdb.
9455 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
9457 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9458 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9459 * nscd/nscd_nischeck.c: New file.
9460 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9462 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9464 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9465 MSG_* flags from Linux 2.2.9.
9467 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9469 * Makeconfig (static-start-installed-name): Set to
9470 $(start-installed-name) if not defined.
9471 (+link-static): Use $(static-start-installed-name) instead of
9472 $(start-installed-name).
9473 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9476 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9478 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9479 inserting a send right into the child instead of unconditionally
9480 copying the send right.
9482 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
9484 * locale/lc-time.c: Add free_mem function to free if necessary
9485 statically allocated memory.
9487 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
9489 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9490 bias from the raw exponent.
9492 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9494 * inet/arpa/tftp.h: Move attribute declaration in right position.
9496 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
9498 * nscd/nscd.c: Add -S options for separate caching of data for
9499 every user. So one user couldn't see the data another user
9500 has gotten with his credentials.
9501 * nscd/nscd.h: Add new prototypes.
9502 * nscd/cache.c: Compare owner of cache entry if in secure mode.
9503 * nscd/connections.c: Check on shutdown if caller really was root.
9504 In secure mode get uid of caller.
9505 * nscd/grpcache.c: Add support for new secure group mode.
9506 * nscd/hstcache.c: Add support for new secure hosts mode.
9507 * nscd/pwdcache.c: Add support for new secure passwd mode.
9509 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9511 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9512 of user-provided buffer.
9514 1999-06-11 Mark Kettenis <kettenis@gnu.org>
9516 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9517 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9519 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
9521 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9524 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9525 returning after last entry.
9526 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9528 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
9530 * misc/sysexits.h: Remove advertising clause of copyright.
9531 * resolv/getnetnamadr.c: Likewise.
9532 * sysdeps/vax/bcopy.s: Likewise.
9533 * sysdeps/vax/bzero.s: Likewise.
9534 * sysdeps/vax/ffs.s: Likewise.
9535 * sysdeps/vax/memchr.s: Likewise.
9536 * sysdeps/vax/memcmp.s: Likewise.
9537 * sysdeps/vax/memmove.s: Likewise.
9538 * sysdeps/vax/memset.s: Likewise.
9539 * sysdeps/vax/strcat.s: Likewise.
9540 * sysdeps/vax/strchr.s: Likewise.
9541 * sysdeps/vax/strcmp.s: Likewise.
9542 * sysdeps/vax/strcpy.s: Likewise.
9543 * sysdeps/vax/strcspn.s: Likewise.
9544 * sysdeps/vax/strlen.s: Likewise.
9545 * sysdeps/vax/strncat.s: Likewise.
9546 * sysdeps/vax/strncmp.s: Likewise.
9547 * sysdeps/vax/strncpy.s: Likewise.
9548 * sysdeps/vax/strpbrk.s: Likewise.
9549 * sysdeps/vax/strrchr.s: Likewise.
9550 * sysdeps/vax/strsep.s: Likewise.
9551 * sysdeps/vax/strspn.s: Likewise.
9552 * sysdeps/vax/strstr.s: Likewise.
9554 * libio/iofopncook.c: Adjust for renaming of structure elements.
9555 * libio/libio.h: Define cookie functions with all the names.
9557 * pwd/fgetpwent_r.c: Set errno in the correct way.
9558 * shadow/fgetspent_r.c: Likewise.
9559 * pwd/fgetpwent.c: Handle long lines correctly. Little
9560 optimizations. Free static buffer when debugging memory handling.
9561 * shadow/fgetspent.c: Likewise.
9563 * grp/fgetgrent.c: Little optimization in loop.
9565 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9567 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9570 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
9572 * stdlib/longlong.h: gas changed sethi handling when without
9573 %hi(). Fix assembly.
9574 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9575 port specific cache id checks.
9576 * sysdeps/generic/dl-cache.h: New file.
9577 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9579 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9581 * gmon/gmon.c: Remove advertising clause of copyright.
9582 * gmon/mcount.c: Likewise.
9583 * gmon/sys/gmon.h: Likewise.
9584 * inet/arpa/ftp.h: Likewise.
9585 * inet/arpa/telnet.h: Likewise.
9586 * inet/arpa/tftp.h: Likewise.
9587 * inet/inet_lnaof.c: Likewise.
9588 * inet/inet_mkadr.c: Likewise.
9589 * inet/inet_net.c: Likewise.
9590 * inet/inet_netof.c: Likewise.
9591 * inet/protocols/routed.h: Likewise.
9592 * inet/protocols/rwhod.h: Likewise.
9593 * inet/protocols/talkd.h: Likewise.
9594 * inet/protocols/timed.h: Likewise.
9595 * inet/rcmd.c: Likewise.
9596 * inet/rexec.c: Likewise.
9597 * inet/ruserpass.c: Likewise.
9598 * io/fts.c: Likewise.
9599 * io/fts.h: Likewise.
9600 * login/login_tty.c: Likewise.
9601 * misc/fstab.h: Likewise.
9602 * misc/getttyent.c: Likewise.
9603 * misc/getusershell.c: Likewise.
9604 * misc/sys/queue.h: Likewise.
9605 * misc/sys/syslog.h: Likewise.
9606 * misc/syslog.c: Likewise.
9607 * misc/ttyent.h: Likewise.
9608 * misc/ttyslot.c: Likewise.
9609 * resolv/arpa/nameser.h: Likewise.
9610 * resolv/gethnamaddr.c: Likewise.
9611 * resolv/herror.c: Likewise.
9612 * resolv/inet_addr.c: Likewise.
9613 * resolv/mapv4v6addr.h: Likewise.
9614 * resolv/mapv4v6hostent.h: Likewise.
9615 * resolv/nss_dns/dns-host.c: Likewise.
9616 * resolv/nss_dns/dns-network.c: Likewise.
9617 * resolv/res_comp.c: Likewise.
9618 * resolv/res_data.c: Likewise.
9619 * resolv/res_debug.c: Likewise.
9620 * resolv/res_init.c: Likewise.
9621 * resolv/res_mkquery.c: Likewise.
9622 * resolv/res_query.c: Likewise.
9623 * resolv/res_send.c: Likewise.
9624 * resolv/resolv.h: Likewise.
9625 * sysdeps/generic/div.c: Likewise.
9626 * sysdeps/generic/netinet/ip.h: Likewise.
9627 * sysdeps/generic/netinet/tcp.h: Likewise.
9628 * sysdeps/generic/paths.h: Likewise.
9629 * sysdeps/generic/prof-freq.c: Likewise.
9630 * sysdeps/generic/sys/ttydefaults.h: Likewise.
9631 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9632 * sysdeps/gnu/netinet/tcp.h: Likewise.
9633 * sysdeps/ieee754/support.c: Likewise.
9634 * sysdeps/mach/hurd/sys/param.h: Likewise.
9635 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9636 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9637 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9638 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9639 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9640 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9641 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9642 * sysdeps/unix/sysv/linux/paths.h: Likewise.
9643 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9644 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9645 * sysdeps/vax/DEFS.h: Likewise.
9646 * termios/sys/ttychars.h: Likewise.
9647 * misc/daemon.c: Likewise. Call fork.
9649 * grp/fgetgrent.c (buffer): Make file local variable.
9650 (free_mem): New function. Call for malloc debugging.
9652 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9654 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9656 * grp/Makefile: Add rules for tst_fgetgrent.
9658 * grp/tst_fgetgrent.c: Rewritten to read only one file.
9660 * grp/tst_fgetgrent.sh: New file.
9662 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9664 * grp/Makefile (tests): Add tst_fgetgrent.
9665 * grp/tst_fgetgrent.c: New file.
9666 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9668 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
9670 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9671 be POSIX compliant. Prior definition was broken for Hurd.
9672 Reported by Mark Kettenis <kettenis@gnu.org>.
9674 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9676 * ctype/ctype.h: Protect __tobody code by __extension__.
9678 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9680 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9681 reading and reset in case the buffer was too small.
9683 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9686 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9688 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9689 another SIOGIFNAME typo.
9691 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9693 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9695 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9698 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9700 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9701 the precision if the mantissa is zero.
9703 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9705 * manual/lang.texi (Floating Point Parameters): GCC already
9706 supports long double for a long time.
9708 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9710 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9711 yn_test): Increase some epsilons.
9713 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9715 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9718 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9720 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9721 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9722 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9723 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9725 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9726 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9727 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9728 * sysdeps/libm-ieee754/w_j1.c: Likewise.
9729 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9730 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9731 * sysdeps/libm-ieee754/w_jn.c: Likewise.
9732 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9733 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9735 * stdio-common/vfprintf.c: Correct typos.
9737 * math/libm-test.c (jn_test): Adjust delta.
9738 (y1_test): Likewise.
9739 (yn_test): Likewise.
9741 * elf/do-lookup.h: It should never happen that if we expect a versioned
9742 symbol from a file the file has no version table. This should have
9743 been checked in dl-version.c.
9744 * elf/dl-lookup.c: Include assert.h.
9746 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9749 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9751 1999-06-06 Andi Kleen <ak@muc.de>
9753 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9756 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9758 * math/libm-test.c (yn_test): Change one delta.
9759 (jn_test): Likewise.
9760 (j1_test): Likewise.
9761 (y0_test): Likewise.
9763 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9765 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9766 avoid multiple calls to getpagesize() which might be a syscall.
9768 1999-06-06 Philip Blundell <philb@gnu.org>
9770 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9772 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9774 * manual/install.texi (Running make install): Correct typo in
9775 dynamic linker invocation.
9777 1999-06-05 Philip Blundell <philb@gnu.org>
9779 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9780 problems with GOT addressing.
9782 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9784 * malloc/malloc.c (check_action): Change into bitmap so that both
9785 diagnostic and abort can be requested by setting it to 3.
9786 (mALLOC_SET_STATe): Disable malloc checking if necessary.
9788 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
9790 * configure.in: Few changes for HPUX.
9792 * scripts/config.guess: Update from latest version.
9793 * scripts/config.sub: Likewise.
9795 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9797 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9798 map files. Closes PR libc/1147.
9800 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9802 * math/libm-test.c (main): Add new test functions.
9803 (jn_test): New tests.
9804 (j1_test): Add some more tests.
9805 (j0_test): Add some more tests.
9806 (y0_test): Add some more tests.
9807 (y1_test): Add some more tests.
9809 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9811 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9812 Patch by mhagger@dera.gov.uk [PR libc/1145].
9814 * math/libm-test.c (y1_test): New tests.
9815 (y0_test): Likewise.
9816 (j1_test): Likewise.
9817 (j0_test): Likewise.
9818 (main): Added new tests.
9820 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
9822 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9823 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9825 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9829 1999-06-02 David S. Miller <davem@redhat.com>
9831 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9834 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
9836 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9837 and elide compatibility code if possible.
9839 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
9841 * manual/llio.texi: Remove menu entry for removed section.
9843 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9845 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9848 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9850 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9853 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
9855 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9857 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9859 * manual/stdio.texi: Fix some typos.
9861 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9863 * malloc/malloc.h: Properly handle future GCC versions.
9865 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9867 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9868 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
9869 text of error message.
9871 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9873 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9875 * manual/filesys.texi: Extend (f)truncate documentation.
9876 * manual/llio.texi: Remove duplicate (f)truncate definition.
9878 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9880 * manual/stdio.texi (Formatted Output Functions): Mention
9881 semantics of snprintf in glibc 2.0.
9882 Reported by Ben Pfaff <pfaffben@msu.edu>.
9884 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9886 * include/features.h (__GLIBC_MINOR__): Bump to 2.
9888 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
9890 * math/libm-test.c: Adjust a few more deltas for the poor ARM
9893 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9895 * configure.in: Fix typo.
9897 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9899 * manual/socket.texi (Host Names): Remove statement that h_errno
9900 needs to be declared since this isn't true anymore.
9901 Closes PR libc/1138.
9903 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
9905 * config.h.in: Add __LINUX_KERNEL_VERSION.
9906 * configure.in: Recognize --enable-kernel.
9907 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
9908 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
9910 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
9911 given perform runtime test.
9913 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
9914 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
9915 minimal supported kernel is known to have the feature.
9916 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9917 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9918 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9919 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9920 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9921 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
9922 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9923 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9924 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9925 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9926 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9927 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
9928 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9929 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
9930 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9932 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
9934 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9936 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
9938 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
9940 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
9941 Optimized sparc64 routines.
9943 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9945 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
9946 they are the same as ints.
9947 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9949 * version.h (VERSION): Bump to 2.1.90.
9950 (RELEASE): Mark as development.
9952 * stdio-common/vfprintf.c (vfprintf): Don't implement special
9953 handling for long long if it is the same as long.
9954 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9956 * stdlib/strtol.c: Moved to ...
9957 * sysdeps/generic/strtol.c: ...here.
9958 * stdlib/strtoul.c: Moved to ...
9959 * sysdeps/generic/strtoul.c: ...here.
9960 * stdlib/strtoll.c: Moved to ...
9961 * sysdeps/generic/strtoll.c: ...here.
9962 * stdlib/strtoull.c: Moved to ...
9963 * sysdeps/generic/strtoull.c: ...here.
9964 * stdlib/strtol_l.c: Moved to ...
9965 * sysdeps/generic/strtol_l.c: ...here.
9966 * stdlib/strtoul_l.c: Moved to ...
9967 * sysdeps/generic/strtoul_l.c: ...here.
9968 * stdlib/strtoll_l.c: Moved to ...
9969 * sysdeps/generic/strtoll_l.c: ...here.
9970 * stdlib/strtoull_l.c: Moved to ...
9971 * sysdeps/generic/strtoull_l.c: ...here.
9973 * sysdeps/wordsize-64/strtol.c: New file.
9974 * sysdeps/wordsize-64/strtoul.c: New file.
9975 * sysdeps/wordsize-64/strtoll.c: New file.
9976 * sysdeps/wordsize-64/strtoull.c: New file.
9977 * sysdeps/wordsize-64/strtol_l.c: New file.
9978 * sysdeps/wordsize-64/strtoul_l.c: New file.
9979 * sysdeps/wordsize-64/strtoll_l.c: New file.
9980 * sysdeps/wordsize-64/strtoull_l.c: New file.
9982 * wcsmbs/wcstol.c: Moved to ...
9983 * sysdeps/generic/wcstol.c: ...here.
9984 * wcsmbs/wcstoul.c: Moved to ...
9985 * sysdeps/generic/wcstoul.c: ...here.
9986 * wcsmbs/wcstoll.c: Moved to ...
9987 * sysdeps/generic/wcstoll.c: ...here.
9988 * wcsmbs/wcstoull.c: Moved to ...
9989 * sysdeps/generic/wcstoull.c: ...here.
9990 * wcsmbs/wcstol_l.c: Moved to ...
9991 * sysdeps/generic/wcstol_l.c: ...here.
9992 * wcsmbs/wcstoul_l.c: Moved to ...
9993 * sysdeps/generic/wcstoul_l.c: ...here.
9994 * wcsmbs/wcstoll_l.c: Moved to ...
9995 * sysdeps/generic/wcstoll_l.c: ...here.
9996 * wcsmbs/wcstoull_l.c: Moved to ...
9997 * sysdeps/generic/wcstoull_l.c: ...here.
9999 * sysdeps/wordsize-64/wcstol.c: New file.
10000 * sysdeps/wordsize-64/wcstoul.c: New file.
10001 * sysdeps/wordsize-64/wcstoll.c: New file.
10002 * sysdeps/wordsize-64/wcstoull.c: New file.
10003 * sysdeps/wordsize-64/wcstol_l.c: New file.
10004 * sysdeps/wordsize-64/wcstoul_l.c: New file.
10005 * sysdeps/wordsize-64/wcstoll_l.c: New file.
10006 * sysdeps/wordsize-64/wcstoull_l.c: New file.
10008 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
10010 * sysdeps/sparc/bits/wordsize.h: New file.
10011 * sysdeps/sparc/fpu/bits/fenv.h: New file.
10012 * sysdeps/sparc/fpu/fpu_control.h: New file.
10013 * sysdeps/sparc/gmp-mparam.h: New file.
10015 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10016 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10017 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10018 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10019 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10020 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10022 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10023 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10024 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10025 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10027 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10028 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10029 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10030 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10031 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10033 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
10035 * login/openpty.c (openpty): Make sure pty does not because
10038 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10040 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
10042 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10043 Do proper error return.
10045 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10047 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10048 of __P in the rest of glibc; define __MALLOC_PMT and use it.
10049 Reported by Stephan Kulow <coolo@kde.org>.
10051 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
10053 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10055 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10057 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10059 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10060 names to protect from user's macro namespace.
10061 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10062 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10063 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10064 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10065 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10067 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10068 sysdeps/arm/fpu/fesetenv.c: Likewise.
10069 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10070 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10071 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10072 * sysdeps/mips/fesetenv.c: Likewise.
10074 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
10076 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10078 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
10080 * configure.in: Recognize and allow gcc 2.95.
10082 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10084 * sysdeps/generic/bits/elfclass.h: Version common to
10085 wordsize-32 and wordsize-64.
10086 * sysdeps/generic/bits/environments.h: Ditto.
10087 * sysdeps/generic/stdint.h: Ditto.
10088 * sysdeps/generic/inttypes.h: Ditto.
10090 * sysdeps/generic/bits/wordsize.h: New file.
10091 * stdlib/Makefile: Add bits/wordsize.h to headers.
10093 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10095 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10096 headers to be used for 32bit and 64bit ABI compilations.
10097 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10098 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10099 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10100 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10101 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10103 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10104 * sysdeps/wordsize-64/bits/environments.h: Remove.
10105 * sysdeps/wordsize-64/stdint.h: Remove.
10106 * sysdeps/wordsize-64/inttypes.h: Remove.
10107 * sysdeps/wordsize-64/bits/wordsize.h: New file.
10109 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10110 * sysdeps/wordsize-32/bits/environments.h: Remove.
10111 * sysdeps/wordsize-32/stdint.h: Remove.
10112 * sysdeps/wordsize-32/inttypes.h: Remove.
10113 * sysdeps/wordsize-32/bits/wordsize.h: New file.
10115 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10117 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10118 __align_cpy_16): New functions.
10119 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10121 * sysdeps/sparc/sparc32/Versions: New file.
10122 * sysdeps/sparc/sparc64/Versions: New file.
10123 * sysdeps/sparc/Versions: Remove.
10125 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10127 * sysdeps/unix/sysv/linux/configure.in:
10128 On sparc64-*-linux*, set slibdir to /lib64 if prefix
10129 is /usr, plus set libdir to ${exec_prefix}/lib64.
10130 * sysdeps/unix/sysv/linux/configure: Regenerated.
10131 * config.make.in: Propagate libdir settings from configure
10133 * shlib-versions: sparc64-*-linux* dynamic linker is
10134 /lib64/ld-linux.so.2.
10136 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
10138 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10141 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
10143 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10144 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10146 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10147 contains garbage in bits 8-63.
10148 * sysdeps/sparc/sparc64/memset.S: Ditto.
10149 * sysdeps/sparc/sparc64/strchr.S: Ditto.
10151 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
10153 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10155 1999-05-17 David S. Miller <davem@redhat.com>
10157 * sysdeps/sparc/sparc32/atomicity.h: New file.
10158 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10159 * sysdeps/sparc/sparc64/atomicity.h: New file.
10160 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10163 1999-05-18 Richard Henderson <rth@twiddle.net>
10165 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
10167 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
10169 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10170 posix/sys/types.h: Handle the case of __GNUC__=3,
10171 __GNUC_MINOR__=(anything).
10173 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10175 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10178 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10180 * elf/Makefile (distribute): Remove dl-origin.h.
10181 Add dl-dst.h and gen-trusted-dirs.awk.
10183 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10185 * sysdeps/i386/i486/Versions: New file with inline functions from
10186 sysdeps/i386/i486/bits/string.h for now.
10188 * sysdeps/i386/Versions: Add inline functions from
10189 sysdeps/i386/bits/string.h.
10191 * string/Versions: Add inline functions from <bits/string2.h>.
10193 * string/Makefile (routines): Add string-inlines.
10194 * string/string-inlines.c: New file, used for implementation of
10195 extern inline functions.
10197 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10198 non inlined versions of functions.
10199 * string/bits/string2.h: Likewise.
10200 * sysdeps/i386/bits/string.h: Likewise.
10202 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10204 * inet/arpa/tftp.h: Add second packed attribute.
10206 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10208 * malloc/malloc.c: Cleanup to bring in line with released
10209 stand-alone version `ptmalloc'. Update some comments.
10210 (internal_function): Move fallback definition so that the source
10211 compiles outside of libc, and use it in more places.
10212 (malloc_atfork): Fix when malloc_check is in use.
10214 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10216 * stdlib/tst-strtod.c: Fix typo.
10218 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10220 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10221 const incorrectness.
10223 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10225 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10227 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
10229 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10230 * sunrpc/key_call.c: Fix memory leak, close file handle.
10231 * nis/nis_creategroup.c: Use malloc instead of calloc,
10232 set ctime and mtime.
10233 * nis/nis_subr.c: Check for realloc result.
10234 * nis/nis_file.c: Fix memory leak.
10235 * nis/nis_table.c: Pretty print.
10236 * nis/nis_getservlist.c: Likewise.
10237 * nis/nis_ismember.c: Likewise.
10238 * nis/nis_lookup.c: Likewise.
10239 * nis/nis_ping.c: Likewise.
10240 * nis/nis_removemember.c: Likewise.
10241 * nis/nis_util.c: Likewise, check calloc result.
10243 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10245 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10246 * sysdeps/generic/sys/socketvar.h: ... here.
10247 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10248 * sysdeps/generic/netinet/in_systm.h: ... here.
10249 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10252 * inet/Makefile (headers): Add netinet/in_systm.h here.
10253 * socket/Makefile (headers): Add sys/socketvar.h here.
10255 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
10257 * stdlib/strtol.c: Optimize inner loop of long long versions.
10259 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10260 Unix98. Add forward declaration of struct utmp.
10262 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10264 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10267 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10268 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
10269 memory allocation results.
10271 1999-05-14 Mark Kettenis <kettenis@gnu.org>
10273 * sysdeps/generic/getutmp.c: Include <string.h>
10274 (getutmp): Rewrite to only copy those members that are really
10275 present in `struct utmp'.
10276 * sysdeps/generic/getutmpx.c: Likewise.
10278 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10280 * nss/getXXbyYY.c: Add free_mem function which disposes all
10281 statically allocated memory when debugging.
10282 * nss/getXXent.c: Likewise.
10283 * nss/nsswitch.c: Likewise.
10285 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
10287 * sysdeps/gnu/getutmpx.c: New file.
10288 * sysdeps/gnu/getutmp.c: New file.
10290 1999-05-13 H.J. Lu <hjl@gnu.org>
10292 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10293 (getutmp): Likewise.
10295 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10296 getutmpx for login.
10298 * sysdeps/gnu/utmpx.h (getutmp): Added.
10299 (getutmpx): Likewise.
10301 * sysdeps/generic/getutmp.c: New file.
10303 * sysdeps/generic/getutmpx.c: New file.
10305 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10307 * glibcbug.in (BUGGLIBC): Change address to
10308 libc-alpha@sourceware.cygnus.com.
10310 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10312 * resolv/arpa/nameser.h: Add C++ protectors.
10314 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10316 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
10317 Elad Tsur <eladts@post.tau.ac.il>.
10319 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
10321 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10322 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10323 lazily if LD_BIND_NOW is not set.
10324 * elf/dl-support.c (_dl_lazy): New variable.
10325 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10326 * elf/rtld.c (_dl_lazy): new global variable.
10327 ( dl_main): Remove lazy, replace it by _dl_lazy.
10329 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10331 * locale/setlocale.c (new_composite_name): Check also whether the
10332 first category name differs.
10334 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10336 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10339 1999-05-11 Philip Blundell <pb@nexus.co.uk>
10341 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10342 structure; storage suitable for any socket address.
10343 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10345 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10346 sockaddr_storage): Likewise.
10348 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10351 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
10353 * hesiod/Versions: Change _nss_hesiod_getpwuid and
10354 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10355 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
10357 1999-05-09 Mark Kettenis <kettenis@gnu.org>
10359 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10360 if the file is empty.
10362 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
10364 * elf/do-lookup.h: Fix typo in comment.
10366 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10367 f_bsize to help some broken programs.
10369 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10371 * stdio-common/vfprintf.c: Fix typo.
10373 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
10375 * elf/link.h (struct link_map): New field l_phdr_allocated.
10376 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10377 the program header being part of any loaded segment. If it is not
10378 allocate memory and set l_phdr_allocated flag.
10379 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10381 * nss/digits_dots.c: Correct return value interpretation of
10382 inet_ntoa. Fix PR libc/1109.
10384 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
10386 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10388 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
10390 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10391 * stdlib/fpioconst.c: Move #endif before end of struct.
10393 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
10395 * Versions.def (ld.so): Add GLIBC_2.1.1.
10396 * elf/Makefile (routines): Add dl-origin.
10397 (tests): Add origtest. Add dependencies for the program.
10398 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10399 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10400 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
10401 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10402 DT_AUXILIARY, and DT_FILTER filenames.
10403 * elf/dl-load.c (expand_dynamic_string_token): Explode into
10404 two functions and three macros.
10405 (_dl_dst_count, _dl_dst_substitute): New functions.
10406 * elf/dl-dst.h: New file.
10407 * elf/dl-open.c (_dl_open): Take extra parameter with address of
10408 caller. Pass address in args structure.
10409 (dl_open_worker): Recognize and expand DSTs in filename.
10410 * elf/ldsodefs.h (_dl_open): Adapt prototype.
10411 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10412 (__dlopen_check): Pass caller address to dlopen_doit in args.
10413 * elf/dlopendoit.c: Likewise.
10414 * iconv/gconv_dl.c: Adapt call of _dl_open.
10415 * nss/nsswitch.c: Likewise.
10416 * elf/origtest.c: New file.
10417 * sysdeps/generic/dl-origin.h: Moved to...
10418 * sysdeps/generic/dl-origin.c: ...here.
10419 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10420 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10422 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10423 with specific bases and only few bits set in second word.
10425 * timezone/Makefile (install-others): Create target directory
10426 before creating tzfiles.
10428 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
10430 * nis/nis_file.c (readColdStartFile): Allocate memory only after
10431 the file is opened successfully.
10433 * nis/nis_table.c: Fix some memory leaks.
10435 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
10437 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10440 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10441 around DST. Correctly ignore ORIGIN IN SUID binaries.
10443 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
10445 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10446 * sysdeps/generic/strtok.c: Likewise.
10448 * string/tester.c: Add test of rawmemchr.
10450 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10451 specification. It's not necessary.
10453 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10454 * elf/gen-trusted-dirs.awk: New file.
10455 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
10456 from SYSTEM_DIRS macro.
10457 (system_dirs_len): New variable. Contains lengths of system_dirs
10459 (fillin_rpath): Rewrite for systems_dirs being a simple string.
10460 Improve string comparisons. Change parameter trusted to be a flag.
10461 Change all callers.
10462 (_dt_init_paths): Improve using new format for system_dirs.
10464 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10465 $ORIGIN for SUID binaries.
10467 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10469 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10471 * sunrpc/Makefile: Generate dependencies for all flavors of
10473 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10476 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10478 * elf/dlopenold.c: Move #if down after includes to get
10479 dependencies right.
10481 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10483 * sysdeps/generic/bzero.c: Undefine __bzero.
10485 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10487 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10488 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10489 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10490 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10492 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10493 parameter to struct gaih_servtuple *. Adapt appropriately.
10494 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10495 This fixes a memory leak.
10496 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10498 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10499 and fpregset_t definition. They are defined in ucontext.h.
10501 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10503 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10504 and struct ether_header must be packed on the ARM. The default
10505 alignment constraints add padding to the end of the structures.
10507 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10509 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
10510 default alignment constraints add padding to the end of the
10511 structure and between members.
10513 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10515 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10516 _dl_cache_libcmp instead of strcmp.
10518 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10520 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10522 1998-03-30 Joel Klecker <espy@debian.org>
10524 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10525 (sysdep-others,install-bin): Add lddlibc4.
10527 1999-05-02 H.J. Lu <hjl@gnu.org>
10529 * timezone/zic.c (dolink): Remove the symlink destination first.
10531 * catgets/open_catalog.c (__open_catalog): Set catalog->status
10532 to "nonexisting" if failed to open the file.
10534 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
10536 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10539 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10540 Prevent warnings from multiplication with 0x01010101 by another cast.
10542 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10544 * string/bits/string2.h (memset): Revert to previous version if
10545 unaligned writes are not available.
10547 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10549 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10550 better code in presence of the asm.
10552 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10554 * stdlib/fmtmsg.c (keywords): Increase array size for faster
10557 * locale/localeinfo.h (_nl_category_names): Increase array element
10558 size for faster indexing.
10559 * locale/setlocale.c (_nl_category_names): Adjusted.
10561 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10563 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10565 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10567 * sysdeps/m68k/stackinfo.h: New file.
10569 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10571 * string/tester.c (test_strchrnul): New function.
10572 (test_memset): Test one more special case.
10574 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10577 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10580 * string/bits/string2.h: Fix bugs I introduced in last change.
10582 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10584 Extend memset optimization.
10585 Correct i686 version of memchr.
10587 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
10589 * sysdeps/i386/bzero.c: Add #undef __bzero.
10591 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10592 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10593 exec server simulated a SIGTRAP before we even started up, so gdb is
10596 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10598 * nss/digits_dots.c: Always initialize not_ok.
10600 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
10602 * string/bits/string2.h (memset): Avoid arithmetic overflow at
10603 compile time, which produces obnoxious warnings. If GCCv2 is
10604 in use, map __bzero to __builtin_memset to enable that
10607 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10609 * string/bits/string2.h: Add more memset optimizations.
10611 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10613 * resolv/inet_pton.c (inet_pton4): Little optimizations.
10614 (inet_pton6): Likewise.
10616 * nss/getXXbyYY_r.c: Include assert.h.
10617 * nss/getXXbyYY.c: Likewise.
10619 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10621 * termios/tcgetsid.c (tcgetsid): Rename variable to
10622 tiocgsid_does_not_work.
10624 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10626 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10628 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10630 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10631 This allows e.g. gethostbyname to accept "10.1234".
10632 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10634 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10635 non quad IPv4 numbers.
10637 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10639 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10641 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10643 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10644 * argp/argp-parse.c (_argp_hang): Likewise.
10645 * argp/argp-pv.c (argp_program_version): Likewise.
10646 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10647 * inet/ether_hton.c (ether_hton, startp): Likewise.
10648 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10649 * inet/getnetgrent_r.c (setup, startp): Likewise.
10650 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10651 * intl/localealias.c (string_space, string_space_act, string_space_max,
10652 nmap, maxmap): Likewise.
10653 * libio/iopopen.c (proc_file_chain): Likewise.
10654 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10655 * locale/lc-collate.c (__collate_table, __collate_extra,
10656 __collate_element_hash, __collate_element_strings,
10657 __collate_element_values): Likewise.
10658 * malloc/mcheck.c (mcheck_used): Likewise.
10659 * malloc/mtrace.c (added_atexit_handler): Likewise.
10660 * malloc/set-freeres.c (already_called): Likewise.
10661 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10662 * misc/syslog.c (LogStat, LogTag): Likewise.
10663 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10664 * nss/getXXbyYY_r.c (startp): Likewise.
10665 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10666 * posix/regex.c (init_syntax_once) [done]: Likewise.
10668 * string/strfry.c (init): Likewise.
10669 * sunrpc/svc_run.c (svc_top): Likewise.
10670 * posix/euidaccess.c (have_ids): Likewise.
10671 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10672 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10673 * time/getdate.c (getdate_err): Likewise.
10674 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10676 * time/tzset.c (old_tz, is_initialized): Likewise.
10678 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10679 of static data with zero.
10680 * signal/allocrtsig.c (init): Likewise.
10682 * string/Makefile (routines): Add strchrnul.
10683 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10684 * string/string.c: Add strchrnul prototype.
10685 * include/string.h: Add __strchrnul prototype.
10686 * sysdeps/generic/strchrnul.c: New file.
10687 * sysdeps/i386/strchrnul.S: New file.
10688 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10689 * sysdeps/i386/i486/bits/string.c: Likewise.
10690 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10691 * inet/ether_line.c (ether_line): Likewise.
10692 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10693 * nss/nsswitch.c (nss_parse_file): Likewise.
10694 * posix/execvp.c (execvp): Likewise.
10695 * posix/fnmatch.c (internal_fnmatch): Likewise.
10696 * resolv/res_hconf.c (_res_hconv_init): Likewise.
10697 * resolv/res_init.c (res_init): Likewise.
10698 * stdlib/fmtmsg.c (init): Likewise.
10699 * stdlib/getsubopt.c (getsubopt): Likewise.
10701 * catgets/catgets.c (catopen): Only allocate one memory block.
10702 (catclose): Only one free call necessary.
10704 * catgets/open_catalog.c (__open_catalog): Simplify handling of
10707 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10708 of real functions. Simplify _tolower and _toupper.
10710 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10713 * iconv/gconv.h (struct gconv_info): Change data element from pointer
10714 to array of size 0.
10715 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10716 * iconv/gconv_close.c (__gconv_close): Don't free data.
10718 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10721 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
10722 for error while inserting in tree.
10724 * include/time.h: Pretty print.
10726 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10727 in table and lots of relocations.
10728 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10729 string pointers in table and lots of relocations.
10731 * intl/finddomain.c: Remove definition of strchr macro.
10733 * io/ftw.c (nftw_arr, ftw_arr): Make const.
10735 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10737 * locale/localeinfo.h (_nl_category_names): Change into an array with
10738 fixed width char string elements.
10739 * locale/setlocale.c (_nl_category_names): Likewise.
10740 (_nl_current): Make global.
10741 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
10743 * malloc/Makefile (distribute): Add stackinfo.h.
10744 * sysdeps/generic/stackinfo.h: New file.
10745 * sysdeps/i386/stackinfo.h: New file.
10746 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10747 * posix/execle.c: Likewise.
10748 * posix/execlp.c: Likewise.
10750 * nis/nis_table.c (__create_ib_request): Always use realloc.
10752 * posix/execvp.c (execute): Rename to script_execute and keep only
10753 code to execute using shell.
10754 (execvp): Call execv directly and only fall back on script_execute.
10756 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10757 and always use xdigits instead.
10759 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10762 * stdlib/fpioconst.h (__tens): New declaration.
10763 (struct mp_power): Remove array, add arrayoff element.
10764 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10765 __tens array and add in _fpioconst_pow10 offsets into __tens.
10766 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10767 * stdlib/strtod.c: Likewise.
10769 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10771 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10773 * stdlib/atexit.c (__exit_funcs): Don't initialize.
10775 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10777 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10778 a single and an array with offsets.
10780 * sunrpc/des_soft.c (partab): Make it const.
10782 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10783 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10784 (__key_decryptsession_pk_LOCAL): Likewise.
10785 (__key_gendes_LOCAL): Likewise.
10786 (MESSENGER): Mark const.
10787 (key_call_private_main): Don't initialize with 0.
10788 (use_keyenvoy): Don't initialize with 0.
10789 (key_call): Rewrite to reverse logic of use_doors variable.
10791 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10792 (startp): Don't initialize with zero.
10794 * sunrpc/openchild.c (_openchild): Make first argument const.
10796 * sunrpc/pmap_rmt.c (timeout): Mark const.
10797 * sunrpc/xcrypt.c (hex): Likewise.
10799 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10800 initialization of global variables.
10801 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10802 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10803 * termios/tcgetsid.c: Likewise.
10805 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10808 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10809 block. Add function to free memory if wanted.
10810 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10812 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10814 * wcsmbs/wmemset.c: Little code optimization.
10816 1999-04-23 Paul Eggert <eggert@twinsun.com>
10818 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10821 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
10823 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10824 implementation and just always fail with ENOSYS. This entry point is
10825 obsolete. Add link warning to that effect.
10827 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10829 * hurd/get-host.c: Include <hurd/lookup.h>.
10831 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10833 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10836 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10838 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10839 ISO C9x and Unix98.
10841 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10843 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10844 Patch by Peter Miller <millerp@canb.auug.org.au>.
10846 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
10848 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10849 prefers loopback device.
10851 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10853 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10854 no_leading_period change.
10856 * posix/testfnm.c: More test cases.
10858 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
10860 * include/dirent.h: Remove __getdirentries declaration, add __getdents
10862 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10863 * sysdeps/unix/readdir_r.c: Likewise.
10864 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10865 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10866 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10867 __getdirentries. Remove fourth argument.
10868 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10869 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10870 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10871 Add getdirentries and getdirentries64.
10872 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10874 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10875 pointer in case of an invalid [[: expression.
10877 * posix/testfnm.c: Add more test cases.
10879 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10881 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10882 set, pass EXEC_SIGTRAP flag in exec RPC.
10884 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10886 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
10887 extra parameter. Fix several more bugs involving wildcard and
10889 (fnmatch): New function. Call internal_fnmatch.
10891 * posix/testfnm.c: More test cases.
10893 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10895 * manual/install.texi (Configuring and compiling): Explain that
10896 files are changed in the source directory.
10897 Closes PR libc/981.
10898 (Configuring and compiling): Explain situation with PARALLELMFLAGS
10899 in the source directory.
10901 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10903 * locale/programs/ld-ctype.c: Spelling fixes.
10904 (ctype_finish): Fix argument of error message format.
10905 * locale/programs/ld-messages.c: Spelling fixes.
10906 * locale/programs/ld-monetary.c: Spelling fixes.
10907 * locale/programs/ld-time.c (time_finish): Make sure that name and
10908 format of era_entries are adjacent.
10909 (time_output): Reduce the size of the io vector.
10911 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10913 * manual/filesys.texi (Attribute Meanings): Move a misplaced
10916 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10918 * locale/programs/ld-collate.c (collate_output): Convert
10919 undefined_offset to an array index. Fix computation of other
10920 endian extra table.
10922 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
10924 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
10925 return success with empty value.
10927 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10929 * posix/fnmatch.c: Include string.h also for glibc.
10930 (fnmatch, case '?'): Optimize if cascades a bit.
10931 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
10933 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
10935 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
10937 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
10938 * iconv/gconv_int.h: Declare UTF16 functions.
10939 * iconv/gconv_simple.c: Add UTF16 conversion functions.
10941 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10943 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
10944 be used correctly as parameter for parse_dollars/parse_tilde.
10946 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10948 * manual/conf.texi (Utility Limits): Remove duplicate description
10951 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
10953 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
10954 outbufend for dst==NULL.
10956 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10958 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
10960 Fixes PR libc/1084.
10962 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
10963 Fixes PR libc/1083.
10965 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
10967 * sunrpc/Makefile: Remove special handling of bootparam.x,
10968 add rpcsvc/bootparam.h to headers.
10969 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
10970 * sunrpc/rpcsvc/bootparam.x: Renamed to...
10971 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
10973 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10975 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
10976 detect and handle invalid descriptors.
10978 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
10980 * timezone/zic.c (dolink): Append complete path not only filename
10983 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10985 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
10987 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
10989 * iconvdata/gconv-modules: Rename CP874 to IBM874.
10990 * iconvdata/Makefile: Likewise.
10991 * iconvdata/cp874.h: Removed.
10992 * iconvdata/cp874.c: Renamed to...
10993 * iconvdata/ibm874.c: ...this.
10995 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10997 * sysdeps/unix/sysv/linux/bits/types.h: Correct
10998 signed/unsigned-ness of blkcnt and fsblkcnt.
10999 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11000 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11002 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11003 SOL_AAL, and SOL_IRDA.
11005 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11007 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
11008 include "linux_fsinfo.h".
11009 Based on a patch by H.J. Lu <hjl@gnu.org>.
11011 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
11013 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11015 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11017 * nscd/cache.c (prune_cache): Only disable file checking for
11018 future if the file does not exist.
11019 Update file_mtime if cache was flushed.
11021 1999-04-15 David S. Miller <davem@redhat.com>
11023 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11024 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11026 1999-04-15 Scott Bambrough <scottb@netwinder.org>
11028 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11029 compilation of file.
11031 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11033 * Versions.def: Add GLIBC_2.1.1 to libpthread.
11035 * iconvdata/Makefile (modules): Add KOI8-U.
11036 (distribute): Add koi8-u.c.
11037 (gen-8bit-gap-modules): Add koi8-u.
11038 * iconvdata/gconv-modules: Add KOI8-U entries.
11039 * iconvdata/koi8-u.c: New file.
11041 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
11043 * sunrpc/auth_des.c: 64bit fixes, security fixes.
11044 * sunrpc/auth_none.c: Pretty print.
11045 * sunrpc/auth_unix.c: Likewise.
11046 * sunrpc/authdes_prot.c: Likewise.
11047 * sunrpc/authuxprot.c: Likewise.
11048 * sunrpc/bindrsvprt.c: Likewise.
11049 * sunrpc/clnt_gen.c: Likewise.
11050 * sunrpc/rpc/xdr.h: Likewise.
11051 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11052 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11053 * sunrpc/rtime.c: Use new rpc_timeval.
11054 * sunrpc/svc_authux.c: Don't use *long pointers.
11055 * sunrpc/svcauth_des.c: Likewise + security fixes.
11056 * sunrpc/xdr_mem.c: Don't use *long pointers.
11057 * sunrpc/xdr_rec.c: Likewise.
11058 * sunrpc/xdr_sizeof.c: Likewise.
11059 * sunrpc/xdr_stdio.c: Likewise.
11061 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11063 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11064 so that it is redone for each sending.
11066 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11068 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11070 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11072 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11073 known to not exist don't try to load shared objects.
11074 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11076 * nscd/cache.c (prune_cache): The table might not be unused. In
11077 this case do nothing.
11079 * catgets/gencat.c (read_input_file): Don't drop white spaces
11080 between number/identifier and string.
11081 Patch by Dima Barsky <dima@pwd.hp.com>.
11082 If no white space at all follows number/identifier remove existing
11083 message with the number/identifier.
11085 1999-04-14 H.J. Lu <hjl@gnu.org>
11087 * sunrpc/clnt_udp.c (is_network_up): New function.
11088 (clntudp_call): Call is_network_up () to check if any network
11089 interface is up in case of timeout.
11091 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11093 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11094 * wctype/Makefile (tests): Add test_wcfuncs.
11096 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
11098 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11100 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11102 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11103 instead of CFLAGS. For gnulib and string directories use
11104 -Wa,-Av9a gcc ASFLAGS.
11105 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11106 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11107 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11108 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11109 the same way as sparc-*.
11111 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
11113 * locale/programs/locfile.c (locfile_read): Fix typo.
11114 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11116 1999-04-14 Scott Bambrough <scottb@netwinder.org>
11118 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11119 restarted after being interrupted by a signal. The parameters on
11120 the stack were corrupted by the signal handler.
11122 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11123 restarted after being interrupted by a signal. The parameters on
11124 the stack were corrupted by the signal handler.
11126 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11128 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11129 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11131 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
11133 * posix/wordexp-test.c: In field-splitting test cases where
11134 subshells were involved, unset IFS first: some shells (ash) use
11135 IFS even when no expansion is performed.
11137 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11139 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11140 the real end of the chunk, not some random point inbetween.
11141 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
11142 obstack when growing. Use fast version of obstack_blank when
11144 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11145 allocating the vtable pointer.
11146 (_IO_obstack_vprintf): Adjust for above change and avoid
11147 unnecessary casts. Use fast version of obstack_blank when
11149 Fixes PR libc/1075.
11151 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
11153 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
11154 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11156 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
11158 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11159 is seen, as well as fixing semantics. Don't reset the word count
11160 to zero when an invalid character is seen, but leave it as it was
11161 (this makes a difference with WRDE_APPEND).
11163 * posix/wordexp-test.c: More test cases.
11165 * posix/wordexp.c (parse_param): In words like ${var#pattern},
11166 always expand pattern when it is needed. Also, handle quoting in
11169 1999-04-12 Philip Blundell <philb@gnu.org>
11171 * elf/elf.h: Update ARM definitions to match current gas2.
11173 * sysdeps/arm/bits/endian.h: Support big endian operation.
11175 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11176 Don't bother range checking the port number.
11178 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11180 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11181 the syscall name in assembler output for ease of debugging.
11183 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11184 compiler behaviour.
11185 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11186 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11187 (sysdep_routines): Add sigrestorer.
11189 * string/tester.c (test_strcpy): Add new tests for unaligned
11191 * sysdeps/arm/bits/string.h: Delete inline implementations of
11194 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
11196 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11198 1999-04-10 Mark Kettenis <kettenis@gnu.org>
11200 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11202 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11204 * iconvdata/Makefile (modules): Add TIS-620.
11205 (distribute): Add tis-620.c.
11206 (gen-8bit-gap-modules): tis-620.
11207 * iconvdata/tis-620.c: New file.
11208 * iconvdata/gconv-modules: Add TIS-620 entries.
11210 * iconvdata/asmo_449.c: Correct comment.
11212 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11214 * manual/install.texi (Configuring and compiling): Comment out
11215 description of --disable-static since this doesn't work currently
11216 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11218 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11220 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11222 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11224 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11226 * scripts/test-installation.pl (installation_problem): Skip
11227 libnss1_* libraries from glibc-compat add-on.
11229 1999-04-07 H.J. Lu <hjl@gnu.org>
11231 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11233 * posix/Versions (__waitpid): Likewise.
11235 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11237 * manual/install.texi (Reporting Bugs): Add section about reported
11238 bugs and correct email address of glibcbug script.
11240 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
11242 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11243 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11244 xdr_u_longlong_t. Based on patch from Dan Shechter
11245 <damageboy@isdn.net.il>.
11246 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11247 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11249 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11251 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11253 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11254 directly if getdents returns with error set.
11256 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11258 * locale/langinfo.h (THOUSEP): Rename second occurence of
11259 THOUSANDS_SEP to THOUSEP.
11260 Reported by Roman Belenov <roman@nstl.nnov.ru>.
11262 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
11264 * hurd/STATUS: File removed. Moved items that are still relevant into
11265 TODO list in hurd source.
11267 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11269 * sysdeps/mach/hurd/bits/time.h: New file.
11270 * sysdeps/mach/hurd/getrusage.c: New file.
11271 * sysdeps/mach/hurd/clk_tck.c: New file.
11272 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11273 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11274 (sysdep_routines): Add clk_tck.
11275 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11278 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
11280 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11281 (closelog): But instead here.
11282 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11284 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11286 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11287 the source directory. Fixes PR libc/1059.
11289 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11291 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11294 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
11296 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11297 * iconvdata/testdata/ISO-8859-14: New file.
11298 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11299 * iconvdata/testdata/ISO-8859-15: New file.
11300 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11302 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11304 * iconvdata/testdata/CP1258: New file.
11305 * iconvdata/testdata/CP1258..UTF8: New file.
11306 * iconvdata/TESTS: Add CP1258 entry.
11308 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11310 * timezone/africa: Update from tzdata1999d.
11311 * timezone/europe: Likewise.
11312 * timezone/northamerica: Likewise.
11314 1999-03-31 Mark Kettenis <kettenis@gnu.org>
11316 * login/programs/pt_chown.c (main): Save effective user ID before
11317 dropping priviliges and use this to check if the program is
11318 properly installed.
11320 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11322 * iconvdata/testdata/CP1254: Update for charmap changes.
11323 * iconvdata/testdata/CP1254..UTF8: Likewise.
11324 * iconvdata/testdata/CP1255: Likewise.
11325 * iconvdata/testdata/CP1255..UTF8: Likewise.
11326 * iconvdata/testdata/CP1256: Likewise.
11327 * iconvdata/testdata/CP1256..UTF8: Likewise.
11328 * iconvdata/testdata/CP1257: Likewise.
11329 * iconvdata/testdata/CP1257..UTF8: Likewise.
11331 * iconvdata/Makefile (distribute): Remove cp1258.h.
11332 (gen-8bit-gap-modules): Add cp1258.
11333 * iconvdata/cp1258.h: Removed.
11335 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11337 * timezone/tst-timezone.c (tests): Add more cases.
11338 (check_tzvars): Mark errors clearer.
11341 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
11343 * login/programs/pt_chown.c: Drop privileges if invoked with
11344 arguments. Don't close the master pty.
11346 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11348 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11349 Minor optimization.
11351 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
11353 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11354 relocation for SUID binaries.
11356 1999-03-29 Paul Eggert <eggert@twinsun.com>
11358 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11359 while in child process.
11361 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
11363 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11364 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11365 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11366 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11367 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11369 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11370 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11371 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11372 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11373 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11374 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11375 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11376 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11377 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11378 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11379 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11380 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11381 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11382 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11383 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11384 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11385 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11386 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11387 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11388 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11389 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11390 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11391 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11392 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11393 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11394 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11396 * sysdeps/sparc/sparc32/bcopy.c: New file.
11397 * sysdeps/sparc/sparc32/bzero.c: New file.
11398 * sysdeps/sparc/sparc32/memchr.S: New file.
11399 * sysdeps/sparc/sparc32/memcpy.S: New file.
11400 * sysdeps/sparc/sparc32/memmove.c: New file.
11401 * sysdeps/sparc/sparc32/memset.S: New file.
11402 * sysdeps/sparc/sparc32/stpcpy.S: New file.
11403 * sysdeps/sparc/sparc32/strchr.S: New file.
11404 * sysdeps/sparc/sparc32/strrchr.c: New file.
11405 * sysdeps/sparc/sparc32/strcpy.S: New file.
11406 * sysdeps/sparc/sparc32/strlen.S: New file.
11407 * sysdeps/sparc/sparc32/strcat.S: New file.
11408 * sysdeps/sparc/sparc32/strcmp.S: New file.
11410 * sysdeps/sparc/sparc64/bcopy.c: New file.
11411 * sysdeps/sparc/sparc64/bzero.c: New file.
11412 * sysdeps/sparc/sparc64/memchr.S: New file.
11413 * sysdeps/sparc/sparc64/memcmp.S: New file.
11414 * sysdeps/sparc/sparc64/memcpy.S: New file.
11415 * sysdeps/sparc/sparc64/memset.S: New file.
11416 * sysdeps/sparc/sparc64/stpcpy.S: New file.
11417 * sysdeps/sparc/sparc64/strcat.S: New file.
11418 * sysdeps/sparc/sparc64/strchr.S: New file.
11419 * sysdeps/sparc/sparc64/strcmp.S: New file.
11420 * sysdeps/sparc/sparc64/strcpy.S: New file.
11421 * sysdeps/sparc/sparc64/strcspn.S: New file.
11422 * sysdeps/sparc/sparc64/strlen.S: New file.
11423 * sysdeps/sparc/sparc64/strncpy.S: New file.
11424 * sysdeps/sparc/sparc64/strpbrk.S: New file.
11425 * sysdeps/sparc/sparc64/strrchr.c: New file.
11426 * sysdeps/sparc/sparc64/strspn.S: New file.
11427 * sysdeps/sparc/sparc64/stpncpy.S: New file.
11428 * sysdeps/sparc/sparc64/strncmp.S: New file.
11430 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11431 Append -fPIC, don't replace.
11433 * configure.in: Recognize sparcv8plus / sparcv9.
11435 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11437 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11438 char * to avoid C++ warning.
11439 Patch by yasushi@cs.washington.edu [PR libc/1035].
11441 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11443 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11444 declared in stdlib.h, correct return value of mkstemp.
11445 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11447 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11450 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11452 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11455 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11456 inline functions. Closes PR libc/1049.
11458 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11460 * timezone/README: Update from tzdata1999c and tzcode1999c.
11462 * timezone/africa: Update from tzdata1999c.
11463 * timezone/antarctica: Likewise.
11464 * timezone/asia: Likewise.
11465 * timezone/australasia: Likewise.
11466 * timezone/europe: Likewise.
11467 * timezone/northamerica: Likewise.
11468 * timezone/southamerica: Likewise.
11469 * timezone/zone.tab: Likewise.
11471 * timezone/zic.c: Update from tzcode1999c.
11473 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11475 * Makerules: Add $(common-objpfx)Versions.all to common-generated
11476 outside of ifndef avoid-generated.
11478 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11480 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11482 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11484 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11485 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11487 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11489 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11490 if we build the profiled library.
11492 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11494 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
11495 Jaeger <aj@arthur.rhein-neckar.de>
11497 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
11499 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11500 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11501 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11503 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
11505 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11506 works properly in subdirs.
11508 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
11510 * sysdeps/mach/hurd/Makefile: Undo last change.
11511 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11512 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11514 * mach/Machrules (+preinit, +postinit, +interp,
11515 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
11516 linked just like other shared libraries.
11517 (interface.so): Fix typo in defn, so it works.
11518 ($(objpfx)$(interface.so)): Make it depend on libc.so.
11520 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
11522 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11523 $(link-rpcuserlibs).
11525 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11527 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11528 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11529 targets if not building shared libraries.
11531 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11533 * configure.in: Also look in $PATH when searching for
11534 install-info. Remove autoconf bug workaround and require autoconf
11537 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11539 * db/Makefile: Don't try to install shared library link if not
11540 building with shared libs.
11542 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11544 * rt/Makefile: Link against static library if no shared lib is
11547 * localedata/Makefile: The shells scripts implementing the test
11548 require the dynamic linker which is not available with
11549 --disable-shared. Skip the test if --disable-shared is given.
11551 * linuxthreads/Makefile: Link test against static libpthread if no
11552 shared lib is available.
11554 * iconvdata/Makefile (tests): Run iconv-test only if we're
11555 building shared libraries.
11556 * elf/Makefile (tests): Likewise for elf tests.
11558 * posix/Makefile: The test frameworks globtest and wordexp-test
11559 require the dynamic linker which is not available with
11560 --disable-shared. Skip the test if --disable-shared is given.
11562 * grp/Makefile (otherlibs): For static nss build link against
11565 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11567 * debug/Makefile (install-bin): Install and build catchsegv only
11568 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
11571 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11573 * time/tzfile.c (__tzfile_read): Handle the case where there are
11574 transitions but no DST.
11576 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
11578 * mach/Machrules (extra-libs-others): Add $(interface-library) here
11579 too, so it gets built in the others pass rather than the lib pass.
11580 This is necessary since the RPC libraries need to be linked against
11583 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
11585 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11588 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11589 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11590 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11591 versions of lib{mach,hurd}user.so without reference to libc.so,
11592 then link libc.so against that to get deps and symbol versions, then
11593 finally link real lib*user.so against libc.so.
11595 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11596 Support whole-file locking (only) by using the file_lock RPC. This
11597 has very wrong semantics, but is better than nothing for the time
11598 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
11599 protocols that will be somewhat hairy to specify.)
11601 1999-03-17 Mark Kettenis <kettenis@gnu.org>
11603 * sysdeps/mach/hurd/ptsname.c: New file.
11605 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11607 * timezone/asia: Fix rule in Asia/Nicosia entry.
11609 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11611 * manual/getopt.texi (Using Getopt): Explain "::" in option
11612 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
11614 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
11616 * sunrpc/clnt_unix.c: Fix creation of parameters for
11617 sendmsg/recvmsg on non intel platforms.
11618 * sunrpc/svc_unix.c: Likewise.
11620 1999-03-18 Philip Blundell <philb@gnu.org>
11622 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
11625 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11627 * timezone/africa: Update from tzdata1999b.
11628 * timezone/asia: Likewise.
11629 * timezone/australasia: Likewise.
11630 * timezone/europe: Likewise.
11631 * timezone/northamerica: Likewise.
11632 * timezone/southamerica: Likewise.
11633 * timezone/zone.tab: Likewise.
11635 * timezone/README: Mention tzdata1999b.
11637 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
11639 * sysdeps/generic/segfault.c (write_strsignal): New function.
11640 (catch_segfault): Use it instead of calling strsignal.
11642 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11644 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11645 char to avoid warning.
11647 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11649 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11651 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11652 outbuf to unsigned char to avoid warning.
11654 1999-03-11 David S. Miller <davem@redhat.com>
11656 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11658 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11660 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11662 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11664 (gconv_step_data): Likewise.
11665 * iconv/gconv_int.h (__gconv): Likewise.
11666 (__BUILINT_TRANS): Likewise.
11667 * iconv/gconv.c (__gconv): Likewise.
11668 * iconv/iconv.c (iconv): Add casts for call of __gconv.
11669 * iconv/skeleton.c: Change local parameters and variable from `char' to
11670 `unsigned char'. Remove casts from calls into modules.
11671 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11672 `char' to `unsigned char'.
11673 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11674 * wcsmbs/mbrtowc.c: Likewise.
11675 * wcsmbs/mbsnrtowcs.c: Likewise.
11676 * wcsmbs/mbsrtowcs.c: Likewise.
11677 * wcsmbs/wcrtomb.c: Likewise.
11678 * wcsmbs/wcsnrtombs.c: Likewise.
11679 * wcsmbs/wcsrtombs.c: Likewise.
11680 * wcsmbs/wctob.c: Likewise.
11682 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11684 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11685 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11686 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11687 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11688 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11689 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11691 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11693 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11694 _hurd_select if TIMEMOUT is -1.
11696 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11698 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11700 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11702 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11703 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11705 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11707 * manual/libc.texinfo: Undo last change for now.
11709 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11711 * intl/locale.alias: Add entries for Croatian.
11712 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11714 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11716 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11717 if the opened master pty really is a pty. `isatty' checks for
11718 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
11719 if we are out of pty's.
11721 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11723 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11724 opened file is closed on exec.
11725 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11728 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11730 * manual/llio.texi (File Position Primitive): Reformat @end
11731 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11733 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
11735 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11737 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11738 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11740 * locale/programs/localedef.c (main): Initialize `cat' to please
11743 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
11745 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11746 check for root-owned symlinks and reject them too.
11748 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11750 * stdio-common/printf_fphex.c: Move to ...
11751 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
11752 extended precision number.
11753 * sysdeps/m68k/printf_fphex.c: New file.
11755 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11757 * manual/stdio.texi: Fix typos.
11759 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
11761 * version.h (VERSION): Bump to 2.1.1.
11763 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
11765 * nis/ypclnt.c: Try only twice to connect to NIS server.
11767 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11769 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11771 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11773 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11774 (DENORM_EXP): New define. Use it as the exponent for a denormal.
11775 * stdlib/strtold.c: Moved to ...
11776 * sysdeps/generic/strtold.c: ... here.
11777 * sysdeps/m68k/strtold.c: New file.
11779 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11781 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11782 point if the precision is zero, even if the mantissa is non-zero.
11784 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11786 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11787 arguments into the request message buffer inside `send_rpc'
11788 subfunction. We must repeat the marshalling when retrying the RPC
11789 after a SIGTTOU delivery.
11791 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11792 path when there is no ctty port.
11793 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11794 Move sigstate check inside loop so we recheck after handling a signal.
11796 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11798 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11799 O_EXLOCK are BSD extensions.
11800 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11802 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
11804 * manual/signal.texi (Termination in Handler): Correct example.
11805 Install default handler before reraising the signal.
11806 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11808 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
11810 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11811 null, in which case send an empty string.
11813 1999-03-02 Mark Kettenis <kettenis@gnu.org>
11815 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11816 backward compatibility EH functions to be linked when using
11817 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11819 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11822 /dev/pts status may change during runtime.
11824 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11826 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11827 change. /dev/pts status can change during runtime.
11829 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
11831 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11832 poll reports error.
11833 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11834 add some more sanity checks.
11835 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11838 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
11840 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11841 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11842 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11843 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11844 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11846 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11847 * nis/nis_print.c: Fix ctime argument for platforms where
11848 sizeof (time_t) != sizeof (int).
11850 1999-03-07 Mark Kettenis <kettenis@gnu.org>
11852 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11853 CLOCKS_PER_SEC instead of CLK_TCK.
11855 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
11857 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11858 whether /dev/pts is available.
11859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11862 * posix/globtest.sh: Make common_objpfx path absolute and and db2
11863 and hesiod directory to library path [PR libc/1007].
11865 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11867 * resolv/inet_addr.c (inet_aton): Don't allow componets >
11868 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11870 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
11872 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11873 DT_PLTGOT has already been relocated.
11874 (__elf_machine_fixup_plt): Likewise.
11877 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
11879 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11881 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
11883 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11884 and fold string to uppercase [PR libc/1005].
11886 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11888 * elf/dl-load.c (lose): Fix return type.
11890 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
11892 * sysdeps/mach/hurd/bits/fcntl.h
11893 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11894 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11895 set O_NOTRANS as well.
11896 (__hurd_file_name_lookup_retry): At successful end of lookup,
11897 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11898 it is a translated node not owned by root.
11899 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11900 on the file name passed to LOOKUP.
11902 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
11904 * manual/time.texi (High Resolution Timer): Correct computation in
11905 example. Reported by jjf@devel.cemsys.com.
11907 1999-03-02 Philip Blundell <pb@nexus.co.uk>
11909 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11910 entry is already relocated.
11912 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11914 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
11915 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
11917 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11919 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
11920 uc_link which is the right name according to Unix98.
11921 Reported by Craig Metz [PR libc/1001].
11922 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
11923 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
11924 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
11925 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
11926 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
11927 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
11929 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11931 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
11934 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11936 * iconvdata/Makefile: Always include iconv-rules, but disable rule
11937 to regenerate it if avoid-generated.
11939 * Makeconfig: Always include sys-dirs, but disable rule to
11940 regenerate it when avoid-generated.
11942 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
11943 rule to generate sysd-syscalls.
11945 * elf/Makefile (generated): Remove $(objpfx) from names.
11947 1999-02-28 Mark Kettenis <kettenis@gnu.org>
11949 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
11950 actual length if the adress length is smaller than the input
11951 value. Change type of *LEN paramater to socklen_t.
11952 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
11953 * sysdeps/mach/hurd/accept.c (accept): Likewise.
11954 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
11955 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
11956 paramater to socklen_t.
11958 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
11960 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
11961 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
11964 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11966 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
11967 __get_phys_pages): Cast &HBI to silence warning.
11969 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
11970 * hurd/hurdchdir.c: New file.
11971 * hurd/hurdfchdir.c: New file.
11972 * sysdeps/mach/hurd/chroot.c: Call
11973 _hurd_change_directory_port_from_name to do the work.
11974 * sysdeps/mach/hurd/chdir.c: Likewise.
11975 * sysdeps/mach/hurd/fchdir.c: Call
11976 _hurd_change_directory_port_from_fd to do the work.
11977 * hurd/fchroot.c: Likewise.
11978 * hurd/hurd.h: Declare them.
11980 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
11982 * elf/dl-load.c (lose): Add more comments to explain the `why'.
11983 (_dl_map_object): Remove redundant test.
11985 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11987 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
11988 try to _hurd_port_free a lower-numbered descriptor that was not in any
11991 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11993 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
11994 declaration for ____wcstod_l_internal.
11996 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
11997 __strtod_internal prototype.
11998 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
11999 (____strtold_l_internal): Add prototype declaration.
12000 (__strtold_l): Call correct function.
12002 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
12004 * elf/elf.h: Add 32bit HPPA definitions.
12006 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12008 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12009 non-checked heap is restored when malloc checking was requested by
12011 (struct malloc_state): Add using_malloc_checking.
12012 (MALLOC_STATE_VERSION): Increment minor.
12013 (using_malloc_checking, disallow_malloc_check): New variables.
12014 (__malloc_check_init): Use them.
12015 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12016 that it can the chunk is properly instrumented when malloc
12017 checking is enabled. Set the new using_malloc_checking field.
12018 (malloc_hook_ini): Correct signature when _LIBC is not defined.
12020 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12022 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12023 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12026 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12027 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12028 if ld.so is the main program.
12030 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
12032 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12033 large for work_buffer, allocate new buffer.
12034 (printf_unknown): Likewise. [PR libc/988]
12036 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12038 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12039 instead of stat and fstat.
12040 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12042 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12044 * elf/dl-error.c (_dl_signal_cerror): New function.
12045 (_dl_signal_error): Don't call receiver function.
12046 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12047 instead of _dl_signal_error when reporting references to undefined
12048 symbols or versions.
12049 (_dl_lookup_versioned_symbol): Likewise.
12050 (_dl_lookup_versioned_symbol_skip): Likewise.
12051 * elf/dl-version.c (match_symbol): Likewise.
12053 * elf/ldsodefs.h: Declare _dl_signal_cerror.
12055 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12057 * misc/getttyent.c (getttyent): Release lock on stream later to
12058 also protect global variable zapchar.
12060 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12061 __times [PR libc/990].
12063 1999-02-21 David S. Miller <davem@redhat.com>
12065 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12066 parentheses in Feb 2 changes.
12067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12069 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12071 * sysdeps/generic/glob.c (glob): Save previous errno.
12073 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
12075 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12076 lookup functions if it is too small.
12078 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
12080 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12081 for tracing to the scope lists.
12082 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12083 DT_SYMTAB is always available according to ELF spec.
12085 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12086 call test whether there is any scope left.
12087 (_dl_lookup_versioned_symbol_skip): Likewise.
12089 * elf/Makefile (distribute): Add do-lookup.h.
12090 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
12091 * elf/dl-lookup.c: Move do_lookup function in separate file and
12092 include the file twice, for handling versioning and without it.
12094 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12095 entry is already relocated.
12096 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12097 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12098 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12099 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12103 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12106 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12107 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12108 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12109 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12110 rel and rela relocations can both happen and skip one test if this
12112 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12114 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12116 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12118 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12119 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12120 (_dl_map_object): DT_STRTAB entry is already relocated.
12121 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12123 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12125 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12126 DT_VERSYM entries are already relocated.
12127 (profile_fixup): Likewise.
12128 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
12130 (match_symbol): DT_STRTAB entry is already relocated.
12131 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
12132 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12133 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
12134 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12135 (find_needed): DT_STRTAB entry is already relocated.
12136 (dl_main): Pass extra argument to elf_get_dynamic_info.
12137 DT_STRTAB entry is already relocated.
12138 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12139 DT_PLTGOT entries are already relocated.
12140 (elf_machine_rela): Likewise for DT_SYMTAB.
12141 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12144 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12145 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12147 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12148 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12149 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12150 * sysdeps/mips/mips64/dl-machine.h: Likewise.
12152 * grp/initgroups.c (initgroups): If function in current module was
12153 successful don't stop but continue to process to get all the groups.
12155 * elf/dl-load.c (_dl_map_object_from_fd): Use global
12156 _dl_pf_to_proot array to convert p_flags value.
12157 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12159 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12160 loop to clear `info'.
12162 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12163 do the work and don't use inline assembler.
12165 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
12167 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12168 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12169 noreturn, and prevent it from being inlined.
12170 Define LOSE appropriately.
12171 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12172 Optimize decoding of p_flags for certain platforms.
12174 1999-02-19 Philip Blundell <pb@nexus.co.uk>
12176 * Makeconfig (link-libc): When doing a static link, make sure that
12177 libgcc.a is included both before and after libc.a.
12179 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
12181 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12182 sp_warn, sp_inact, sp_expire and sp_flag.
12184 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
12186 * elf/link.h (link_map): Add l_dev and l_ino.
12187 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12188 loaded shared object with all loaded objects. Initialize l_ino
12189 and l_dev in case it's new.
12190 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12192 * elf/Makefile: Compile and run new test.
12193 * elf/multiload.c: New file.
12195 * nss/nsswitch.h (service_user): Change name field from const char *
12197 (name_database_entry): Likewise.
12198 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12199 for change of `service_user'.
12200 (nss_getline): Adjust memory allocation for change of
12201 `name_database_entry'.
12203 * catgets/catgets.c: Correctly handle NLSPATH from environment
12206 * io/Makefile (routines): Add lock64.
12207 * io/Versions: Add lockf64 for GLIBC_2.1.1.
12208 * sysdeps/generic/lockf64.c: New file.
12210 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12212 * string/bits/string2.h: Only use strncmp optimization if count
12213 argument is constant.
12215 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
12217 * sysdeps/mach/hurd/revoke.c: New file.
12219 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12221 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12222 int to avoid warning about `ISO C restricts enumerator values to
12225 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12227 * elf/dlfcn.h: Fix typo.
12228 * sysdeps/generic/bits/dlfcn.h: Likewise.
12229 * sysdeps/mips/bits/dlfcn.h: Likewise.
12231 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12233 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12234 for the case N == 0.
12236 * db2/Makefile (distribute): Add LICENSE.
12238 1999-02-03 Jeff Bailey <jbailey@nisa.net>
12240 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12243 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12245 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12247 * time/mktime.c: Use ISO C form for function definitions and
12248 remove unnecessary prototypes.
12250 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12252 * time/time.h: Avoid unneccesary #ifdef.
12254 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
12256 * stdio-common/_itoa.c (_itoa): Correct parameters to
12259 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12261 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12262 before (e.g. in glob.h).
12263 Closes PR libc/959.
12265 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12267 * sysdeps/mips/fpu_control.h: Fix typo.
12268 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12271 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
12273 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12274 the "unused" ends of the sockets. Let pipes be bidirectional.
12276 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12281 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12283 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
12284 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12286 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12287 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12289 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12291 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12293 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12295 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
12296 check for priority mask.
12298 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
12300 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12301 Reported by Craig Metz <cmetz@inner.net> .
12303 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12305 * stdio-common/Makefile (tests): tllformat added.
12307 * stdio-common/tllformat.c: New program, based on tiformat.c with
12308 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12310 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12312 * posix/test-vfork.c: Fix exit status test.
12314 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12316 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12317 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12319 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12321 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12322 of separare explicit comparisons.
12324 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12326 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12329 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12332 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12334 * po/el.po: Update from translation team.
12336 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12338 * intl/locale.alias: Fix slovenian entry [PR libc/948].
12340 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12342 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12343 * inet/ruserpass.c: Likewise.
12344 * locale/programs/stringtrans.c: Likewise.
12345 * locale/programs/localedef.c: Likewise.
12346 * nscd/grpcache.c: Likewise.
12347 * nss/nss_files/files-XXX.c: Likewise.
12348 * stdlib/canonicalize.c: Likewise.
12349 * sysdeps/posix/sigwait.c: Likewise.
12351 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12353 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12354 even on 64 bit platforms.
12356 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12357 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12359 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12361 * intl/dcgettext.c: Include locale.h is available.
12363 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12365 * po/nl.po: Update from translation team.
12367 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12369 * Makefile: Allow calling goals for po subdir.
12371 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12372 signal definitions.
12374 * po/el.po: New file.
12376 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12378 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12379 when processing DT_SYMBOLIC objects.
12381 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12383 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12384 program headers without PT_PHDR only require that they are
12385 contained within one of the loaded segments. Don't use assert,
12386 since that would be a bug in the object, not the dynamic linker.
12388 1999-02-08 Richard Henderson <rth@cygnus.com>
12390 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12391 restore all call-clobbered fp regs.
12393 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12395 * po/cs.po: New file.
12397 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12400 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12402 * signal/signal.h: Don't declare __libc_allocate_rtsig.
12403 * include/signal.h: Declare __libc_allocate_rtsig here.
12405 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12406 point functions, not do_lookup since the later can be called more
12409 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
12411 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12412 macro, so that architectures which need to add some special
12413 offset to stack pointer can share this file.
12415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12416 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12418 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12420 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12421 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12422 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12423 between sparc32 and sparc64.
12425 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12426 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12427 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12428 between sparc32 and sparc64.
12430 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12432 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12433 between sparc32 and sparc64.
12435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12437 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12438 between sparc32 and sparc64.
12440 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12442 * Versions.def: New version GLIBC_2.1.1 for libc.
12443 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12444 * stdlib/labs.c: Moved to...
12445 * sysdeps/generic/labs.c: ...here.
12446 * stdlib/llabs.c: Moved to...
12447 * sysdeps/generic/llabs.c: ...here.
12448 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12449 header. Declare _Exit.
12450 * sysdeps/generic/_exit.c: Add alias _Exit.
12451 * sysdeps/mach/hurd/_exit.c: Likewise.
12452 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12453 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12454 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12455 * sysdeps/unix/_exit.c: Likewise.
12456 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12457 imaxdiv and imaxabs. Declare lldiv_t if necessary.
12458 * sysdeps/wordsize-64/inttypes.h: Likewise.
12459 * sysdeps/wordsize-32/llabs.c: New file.
12460 * sysdeps/wordsize-32/lldiv.c: New file.
12461 * sysdeps/wordsize-64/labs.c: New file.
12462 * sysdeps/wordsize-64/ldiv.c: New file.
12463 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12464 * manual/startup.texi: Document _Exit.
12466 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12468 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12470 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
12472 * Versions.def: Add versions for ld.so.
12473 * csu/Versions: Remove __libc_stack_end here.
12474 * elf/Versions: Split libc definitions in libc and ld.so definitions.
12475 * elf/Makefile (ld-map): Change to ld.so.map.
12476 * scripts/versions.awk: Recognize dot in library names.
12478 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12479 Don't use __tolower and __toupper in inline functions.
12480 Add optimizing macros for tolower and toupper.
12481 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12482 (_toupper): Don't use __toupper.
12483 * ctype/ctype.c (tolower): Don't use __tolower.
12484 (toupper): Don't use toupper.
12486 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12488 * resolv/Versions (libresolv): Export __ns_name_unpack and
12490 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12491 make it global. Change all users. Similar for ns_name_ntop.
12492 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12493 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
12494 directly to detect too small buffer.
12495 * resolv/nss_dns/dns-network.c: Likewise.
12497 * stdio-common/Makefile (tests): Add scanf12.
12498 * stdio-common/scanf12.c: New file.
12499 * stdio-common/scanf12.input: New file.
12500 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12501 floating-point correctly if the number is invalid.
12503 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12505 * stdio-common/printf_fp.c: Likewise.
12506 * stdio-common/printf_fphex.c: Likewise.
12507 * stdio-common/vfprintf.c: Likewise.
12510 See ChangeLog.9 for earlier changes.