1 2000-09-23 Bruno Haible <haible@clisp.cons.org>
3 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
4 (__gbk_to_ucs): Conditionalize private area mappings.
5 (__gbk_from_ucs4_tab9): Likewise.
6 (BODY for TO_LOOP): Likewise.
7 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
8 * iconvdata/testdata/GBK..UTF-8: Likewise.
9 * iconvdata/tst-tables.sh: Enable GBK test.
11 2000-09-23 Bruno Haible <haible@clisp.cons.org>
13 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
14 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
15 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
17 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
18 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
20 2000-09-23 Bruno Haible <haible@clisp.cons.org>
22 * iconvdata/johab.c (final_to_ucs): Fix typos.
23 (jamo_from_ucs_table): Likewise.
24 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
25 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
26 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
27 the range 0xD9E6..0xD9FE.
28 * iconvdata/tst-tables.sh: Enable JOHAB testing.
30 2000-09-25 Ulrich Drepper <drepper@redhat.com>
32 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
35 2000-09-24 Ulrich Drepper <drepper@redhat.com>
37 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
38 stream is in wide mode.
40 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
42 2000-09-21 Bruno Haible <haible@clisp.cons.org>
44 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
46 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
48 2000-09-21 Bruno Haible <haible@clisp.cons.org>
50 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
51 reallocation logic for MALLOC (%as, %aS formats).
53 2000-09-24 Ulrich Drepper <drepper@redhat.com>
55 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
56 Add missing case in va_arg handling for numbers.
57 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
59 * stdio/tst-printf.sh: Adjust expected results.
60 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
62 2000-09-20 Bruno Haible <haible@clisp.cons.org>
64 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
65 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
67 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
68 as equivalent to uppercase hexadecimal digits.
70 2000-09-20 Bruno Haible <haible@clisp.cons.org>
72 * iconvdata/testdata/EUC-KR..UTF8: New file.
73 * iconvdata/testdata/EUC-TW: New file.
74 * iconvdata/testdata/EUC-TW..UTF8: New file.
75 * iconvdata/testdata/EUC-JP: New file.
76 * iconvdata/testdata/EUC-JP..UTF8: New file.
77 * iconvdata/testdata/ISO-2022-JP: New file.
78 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
79 * iconvdata/testdata/ISO-2022-JP-2: New file.
80 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
81 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
82 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
83 * iconvdata/testdata/ISO-2022-CN: New file.
84 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
85 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
86 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
87 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
88 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
90 2000-09-24 Andreas Jaeger <aj@suse.de>
92 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
93 function add_single_dir.
94 (add_single_dir): New function.
95 (search_dir): Use add_single_dir instead of recursing.
97 * sysdeps/generic/dl-cache.h: Include stdint.h.
98 (struct file_entry_new): Use fixed sizes for interoperability
99 between 32bit and 64bit systems, add __unused to make alignment
101 (CACHE_VERSION): Increment.
102 (struct cache_file_new): Use fixed sizes, add one more unused
103 entry to make alignment explicit.
105 2000-09-24 Ulrich Drepper <drepper@redhat.com>
107 * elf/ldconfig.c (search_dir): Make more use of d_type information.
109 2000-09-23 Ulrich Drepper <drepper@redhat.com>
111 * stdio-common/printf-parse.h (parse_one_spec): Clear
112 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
114 2000-09-18 Mark Kettenis <kettenis@gnu.org>
116 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
117 #undef since we don't have msync.
119 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
120 constant since that is what clock_t is.
121 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
123 2000-09-11 Mark Kettenis <kettenis@gnu.org>
125 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
126 multiply by LOAD_SCALE.
128 2000-09-22 Jakub Jelinek <jakub@redhat.com>
130 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
131 (crypt_r, setkey_r, encrypt_r): Likewise.
133 2000-09-22 Andreas Jaeger <aj@suse.de>
135 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
138 * sysdeps/alpha/fpu/libm-test-ulps: New file.
139 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
141 2000-09-21 Andreas Jaeger <aj@suse.de>
143 * math/libm-test.inc (atan_test): Test for existence of function.
144 (expm1_test): Likewise.
145 (acos_test): Likewise.
146 (asin_test): Likewise.
147 (exp_test): Likewise.
148 (log10_test): Likewise.
149 (log_test): Likewise.
150 (pow_test): Likewise.
151 (sqrt_test): Likewise.
152 (cos_test): Likewise.
153 (sin_test): Likewise.
154 (tan_test): Likewise.
155 (log1p_test): Likewise.
156 (log2_test): Likewise.
158 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
160 * libio/oldiofsetpos64.c: Fix alias names.
162 2000-09-21 Martin Buchholz <martin@xemacs.org>
164 * manual/terminal.texi (Allocation): Sample code correction.
166 2000-09-20 Andreas Jaeger <aj@suse.de>
168 * iconvdata/Makefile (generated): Add tst-tables.out.
170 * intl/Makefile (generated): Add test output.
172 2000-09-19 Andreas Jaeger <aj@suse.de>
174 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
175 Reported by Jens-Uwe Mager <jum@helios.de>.
177 2000-09-18 Ulrich Drepper <drepper@redhat.com>
179 * version.h (VERSION): Bump to 2.1.94.
181 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
182 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
183 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
184 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
186 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
188 2000-09-17 Bruno Haible <haible@clisp.cons.org>
190 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
191 range 0xD800..0xDFFF.
192 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
193 (BODY for FROM_LOOP): Likewise.
194 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
195 (internal_ucs2_loop): Likewise.
196 (ucs2reverse_internal_loop): Likewise.
197 (internal_ucs2reverse_loop): Likewise.
199 2000-09-17 Bruno Haible <haible@clisp.cons.org>
201 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
204 2000-09-17 Bruno Haible <haible@clisp.cons.org>
206 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
207 * iconvdata/tst-table-to.c (main): Likewise.
209 2000-09-17 Bruno Haible <haible@clisp.cons.org>
211 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
213 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
214 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
215 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
216 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
217 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
218 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
219 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
220 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
221 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
222 encodings when needed. When outputting an announcement, don't clear
223 most other announcements.
225 2000-09-17 Bruno Haible <haible@clisp.cons.org>
227 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
228 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
230 2000-09-14 Bruno Haible <haible@clisp.cons.org>
232 * intl/Versions: Add bind_textdomain_codeset.
234 2000-09-16 Ralf Baechle <ralf@gnu.org>
236 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
238 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
239 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
240 it will even work when not loaded to the standard address.
241 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
242 before the dynamic linker itself is relocated.
244 2000-09-18 Andreas Jaeger <aj@suse.de>
246 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
247 __ASSUME_32BITUIDS for MIPS.
248 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
249 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
251 2000-09-17 H.J. Lu <hjl@gnu.org>
253 * catgets/Makefile ($(objpfx)de/libc.cat): Use
254 $(make-target-directory) instead of mkdir.
256 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
258 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
259 __ASSUME_32BITUIDS for __powerpc__.
260 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
261 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
263 2000-09-17 Ulrich Drepper <drepper@redhat.com>
265 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
267 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
269 2000-09-16 Jakub Jelinek <jakub@redhat.com>
271 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
273 * sysdeps/m68k/Implies: Likewise.
274 * sysdeps/sparc/sparc64/Implies: Likewise.
276 2000-09-16 Jakub Jelinek <jakub@redhat.com>
278 * elf/readlib.c (process_file): Don't error for stale .so links either.
280 2000-09-16 Ulrich Drepper <drepper@redhat.com>
282 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
285 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
286 Patch by Thorsten Kukuk <kukuk@suse.de>.
288 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
290 (modules-names): Add defaultmod1 and defaultmod2.
291 Add rules to build test objects.
293 2000-09-15 Ulrich Drepper <drepper@redhat.com>
295 * wctype/wctype.h: Always include <bits/types.h>.
296 Reported by Jim Meyering <meyering@ascend.com>.
298 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
299 * elf/dl-support.c: Likewise.
301 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
302 st_blocks member in stat and stat64 structs.
303 Patch by Bill Nottingham <notting@redhat.com>.
305 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
308 * math/complex.h: Don't define _Complex macro for gcc 3. Add
309 __extension__ to _Complex_I definition since gcc warns if -pedantic.
310 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
311 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
313 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
314 necessary. Move includes of POSIX and Unix limits files to the end.
315 * stdlib/Makefile (tests): Add tst-limits.
316 * stdlib/tst-limits.h: New file.
318 2000-09-15 Andreas Jaeger <aj@suse.de>
320 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
322 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
324 2000-09-15 Jakub Jelinek <jakub@redhat.com>
326 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
328 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
329 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
331 2000-09-15 Ulrich Drepper <drepper@redhat.com>
333 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
335 (modules-names): Add nextmod1 and nextmod2.
336 Add rules to build and run next.
337 * elf/next.c: New file.
338 * elf/nextmod1.c: New file.
339 * elf/nextmod2.c: New file.
341 2000-09-14 Jakub Jelinek <jakub@redhat.com>
343 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
345 2000-09-15 Andreas Jaeger <aj@suse.de>
347 * sysdeps/mips/fpu/fenv_libc.h: New file.
348 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
349 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
350 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
352 * sysdeps/mips/fpu/feenablxcpt.c: New file.
353 * sysdeps/mips/fpu/fegetexcept.c: New file.
354 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
356 2000-09-14 Ulrich Drepper <drepper@redhat.com>
358 * intl/Makefile: Avoid unnecessary test reruns.
360 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
362 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
363 to not use sysctl(). Too many architectures have problems with it.
365 2000-09-14 Andreas Jaeger <aj@suse.de>
367 * scripts/config.sub: New version from subversions.gnu.org.
369 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
372 2000-09-14 Jakub Jelinek <jakub@redhat.com>
374 * posix/regex.c (compile_range): Cast collseq index to unsigned char
375 to avoid accessing data before collseq.
377 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
378 pasting strings together.
380 2000-09-14 Greg McGary <greg@mcgary.org>
382 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
384 * sysdeps/generic/bp-semctl.h: Likewise.
385 * sysdeps/generic/bp-start.h: Likewise.
386 * sysdeps/generic/bp-sym.h: Likewise.
387 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
390 2000-09-13 Ulrich Drepper <drepper@redhat.com>
392 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
395 * elf/elf.h: Add missing official relocations.
397 * libio/stdio.h: Define __FILE if __need___FILE is defined.
398 * stdio/stdio.h: Likewise.
399 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
400 * include/stdio.h: Handle __need___FILE like __need_FILE.
401 * include/wchar.h: Use __FILE instead of FILE.
402 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
403 * libio/fwscanf.c: Likewise.
404 * libio/getwc.c: Likewise.
406 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
407 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
408 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
410 * assert/assert.h: Update comment header about ISO C section.
411 * math/complex.h: Likewise.
412 * ctype/ctype.h: Likewise.
413 * include/errno.h: Likewise.
414 * include/limits.h: Likewise.
415 * locale/locale.h: Likewise.
416 * math/math.h: Likewise.
417 * setjmp/setjmp.h: Likewise.
418 * signal/signal.h: Likewise.
419 * stdio/stdio.h: Likewise.
420 * libio/stdio.h: Likewise.
421 * stdlib/stdlib.h: Likewise.
422 * string/string.h: Likewise.
423 * time/time.h: Likewise.
424 * wcsmbs/wchar.h: Likewise.
425 * wctype/wctype.h: Likewise.
426 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
428 2000-09-13 Andreas Jaeger <aj@suse.de>
430 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
432 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
433 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
434 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
436 2000-09-13 Ulrich Drepper <drepper@redhat.com>
438 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
439 constant since this is what clock_t is.
440 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
441 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
442 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
443 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
445 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
446 definitions are requested.
448 2000-09-13 Andreas Jaeger <aj@suse.de>
450 * shlib-versions: libBrokenLocale needs minimal version for ia64,
451 sparc64 and sh to synch with libc.
453 2000-09-13 Ulrich Drepper <drepper@redhat.com>
455 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
456 (distribute): Add iso-2022-cn-ext.c.
457 Add definitions to compile the new module.
458 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
459 * iconvdata/iso-2022-cn-ext.c: New file.
460 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
461 ucs4_from_isoir165. Increment input pointer if successful.
463 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
465 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
467 2000-09-01 Jes Sorensen <jes@linuxcare.com>
469 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
470 __syscall_getdents64 wrapper.
472 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
474 2000-09-12 Ulrich Drepper <drepper@redhat.com>
476 * iconvdata/gb18030.c: Many many changes. Make consistent with
477 charmap and with itself.
478 * iconvdata/tst-tables.sh: Test GB18030.
480 2000-09-11 Ulrich Drepper <drepper@redhat.com>
482 * iconv/skeleton.c: Fix last patch, add missing parameter to
483 unaligned function call.
485 2000-09-10 Bruno Haible <haible@clisp.cons.org>
487 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
490 2000-09-11 Bruno Haible <haible@clisp.cons.org>
492 * locale/programs/ld-collate.c (collate_read): Always initialize
495 2000-09-10 Bruno Haible <haible@clisp.cons.org>
497 * locale/programs/ld-collate.c (collate_finish): Upper bound for
498 ruleidx is 128, not 256.
500 2000-09-11 Ulrich Drepper <drepper@redhat.com>
502 * locale/programs/ld-collate.c (collate_read): Correct check for
503 already inserted entries.
505 2000-09-10 Bruno Haible <haible@clisp.cons.org>
507 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
510 2000-09-10 Bruno Haible <haible@clisp.cons.org>
512 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
513 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
515 2000-09-10 Bruno Haible <haible@clisp.cons.org>
517 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
520 2000-09-10 Bruno Haible <haible@clisp.cons.org>
522 * iconvdata/utf-7.c: New file.
523 * iconvdata/gconv-modules (UTF-7): New module entries.
524 * iconvdata/Makefile (modules): Add UTF-7.
525 (distribute): Add utf-7.c.
526 * iconvdata/testdata/UTF-7: New file.
527 * iconvdata/testdata/UTF-7..UTF8: New file.
528 * iconvdata/TESTS (UTF-7): New entry.
529 * iconvdata/run-iconv-test.sh: Fix confusing output.
531 2000-09-11 Ulrich Drepper <drepper@redhat.com>
533 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
535 2000-09-10 David S. Miller <davem@redhat.com>
537 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
538 frame pointer offset for non-fast path.
540 2000-09-10 Ulrich Drepper <drepper@redhat.com>
542 * locale/programs/3level.h (*_init): Initialize level1, level2,
544 (*_add): Remove a few unnecessary conditionals.
546 2000-09-05 Wolfram Gloger <wg@malloc.de>
548 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
549 ensure usability of mutex as an `in use' flag.
551 2000-09-10 Ulrich Drepper <drepper@redhat.com>
553 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
555 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
556 ugly GMON_WEAK_START hack.
557 Patch by Philip Blundell <philb@gnu.org>.
559 * sysdeps/i386/i486/bits/string.h: Pretty printing.
561 2000-09-09 Ulrich Drepper <drepper@redhat.com>
563 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
564 and PPC_ICBI asm for broken compilers.
565 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
567 2000-09-09 Andreas Jaeger <aj@suse.de>
569 * manual/message.texi (Advanced gettext functions): Fix typo.
571 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
574 2000-09-09 Ulrich Drepper <drepper@redhat.com>
576 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
578 * sysdeps/ia64/memccpy.S: Likewise.
579 Patches by Jim Wilson <wilson@redhat.com>.
581 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
582 before trying to read /proc.
583 Patch by Matt Wilson <msw@redhat.com>.
584 * include/sys/utsname.h: Declare __uname.
585 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
586 * sysdeps/mach/hurd/uname.c: Likewise.
587 * sysdeps/unix/syscalls.list: Likewise.
589 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
592 2000-09-08 Ulrich Drepper <drepper@redhat.com>
594 * posix/getopt.c (_getopt_internal): When long_only is set always
595 recognize conflicts just like before.
597 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
599 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
601 2000-09-08 Greg McGary <greg@mcgary.org>
603 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
604 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
605 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
607 2000-09-08 Andreas Jaeger <aj@suse.de>
609 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
611 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
613 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
614 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
615 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
617 2000-09-07 Ulrich Drepper <drepper@redhat.com>
619 * iconvdata/tst-tables.sh: Enable EUC-KR test.
621 * elf/dl-load.c (lose): Decrement _nl_loaded.
622 (_dl_map_object_from_fd): Don't try to dlopen executables.
624 * iconvdata/tst-tables.sh: Actually return with an error if
625 something goes wrong.
626 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
627 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
629 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
631 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
632 * iconvdata/tst-table-from.c: Include <string.h>.
633 (try): Correct cast in iconv call.
635 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
637 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
638 (sysdep_routines): Remove dl-start.
639 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
641 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
643 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
644 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
646 2000-09-06 Andreas Schwab <schwab@suse.de>
648 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
650 2000-09-07 Ulrich Drepper <drepper@redhat.com>
652 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
654 * scripts/config.sub: Strip out -unknown for Linux targets.
655 Patch by Scott Bambrough <scottb@netwinder.org>.
657 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
660 2000-09-07 Andreas Jaeger <aj@suse.de>
662 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
664 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
667 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
669 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
670 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
672 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
674 * stdlib/tst-bsearch.c (main): Add more test cases.
676 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
677 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
678 Reported by GOTO Masanori <gotom@debian.or.jp>.
680 2000-09-07 Ulrich Drepper <drepper@redhat.com>
682 * posix/Makefile (tests): Add tst-dir.
683 (tst-dir-ARGS): New variable.
684 * posix/tst-dir.c: New file.
686 2000-09-07 Andreas Jaeger <aj@suse.de>
688 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
691 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
693 2000-09-06 Ulrich Drepper <drepper@redhat.com>
695 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
696 use the hack with tryopen_o_directory to determine at runtime
698 * sysdeps/unix/sysv/linux/opendir.c: New file.
699 * sysdeps/unix/sysv/linux/kernel-features.h: Define
700 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
702 * catgets/Depend: New file. Add intl.
703 * catgets/Makefile (tests): Add tst-catgets.
704 (generated): Remove de.msg.
705 (generated-dirs): Add de.
706 Add dependency if tst-catgets output on de/libc.cat.
707 * catgets/tst-catgets.c: New file.
709 * po/ja.po: New file.
710 * po/el.po: Update from translation team.
712 * wcsmbs/Depend: New file.
713 * wcsmbs/Makefile (tests): Add tst-btowc.
714 (tst-btowc-ENV): Define.
715 * wcsmbs/tst-btowc.c: New file.
717 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
718 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
720 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
722 * stdlib/Makefile (tests): Add tst-bsearch.
723 * stdlib/tst-bsearch.c: New file.
725 * posix/getopt.c (_getopt_internal): Don't recognize an option
726 name as ambiguous if it's a prefix for more than one name but the
727 other struct option values are identical.
729 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
730 Don't depend on visual inspection of the output file to recognize
732 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
734 2000-09-06 Andreas Jaeger <aj@suse.de>
736 * sysdeps/alpha/soft-fp/Dist: New file.
737 * sysdeps/i386/soft-fp/Dist: New file.
738 * sysdeps/mips/mips64/soft-fp/Dist: New file.
739 * sysdeps/mips/soft-fp/Dist: New file.
740 * sysdeps/powerpc/soft-fp/Dist: New file.
741 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
742 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
744 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
745 Use sysdep_routines instead of routines to fix make dist failure.
746 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
748 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
750 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
751 sysdep_headers instead of headers for make dist.
753 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
756 2000-09-06 Andreas Schwab <schwab@suse.de>
758 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
760 2000-09-06 Andreas Jaeger <aj@suse.de>
762 * soft-fp/Makefile (distribute): Remove ChangeLog.
764 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
765 sysdep_routines instead of routines for make dist.
767 2000-09-05 Ulrich Drepper <drepper@redhat.com>
769 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
770 compatibility check for old stream and call _IO_wide in doubt.
771 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
772 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
773 needed tst for such an old structure and don't do anything.
774 * libio/freopen.c: Remove declaration of _IO_stdin_used.
776 2000-09-06 Andreas Jaeger <aj@suse.de>
778 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
779 sysdep-dl-routines and sysdep_routines instead of rtld-routines
782 * soft-fp/ChangeLog: Merged with this file.
784 2000-06-13 Ulrich Drepper <drepper@redhat.com>
786 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
788 * soft-fp/Makefile (distribute): Add the math functions, too.
790 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
792 2000-03-03 Geoff Keating <geoffk@cygnus.com>
794 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
797 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
798 * soft-fp/sysdeps/powerpc/q_*: New files.
800 2000-09-05 Ulrich Drepper <drepper@redhat.com>
802 * stdio-common/vfprintf.c (process_string_arg): Handle precision
803 in wide char case correctly. Don't allocate too long temporary
806 * stdio-common/Makefile (tests): Add tst-swprintf.
807 (tst-swprintf-ENV): New variable.
808 * stdio-common/tst-swprintf.c: New file.
810 2000-09-05 Andreas Jaeger <aj@suse.de>
812 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
813 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
814 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
816 2000-09-05 Ulrich Drepper <drepper@redhat.com>
818 * configure.in: Strip out "unknown" from configuration names.
820 2000-09-05 Andreas Jaeger <aj@suse.de>
822 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
824 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
825 * sysdeps/sparc/sparc32/Implies: Likewise.
826 * sysdeps/powerpc/Implies: Likewise.
828 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
829 * libio/oldiofgetpos64.c: Likewise.
831 * soft-fp/Makefile (distribute): Remove configure.
833 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
835 * soft-fp/configure: Remove.
837 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
838 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
840 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
841 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
843 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
844 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
846 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
847 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
849 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
850 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
852 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
853 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
855 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
856 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
858 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
859 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
861 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
862 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
864 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
865 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
867 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
868 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
870 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
871 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
873 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
874 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
876 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
877 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
879 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
880 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
882 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
883 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
885 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
886 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
888 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
889 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
891 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
892 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
894 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
895 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
897 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
898 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
900 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
901 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
903 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
904 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
906 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
907 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
909 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
910 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
912 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
913 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
915 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
916 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
918 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
919 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
921 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
922 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
924 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
925 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
927 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
928 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
930 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
931 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
933 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
934 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
936 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
937 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
939 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
940 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
942 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
943 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
945 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
946 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
948 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
949 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
951 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
952 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
954 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
955 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
957 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
958 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
960 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
961 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
963 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
964 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
966 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
967 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
969 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
970 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
972 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
973 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
975 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
976 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
978 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
979 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
981 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
982 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
984 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
985 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
987 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
988 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
990 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
991 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
993 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
994 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
996 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
997 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
999 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1000 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1002 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1003 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1005 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1006 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1008 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1009 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1011 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1012 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1014 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1015 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1017 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1018 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1020 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1021 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1023 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1024 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1026 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1027 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1029 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1030 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1032 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1033 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1035 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1036 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1038 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1039 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1041 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1042 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1044 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1045 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1047 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1048 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1050 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1051 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1053 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1054 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1056 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1057 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1059 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1060 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1062 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1063 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1065 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1066 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1068 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1069 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1071 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1072 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1074 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1075 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1077 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1078 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1080 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1081 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1083 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1084 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1086 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1087 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1089 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1090 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1092 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1093 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1095 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1096 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1098 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1099 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1101 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1102 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1104 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1105 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1107 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1108 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1110 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1111 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1113 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1114 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1116 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1117 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1119 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1120 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1122 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1123 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1125 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1126 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1128 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1129 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1131 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1132 change symbol version.
1133 * libio/oldiofgetpos64.c: Likewise.
1134 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1136 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1138 Reported by dyky@kondara.org, closes PR libc/1886.
1140 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1143 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1145 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1146 script when ^C is hit.
1148 * locale/programs/localedef.c (construct_output_path): Correct
1149 computation of endp after asprintf.
1150 * locale/programs/locfile.c (write_locale_data): Don't add extra
1153 2000-09-05 Andreas Jaeger <aj@suse.de>
1155 * scripts/config.guess: New upstream version.
1156 * scripts/config.sub: Likewise.
1157 * manual/texinfo.tex: Likewise.
1159 2000-09-04 Andreas Schwab <schwab@suse.de>
1161 * elf/Makefile (all-dl-routines): New variable.
1162 (elide-routines.os): Use it instead of $(dl-routines).
1163 (all-rtld-routines): New variable.
1164 (extra-objs): Use it instead of $(rtld-routines).
1165 ($(objpfx)dl-allobjs.os): Likewise.
1166 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1167 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1170 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1172 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1173 Set fname to NULL if the module wasn't found.
1175 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1177 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1178 true if trans->name already ends in ".so".
1180 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1182 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1184 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1185 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1186 (__gconv_release_shlib): Change return type to void.
1187 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1188 step->__counter here.
1189 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1190 if the reference is zero.
1191 (release_step): New function.
1192 (gen_steps): Always initialize the __counter to 1. Use release_step.
1193 Don't call the destructor on the step whose initializer failed.
1194 (increment_counter): Use release_step. Don't normally run destructors
1196 (__gconv_close_transform): Use release_step.
1198 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1200 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1201 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1203 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1205 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1206 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1207 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1208 to check for incomplete input.
1209 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1210 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1211 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1212 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1214 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1215 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1216 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1217 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1220 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1222 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1225 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1227 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1230 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1232 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1233 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1236 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1238 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1240 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1242 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1244 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1246 * iconvdata/tst-tables.sh: New file.
1247 * iconvdata/tst-table.sh: New file.
1248 * iconvdata/tst-table-from.c: New file.
1249 * iconvdata/tst-table-to.c: New file.
1250 * iconvdata/tst-table-charmap.sh: New file.
1251 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1252 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1253 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1254 ISIRI-3342.irreversible, SJIS.irreversible.
1255 (tests): Add dependency on tst-tables.out.
1256 (tst-tables.out, tst-tables-clean): New rules.
1257 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1258 * iconvdata/ISIRI-3342.irreversible: New file.
1259 * iconvdata/EUC-JP.irreversible: New file.
1260 * iconvdata/SJIS.irreversible: New file.
1262 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1264 * manual/locale.texi (General Numeric): Update description of
1265 representation of the grouping information in the locale data.
1266 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1268 2000-09-04 Andreas Jaeger <aj@suse.de>
1270 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1271 * iconv/iconv_prog.c (options): Fix typo.
1272 Reported by dyky@kondara.org, closes PR libc/1885.
1274 2000-09-04 Andreas Jaeger <aj@suse.de>
1276 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1277 Reported by Rob Levin <lilo@transvirtual.com>.
1279 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1281 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1282 to the typedefs of __timezone_ptr_t.
1283 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1285 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1287 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1290 2000-09-01 H.J. Lu <hjl@gnu.org>
1292 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1293 to run a binary if it is in $(tests-static).
1295 * Rules (binaries-static): Add $(tests-static).
1297 2000-09-02 Andreas Jaeger <aj@suse.de>
1299 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1301 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1304 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1306 * iconvdata/big5hkscs.c: Regenerated from charmap.
1307 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1308 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1310 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1311 statement. General cleanup.
1313 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1315 * wctype/wcfuncs.c (iswblank): New function.
1316 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1317 * wctype/wcextra.c: Remove file.
1318 * wctype/wcextra_l.c: Remove file.
1319 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1321 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1323 * locale/programs/ld-collate.c (collate_output): Remove redundant
1325 * string/strcoll.c: Likewise.
1326 * string/strxfrm.c: Include assert.h. Add assert calls like in
1329 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1331 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1332 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1333 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1334 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1335 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1336 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1337 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1338 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1339 _NL_CTYPE_GAP5/6 respectively.
1341 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1342 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1343 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1344 Don't initialize __ctype_names and __ctype_width.
1345 * wctype/cname-lookup.h: Remove file.
1346 * wctype/Makefile (distribute): Remove cname-lookup.h.
1347 * wctype/wchar-lookup.h: Include stdint.h.
1348 * wctype/wctype.c (__wctype): Assume new locale format.
1349 * wctype/wctype_l.c (__wctype_l): Likewise.
1350 * wctype/iswctype.c: Don't include cname-lookup.h.
1351 (__iswctype): Assume new locale format.
1352 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1353 (__iswctype_l): Assume new locale format.
1354 * wctype/wctrans.c: Don't include ctype.h.
1355 (wctrans): Assume new locale format.
1356 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1357 * wctype/towctrans.c: Don't include cname-lookup.h.
1358 (__towctrans): Assume new locale format.
1359 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1360 (__towctrans_l): Assume new locale format.
1361 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1362 localeinfo.h instead.
1363 (__NO_WCTYPE): Remove unused macro.
1364 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1366 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1367 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1368 (towlower, towupper): Likewise.
1369 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1370 localeinfo.h instead.
1371 (__NO_WCTYPE): Remove unused macro.
1372 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1373 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1374 __iswxdigit_l): Assume new locale format.
1375 (__towlower_l, __towupper_l): Likewise.
1376 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1377 (__ctype32_b): Remove declaration.
1378 (internal_wcwidth): Assume new locale format.
1379 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1380 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1381 to map32_b, rename width_3level to width.
1382 (ctype_output): Always create new locale format. Don't emit
1383 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1384 (allocate_arrays): Always create new locale format.
1386 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1387 * locale/weightwc.h (findidx): Assume new locale format.
1388 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1390 * string/strxfrm.c (wcsxfrm): Likewise.
1391 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1392 local variable collseq to 'const char *'.
1393 (SUFFIX): Don't use, don't undefine.
1394 * posix/fnmatch.c: Remove SUFFIX definition.
1395 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1396 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1397 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1398 (collate_finish): Always create new locale format. Remove local
1399 variables min_total, act_size.
1400 (collate_output): Always create new locale format. Remove local
1401 variables table_size, names, tablewc. Rename tablewc_3level to
1404 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1406 * locale/programs/ld-collate.c (obstack_int32_grow,
1407 obstack_int32_grow_fast): New inline functions.
1408 (output_weightwc, collate_output): Use them where possible.
1410 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1412 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1413 patch (_mode -> _flags).
1415 * libio/Makefile (headers): Add stdio_ext.h.
1416 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1417 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1418 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1419 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1420 __fsetlocking, and _flushlbf.
1421 * libio/__fbufsize.c: New file.
1422 * libio/__flbf.c: New file.
1423 * libio/__fpending.c: New file.
1424 * libio/__fpurge.c: New file.
1425 * libio/__freadable.c: New file.
1426 * libio/__freading.c: New file.
1427 * libio/__fsetlocking.c: New file.
1428 * libio/__fwritable.c: New file.
1429 * libio/__fwriting.c: New file.
1430 * libio/stdio_ext.h: New file.
1431 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1432 * libio/libio.h (_IO_USER_LOCK): Define.
1433 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1434 test _IO_USER_LOCK flag first.
1436 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1439 2000-09-01 Andreas Jaeger <aj@suse.de>
1441 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1443 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1445 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1447 * math/Makefile (tests): Add tst-defintions.
1448 * math/tst-definitions.c: New file.
1450 * stdlib/Makefile (headers): Add bits/wchar.h.
1451 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1452 * sysdeps/generic/bits/wchar.h: New file.
1453 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1454 file to define WCHAR_MIN and WCHAR_MAX.
1455 Change UINT*8_MAX and UIN*16_MAX value to type int.
1456 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1457 file to define WCHAR_MIN and WCHAR_MAX.
1458 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1460 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1461 * sysdeps/generic/bits/mathdef.h: Likewise.
1462 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1463 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1464 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1465 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1466 * locale/locale.h (struct lconv): Add __ prefix to the new members
1468 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1469 imaxdiv optimizations.
1470 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1471 * sysdeps/wordsize-64/ldiv.c: Likewise.
1472 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1474 * sysdeps/generic/bits/fenv.h: Likewise.
1475 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1476 * sysdeps/ia64/bits/fenv.h: Likewise.
1477 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1478 * sysdeps/mips/bits/fenv.h: Likewise.
1479 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1480 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1481 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1483 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1484 * inet/ruserpass.c: Likewise.
1485 * catgets/open_catalog.c: Likewise.
1486 * intl/loadmsgcat.c: Likewise.
1487 * io/getdirname.c: Likewise.
1488 * locale/loadlocale.c: Likewise.
1489 * misc/getusershell.c: Likewise.
1490 * stdlib/canonicalize.c: Likewise.
1491 * sysdeps/posix/euidaccess.c: Likewise.
1492 * sysdeps/posix/isfdtype.c: Likewise.
1493 * sysdeps/posix/posix_fallocate.c: Likewise.
1494 * sysdeps/posix/tempname.c: Likewise.
1495 * sysdeps/unix/grantpt.c: Likewise.
1496 * sysdeps/unix/opendir.c: Likewise.
1497 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1498 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1499 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1500 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1501 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1502 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1503 * sysvipc/ftok.c: Likewise.
1504 * time/getdate.c: Likewise.
1506 * time/getdate.c: Add extra access test.
1508 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1510 * version.h (VERSION): Bump to 2.1.93.
1512 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1513 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1515 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1516 Make this a new rule depending on tst-gettext.out and run mtrace.
1517 * intl/tst-gettext.c: Call mtrace.
1518 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1520 * elf/dl-reloc.c: Add a few more __builtin_expect.
1522 * configure.in: Remove --with-gettext option.
1524 * intl/dcigettext.c (free_mem): Correct freeing of
1525 _nl_domain_bindings list.
1527 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1530 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1532 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1534 * stdio-common/itoa-digits.c: Move upper digits to...
1535 * stdio-common/itoa-udigits.c: ...here. New file.
1536 * stdio-common/Makefile (routines): Add itoa-udigits.
1538 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1539 relocate ld.so don't add supprt for relocations which should not
1542 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1543 __secure_getenv. Instead test __libc_enable_secure once.
1545 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1547 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1549 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1550 whether the new record should be freed if it's a duplicate.
1551 (add_module): Adjust insert_module call.
1552 (__gconv_read_conf): Likewise.
1553 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1555 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1557 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1559 * include/link.h (struct r_search_path_struct): New.
1560 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1561 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1563 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1564 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1565 added at startup time.
1566 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1567 contains element to remember fact that we can free memory.
1568 (all_dirs): Renamed to _dl_all_dirs. Made global.
1569 (_dl_init_all_dirs): New variable.
1570 (fillin_rpath): Save one malloc call.
1571 (decompose_rpath): Change interface. New first parameter points to
1572 r_search_path_struct.
1573 (_dl_init_paths): Adjust for changes. Mark all memory as not
1574 deletable. Set _dl_init_all_paths value.
1575 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1576 parameter replaced with r_search_path_struct *. Information about
1577 freeing now contained in r_search_path_struct.
1578 (_dl_map_object): Adjust for above changes.
1580 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1582 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1583 when adding new entries.
1585 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1586 since the object being loaded can be unloaded.
1588 * iconvdata/Makefile (tests): Add tst-loading.
1589 * iconvdata/tst-loading.c: New file.
1591 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1593 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1594 When comparing a char with an int, always cast the char to
1595 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1596 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1598 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1600 * time/strftime.c (my_strftime): Add compatibility code for use
1601 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1603 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1604 return 0 for success but always < 0 on failure.
1606 * nss/getXXbyYY_r.c: Define result to *result before including
1609 2000-08-30 Andreas Jaeger <aj@suse.de>
1611 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1613 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1615 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1617 * iconvdata/TESTS: Add BIG5HKSCS entry.
1618 * iconvdata/testdata/BIG5HKSCS: New file.
1619 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1621 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1624 * libio/iogetline.c: Set mode before the loop in case n==0.
1625 * libio/iogetwline.c: Likewise.
1627 2000-08-29 H.J. Lu <hjl@gnu.org>
1629 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1631 (_IO_new_file_overflow): Likewise.
1632 * libio/genops.c (_IO_flush_all): Likewise.
1633 * libio/ioftell.c (_IO_ftell): Likewise.
1635 2000-08-29 Akira Higuchi <a@kondara.org>
1637 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1638 and __end_fct fields of struct __gconv_step.
1639 * iconv/Makefile (tests): Add iconv-bug2.
1640 * iconv/iconv-bug2.c: New file.
1642 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1643 instead of 'inptr - inend' to ksc5601_to_ucs4.
1645 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1647 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1648 character or shift sequence is found at the end of the input
1649 string, return__GCONV_INCOMPLETE_INPUT instead of
1650 __GCONV_EMPTY_INPUT.
1651 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1652 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1654 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1655 __GCONV_ILLEGAL_INPUT for 8bit characters.
1657 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1659 * signal/signal.h (sigpause): Move __THROW before __asm__.
1661 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1662 names don't match don't return.
1663 Patch by Olaf Kirch <okir@flash.lst.de>.
1665 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1667 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1669 2000-08-27 H.J. Lu <hjl@gnu.org>
1671 * posix/Makefile (otherlibs): Add for building with static-nss
1674 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1676 * libio/stdio.h: Add fmemopen prototype.
1678 2000-08-25 Andreas Jaeger <aj@suse.de>
1680 * libio/Makefile (routines): Add fmemopen.
1681 (tests): Add test-fmemopen.
1682 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1683 * libio/test-fmemopen.c: New file.
1684 * libio/fmemopen.c: New file.
1685 Patches by Hanno Mueller <kontakt@hanno.de>.
1687 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1689 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1690 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1692 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1693 to avoid crashing statically linked applications.
1695 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1697 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1698 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1700 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1701 If the result is fits in the buffer, copy only as many bytes as needed.
1703 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1704 buffer after copying numbuf into it.
1705 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1707 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1709 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1710 the result. When string_len < len, don't clear the rest of the buffer.
1712 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1714 Support for new LC_COLLATE format.
1715 * locale/coll-lookup.h: New file.
1716 * locale/weightwc.h (findidx): When size == 0, call
1717 collidx_table_lookup.
1718 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1719 * wcsmbs/wcsxfrm.c: Likewise.
1720 * posix/fnmatch.c: Likewise.
1721 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1722 collseq_table_lookup.
1723 * locale/programs/3level.h: New file.
1724 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1725 by including "3level.h".
1726 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1727 collseq_table): New types, defined by including "3level.h".
1728 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1729 (encoding_mask, encoding_byte): Remove.
1730 (utf8_encode): Use simple shifts instead.
1731 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1732 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1733 (collate_output): New local variable tablewc_3level. When
1734 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1735 tablewc_3level instead of tablewc. Change format of TABLEWC and
1736 COLLSEQWC entries written to the file.
1737 * locale/C-collate.c (collseqwc): Change format.
1738 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1740 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1742 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1744 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1745 (locale_ctype_t): New charnames_idx field.
1746 (ctype_startup): Initialize charnames_idx field.
1747 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1749 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1751 * locale/C-ctype.c: Switch to new locale format.
1752 (_nl_C_LC_CTYPE_names): Remove array.
1753 (STRUCT_CTYPE_CLASS): New macro.
1754 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1755 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1756 New three-level tables.
1757 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1758 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1759 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1760 12 class tables and 2 map tables at the end.
1761 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1762 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1763 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1765 (b): Remove trailing semicolon.
1766 (__ctype_names, __ctype_width): Don't initialize.
1767 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1769 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1771 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1772 is guaranteed to be allocated with the same malloc() and may be
1774 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1775 been set to empty by an earlier open_path call, don't pass it again.
1777 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1779 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1780 we are not optimizing.
1782 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1785 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1787 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1789 2000-08-28 Andreas Jaeger <aj@suse.de>
1791 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1793 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1795 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1796 getpeername. Use ISO C style function definition.
1797 (getpeername): Provide weak alias.
1798 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1799 setrlimit. Use ISO C style function definition.
1800 (setrlimit): Provide weak alias.
1802 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1804 * shlib-versions: Add a rule for S/390 to the libm version list.
1805 * sysdeps/s390/Versions: New file.
1806 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1807 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1808 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1809 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1810 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1811 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1812 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1813 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1814 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1815 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1816 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1817 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1818 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1819 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1820 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1821 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1822 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1823 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1825 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1827 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1828 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1830 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1831 * elf/dl-close.c (_dl_close): Print debug message if object is not
1833 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1834 returning to caller.
1836 * po/zh.po: Renamed to...
1837 * po/zh_TW.po: ...this.
1839 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1841 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1843 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1844 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1845 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1846 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1848 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1850 * locale/programs/ld-collate.c (insert_weights): Also update
1851 backpointer of next element.
1852 (collate_read): Allow definition of new collation symbols in stage 2.
1853 Symbol after reorder-after can be UCS4 value.
1854 Allow reordering of collation symbols and elements.
1855 Do not only move reorder entry in new position. Instead call
1856 insert_weight to do this and read the weights.
1858 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1860 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1861 to determine invalid locale name.
1862 * locale/findlocale.c (_nl_find_locale): Likewise.
1864 * posix/annexc.c: Correct test for unavailable feature.
1866 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1869 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1871 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1874 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1875 (sysdep_routines): Add oldgetrlimit64.
1877 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1878 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1879 (tests): Add unload, reldep, reldep2, and reldep3.
1880 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1882 Add rules to build and run unload, reldep, reldep2, and reldep3.
1883 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1884 Don't create relocation dependency if it is nonzero.
1885 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1886 can never happen here.
1887 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1888 Don't create relocation dependency if it is nonzero.
1889 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1890 stuff. This can never happen here.
1891 * sysdeps/generic/ldsodefs.h: Change prototypes.
1892 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1893 _dl_lookup_up and _dl_lookup_versioned_symbol.
1895 * elf/dl-runtime.c (fixup): Likewise.
1896 (profile_fixup): Likewise.
1897 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1899 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1900 * elf/rtld.c (dl_main): Likewise.
1901 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1902 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1903 and pass down the caller map.
1904 (_dl_vsym): Likewise.
1905 * elf/reldep.c: New file.
1906 * elf/reldep2.c: New file.
1907 * elf/reldep3.c: New file.
1908 * elf/reldepmod1.c: New file.
1909 * elf/reldepmod2.c: New file.
1910 * elf/reldepmod3.c: New file.
1911 * elf/reldepmod4.c: New file.
1912 * elf/unload.c: New file.
1913 * elf/unloadmod.c: New file.
1915 * elf/do-lookup.h: Remove unused undef_name parameter.
1916 * elf/dl-lookup.c: Adjust callers.
1918 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1920 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1921 irreversible in recursive call of conversion function to signal that
1922 no error handling is wanted.
1923 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1924 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1925 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1926 recursive error handling call, otherwise to &lirreversible. Use it
1927 for calls to conversion functions.
1928 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1930 (ucs4_internal_loop_unaligned): Likewise.
1931 (ucs4le_internal_loop): Likewise.
1932 (ucs4le_internal_loop_unaligned): Likewise.
1934 2000-08-25 Greg McGary <greg@mcgary.org>
1936 * sysdeps/i386/memchr.S: Check high bound against chars
1938 * sysdeps/i386/memcmp.S: Likewise.
1939 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1940 account for pointers that lie one beyond end-of-buffer.
1942 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1944 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1945 * elf/nodelete.c (fini_ran): New global variable.
1946 (do_test): Before every dlclose call clear fini_ran and test
1947 afterwards that it is not set by the destructors.
1948 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1949 * elf/nodelmod2.c: Likewise.
1950 * elf/nodelmod4.c: Likewise.
1952 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1954 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1955 getrlimit to the list.
1957 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1959 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1960 long double format so use ldbl-96 instead of ldbl-128.
1962 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1964 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1965 even if bits 10 a 11 are non-zero.
1966 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1968 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1969 included before building gnu/lib-names.h
1970 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1972 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1973 marked DF_1_NODELETE.
1975 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1976 since we call sigaction in the child.
1978 2000-08-25 Andreas Jaeger <aj@suse.de>
1980 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1983 2000-08-25 Andreas Jaeger <aj@suse.de>
1985 * manual/arith.texi (Control Functions): Clarify possible
1986 arguments. Closes PR libc/1856.
1988 2000-08-24 H.J. Lu <hjl@gnu.org>
1990 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1991 * malloc/Makefile (tests): Likewise.
1993 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1995 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1997 2000-08-24 Andreas Jaeger <aj@suse.de>
1999 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2000 only if LIBGD is available.
2002 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2004 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2005 problems with now restrict parameter types.
2006 (convaddr4to6): Likewise.
2008 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2010 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2011 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2012 * sysdeps/s390/fpu/fegetexcept.c: New file.
2013 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2016 2000-08-24 Andreas Jaeger <aj@suse.de>
2018 * malloc/Makefile (extra-objs): Add memusagestat.o.
2019 (generated): Added memusage and memusagestat for make clean.
2021 * libio/tst_putwc.c (do_test): Delete temporary file.
2022 Move inclusion of test-skeleton to front to have prototype for
2025 * posix/Makefile (generated): Add wordexp-tst.out.
2027 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2029 * resolv/res_hconf.c (free_mem): Remove not needed if.
2031 * time/tzset.c (free_mem): New function.
2032 * string/strsignal.c (free_mem): New function.
2033 * inet/inet_ntoa.c (free_mem): New function.
2034 * sunrpc/clnt_perr.c (free_mem): New function.
2036 2000-08-24 Andreas Jaeger <aj@suse.de>
2038 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2039 * sysdeps/unix/sysv/syscalls.list: Likewise.
2041 * posix/unistd.h: Move internal prototypes from here ...
2042 * include/unistd.h: ... to here.
2044 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2046 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2048 * grp/initgroups.c (initgroups): Deallocate groups array.
2049 Reported by jani.raiha@sonera.com [PR libc/1868].
2051 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2052 * sysdeps/alpha/Dist: Likewise.
2054 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2056 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2057 destructor). Reported by Solar Designer <solar@false.com>.
2059 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2060 avoid adding double slashes.
2062 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2064 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2065 out of the __REDIRECT macro.
2067 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2069 * stdio-common/vfscanf.c: Add %F format support.
2071 * locale/programs/ld-ctype.c (ctype_output): Make sure
2072 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2073 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2074 (ctype_read): Enable returning of wide character strings for reading
2075 transliteration information.
2077 2000-08-23 Andreas Jaeger <aj@suse.de>
2079 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2080 Use static __inline instead of _EXTERN_INLINE.
2082 * misc/sys/select.h: Move prototypes of __select from here ...
2083 * include/sys/select.h: ... to here.
2085 * socket/sys/socket.h: Move prototypes of __send and __connect
2087 * include/sys/socket.h: ... to here.
2089 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2092 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2094 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2095 __setrlimit as strong name. Takes only 2 arguments.
2097 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2098 takes only 2 arguments.
2100 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2102 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2104 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2106 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2108 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2109 default_missing character being specified, pick the first
2112 2000-08-23 Andreas Jaeger <aj@suse.de>
2114 * include/wchar.h: Add some pure attributes.
2116 * time/time.h: Add const attribute for dysize.
2118 * include/stdlib.h: Add malloc attribute to __posix memalign.
2120 * stdlib/stdlib.h: Add some pure and malloc attributes.
2121 * wcsmbs/wchar.h: Likewise.
2123 * dirent/dirent.h: Add some pure attributes.
2124 * include/dirent.h: Likewise.
2126 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2128 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2131 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2133 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2134 missing buffer size checks.
2136 2000-08-23 Andreas Jaeger <aj@suse.de>
2138 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2140 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2142 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2143 otherwise __LINUX_KERNEL_VERSION might not be defined.
2144 (MIN): Define if not already defined.
2146 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2148 * stdio-common/vfprintf.c: Handle %F format.
2149 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2150 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2152 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2154 * po/zh.po: New file.
2156 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2157 enough room in target buffer.
2158 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2159 * iconvdata/bug-iconv1.c: New file.
2160 * iconvdata/Makefile (tests): Add bug-iconv1.
2162 * locale/iso-4217.def: Update entry for Nicaragua.
2164 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2166 * hurd/hurdsig.c: Rearrange headers a bit.
2167 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2168 when cthreads is being used.
2170 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2172 * elf/Makefile (distribute): Add dl-osinfo.h.
2173 * sysdeps/generic/dl-osinfo.h: New file.
2174 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2175 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2177 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2178 only for !SHARED case. Get the code from dl-osinfo.h.
2180 * stdlib/random_r.c: Cleanups.
2181 * stdlib/tst-random.c: New file.
2182 * stdlib/Makefile (tests): Add tst-random.
2183 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2185 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2187 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2188 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2189 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2190 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2192 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2194 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2195 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2196 (__syscall__sysctl): Add.
2198 2000-08-21 Andreas Jaeger <aj@suse.de>
2200 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2202 * stdlib/tst-strtoll.c: Likewise.
2204 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2206 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2208 (__initstate_r): Set errno on error.
2209 (__random_r): Likewise.
2210 (__setstate_r): Correct offset when computing
2211 new rptr and fptr. Test for arg_state being NULL.
2212 Reported by Michael Fischer <fischer@cs.yale.edu>.
2214 * posix/regex.h: Add macro definitions to allow compiling outside
2217 * sysdeps/i370/Implies: Removed.
2218 * sysdeps/mvs/Implies: Removed.
2220 * catgets/catgets.c (catopen): Filter out env_var values with / if
2223 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2224 locale name after all getenvs.
2226 * configure.in: Allow sed versions like 3.02.8.
2227 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2229 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2231 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2233 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2235 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2236 of gethostbyname2_r call.
2238 * intl/locale.alias: Add aliases for Korean.
2240 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2242 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2243 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2244 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2245 * sysdeps/s390/fpu/fegetenv.c: New file.
2246 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2247 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2248 * sysdeps/s390/fpu/fenv_libc.h: New file.
2249 * sysdeps/s390/fpu/fesetenv.c: New file.
2250 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2251 * sysdeps/s390/fpu/feupdateenv.c: New file.
2252 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2253 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2254 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2255 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2256 * sysdeps/s390/fpu/ftestexcept.c: New file.
2257 * sysdeps/s390/fpu/libm-test-ulps: New file.
2258 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2259 * sysdeps/s390/initfini.c: New file.
2260 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2261 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2262 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2263 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2264 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2265 sys/procfs.h as proposed by Mark Kettenis.
2266 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2268 2000-08-21 Andreas Jaeger <aj@suse.de>
2270 * include/poll.h: Include include/sys/poll.h to get __poll
2273 * io/sys/poll.h: Move __poll declaration from here...
2274 * include/sys/poll.h: ...to here.
2276 * include/sys/socket.h (__getpeername): Add declaration.
2278 * include/wchar.h (__vswprintf): Add declaration.
2280 * include/stdio.h (__flockfile): Add declaration.
2281 (__funlockfile): Likewise.
2283 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2285 * misc/sys/cdefs.h: Define __restrict_arr.
2286 * include/sys/time.h: Add restrict where required by AGd4.
2287 * inet/arpa/inet.h: Likewise.
2288 * io/sys/stat.h: Likewise.
2289 * io/sys/statvfs.h: Likewise.
2290 * misc/search.h: Likewise.
2291 * misc/sys/select.h: Likewise.
2292 * posix/glob.h: Likewise.
2293 * posix/regex.h: Likewise.
2294 * posix/spawn.h: Likewise.
2295 * posix/unistd.h: Likewise.
2296 * rt/aio.h: Likewise.
2297 * signal/signal.h: Likewise.
2298 * socket/sys/socket.h: Likewise.
2299 * stdlib/ucontext.h: Likewise.
2300 * streams/stropts.h: Likewise.
2301 * string/string.h: Likewise.
2302 * time/time.h: Likewise.
2303 * time/sys/time.h: Likewise.
2305 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2306 and posix_spawnattr_setscheparam.
2308 * libio/stdio.h: Make cuserid prototype again available for all
2311 * argp/argp-help.c: Unify use of function aliases to make more compact
2313 * include/libintl.h: Likewise.
2314 * inet/rcmd.c: Likewise.
2315 * intl/dcigettext.c: Likewise.
2316 * libio/iofputws.c: Likewise.
2317 * libio/iofputws_u.c: Likewise.
2318 * libio/iogetwline.c: Likewise.
2319 * libio/swprintf.c: Likewise.
2320 * malloc/malloc.c: Likewise.
2321 * nss/digits_dots.c: Likewise.
2322 * posix/fnmatch.c: Likewise.
2323 * posix/spawn_faction_addclose.c: Likewise.
2324 * posix/spawn_faction_adddup2.c: Likewise.
2325 * posix/spawn_faction_addopen.c: Likewise.
2326 * posix/spawni.c: Likewise.
2327 * posix/wordexp.c: Likewise.
2328 * posix/spawni.c: Likewise.
2329 * resolv/res_hconf.c: Likewise.
2330 * resolv/res_init.c: Likewise.
2331 * shadow/lckpwdf.c: Likewise.
2332 * signal/sighold.c: Likewise.
2333 * signal/sigrelse.c: Likewise.
2334 * stdio-common/printf-parse.h: Likewise.
2335 * stdio-common/printf-prs.c: Likewise.
2336 * stdio-common/printf_fp.c: Likewise.
2337 * stdio-common/vfprintf.c: Likewise.
2338 * stdio-common/vfscanf.c: Likewise.
2339 * stdlib/rpmatch.c: Likewise.
2340 * sunrpc/create_xid.c: Likewise.
2341 * sunrpc/key_call.c: Likewise.
2342 * sysdeps/generic/setrlimit64.c: Likewise.
2343 * sysdeps/generic/utmp_file.c: Likewise.
2344 * sysdeps/generic/vlimit.c: Likewise.
2345 * sysdeps/posix/posix_fallocate.c: Likewise.
2346 * sysdeps/posix/posix_fallocate64.c: Likewise.
2347 * sysdeps/posix/sigpause.c: Likewise.
2348 * sysdeps/posix/sigset.c: Likewise.
2349 * sysdeps/unix/grantpt.c: Likewise.
2350 * sysdeps/unix/bsd/ualarm.c: Likewise.
2351 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2352 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2353 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2354 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2355 * time/strftime.c: Likewise.
2356 * wcsmbs/wcscoll.c: Likewise.
2357 * wcsmbs/wcsxfrm.c: Likewise.
2359 * time/tst-getdate.c (main): Make error messages more human readable.
2361 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2362 postinc/predec instruction.
2363 (_FPU_SETCW): Likewise.
2364 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2366 2000-08-20 Andreas Jaeger <aj@suse.de>
2368 * time/tst-getdate.c (main): Increase error in case of wrong
2370 Fix typo in test case.
2372 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2374 * ctype/ctype.h (isblank): Make available if ISO C99.
2375 * wctype/wctype.h (iswblank): Make available if ISO C99.
2376 * math/math.h (signgam): Don't make available if ISO C99.
2377 * math/tgmath.h (tgamma): Renamed from gamma.
2378 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2380 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2382 * intl/plural.y (new_exp): Take number of optional parameters in
2383 second parameter. Test for correct number of parameters and free
2384 correctly in case of failure. Adjust all callers.
2385 (yylex): Allow ';' as terminator character.
2387 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2389 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2392 * locale/findlocale.c (free_mem): Also free here->filename.
2394 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2396 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2398 (feexcp_nomask_test): Correct printf args.
2399 (feexcp_mask_test): Likewise.
2401 2000-08-19 Andreas Jaeger <aj@suse.de>
2403 * inet/tst-gethnm.c: Include string.h to provide prototype for
2406 * malloc/mtrace.pl (usage): Inform about --help.
2408 2000-08-19 Wolfram Gloger <wg@malloc.de>
2410 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2413 2000-08-19 Andreas Jaeger <aj@suse.de>
2415 * shlib-versions: Remove libnss_db, libdb and libdb1.
2417 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2419 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2420 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2422 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2423 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2425 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2426 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2427 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2428 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2430 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2431 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2433 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2435 * include/glob.h (__glob64): Add prototype.
2436 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2437 define glob and glob_in_dir.
2438 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2439 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2440 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2442 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2443 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2444 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2445 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2447 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2449 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2451 2000-08-17 Andreas Jaeger <aj@suse.de>
2453 * math/test-fenv.c (fe_single_test): New function.
2454 (fe_env_tests): Use fe_single_test.
2455 (feenable_test): New tests for feenable/fedisable and
2457 (feexcp_mask_test): New function.
2458 (feexcp_nomask_test): New function.
2460 2000-08-19 Richard Henderson <rth@cygnus.com>
2462 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2463 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2464 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2465 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2466 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2467 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2468 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2469 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2470 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2471 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2472 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2473 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2474 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2475 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2476 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2477 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2478 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2480 2000-08-19 Andreas Jaeger <aj@suse.de>
2482 * elf/constload1.c: Include <stdio.h> for puts prototype.
2484 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2486 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2487 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2488 a dynamically loaded object remove old l_initfini list.
2489 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2490 remove some dynamically allocated memory blocks in the dynamic
2491 loading data structures.
2492 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2493 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2494 Instead call _dl_check_map_versions only for the dependencies.
2495 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2496 information of initial objects as not free-able.
2497 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2500 * elf/filter.c: Call mtrace.
2501 * elf/restest1.c: Likewise. Close the objects.
2502 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2505 * elf/constload1.c: Add comment explaining not freed memory.
2507 2000-08-18 Andreas Jaeger <aj@suse.de>
2509 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2510 alignment for structs stat and stat64.
2511 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2513 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2515 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2516 handling. Patch by Richard Henderson <rth@twiddle.net>.
2518 * nss/Versions: Remove libnss_db information.
2520 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2522 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2523 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2524 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2525 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2527 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2530 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2532 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2533 (_FPU_SETCW): Likewise.
2534 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2536 * stdio-common/printf_fp.c: Fix chars_needed computation.
2537 Patch by Greg McGary <greg@mcgary.org>.
2539 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2541 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2542 _dl_loaded are NULL.
2544 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2546 * manual/arith.texi (feholdexcept): Returns 0 on success.
2548 2000-08-17 Andreas Jaeger <aj@suse.de>
2550 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2552 Reported by Andi Kleen <ak@suse.de>.
2554 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2556 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2557 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2558 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2560 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2562 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2563 of buf->st_ino and kbuf->st_ino, not __st_ino.
2564 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2565 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2566 directive so that only linux/getdents.c is used, not some
2567 architecture specific one.
2569 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2571 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2572 enabled, not disabled exceptions.
2573 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2574 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2576 2000-08-17 Greg McGary <greg@mcgary.org>
2578 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2579 from test program name when constructing suffix for $(LDLIBS-*).
2580 (bounded-thread-library): New variable.
2582 [build-shared, build-static] (libcrypt-dep): Remove variable.
2583 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2584 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2585 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2586 (librt-tests): Add variable. (tests): Use it.
2587 [build-shared, build-static]
2588 ($(addprefix $(objpfx),$(tests)),
2589 $(addprefix $(objpfx),$(librt-tests))):
2590 Consolidate individual dependencies.
2592 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2594 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2595 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2597 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2599 [build-shared, build-static]
2600 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2601 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2603 2000-08-17 Greg McGary <greg@mcgary.org>
2605 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2606 * sysdeps/unix/make-syscalls.sh: Likewise.
2607 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2608 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2609 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2610 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2613 2000-08-17 Greg McGary <greg@mcgary.org>
2615 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2616 Wrap extern symbols in BP_SYM ().
2617 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2618 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2619 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2620 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2621 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2622 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2623 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2624 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2625 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2626 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2628 2000-08-16 Andreas Schwab <schwab@suse.de>
2630 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2631 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2632 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2634 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2636 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2637 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2638 * elf/dl-support.c: Define _nl_nloaded.
2639 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2640 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2641 object to global list.
2642 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2643 from _dl_loaded list.
2644 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2645 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2648 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2650 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2652 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2654 2000-08-16 Andreas Jaeger <aj@suse.de>
2656 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2658 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2660 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2662 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2664 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2665 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2666 (sysdep_routines): Add oldgetrlimit64.
2667 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2668 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2670 * include/link.h: Undo last patches. Hurd now has stat64.
2671 * elf/Makefile: Likewise.
2672 * elf/dl-load.c: Likewise.
2673 * elf/dl-misc.c: Likewise.
2674 * elf/dl-profile.c: Likewise.
2675 * sysdeps/generic/sysd-link.h: Removed.
2676 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2678 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2679 thread event callback function.
2680 (__aio_notify_only): Use function above.
2681 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2683 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2685 * sysdeps/mach/hurd/lseek64.c: New file.
2687 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2689 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2691 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2693 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2695 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2697 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2699 * sysdeps/mach/hurd/xstatconv.c: New file.
2700 * sysdeps/mach/hurd/fxstat64.c: New file.
2701 * sysdeps/mach/hurd/lxstat64.c: New file.
2702 * sysdeps/mach/hurd/xstat64.c: New file.
2703 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2705 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2707 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2708 Initialize, needed for change in common symbol handling in newer
2709 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2711 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2713 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2714 * elf/constload2.c: Add destructor to unload constload3.
2716 * include/link.h: Include sysd-link.h.
2717 * sysdeps/generic/sysd-link.h: New file.
2718 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2719 * elf/Makefile (distribute): Add sysd-link.h.
2720 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2721 types and functions directly.
2722 * elf/dl-misc.c: Likewise.
2723 * elf/dl-profile.c: Likewise.
2725 * elf/loadfail.c (main): Close all successfully loaded objects.
2727 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2729 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2730 there is already one.
2732 * elf/dl-close.c: Pretty print.
2734 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2736 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2737 global (with file scope). Add __libc_subfreeres function to free the
2739 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2740 in ttyname function.
2742 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2744 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2746 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2747 mapping them to /x5c and /x7e respectively.
2749 * locale/programs/ld-ctype.c: Add support for more definitions after
2752 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2754 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2755 * sysdeps/unix/sysv/linux/kernel-features.h
2756 (__ASSUME_GETDENTS64_SYSCALL): Define.
2757 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2758 syscall if available to get d_type fields.
2759 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2760 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2761 __lxstat64): Export at GLIBC_2.2.
2762 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2764 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2765 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2766 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2767 getdirentries64, versionsort64): Remove.
2768 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2769 getdirentries64, versionsort64): Remove.
2771 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2773 * posix/Makefile: Remove rules to generate glob package.
2775 * posix/Makefile (tests): Add tst-regexloc.
2776 (tst-regexloc-ENV): Add LOCPATH.
2777 * posix/tst-regexloc.c: New file.
2779 2000-08-12 Andreas Jaeger <aj@suse.de>
2781 * include/features.h (__STDC_ISO_10646__): Define.
2782 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2784 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2786 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2788 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2789 for revision 6 and up).
2791 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2793 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2794 to get definitions of just these types.
2796 * signal/signal.h: Define thread signal handling functions also for
2799 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2801 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2802 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2803 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2804 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2806 * sysvipc/sys/shm.h: Define pid_t for XPG.
2808 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2809 they are not anymore required here.
2811 * wcsmbs/wchar.h: Make the various wide char string and stream
2812 functions available for the respective XPG versions.
2814 * nss/Makefile: Remove rules to build and distribute nss_db.
2816 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2817 * sysdeps/generic/scandir64.c: Likewise.
2818 * sysdeps/generic/versionsort64.c: Likewise.
2820 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2821 Benjamin Koznik <bkoz@redhat.com>
2823 * libio/fileops.c: Merge with libstdc++-v3.
2824 * libio/genops.c: Likewise.
2825 * libio/iofclose.c: Likewise.
2826 * libio/iofopen.c: Likewise.
2827 * libio/iofwide.c: Likewise.
2828 * libio/libio.h: Likewise.
2829 * libio/libioP.h: Likewise.
2830 * libio/stdfiles.c: Likewise.
2831 * libio/stdio.c: Likewise.
2832 * libio/wfileops.c: Likewise.
2833 * libio/wgenops.c: Likewise.
2835 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2837 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2839 * locale/programs/localedef.c: Implement --prefix option to allow
2840 writing in standard places of alternative install directories.
2842 * posix/regex.c (compile_range): Implement collation sequence
2843 handling for glibc. Use simple character ordering otherwise and
2846 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2848 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2850 2000-08-12 Andreas Jaeger <aj@suse.de>
2852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2853 __USE_FILE_OFFSET64 correctly for locking.
2854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2856 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2859 Define for 2.4.1 on sparc as well.
2860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2861 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2862 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2863 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2865 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2867 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2870 2000-08-12 Andreas Jaeger <aj@suse.de>
2872 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2873 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2875 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2876 mips2 for assembler.
2878 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2879 if fnctl64 is not available for F_*LK*64.
2881 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2883 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2885 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2886 Define for 2.4.1 on x86.
2887 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2889 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2891 * dirent/dirent.h: Define DT_WHT.
2893 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2894 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2895 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2896 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2897 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2898 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2900 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2902 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2903 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2904 * inet/Makefile (tests): Add tst-gethnm.
2905 * inet/tst-gethnm.c: New file.
2907 * rt/aio_cancel.c: If canceling a specific request which is running
2908 *really* do nothing.
2909 * rt/aio_misc.h: Add `done' to states of a request.
2910 * rt/aio_misc.c: Add several tests for the correct state.
2911 Simplify request table memory handling.
2913 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2915 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2916 * dirent/scandir64.c: Move...
2917 * sysdeps/generic/scandir64.c: ...here.
2918 * dirent/alphasort64.c: Move...
2919 * sysdeps/generic/alphasort64.c: ...here.
2920 * dirent/versionsort64.c: Move...
2921 * sysdeps/generic/versionsort64.c: ...here.
2922 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2923 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2924 Export symbols at GLIBC_2.2.
2925 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2926 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2927 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2928 __versionsort64): Add prototypes.
2929 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2930 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2932 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2934 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2935 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2936 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2937 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2939 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2940 Adjust for kernel-2.4.0-test6 layout.
2941 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2942 GLIBC_2.1 and GLIBC_2.2.
2943 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2944 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2945 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2946 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2947 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2948 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2949 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2950 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2951 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2952 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2953 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2954 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2955 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2956 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2958 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2959 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2960 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2961 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2962 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2963 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2964 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2966 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2967 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2969 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2970 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2971 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2972 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2975 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2979 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2980 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2981 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2982 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2983 st_ino from __st_ino.
2984 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2985 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2986 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2987 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2988 set __st_ino in addition to st_ino.
2989 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2990 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2991 __old_getdents64 as well.
2992 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2993 getdirentries64 and old_getdirentries64 as well.
2994 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2995 __GETDENTS): Define.
2996 (GETDENTS64): Remove.
2997 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2999 (GETDENTS64): Remove.
3000 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3001 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3002 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3004 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3005 __old_readdir64_r as well.
3006 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3007 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3009 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3011 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3012 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3013 define of the kernel.
3014 Add missing __SEG_PSTKOVF definition.
3015 Adjust the padding of struct siginfo and struct sigevent to
3016 match the fact that sigval_t is 64 bit.
3018 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3020 * timezone/zic.c: Update from tzcode2000f.
3021 * timezone/australasia: Update from tzdata2000f.
3022 * timezone/europe: Likewise.
3023 * timezone/southamerica: Likewise.
3024 * timezone/yearistype: Likewise.
3026 2000-08-10 Andreas Jaeger <aj@suse.de>
3028 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3029 stat with current MIPS kernel.
3031 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3033 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3034 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3035 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3036 Remove the junk that's only relevant in the Linux kernel itself.
3037 Add a warning saying that this file is now obsolete, and include
3039 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3040 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3041 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3042 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3043 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3044 and add the notice that the file is primarily there for GDB.
3045 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3047 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3049 * time/tzfile.c (__tzfile_compute): __tzstring zones
3052 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3054 * resolv/resolv.h (__res_state): Surround prototype with
3055 __BEGIN_DECLS/__END_DECLS.
3056 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3058 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3060 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3061 Make independant of asm/resource.h from the Linux kernel.
3063 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3065 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3067 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3069 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3070 * locale/Makefile (locale-CPPFLAGS): Likewise.
3072 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3074 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3077 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3079 * misc/Versions (mincore): Export at GLIBC_2.2.
3081 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3083 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3085 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3087 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3088 socketpair. Made socketpair a weak alias.
3089 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3090 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3091 conforming, but fall back on the old protocol if the socket server
3093 * include/sys/socket.h: Add prototype for __socketpair.
3095 2000-08-09 Andreas Schwab <schwab@suse.de>
3097 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3098 long long modifier is seen.
3100 * elf/nodelete.c (do_test): Remove reference to undefined member
3102 * rt/tst-aio4.c (do_test): Likewise.
3104 * configure.in: Add `-lm' when checking for libgd.
3105 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3108 2000-08-09 Andreas Jaeger <aj@suse.de>
3110 * configure.in: Change required make versions.
3112 * manual/install.texi (Tools for Compilation): Document required
3114 (Supported Configurations): Update list of supported
3117 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3119 * locale/linereader.c (get_string): Don't print an error is a string
3120 contains an unknown character.
3122 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3124 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3125 (new_symbol): Take new parameters with name of the symbol.
3127 (handle_ellipsis): Don't only allow character symbols.
3128 (collate_read): Allow string of collating elements contain invalid
3129 characters; ignore entry in this case.
3130 Handle ellipsis of collating symbols before first order_start.
3131 Allow ellipsis in state 0.
3133 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3135 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3137 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3139 2000-08-04 Greg McGary <greg@mcgary.org>
3141 * posix/regex.c (SET_HIGH_BOUND): New macro.
3142 (MOVE_BUFFER_POINTER): Use it.
3143 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3144 (EXTEND_BUFFER): Use it.
3146 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3148 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3149 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3150 _wide_data but from _IO_FILE directly.
3151 * libio/iofclose.c: Likewise.
3152 * libio/wfileops.c: Likewise.
3154 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3155 * libio/libioP.h: Change prototypes.
3157 2000-08-03 Greg McGary <greg@mcgary.org>
3159 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3160 frame pointer early so that we save caller's frame pointer.
3161 * sysdeps/i386/elf/setjmp.S: Likewise.
3163 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3164 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3166 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3167 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3168 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3170 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3172 * iconvdata/big5.c: Updated.
3173 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3175 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3177 * Makeconfig (all-subdirs): Add conform.
3178 * conform/Makefile: Include ../Rules.
3180 * Makefile (README): Add rules to generate here as well.
3182 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3184 * version.h (VERSION): Bump to 2.1.92.
3186 * sysdeps/ia64/Dist: Add _mcount.S.
3188 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3190 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3192 * elf/Makefile (distribute): Add missing modules.
3194 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3196 * posix/regex.c (compile_range): Translate range start and end
3197 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3199 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3202 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3204 2000-08-02 Andreas Jaeger <aj@suse.de>
3206 * elf/elf.h (EM_S390): Added.
3207 (R_390_*): New relocs for S390.
3209 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3210 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3211 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3212 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3213 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3214 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3215 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3216 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3217 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3218 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3219 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3220 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3221 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3222 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3223 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3224 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3225 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3226 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3227 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3228 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3229 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3230 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3231 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3232 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3233 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3234 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3235 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3236 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3237 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3238 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3239 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3240 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3241 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3242 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3243 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3244 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3245 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3246 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3247 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3248 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3249 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3252 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3253 * sysdeps/s390/sysdep.h: New file.
3254 * sysdeps/s390/sys/ucontext.h: New file.
3255 * sysdeps/s390/sub_n.S: New file.
3256 * sysdeps/s390/strncpy.S: New file.
3257 * sysdeps/s390/strcpy.S: New file.
3258 * sysdeps/s390/stackinfo.h: New file.
3259 * sysdeps/s390/setjmp.S: New file.
3260 * sysdeps/s390/s390-mcount.S: New file.
3261 * sysdeps/s390/mul_1.S: New file.
3262 * sysdeps/s390/memusage.h: New file.
3263 * sysdeps/s390/memset.S: New file.
3264 * sysdeps/s390/memcpy.S: New file.
3265 * sysdeps/s390/memchr.S: New file.
3266 * sysdeps/s390/machine-gmon.h: New file.
3267 * sysdeps/s390/ldbl2mpn.c: New file.
3268 * sysdeps/s390/gmp-mparam.h: New file.
3269 * sysdeps/s390/fpu/fpu_control.h: New file.
3270 * sysdeps/s390/fpu/fesetround.c: New file.
3271 * sysdeps/s390/fpu/fegetround.c: New file.
3272 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3273 * sysdeps/s390/fpu/bits/fenv.h: New file.
3274 * sysdeps/s390/ffs.c: New file.
3275 * sysdeps/s390/elf/start.S: New file.
3276 * sysdeps/s390/elf/setjmp.S: New file.
3277 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3278 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3279 * sysdeps/s390/dl-machine.h: New file.
3280 * sysdeps/s390/bzero.S: New file.
3281 * sysdeps/s390/bsd-setjmp.S: New file.
3282 * sysdeps/s390/bsd-_setjmp.S: New file.
3283 * sysdeps/s390/bits/string.h: New file.
3284 * sysdeps/s390/bits/setjmp.h: New file.
3285 * sysdeps/s390/bits/huge_val.h: New file.
3286 * sysdeps/s390/bits/endian.h: New file.
3287 * sysdeps/s390/bits/byteswap.h: New file.
3288 * sysdeps/s390/bcopy.S: New file.
3289 * sysdeps/s390/backtrace.c: New file.
3290 * sysdeps/s390/atomicity.h: New file.
3291 * sysdeps/s390/asm-syntax.h: New file.
3292 * sysdeps/s390/addmul_1.S: New file.
3293 * sysdeps/s390/add_n.S: New file.
3294 * sysdeps/s390/abort-instr.h: New file.
3295 * sysdeps/s390/__longjmp.c: New file.
3296 * sysdeps/s390/Makefile: New file.
3297 * sysdeps/s390/Implies: New file.
3298 * sysdeps/s390/Dist: New file.
3299 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3301 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3303 Remove incompatible IPv6 extension of RPC.
3304 * sunrpc/Makefile: Undo changes.
3305 * sunrpc/rpc_main.c: Likewise.
3306 * sunrpc/rpc/clnt.h: Likewise.
3307 * sunrpc/rpc/svc.h: Likewise.
3308 * sunrpc/bindrsvprt6.c: Removed.
3309 * sunrpc/clnt_tcp6.c: Removed.
3310 * sunrpc/clnt_udp6.c: Removed.
3311 * sunrpc/svc_tcp6.c: Removed.
3312 * sunrpc/svc_udp6.c: Removed.
3314 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3315 dgettext, and dcgettetxt.
3317 * intl/locale.alias: Update japanese aliases.
3319 * sysdeps/ia64/bits/byteswap.h: New file.
3320 Patch by Dan Pop <Dan.Pop@cern.ch>.
3322 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3323 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3325 2000-07-13 H.J. Lu <hjl@gnu.org>
3327 * posix/regex.c (re_max_failures): Set to 4000.
3329 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3331 * gnulib/Makefile (tests): Add tst-gcc.
3332 * gnulib/tst-gcc.c: New file.
3334 * assert/Makefile (routines): Add __assert.
3335 * assert/Versions: Export __assert for glibc 2.2.
3336 * assert/__assert.c: New file.
3337 * assert/assert.h: Declare __assert.
3339 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3341 * locale/localeinfo.h (_ISCTYPE): New macro.
3342 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3343 LC_CTYPE locale format.
3344 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3345 (ctype_output): Output class_b[nr] right before class_3level[nr].
3346 (allocate_arrays): Fill class_b, similarly to class_3level.
3348 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3349 Joseph S. Myers <jsm28@cam.ac.uk>
3351 * math/tgmath.h: Make standard compliant. Don't ask how.
3353 2000-07-04 H.J. Lu <hjl@gnu.org>
3355 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3356 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3357 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3359 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3361 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3362 (__USE_LARGEFILE): Add an explanation.
3363 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3364 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3366 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3368 * libio/Makefile: Enable exception handling for genops, wgenops,
3369 fileops, and wfileops.
3371 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3373 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3374 acount that elf/rtld's main program might remove some varibales
3375 from the environment if we're trying to be secure. Move the Hurd
3376 startup data if necessary, or, if we there is no startup data,
3377 make sure the magical convention that ARGV[0] is stored just after
3378 the environment list.
3380 2000-08-01 Philip Blundell <philb@gnu.org>
3382 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3383 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3384 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3385 oldsetrlimit for GLIBC_2.0.
3387 2000-08-01 Andreas Jaeger <aj@suse.de>
3389 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3390 (LINE_PARSER): Allow any number of spaces between ip address and
3391 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3393 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3395 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3398 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3399 _nss_nisplus_getipnodebyname_r.
3401 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3402 now, getipnodebyname is deprecated.
3403 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3406 * inet/Makefile (routines): Don't build getipnodebyaddr and
3409 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3411 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3413 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3415 * wctype/Makefile (distribute): Add wchar-lookup.h.
3417 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3419 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3421 2000-08-01 Andreas Schwab <schwab@suse.de>
3423 * Make-dist (dist): Resolve `..' in file names.
3425 2000-08-01 Andreas Jaeger <aj@suse.de>
3427 * stdio-common/Makefile (distribute): Remove removed files, add
3430 * Makefile (distribute): Remove include/db_185.h and db.h.
3432 * include/db_185.h: Remove, it's not needed anymore.
3433 * include/db.h: Likewise.
3435 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3437 * inet/Makefile (tests): Remove tst-ipnode.
3438 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3441 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3443 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3444 endp statements have already been added.
3446 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3448 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3449 <sysdeps/ia64/sysdep.h>.
3451 * sysdeps/ia64/_mcount.S: New file.
3453 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3454 __gmon_start__. Fix up extraneous whitespace.
3456 2000-01-12 H.J. Lu <hjl@gnu.org>
3458 * sysdeps/ia64/elf/initfini.c: New file.
3460 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3462 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3463 dependency between branch and ar.pfs write.
3465 2000-07-31 H.J. Lu <hjl@gnu.org>
3467 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3468 handle the wchar_t array.
3470 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3472 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3473 10646 which are not yet assigned.
3474 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3476 2000-07-31 Andreas Jaeger <aj@suse.de>
3478 * inet/Versions: Remove getipnodebyaddr and friends from
3481 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3483 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3485 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3486 ch >= 0x81 && ch2 < 0x40 as invalid.
3488 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3490 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3491 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3493 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3495 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3496 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3498 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3500 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3502 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3504 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3506 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3508 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3510 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3511 (from_ucs4): Change values of U+00A4 and U+00ED.
3512 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3514 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3516 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3517 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3519 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3521 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3522 * iconvdata/isiri-3342.h: New file.
3523 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3524 treat 0x80 as a gap.
3526 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3528 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3529 (utf8_encode): Use simple shifts instead. Fix return value.
3531 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3533 * timezone/private.h: Update from tzcode2000e.
3534 * timezone/asia: Update from tzdata2000e.
3535 * timezone/australasia: Likewise.
3536 * timezone/europe: Likewise.
3537 * timezone/northamerica: Likewise.
3538 * timezone/zone-tab: Likewise.
3540 2000-07-30 Ralf Baechle <ralf@gnu.org>
3542 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3543 the order of struct sigaltstack members is different.
3545 2000-07-26 Philip Blundell <philb@gnu.org>
3547 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3549 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3551 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3552 * locale/programs/ld-ctype.c: Adjust for this.
3554 * locale/programs/ld-collate.c: Add more alignment checks.
3555 * locale/string/strcoll.c: Likewise.
3557 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3559 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3560 outside USE_IN_LIBIO block.
3562 2000-07-26 Philip Blundell <philb@gnu.org>
3564 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3565 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3567 2000-07-28 Philip Blundell <philb@gnu.org>
3569 * math/test-fpucw.c: Ignore reserved bits in control word.
3571 2000-07-28 Philip Blundell <philb@gnu.org>
3573 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3574 (ret): Redefine to PSEUDO_RET.
3575 (PSEUDO): Remove jump to syscall_error.
3577 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3579 * resolv/README: Add some information about using the resolver in
3580 multi-threaded code and with C++. Spelling fixes.
3582 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3584 * resolv/resolv.h (struct __sockaddr_in): Remove.
3585 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3587 2000-07-29 Greg McGary <greg@mcgary.org>
3589 * Rules (test-bp-inputs, make-test-out): New variables.
3590 ($(objpfx)%-bp.out): New rule.
3591 ($(objpfx)%.out): Rewrite in terms of new variables.
3593 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3594 internal function that uses vtable.
3595 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3596 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3598 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3599 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3600 (chunk_align): Likewise.
3602 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3603 in a way that conforms to decl, and avoids spurious bounds violation.
3605 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3606 * sysdeps/generic/frame.h: Likewise.
3607 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3608 around return value.
3609 (__backtrace): Qualify frame-pointer chain and return address
3610 pointers as __unbounded. Wrap bounds around variable `current'.
3611 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3612 around return value.
3613 (catch_segfault): Qualify frame-pointer chain and return address
3614 pointers as __unbounded. Wrap bounds around variable `current'.
3615 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3616 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3617 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3619 (__backtrace): Qualify frame-pointer chain and return address
3620 pointers as __unbounded. Wrap bounds around variable `current'.
3622 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3623 * sysdeps/i386/mul_1.S: Likewise.
3624 * sysdeps/i386/submul_1.S: Likewise.
3625 * sysdeps/i386/i586/addmul_1.S: Likewise.
3626 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3627 * sysdeps/i386/i586/submul_1.S: Likewise.
3629 2000-07-27 Andreas Jaeger <aj@suse.de>
3631 * libio/Depend: New file, libio needs localedata for tests.
3632 * posix/Depend: Likewise.
3634 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3636 * stdio-common/_i18n_itoa.c: Removed.
3637 * stdio-common/_i18n_itoa.h: Removed.
3638 * stdio-common/_i18n_itowa.c: Removed.
3639 * stdio-common/_i18n_itowa.h: Removed.
3640 * stdio-common/_i18n_number.h: New file.
3641 * stdio-common/Depend: New file.
3642 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3643 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3644 printing. Change printing of numbers with locale specific digits to
3645 use new code in _i18n_number.h.
3646 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3649 * stdio-common/bug13.c: Improve messages.
3651 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3652 (set_class_defaults): Always search also for Uxxxx names.
3653 Detect insufficient number of outdigits.
3655 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3657 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3659 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3660 _NL_CTYPE_MAP_NAMES.
3661 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3662 * wctype/wcfuncs.c (towlower, towupper): Use them.
3663 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3664 * wctype/wctrans.c (wctrans): Likewise.
3665 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3667 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3669 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3670 Use the optimized version of this function outside glibc as well.
3672 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3674 * locale/indigits.h (indigit_value): Correct.
3675 * locale/indigitswc.h (indigitwc_value): Correct.
3676 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3677 conversion, add GROUP checking for it, fix GROUP number
3678 conversion with strlen(thousands) > 1.
3679 Honour width correctly in the presence of floating
3680 decimal points and thousands separators.
3681 * stdio-common/tst-sscanf.c: New test.
3682 * stdio-common/Makefile: Add it to tests.
3683 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3684 thousands separators and group argument is non-zero.
3686 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3688 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3689 starts at GLIBC_2.2.
3691 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3693 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3694 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3696 (headers): Add sys/tas.h.
3697 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3698 GLIBC_2.2 from libc.
3699 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3700 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3703 2000-07-28 Andreas Jaeger <aj@suse.de>
3705 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3707 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3708 ($(objpfx)tst-dladdr.out): new.
3709 (tests): Add tst-dladdr.
3710 ($(objpfx)glrefmain): Use libdl.
3712 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3715 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3717 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3718 ftruncate(64) calls.
3720 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3722 * intl/tst-translit.c: Include string.h to get prototype for
3725 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3727 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3728 name and add weak alias for __fork.
3730 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3731 & pwrite to use __libc_<name> as strong names instead of
3734 * include/sched.h: Add clone2 prototype.
3736 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3738 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3739 procedure name twice.
3741 2000-07-27 Philip Blundell <philb@gnu.org>
3743 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3745 2000-07-27 Andreas Jaeger <aj@suse.de>
3747 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3748 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3749 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3750 Reported by Andi Kleen <ak@suse.de>.
3752 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3753 (do_wait): Test requests with aio_return64.
3754 (do_test): Change callers of do_wait.
3756 2000-07-26 Andreas Jaeger <aj@suse.de>
3758 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3759 (do_wait): Test requests with aio_return.
3760 (do_test): Change callers of do_wait.
3762 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3764 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3765 from request list. Don't do the list handling here, call
3766 __aio_remove_request.
3767 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3768 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3769 request might already be processed. Don't do the list handling
3770 here, call __aio_remove_request.
3772 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3775 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3778 2000-07-27 Greg McGary <greg@mcgary.org>
3780 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3781 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3782 in union init. Pass zero for ignored semnum arg to semctl.
3783 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3785 2000-07-26 Greg McGary <greg@mcgary.org>
3787 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3788 data structure pointers as __unbounded.
3789 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3790 * sysdeps/generic/bp-semctl.h: New file.
3791 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3792 pointers as __unbounded. Check bounds of syscall args.
3793 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3794 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3795 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3796 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3797 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3798 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3799 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3800 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3801 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3802 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3803 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3804 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3805 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3806 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3807 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3808 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3810 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3812 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3814 * locale/C-ctype.c: Likewise.
3815 * wcsmbs/wcsmbsload.c: Likewise.
3817 2000-07-26 Greg McGary <greg@mcgary.org>
3819 * Makeconfig (+link-bounded, link-libc-bounded,
3820 link-extra-libs-bounded): New variables.
3821 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3822 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3823 * Rules (tests-bp.out): New variable.
3824 (tests): Conditionally add BP tests.
3825 (binaries-bounded): Add variable and associated rule.
3826 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3827 Move conditional stuff after place where condition is defined.
3829 * malloc/malloc.c (bp-checks.h): Add #include.
3830 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3831 (_bin_at): Add unbounded version of bin_at.
3832 (IAV, chunk_alloc): Use unbounded _bin_at.
3833 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3834 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3835 Wrap BOUNDED_N around return value.
3836 (chunk_realloc): Adjust oldsize once.
3838 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3839 (__ubp_memchr): Add correct decl.
3840 (_CHECK_STRING): Use __ubp_memchr.
3841 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3842 New alias for unbounded-pointer __memchr.
3843 * sysdeps/i386/memchr.S: Likewise.
3844 * sysdeps/ia64/memchr.S: Likewise.
3845 * sysdeps/m68k/memchr.S: Likewise.
3846 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3847 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3848 * sysdeps/vax/memchr.s: Likewise.
3850 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3851 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3852 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3853 * sysdeps/i386/i686/strtok.S: Likewise.
3854 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3855 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3857 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3858 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3860 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3861 bounds of copy_result to mount_proc.
3863 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3865 * wctype/wctype.h (__wctrans_l): New declaration.
3866 * wctype/wctrans_l.c: New file.
3867 * wctype/Makefile (routines): Add wctrans_l.
3869 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3871 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3872 Patch by MacGyver <macgyver@tos.net>.
3874 2000-07-26 Andreas Jaeger <aj@suse.de>
3876 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3877 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3878 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3880 * rt/tst-aio.c (test_file): Fix typo.
3881 * rt/tst-aio64.c (test_file): Likewise.
3883 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3884 * rt/Makefile: Add rules to build and run tst-aio3.
3886 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3887 it's not needed and confuses only.
3889 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3891 * resolv/res_init.c: Add support for nameserver communication with
3893 * resolv/res_send.c: Likewise.
3894 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3896 Patch by <venaas@nvg.ntnu.no>.
3898 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3900 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3901 (wcwidth_table_get): New function.
3902 (wcwidth_table_add): Call it.
3903 (wctrans_table_get): New function.
3904 (wctrans_table_add): Call it.
3906 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3908 * rt/lio_listio.c (lio_listio): Always disable individual
3910 * rt/Makefile: Add rules to build and run tst-aio2.
3911 * rt/tst-aio2.c: New file.
3913 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3914 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3916 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3918 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3919 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3920 leading and trailing spaces from host, user and domain name.
3922 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3924 * csu/defs.awk: Add support for need_endp.
3926 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3928 * resolv/resolv.h: Remove __P from res_send_qhook and
3929 res_send_rhook typedefs.
3931 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3933 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3935 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3937 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3939 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3941 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3942 calling thread, set the cancellation flag and return success
3945 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3947 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3948 * libio/tst-widetext.c: New file.
3949 * libio/tst-widetext.input: New file.
3951 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3953 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3954 empty external buffer correctly.
3956 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3958 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3959 __STRING(entry) and not #entry.
3960 (_RTLD_EPILOGUE): Likewise.
3961 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3963 2000-07-25 Andreas Jaeger <aj@suse.de>
3965 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3966 according to changes in test program, run also with static only
3968 ($(objpfx)tst-printf.out): Likewise.
3970 * stdio-common/tst-unbputc.sh: Likewise.
3971 * stdio-common/tst-printf.sh: Likewise.
3973 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3975 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3977 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3980 * libio/fileops.c: Pretty print.
3982 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3984 * wctype/wchar-lookup.h: New file.
3985 * wctype/iswctype.c: Include "wchar-lookup.h".
3986 (__iswctype): Support alternate locale format with 3-level tables.
3987 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3988 * wctype/towctrans.c (__towctrans): Likewise.
3989 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3990 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3991 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3992 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3993 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3994 __iswxdigit, towlower, towupper): Support alternate locale format
3995 with 3-level tables.
3996 * wctype/wcextra.c (iswblank): Likewise.
3997 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3998 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3999 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4000 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4001 format with 3-level tables.
4002 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4003 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4004 format, return a 3-level table pointer.
4005 * wctype/wctype_l.c (__wctype_l): Likewise.
4006 * wctype/wctrans.c (wctrans): Likewise.
4007 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4008 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4009 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4010 (iswctype): Remove macro definition.
4011 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4012 (internal_wcwidth): Support alternate locale format with 3-level
4014 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4016 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4017 Define them as being type "word".
4018 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4019 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4020 __ctype32_width): New exported variables.
4021 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4022 alternate locale format. Don't initialize __ctype_names and
4023 __ctype_width in the alternate locale format.
4024 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4025 * locale/programs/localedef.c (oldstyle_tables): New variable.
4026 (OPT_OLDSTYLE): New macro.
4027 (options): Add --old-style option.
4028 (parse_opt): Handle --old-style option.
4029 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4030 map_offset, class_3level, map_3level, width_3level members.
4031 (ctype_output): Support for alternate locale format: Computation of
4032 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4033 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4034 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4035 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4036 now contain both class and map tables.
4037 (struct wctype_table): New type.
4038 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4040 (struct wcwidth_table): New type.
4041 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4043 (struct wctrans_table): New type.
4044 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4046 (allocate_arrays): Support for alternate locale format: Set
4047 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4048 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4049 to the first 256 characters. Compute ctype->map_3level. Set
4050 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4051 instead of ctype->width.
4053 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4055 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4058 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4060 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4061 in wide characters, not bytes.
4062 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4065 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4067 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4068 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4069 LC_MEASUREMENT, LC_IDENTIFICATION.
4071 * locale/xlocale.h (struct __locale_struct): Increase size of
4073 * locale/duplocale.c (__duplocale): Copy newly added categories as
4075 * locale/freelocale.c (__freelocale): Free newly added categories.
4076 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4077 If a base is given, use it, don't simply return it.
4079 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4081 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4082 variables, copied_key and copied_salt, instead of boolean variables.
4084 2000-07-24 Andreas Jaeger <aj@suse.de>
4086 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4089 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4090 initgroups_function, adopted prototype for change from 2000-07-23.
4091 (initgroups): Follow type change.
4093 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4094 & PAGE_MASK case, reformat.
4096 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4097 from stdin and setup environment.
4099 2000-07-24 Andreas Schwab <schwab@suse.de>
4101 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4103 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4105 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4106 more. Patch by scarlet@mit.edu [PR libc/1799].
4108 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4111 * argp/argp-parse.c (parser_finalize): Reverse order in which
4112 parsers are run for ARGP_KEY_END. [PR libc/1755].
4114 * grp/initgroups.c (initgroups): Don't limit the possible number
4115 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4116 the setgroups call while the call fails and descrease the number
4117 of groups each round.
4118 The name of the initgroups function in the NSS modules changed.
4119 (compat_call): Adapt for dynamic resizing.
4120 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4121 Implement dynamic resizing.
4122 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4124 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4125 * hesiod/Versions: Change exported interface name.
4126 * nis/Versions: Change exported interface name.
4128 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4130 * locale/iso-639.def: Some errors corrected.
4131 Patch by Keld Simonsen.
4133 * include/limits.h: Update non-gcc portion.
4134 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4136 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4138 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4139 program's data space, reallocate only the space that was just
4140 deallocated to release its backing space.
4142 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4144 * stdio-common/vfprintf.c (process_string_arg): For wide character
4145 version, handle precision also correctly.
4147 * nss/nss_files/files-hosts.c: Correct problem with three or more
4148 entries with the same name.
4150 * nss/nss_files/files-hosts.c: Implement multi handling.
4151 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4153 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4155 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4158 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4159 * malloc/Makefile: Likewise.
4160 * malloc/tst-mtrace.sh: Likewise.
4161 * posix/Makefile: Likewise.
4162 * posix/globtest.sh: Likewise.
4163 * posix/wordexp-tst.sh: Likewise.
4164 * string/Makefile: Likewise.
4166 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4168 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4169 size instead of LC_ALL to take into account the new locale
4172 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4174 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4175 remainders of hash table.
4176 * locale/categories.def: Remove remainders of transliteration
4178 * locale/langinfo.h: Likewise.
4179 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4180 transliteration tables.
4182 * locale/gen-translit.pl: New file.
4183 * locale/C-translit.h.in: New file.
4184 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4185 data pointers with data from this file.
4186 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4187 and gen-translit.pl.
4188 Add rule to generate C-translit.h.
4189 * intl/tst-translit.c (main): Update for now performed
4192 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4193 (it's no input error).
4194 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4195 * stdio-common/scanf12.c: Correct expected result for first scanf.
4197 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4198 of multibyte character strings in %s format with precision.
4200 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4202 * locale/programs/ld-collate.c (collate_read): Allow collating
4203 symbols and elements be named in reorder-after instructions.
4204 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4206 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4207 duplication with generated name, not the name of the first
4209 Patch by Yong Li <yong.li@asu.edu>.
4211 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4212 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4214 2000-07-21 Wolfram Gloger <wg@malloc.de>
4216 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4217 allocations only if a non-main arena cannot be extended.
4219 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4221 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4222 in DF_1_NODEFLIB handling.
4224 2000-07-21 Andreas Jaeger <aj@suse.de>
4226 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4229 * libio/fwide.c: Include <wchar.h> for prototype.
4231 2000-07-21 Greg McGary <greg@mcgary.org>
4233 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4234 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4235 Define in terms of chunk_at_offset.
4236 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4237 (next_bin, prev_bin): offset by size of real array elements.
4238 (chunk_align): Make `m' a scalar, since that's how it's used.
4240 2000-07-21 Greg McGary <greg@mcgary.org>
4242 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4244 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4245 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4246 Wrap bounds around argv & envp and each of their string members.
4247 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4248 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4249 symbol in BP_SYM (). Discard bounds of address arg.
4250 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4251 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4252 Discard bounds on address arg, add bounds to return value.
4254 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4256 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4257 * elf/filter.c: New file.
4258 * elf/filtmod1.c: New file.
4259 * elf/filtmod2.c: New file.
4261 * elf/rtld.c: Define _dl_bind_not variable.
4262 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4263 * elf/dl-support.c: Likewise.
4264 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4265 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4267 (profile_fixup): Likewise.
4269 * libio/Makefile (routines): Add fwide.
4270 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4271 fwide now. Internal calls to _IO_fwide must do locking themselves
4272 or don't need locking.
4273 * libio/fwide.c: New file.
4275 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4277 * elf/Makefile: Add no modules for nodelete test.
4278 * elf/nodelmod3.c: New file.
4279 * elf/nodelmod4.c: New file.
4280 * elf/nodelete.c: Also test case where dependency of dlopen() object
4283 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4284 * elf/nodlopen.c: New file.
4285 * elf/nodlopenmod.c: New file.
4286 * include/dlfcn.h: Define __RTLD_DLOPEN.
4287 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4288 and this is a dlopen() call, do not load the binary.
4289 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4290 * dlfcn/dlopenold.c: Likewise.
4291 * configure.in: Add test for -z nodelete option.
4292 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4294 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4296 Make Hesiod NSS module thread-safe.
4298 * hesiod/README.hesiod: Update.
4300 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4301 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4302 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4303 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4305 * hesiod/nss_hesiod/hesiod-init.c: New file.
4306 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4307 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4308 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4309 * hesiod/nss_hesiod/hesiod-service.c
4310 (_nss_hesiod_getservbyport_r): New function. Provide support for
4311 looking up services by port number.
4312 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4314 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4315 * hesiod/hesiod.h: Likewise.
4316 * hesiod/hesiod_p.h: Likewise.
4318 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4320 Fix problems with `struct __res_state' getting too big.
4321 * resolv/resolv.h (struct __sockaddr_in): New definition.
4322 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4323 the private parts of the structure to save some space.
4324 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4325 (struct sockaddr_in *) in call to sock_eq.
4326 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4328 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4330 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4331 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4333 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4334 to _dl_map_object. Return immediately if no object loaded.
4335 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4336 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4337 if it exists into l_flags_1 word.
4338 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4339 it to determine whether loading is wanted or not.
4340 (_dl_map_object): Likewise.
4341 Call _dl_map_object_from_fd with new parameter.
4342 * sysdeps/generic/ldsodefs.h: Update prototype.
4343 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4344 * elf/rtld.c: Likewise.
4345 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4346 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4347 * elf/noload.c: New file.
4348 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4349 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4350 * sysdeps/mips/bits/dlfcn.h: Likewise.
4351 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4352 (tests-nodelete-yes): Define.
4353 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4354 Add rules to build nodelete and modules.
4355 * elf/nodelete.c: New file.
4356 * elf/nodelmod1.c: New file.
4357 * elf/nodelmod2.c: New file.
4358 * configure.in: Add test for -z nodelete option.
4359 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4361 * libio/Makefile (tests): Add tst_wprintf2.
4362 (tst_wprintf2-ARGS): Define.
4363 * libio/tst_wprintf2.c: New file.
4364 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4366 * libio/wfiledoalloc.c: Only allocate external buffer if this
4367 hasn't happened yet.
4369 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4370 something in the buffer. gconv call can write up to end of the
4371 buffer, not only _IO_write_end.
4372 (_IO_wfile_overflow): Allocate also external buffer.
4374 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4376 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4377 strings with precision in vfwprintf correctly.
4378 * stdio-common/vfprintf.c: Fix completely broken handling of
4379 unbuffered wide character streams.
4380 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4382 * resolv/Makefile (distribute): Add README.
4384 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4386 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4388 Update resolver code to BIND 8.2.3-T5B.
4390 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4392 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4393 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4395 * resolv/Banner: BIND-8.2.3-T5B.
4397 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4398 * resolv/herror.c: Likewise.
4399 * resolv/inet_addr.c: Likewise.
4400 * resolv/inet_net_ntop.c: Likewise.
4401 * resolv/inet_net_pton.c: Likewise.
4402 * resolv/inet_neta.c: Likewise.
4403 * resolv/inet_ntop.c: Likewise.
4404 * resolv/nsap_addr.c: Likewise.
4405 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4406 IPv6 addresses (ISC bug #520).
4408 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4409 * resolv/ns_parse.c: Likewise.
4410 * resolv/ns_netint.c: Likewise.
4411 * resolv/ns_samedomain.c: Likewise.
4412 * resolv/ns_ttl.c: Likewise.
4413 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4414 RCS ID in object file.
4416 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4417 * resolv/res_mkquery.c: Likewise.
4418 * resolv/res_query.c: Likewise.
4419 * resolv/res_init.c: Likewise.
4420 (res_setoptions): Mark internal.
4421 * resolv/res_send.c: Likewise.
4422 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4423 by using poll instead.
4424 * resolv/res_comp.c: Likewise.
4425 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4426 weak alias for __dn_expand.
4427 * resolv/res_data.c: Likewise.
4428 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4429 in _res.options. Avoids a potential security risk by avoiding a
4431 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4432 res_mkquery, res_query, res_querydomain adn res_search weak
4433 aliases for __res_mkquery, __res_query, __res_querydomain and
4435 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4436 instead to avoid close(0).
4437 (res_init): Always use the static resolver context.
4438 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4439 alias for __res_init.
4441 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4442 RES_SET_H_ERRNO and accompanying comment to...
4443 * include/resolv.h: ... here.
4445 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4446 * resolv/arpa/nameser_compat.h: Likewise.
4448 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4450 * nss/makedb.c (main): Compare result of load_db with
4451 NSS_STATUS_SUCCESS and not 0.
4452 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4454 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4456 2000-07-18 Greg McGary <greg@mcgary.org>
4458 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4459 (EXTEND_BUFFER): Use it.
4461 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4463 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4464 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4465 __builtin_return_address.
4466 * dlfcn/dlopenold.c: Likewise.
4467 * dlfcn/dlsym.c: Likewise.
4468 * dlfcn/dlvsym.c: Likewise.
4469 * elf/dl-profstub.c: Likewise.
4470 * malloc/malloc.c: Likewise.
4471 * sysdeps/generic/machine-gmon.h: Likewise.
4472 Based on a patch by schwidefsky@de.ibm.com.
4474 2000-07-18 Andreas Jaeger <aj@suse.de>
4476 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4477 NULL to elf_machine_fixup_plt t argument to silence GCC.
4479 * include/string.h: Add prototype for __memchr.
4481 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4483 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4486 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4488 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4490 * locale/C-ctype.c: Add initializers for gap elements.
4491 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4494 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4496 * nscd/nscd.c (print_version): Update copyright year.
4498 2000-07-17 Greg McGary <greg@mcgary.org>
4500 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4501 keyletters F, I, S, W. Remove unused keyletter V. Surround
4502 signature argnames with angle-brackets for use as word delimiters,
4503 and to induce syntax errors for any args not handled. Split
4504 multi-echo echoes and comment each stage.
4505 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4506 * sysdeps/unix/inet/syscalls.list: Likewise.
4507 * sysdeps/unix/mman/syscalls.list: Likewise.
4508 * sysdeps/unix/syscalls.list: Likewise.
4509 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4511 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4512 * sysdeps/unix/sysv/syscalls.list: Likewise.
4513 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4515 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4516 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4517 qualifiers. Don't check NULL-terminator of argv & envp.
4518 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4519 unbounded pointer type in word-size assertion.
4520 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4521 cases to stifle warnings.
4523 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4525 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4527 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4528 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4531 * Makerules (o-objects): Supplement with $(o-objects$o).
4532 * string/Makefile (o-objects.ob): Add variable to pull
4533 unbounded versions of memcpy, memset and memchr into libc_b.
4535 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4536 rather than non-existent __ubp_memchr.
4537 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4538 (_CHECK_STRING, _CHECK_N): New macros.
4539 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4540 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4541 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4542 Add weak alias "memchr".
4543 * sysdeps/generic/memchr.c: Likewise.
4544 * sysdeps/i386/memchr.S: Likewise.
4545 * sysdeps/ia64/memchr.S: Likewise.
4546 * sysdeps/m68k/memchr.S: Likewise.
4547 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4548 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4549 * sysdeps/vax/memchr.s: Likewise.
4551 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4553 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4554 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4555 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4556 __BOUNDED_POINTERS__.
4557 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4558 for __BOUNDED_POINTERS__.
4560 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4562 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4563 field of struct __gconv_trans_data differently. Don't pass NULL to
4564 trans_init_fct. Simplify list append operation.
4566 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4568 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4569 not only those having tsearch.
4571 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4573 * locale/langinfo.h: Add placeholder values in enum for removed
4576 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4578 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4579 chain if the PHDR check fails.
4581 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4583 * nss/getent.c (print_hosts): Make sure we always print a space
4584 between numeric addresses and hostnames.
4586 2000-07-17 Wolfram Gloger <wg@malloc.de>
4588 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4589 i.e. if n_mmaps_max>0.
4591 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4593 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4594 values to remove possible clash with other AI_* constants.
4595 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4596 hexadecimal constants to stress the fact they're in fact
4599 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4601 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4602 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4603 instead of res_init.
4605 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4607 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4608 parameters of memset calls to avoid warnings.
4610 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4612 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4615 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4616 Patch by Greg McGary <greg@mcgary.org>.
4618 * io/Makefile (tests): Add tst-getcwd.
4619 * io/tst-getcwd.c: New file.
4621 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4623 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4625 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4628 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4630 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4631 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4633 2000-07-12 H.J. Lu <hjl@gnu.org>
4635 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4637 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4638 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4639 (sysdep-routines): Add clone2.
4640 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4642 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4644 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4645 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4647 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4649 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4650 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4651 Change type of si_band from "int" to "long".
4652 (si_imm) [USE_GNU]: Define
4653 (si_isr) [USE_GNU]: Ditto.
4654 (ILL_BREAK) [USE_GNU]: Ditto.
4655 (FPE_DECOVF) [USE_GNU]: Ditto.
4656 (FPE_DECDIV) [USE_GNU]: Ditto.
4657 (FPE_DECERR) [USE_GNU]: Ditto.
4658 (FPE_INVASC) [USE_GNU]: Ditto.
4659 (FPE_INVDEC) [USE_GNU]: Ditto.
4660 (TRAP_BRANCH) [USE_GNU]: Ditto.
4661 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4663 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4665 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4666 bits/sigcontext as struct mcontext does not depend on it.
4668 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4670 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4672 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4674 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4676 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4678 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4680 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4682 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4684 * intl/Makefile (test-srcs): Add tst-translit.
4686 Add rules to build and run tst-translit.
4687 * intl/tst-translit.c: New file.
4688 * intl/tst-translit.sh: New file.
4689 * intl/translit.po: New file.
4691 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4693 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4694 transliteration function did its job, continue, don't stop.
4696 * iconvdata/iso646.c: Little optimizations in body for conversion
4699 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4701 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4703 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4705 * configure.in: Check for pwd binary.
4706 * config.make.in: Add PWD_P to be subsituted.
4707 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4709 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4711 * iconvdata/Makefile (modules): Add GB18030.
4712 (distribute): Add gb18030.c.
4713 * iconvdata/gconv-modules: Add entries for GB18030 module.
4714 * iconvdata/gb18030.c: New file.
4715 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4718 2000-07-13 Andreas Jaeger <aj@suse.de>
4720 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4723 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4724 * inet/getnetgrent.c (free_mem): Likewise.
4725 * misc/mntent.c (free_mem): Likewise.
4726 * nss/getXXbyYY.c (free_mem): Likewise.
4727 * nss/getXXent.c (free_mem): Likewise.
4728 * pwd/fgetpwent.c (free_mem): Likewise.
4729 * shadow/fgetspent.c (free_mem): Likewise.
4731 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4733 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4734 64-bit architecture correctly [PR libc/1794].
4736 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4738 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4739 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4740 report that we are out of memory.
4741 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4742 * elf/dl-libc.c (dlerror_run): Likewise.
4743 * elf/dl-open.c (_dl_open): Likewise.
4744 * elf/rtld.c (dl_main): Likewise.
4745 * elf/dl-error.c: Define _dl_out_of_memory.
4746 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4748 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4751 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4753 * iconv/loop.c: Fix comment.
4755 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4757 2000-07-13 Andreas Jaeger <aj@suse.de>
4759 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4760 getcwd (NULL, size) with size > 0.
4761 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4763 2000-07-13 Andreas Jaeger <aj@suse.de>
4765 * posix/Makefile: Remove build rules for libposix.
4767 2000-07-13 Andreas Schwab <schwab@suse.de>
4769 * sysdeps/generic/glob.c (glob): Fix memory leak.
4770 [SHELL]: Remove reference to undefined variable `files'.
4773 2000-07-13 Andreas Jaeger <aj@suse.de>
4775 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4778 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4779 memory if it was allocated.
4781 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4783 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4786 * iconv/gconv_open.c (__gconv_open): Reapply
4787 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4789 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4791 * iconv/gconv_open.c: Undo last two changes for now. They break
4794 2000-07-12 Andreas Jaeger <aj@suse.de>
4796 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4798 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4799 (CFLAGS-dl-cache.c): Likewise.
4800 (CFLAGS-ldconfig.c): Added, passes directory locations.
4802 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4804 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4805 (main): Use configured LIBDIR and SLIBDIR.
4807 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4809 * math/bits/cmathcalls.h (cimag): Add __THROW.
4810 (creal, conj): Likewise.
4811 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4814 2000-07-12 H.J. Lu <hjl@gnu.org>
4816 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4817 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4819 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4821 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4824 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4826 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4828 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4830 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4833 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4835 * iconv/gconv_open.c (__gconv_open): Initialize
4836 result->__steps[cnt].__data.
4838 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4840 * nss/getent.c (services_keys): Pass port number in network byte
4841 order in call to getservbyport.
4843 2000-07-11 Andreas Jaeger <aj@suse.de>
4845 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4847 * intl/Makefile (do-gettext-test): Likewise.
4848 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4850 2000-07-11 Andreas Schwab <schwab@suse.de>
4852 * Makeconfig (run-program-prefix): New rule.
4853 (built-program-cmd): Use run-program-prefix.
4855 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4857 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4858 and NOEXPR unconditionally available.
4860 2000-07-12 Greg McGary <greg@mcgary.org>
4862 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4863 * sysdeps/posix/open64.c: Likewise.
4864 * sysdeps/generic/fegetenv.c: Likewise.
4865 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4866 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4867 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4868 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4869 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4870 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4872 2000-07-11 Greg McGary <greg@mcgary.org>
4874 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4875 Add extra level of macro expansion.
4876 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4877 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4878 is available at the time `select' prototype is declared.
4879 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4880 Collect non-versioned weak aliases. Consider only non-versioned
4881 aliases for the user-visible systemcall name. Do checks inline with
4882 call to primitive system call.
4883 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4884 stand-alone bounds checks to suppress unused value warnings.
4885 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4887 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4889 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4890 file descriptor checking in SUID programs for the Hurd.
4892 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4893 res_hostalias instead of __hostalias for thread-safety.
4895 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4897 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4898 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4900 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4902 * include/features.h: Include ISO C99 features if the compiler used
4903 is an ISO C99 compiler.
4904 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4906 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4908 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4910 2000-07-10 Andreas Jaeger <aj@suse.de>
4912 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4913 it's overridden by libpthreads.
4914 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4915 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4916 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4917 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4918 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4920 * malloc/Makefile: Run tst-mtrace only with shared libs.
4922 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4925 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4927 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4928 that gpreg really points to the GOT section of the calling object.
4929 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4930 checking a start address of first one.
4932 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4935 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4937 2000-07-10 Andreas Jaeger <aj@suse.de>
4939 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4940 (string_alias->strong_alias).
4942 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4944 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4946 2000-07-07 Greg McGary <greg@mcgary.org>
4948 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4949 have no names without leading underscores.
4951 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4953 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4956 * stdio-common/Makefile (tests): Remove tst-printf here...
4957 (tests-srcs): ...and add it here.
4958 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4959 Add rules to run tst-printf.sh.
4960 * stdio-common/tst-printf.c: Move code around so that there is really
4961 no further output where it's stated.
4962 * stdio-common/tst-printf.sh: New file.
4964 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4966 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4967 (do_write): Renamed from pwrite.
4968 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4969 `struct _IO_cookie_file'.
4971 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4973 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4975 * malloc/tst-mtrace.sh: Run mtrace script.
4977 2000-07-07 Greg McGary <greg@mcgary.org>
4979 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4980 Move all three components of a bounded pointer.
4982 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4984 * locale/programs/locale.c (write_locales): Don't simply add all
4985 directories found in the subdir, test whether at least the
4986 LC_CTYPE file is in there.
4988 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4990 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4991 * iconvdata/euc-kr.c: Likewise.
4993 * stdio-common/vfprintf.c (process_string_arg): Check result of
4994 wcrtomb call and bail out if it failed.
4996 * malloc/Makefile (test-srcs): Add tst-mtrace.
4997 (distribute): Add tst-mtrace.sh.
4998 Add rule to run tst-mtrace.sh.
4999 * malloc/tst-mtrace.c: New file.
5000 * malloc/tst-mtrace.sh: New file.
5002 * include/signal.h: Declare __libc_sigaction.
5003 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5004 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5005 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5006 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5007 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5008 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5011 * configure.in: Fix CFLAGS-memprofstat.c definition after
5013 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5015 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5018 instead of NULL to elf_machine_fixup_plt t argument.
5019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5020 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5023 2000-07-06 Andreas Jaeger <aj@suse.de>
5025 * crypt/Makefile (LDLIBS-cert): Removed.
5026 (LDLIBS-md5c-test): Removed.
5027 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5028 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5030 2000-07-06 Andreas Jaeger <aj@suse.de>
5032 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5033 of the proc system is "proc".
5035 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5036 thread library for static programs.
5038 2000-07-06 Greg McGary <greg@mcgary.org>
5040 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5042 * sysdeps/generic/strcpy.c: Add bounds checks.
5043 * sysdeps/unix/fxstat.c: Likewise.
5044 * sysdeps/unix/xstat.c: Likewise.
5045 * sysdeps/unix/common/lxstat.c: Likewise.
5046 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5047 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5048 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5049 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5050 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5051 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5052 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5053 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5054 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5055 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5056 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5057 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5058 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5059 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5060 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5061 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5062 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5063 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5064 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5065 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5066 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5067 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5068 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5069 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5070 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5071 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5072 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5073 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5074 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5075 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5076 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5077 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5078 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5079 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5080 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5081 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5082 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5083 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5084 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5085 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5086 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5087 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5088 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5089 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5090 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5091 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5092 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5093 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5094 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5095 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5096 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5097 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5098 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5099 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5100 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5101 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5102 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5103 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5104 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5105 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5108 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5111 * string/endian.h (__LONG_LONG_PAIR): New macro.
5112 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5113 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5114 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5115 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5116 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5117 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5118 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5119 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5120 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5121 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5122 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5123 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5125 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5127 2000-07-06 Andreas Jaeger <aj@suse.de>
5129 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5132 * math/test-fpucw.c: Include <stdio.h> for printf.
5134 2000-07-05 Greg McGary <greg@mcgary.org>
5136 * sysdeps/generic/bp-checks.h: New file.
5137 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5138 with list of #include files.
5139 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5140 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5141 Don't generate BP thunk if `V' appears in signature.
5142 Generate thunks with complete bounds checks.
5143 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5144 * sysdeps/unix/inet/syscalls.list: Likewise.
5145 * sysdeps/unix/mman/syscalls.list: Likewise.
5146 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5147 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5148 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5151 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5153 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5154 result. Search first in /etc/mtab (proc/mounts would be stupid).
5155 If mount not in the file fall back on /proc.
5157 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5158 string got copied in.
5159 Patch by Solar Designer <solar@false.com>.
5161 2000-07-05 Andreas Jaeger <aj@suse.de>
5163 * manual/install.texi (Installation): Update information about
5165 (Configuring and compiling): Update for glibc 2.2.
5167 2000-07-04 Andreas Jaeger <aj@suse.de>
5169 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5170 (_FPU_IEEE): Likewise.
5172 * math/Makefile (tests): Add test-fpucw.
5174 * math/test-fpucw.c (main): New file.
5176 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5178 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5180 * locale/programs/ld-collate.c (collate_output): Also write out the
5181 collation sequence values and the wide character string for the
5182 collation symbol table.
5184 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5185 * posix/fnmatch_loop.c: Implement collating symbol handling.
5186 * posix/tst-fnmatch.input: Add more tests, especially for collating
5189 * posix/regex.c: Fix comment.
5191 2000-07-05 Andreas Jaeger <aj@suse.de>
5193 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5194 (_FPU_GETCW): Remove extra colon.
5195 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5197 * posix/fnmatch_loop.c (FCT): Only declare len if
5198 !WIDE_CHAR_VERSION to silence GCC.
5200 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5202 * sysdeps/generic/strchrnul.c: Likewise.
5203 * sysdeps/generic/strlen.c: Likewise.
5204 * sysdeps/generic/strchr.c: Likewise.
5205 * sysdeps/generic/memchr.c: Likewise.
5207 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5209 * posix/fnmatch_loop.c: Implement equivalence class handling.
5210 * posix/tst-fnmatch.input: Add tests for equivalence class
5213 * posix/fnmatch_loop.c: Improve performance for single-byte
5214 character sets by not using btowc.
5216 * posix/tst-fnmatch.input: Add tests for locale dependent
5218 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5220 * posix/tst-fnmatch.input: Add more test cases.
5222 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5223 are not aligned to alignof(md5_uint32) do it before calling
5224 __md5_process_bytes.
5225 * crypt/md5.c: Make sure buffers are aligned.
5226 * crypt/md5.h: Likewise.
5227 Reported by Solar Designer <solar@false.com>.
5229 * crypt/Makefile: Add dependencies for test programs.
5231 * Rules: Define LC_ALL=C in environments of all programs we run.
5233 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5235 2000-07-03 H.J. Lu <hjl@gnu.org>
5237 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5238 is 2 + elem + offset, not 2 + elem + offset + 2.
5240 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5242 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5244 * posix/Makefile (tests): Add tst-fnmatch.
5245 (tst-fnmatch-ENV): Define.
5246 * posix/tst-fnmatch.c: New file.
5247 * posix/tst-fnmatch.sh: New file.
5249 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5251 * locale/programs/charmap.c (charmap_read): Prepend
5252 the condition filename == NULL.
5254 2000-07-03 Greg McGary <greg@mcgary.org>
5256 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5258 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5259 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5261 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5262 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5263 (FILEBUF_LITERAL): Add cast for CHAIN init.
5264 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5265 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5266 Revert type of `fp' to _IO_FILE*.
5267 (_IO_iter_file): Remove cast.
5268 (_IO_iter_next): Elide intermediate member reference.
5270 * sysdeps/powerpc/strchr.S: Check bounds.
5271 Wrap extern symbols in BP_SYM ().
5273 2000-07-03 Andreas Jaeger <aj@suse.de>
5275 * dlfcn/Makefile (generated): New.
5277 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5279 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5280 (__uflow): Likewise.
5281 (__underflow): Likewise.
5282 * libio/wgenops.c (__wunderflow): Likewise.
5283 * stdio-common/tst-unbputc.c: New file.
5284 * stdio-common/tst-unbputc.sh: New file.
5285 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5287 * po/en_GB.po: New file.
5288 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5290 2000-07-01 Andreas Jaeger <aj@suse.de>
5292 * intl/Makefile (generated-dirs): New.
5294 * elf/Makefile (generated): trusted-dirs.h is always generated,
5295 move out of build-shared condition.
5296 (generated): Merge the two entries for build-shared.
5298 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5300 * debug/Makefile (distribute): Add xtrace.sh.
5302 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5304 * version.h (VERSION): Bump to 2.1.91.
5306 * configure.in: Update warning comment. glibc should not be
5309 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5310 ioperm.c, sys/procfs.h, and sys/io.h.
5312 * sysdeps/powerpc/Dist: Add bp-asm.h.
5314 * assert/Depend: Add localedata.
5315 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5316 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5318 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5319 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5320 relocation address to prevent unaligned trap.
5321 Suggested by Richard Henderson <rth@cygnus.com>.
5323 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5325 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5326 if redirecting and either redirection is done using defines or
5329 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5331 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5332 generated expressions.
5333 Patch by Darren McClelland <dmcclell@zetec.com>.
5335 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5336 since zic uses setlocale and gettext but we cannot make it use the
5337 new locale data since zic calls a shell which might not use the
5340 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5341 handling the internation currency symbol. POSIX says that the
5342 fourth character is used to separate the currency symbol from the
5343 value. Therefore it does not have to be printed. But we cannot
5344 remove the space if the currency symbol is printed before the
5345 number since this is what many locales expect.
5347 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5348 whether this information is available.
5350 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5351 buffers in case the translation is too large. Remember allocated
5352 memory blocks in a list.
5353 (free_mem): Free memory for translations.
5355 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5357 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5358 information is available set the string length to zero.
5360 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5362 2000-06-30 Greg McGary <greg@mcgary.org>
5364 * sysdeps/powerpc/bp-asm.h: New file.
5365 * sysdeps/powerpc/__longjmp.S: Check bounds.
5366 Wrap extern symbols in BP_SYM ().
5367 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5368 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5369 * sysdeps/powerpc/setjmp.S: Likewise.
5370 * sysdeps/powerpc/add_n.S: Likewise.
5371 * sysdeps/powerpc/addmul_1.S: Likewise.
5372 * sysdeps/powerpc/lshift.S: Likewise.
5373 * sysdeps/powerpc/rshift.S: Likewise.
5374 * sysdeps/powerpc/mul_1.S: Likewise.
5375 * sysdeps/powerpc/sub_n.S: Likewise.
5376 * sysdeps/powerpc/submul_1.S: Likewise.
5377 * sysdeps/powerpc/strlen.S: Likewise.
5378 * sysdeps/powerpc/memset.S: Likewise.
5379 * sysdeps/powerpc/stpcpy.S: Likewise.
5380 * sysdeps/powerpc/strcmp.S: Likewise.
5381 * sysdeps/powerpc/strcpy.S: Likewise.
5382 * sysdeps/powerpc/elf/bzero.S: Likewise.
5384 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5385 Line up operands column with tabs.
5387 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5389 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5391 * sysdeps/ia64/htonl.S: New file.
5392 * sysdeps/ia64/htons.S: New file.
5393 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5394 floating point registers.
5395 Patches by Dan Pop <Dan.Pop@cern.ch>.
5397 2000-06-30 Andreas Jaeger <aj@suse.de>
5399 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5402 * io/Makefile (CFLAGS-test-lfs.c): New.
5403 (tests): Add test-lfs.
5405 * io/test-lfs.c: New file.
5407 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5409 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5412 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5414 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5416 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5418 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5419 alias to the fstatfs call.
5421 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5422 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5424 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5425 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5427 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5428 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5429 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5430 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5432 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5433 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5435 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5436 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5438 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5439 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5441 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5443 2000-06-29 Andreas Jaeger <aj@suse.de>
5445 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5447 (print_err_message): Likewise.
5448 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5450 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5452 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5453 used as words is properly aligned.
5455 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5458 2000-06-29 Greg McGary <greg@mcgary.org>
5460 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5461 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5462 length 7..9, just in case...
5463 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5465 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5466 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5467 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5468 (PUSH_SIGNAL_MASK): New macro.
5469 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5470 LEAVE is unnecessary. Check bounds of jmp_buf.
5471 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5472 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5473 immediately before tail-call.
5474 * sysdeps/i386/setjmp.S: Likewise.
5475 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5476 * sysdeps/i386/bsd-setjmp.S: Likewise.
5478 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5480 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5482 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5483 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5484 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5485 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5486 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5487 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5489 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5491 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5493 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5494 we later need to calling free().
5495 Patch by Matt Wilson <msw@redhat.com>.
5497 * stdio-common/tst-printf.c: Add test for above problem.
5499 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5501 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5502 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5504 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5506 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5507 prototype for abs().
5508 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5510 2000-06-23 Andreas Jaeger <aj@suse.de>
5512 * config.h.in: Don't use regparm with bounded pointers.
5514 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5516 * stdlib/grouping.h: Correctly handle multibyte thousands
5517 separator and decimal point.
5518 * stdlib/stdtod.c: Likewise.
5519 * sysdeps/generic/strtol.c: Likewise.
5521 * locale/categories.def: Add entries for wide character decimal point
5522 and thousands separator in numeric and monetary category.
5524 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5526 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5527 second definition and initialization of decimal.
5529 2000-06-28 Greg McGary <greg@mcgary.org>
5531 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5533 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5534 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5536 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5537 (struct _IO_FILE_plus *).
5538 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5539 THIS, since _IO_JUMPS no longer does it implicitly.
5540 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5541 arg type as (struct _IO_FILE_plus *).
5542 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5543 arg as (_IO_strfile *).
5544 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5545 Declare 1st arg as (_IO_strfile *).
5546 * libio/fileops.c (_IO_new_file_init): Declare
5547 arg type as (struct _IO_FILE_plus *).
5548 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5549 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5550 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5551 Declare iteration pointer as (struct _IO_FILE_plus *).
5552 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5553 (struct _IO_FILE_plus *).
5554 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5555 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5556 (_IO_check_libio): Set user-visible handles to
5557 (struct _IO_FILE_plus *).
5558 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5559 to (struct _IO_FILE_plus *).
5561 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5562 whose high bound includes vtable to all functions that will use
5563 vtable. For streambufs, pass pointer whose bounds include struct
5565 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5566 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5567 * libio/iofopen.c (_IO_new_fopen): Likewise.
5568 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5569 * libio/iofopen64.c (_IO_fopen64): Likewise.
5570 * libio/iopopen.c (_IO_new_popen): Likewise.
5571 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5572 * libio/memstream.c (open_memstream): Likewise.
5573 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5574 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5575 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5576 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5577 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5578 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5579 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5580 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5581 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5582 * stdlib/strfmon.c (__strfmon_l): Likewise.
5583 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5584 (vfprintf): Qualify computed-goto targets as unbounded.
5586 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5588 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5589 thousands separator correctly.
5591 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5592 * stdio-common/vfwscanf.c: Likewise.
5594 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5596 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5597 count into signatures for most calls.
5599 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5601 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5602 the generic parser now.
5604 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5606 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5607 table entries are 32 bit on the ia64 (as specified by the ABI),
5608 not 64 bit as on the Alpha.
5610 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5611 change of objects to use 32 bit hash table indices (see above).
5613 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5615 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5616 prototype for abs().
5618 2000-06-28 Wolfram Gloger <wg@malloc.de>
5620 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5621 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5622 may have been reached.
5624 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5626 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5627 symbols in multi-character weights correctly.
5629 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5630 depending on whether the input string is empty or not.
5632 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5633 given state and not avoiding this by modifying a local object.
5634 * wcsmbs/wcrtomb.c: Likewise.
5636 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5637 object since some incomplete characters might be in there.
5639 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5640 sequences with first byte 0x8e correctly.
5642 * iconvdata/jis0208.h: Remove redundant test.
5644 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5646 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5647 Add it where it is needed now.
5649 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5650 the input charset into account when generating the hash table.
5651 (allocate_arrays): Correct setting default width. Not all empty slots
5652 in the table are filled, only those not covert explicitly by the
5653 locale description and in the charset.
5655 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5656 return values from the wctrans function.
5658 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5659 wide character version.
5660 For %C handling, test correct pointer variable for NULL.
5662 * wcsmbs/wctob.c: Handle WEOF special.
5664 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5666 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5667 always-true test to avoid warning.
5669 2000-06-27 Greg McGary <greg@mcgary.org>
5671 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5672 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5673 (symbol_version, default_symbol_version): Factor redundant
5674 definitions out of conditional.
5676 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5678 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5681 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5683 * include/libc-symbols.h (symbol_version): Add extra level of
5685 (default_symbol_version): Likewise.
5687 2000-06-26 Greg McGary <greg@mcgary.org>
5689 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5690 for BP return value & push implicit struct-return pointer to
5692 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5693 (SYSCALL_ERROR_HANDLER): Likewise.
5694 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5695 (SYSCALL_ERROR_HANDLER): Likewise.
5697 * Makeconfig: Add missing comment.
5698 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5699 BP-flavored startup object.
5700 ($(objpfx)b$(start-installed-name)): New rule.
5701 * include/libc-symbols.h (symbol_set_declare): Change type
5702 of `__start_##set' and `__stop_##set' to pointer-to-function.
5703 (symbol_set_declare): Change type of `set' to array of
5704 pointer-to-function.
5705 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5706 pointer-to-function.
5708 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5710 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5711 Remove clock_* and timer_* entries.
5712 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5713 arg-count with signatures.
5715 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5716 Check bounds of arguments.
5717 * sysdeps/i386/addmul_1.S: Likewise.
5718 * sysdeps/i386/lshift.S: Likewise.
5719 * sysdeps/i386/mul_1.S: Likewise.
5720 * sysdeps/i386/rshift.S: Likewise.
5721 * sysdeps/i386/sub_n.S: Likewise.
5722 * sysdeps/i386/submul_1.S: Likewise.
5723 * sysdeps/i386/i586/add_n.S: Likewise.
5724 * sysdeps/i386/i586/addmul_1.S: Likewise.
5725 * sysdeps/i386/i586/lshift.S: Likewise.
5726 * sysdeps/i386/i586/rshift.S: Likewise.
5727 * sysdeps/i386/i586/sub_n.S: Likewise.
5728 * sysdeps/i386/i686/add_n.S: Likewise.
5730 * sysdeps/i386/memchr.S: Likewise.
5731 * sysdeps/i386/memcmp.S: Likewise.
5732 * sysdeps/i386/rawmemchr.S: Likewise.
5733 * sysdeps/i386/i586/bzero.S: Likewise.
5734 * sysdeps/i386/i586/memcpy.S: Likewise.
5735 * sysdeps/i386/i586/mempcpy.S: Likewise.
5736 * sysdeps/i386/i586/memset.S: Likewise.
5737 * sysdeps/i386/i686/bzero.S: Likewise.
5738 * sysdeps/i386/i686/memcpy.S: Likewise.
5739 * sysdeps/i386/i686/mempcpy.S: Likewise.
5740 * sysdeps/i386/i686/memset.S: Likewise.
5742 * sysdeps/i386/stpcpy.S: Likewise.
5743 * sysdeps/i386/stpncpy.S: Likewise.
5744 * sysdeps/i386/strchr.S: Likewise.
5745 * sysdeps/i386/strchrnul.S: Likewise.
5746 * sysdeps/i386/strcspn.S: Likewise.
5747 * sysdeps/i386/strpbrk.S: Likewise.
5748 * sysdeps/i386/strrchr.S: Likewise.
5749 * sysdeps/i386/strspn.S: Likewise.
5750 * sysdeps/i386/strtok.S: Likewise.
5751 * sysdeps/i386/strtok_r.S: Likewise.
5752 * sysdeps/i386/i486/strcat.S: Likewise.
5753 * sysdeps/i386/i486/strlen.S: Likewise.
5754 * sysdeps/i386/i586/strchr.S: Likewise.
5755 * sysdeps/i386/i586/strcpy.S: Likewise.
5756 * sysdeps/i386/i586/strlen.S: Likewise.
5757 * sysdeps/i386/i686/strcmp.S: Likewise.
5758 * sysdeps/i386/i686/strtok.S: Likewise.
5759 * sysdeps/i386/i686/strtok_r.S: Likewise.
5761 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5762 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5763 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5764 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5765 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5767 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5768 * sysdeps/i386/mul_1.S: Likewise.
5769 * sysdeps/i386/submul_1.S: Likewise.
5770 * sysdeps/i386/i586/add_n.S: Likewise.
5771 * sysdeps/i386/i586/addmul_1.S: Likewise.
5772 * sysdeps/i386/i586/lshift.S: Likewise.
5773 * sysdeps/i386/i586/mul_1.S: Likewise.
5774 * sysdeps/i386/i586/rshift.S: Likewise.
5775 * sysdeps/i386/i586/sub_n.S: Likewise.
5776 * sysdeps/i386/i586/submul_1.S: Likewise.
5778 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5780 * rt/Makefile (librt-routines): Add clock_nanosleep.
5781 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5782 * sysdeps/generic/clock_nanosleep.c: New file.
5783 * sysdeps/unix/clock_nanosleep.c: New file.
5784 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5785 * time/time.h: Declare clock_nanosleep.
5787 2000-06-26 Greg McGary <greg@mcgary.org>
5789 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5790 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5791 (ALIGN): Cleanup surrounding conditionals.
5793 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5794 Call ENTER/LEAVE macros.
5795 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5796 * sysdeps/i386/submul_1.S: Likewise.
5798 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5799 syntax. Define & use symbolic argument stack offsets. Call
5801 * sysdeps/i386/i586/mul_1.S: Likewise.
5802 * sysdeps/i386/i586/submul_1.S: Likewise.
5804 2000-06-25 Greg McGary <greg@mcgary.org>
5806 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5809 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5811 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5812 * iconvdata/gen-8bit-gap.sh: Likewise.
5813 * iconvdata/gen-8bit.sh: Likewise.
5815 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5817 * locale/programs/ld-collate.c (collate_read): Don't actually read
5818 the copy locale if we are ignoring the content.
5820 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5823 * locale/programs/ld-collate.c: Correct handling of different
5825 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5826 as extra parameter from which to copy category information.
5828 (load_locale): Likewise.
5829 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5831 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5832 * locale/programs/locfile.h: Likewise.
5833 * locale/programs/locfile-kw.gperf: Add entry for script.
5834 * locale/programs/locfile-token.h: Add tok_script.
5836 * locale/programs/locale.c: Update copyright year.
5837 * locale/programs/localedef.c: Likewise.
5839 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5841 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5842 Jens Moeller <jens.moeller@waii.com>.
5844 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5846 * locale/programs/ld-name.c (name_finish): Add missing format
5847 specifier to test for name_fmt.
5849 * locale/programs/ld-address.c (iso639): Correct length of string
5851 (iso3166): Likewise.
5853 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5855 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5858 * elf/elf.h (NT_PRFPXREG): Define.
5860 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5862 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5863 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5865 2000-06-23 Andreas Schwab <schwab@suse.de>
5867 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5870 2000-06-23 Andreas Jaeger <aj@suse.de>
5872 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5874 * io/test-stat.c: Add copyright header, mention Maciej.
5876 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5877 SYS_mincore, SYS_madvise): Added.
5879 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5882 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5884 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5885 (CFLAGS-tst_putwc.c): New definition.
5886 * libio/tst_getwc.c: New file.
5887 * libio/tst_getwc.input: New file.
5888 * libio/tst_putwc.c: New file.
5890 * include/string.h: Add prototype for __strdup.
5892 2000-06-22 Greg McGary <greg@mcgary.org>
5894 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5895 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5898 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5900 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5902 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5904 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5906 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5908 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5909 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5911 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5913 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5914 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5916 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5917 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5918 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5919 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5920 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5921 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5922 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5923 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5924 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5925 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5926 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5927 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5928 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5929 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5932 2000-06-22 Andreas Jaeger <aj@suse.de>
5934 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5937 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5939 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5941 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5943 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5946 2000-06-21 Greg McGary <greg@mcgary.org>
5948 * Makerules (elide-routines.*, elide-bp-thunks):
5949 Define unconditionally.
5951 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5953 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5955 2000-06-21 Andreas Jaeger <aj@suse.de>
5957 * io/Makefile (tests): Add test-stat.
5958 (CFLAGS-test-stat.c): New.
5960 * io/test-stat.c: New file from Maciej W. Rozycki
5961 <macro@ds2.pg.gda.pl>.
5963 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5965 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5966 in __rlimit_resource to make them match the kernel order.
5967 rlim_t is always 64 bit, use __rlim64_t to declare it
5970 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5972 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5973 RLIM_INFINITY before defining it to avoid clash with kernel header
5975 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5977 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5979 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5981 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5983 2000-06-21 Andreas Jaeger <aj@suse.de>
5985 * stdio-common/temptest.c: Include <stdlib.h>.
5986 * stdio-common/tst-fileno.c: Likewise.
5987 * stdio-common/scanf4.c: Likewise.
5988 * stdio-common/scanf5.c: Likewise.
5989 * time/clocktest.c: Likewise.
5990 * posix/test-vfork.c: Likewise.
5991 * posix/globtest.c: Likewise.
5992 * io/test-utime.c: Likewise.
5993 * wctype/test_wcfuncs.c: Likewise.
5994 * crypt/cert.c: Likewise.
5996 * stdio-common/tst-printfsz.c: Include <string.h>.
5997 * libio/tst_swscanf.c: Likewise.
5998 * libio/tst_wscanf.c: Likewise.
5999 * posix/runtests.c: Likewise.
6000 * posix/tst-getaddrinfo.c: Likewise.
6001 * posix/wordexp-test.c: Likewise.
6002 * misc/tst-efgcvt.c: Likewise.
6004 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6005 * nss/test-netdb.c: Likewise.
6007 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6008 supported kernel for MIPS.
6010 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6011 * rt/aio_suspend.c: Likewise.
6013 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6015 * math/libm-test.inc: Include <string.h>.
6017 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6019 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6021 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6023 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6024 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6026 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6028 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6030 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6032 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6034 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6036 * locale/programs/ld-collate.c (insert_value): Now take string and
6037 length instead of struct token* parameter. Adjust use of token.
6038 (handle_ellipsis): Likewise.
6039 (collate_read): Allow <Uxxxx> names and transform them into names
6040 to be passed to insert_value and handle_ellipsis.
6042 * locale/programs/ld-ctype.c (uninames): New array with names of
6043 digits in <Uxxxxxxxx> format.
6044 (ctype_finish): Correct search for space character value. Likewise
6045 for default outdigits values.
6047 2000-06-20 Greg McGary <greg@mcgary.org>
6049 * Makerules (objects): Add BP thunks.
6051 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6053 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6054 in width definitions.
6056 2000-06-20 Andreas Jaeger <aj@suse.de>
6058 * sysdeps/mips/fpu/libm-test-ulps: New file.
6060 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6063 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6065 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6067 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6069 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6070 change in gconv_builtin.h.
6072 * malloc/Makefile: Change all references to memprof into memusage.
6073 * malloc/memprof.c: Rename to...
6074 * malloc/memusage.c: ...this. New file.
6075 * malloc/memprof.sh: Rename to...
6076 * malloc/memusage.sh: ...this. New file.
6077 * malloc/memprofstat.c: Rename to...
6078 * malloc/memusagestat.c: ...this. New file.
6079 * sysdeps/alpha/memprof.h: Rename to..
6080 * sysdeps/alpha/memusage.h: ...this. New file.
6081 * sysdeps/arm/memprof.h: Rename to..
6082 * sysdeps/arm/memusage.h: ...this. New file.
6083 * sysdeps/generic/memprof.h: Rename to..
6084 * sysdeps/generic/memusage.h: ...this. New file.
6085 * sysdeps/i386/memprof.h: Rename to..
6086 * sysdeps/i386/memusage.h: ...this. New file.
6087 * sysdeps/ia64/memprof.h: Rename to..
6088 * sysdeps/ia64/memusage.h: ...this. New file.
6089 * sysdeps/m68k/memprof.h: Rename to..
6090 * sysdeps/m68k/memusage.h: ...this. New file.
6091 * sysdeps/mips/memprof.h: Rename to..
6092 * sysdeps/mips/memusage.h: ...this. New file.
6093 * sysdeps/powerpc/memprof.h: Rename to..
6094 * sysdeps/powerpc/memusage.h: ...this. New file.
6095 * sysdeps/sparc/memprof.h: Rename to..
6096 * sysdeps/sparc/memusage.h: ...this. New file.
6097 * sysdeps/sh/memprof.h: Rename to..
6098 * sysdeps/sh/memusage.h: ...this. New file.
6100 * elf/sprof.c (print_version): Update year.
6102 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6103 table entry values. Use D_PTR.
6104 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6105 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6107 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6109 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6110 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6111 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6112 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6114 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6118 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6120 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6121 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6122 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6124 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6126 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6129 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6130 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6132 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6135 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6137 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6139 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6141 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6143 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6145 * iconv/gconv_int.h (strict gconv_module): Remove all members
6146 associated with regular expressions. Use a simple string as the
6148 * iconv/gconv_db.c: Remove code handling regular expressions.
6149 * iconv/gconv_conf.c: Likewise.
6150 * iconv/iconv_prog.c: Likewise.
6151 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6153 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6154 General namespace cleanup.
6155 (struct __gconv_trans_data): Add next field.
6156 (struct __gconv_step_data): Make __trans a pointer.
6157 * iconv/gconv_conf.c: Split out code to find gconv directories from
6158 __gconv_read_conf in new functions.
6159 * iconv/gconv_int.h: Define new data structure and declare new
6160 functions for handling of gconv directory list.
6161 * iconv/gconv_open.c: Allow more than one error handling step being
6162 used. Call function to load error handling module if it is none
6163 of the builtin transformations.
6164 * iconv/gconv_close.c: Add code to free transliteration data.
6165 * iconv/gconv_trans.c: Add functions to load and unload modules
6166 implementing transliteration etc.
6167 * iconv/skeleton.c: Call all context functions now that more than
6168 one module is allowed.
6169 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6170 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6171 where the full error handling using transliteration is needed.
6172 * iconvdata/8bit-gap.c: Likewise.
6173 * iconvdata/8bit-generic.c: Likewise.
6174 * iconvdata/ansi_x3.110.c: Likewise.
6175 * iconvdata/big5.c: Likewise.
6176 * iconvdata/big5hkscs.c: Likewise.
6177 * iconvdata/euc-cn.c: Likewise.
6178 * iconvdata/euc-jp.c: Likewise.
6179 * iconvdata/euc-kr.c: Likewise.
6180 * iconvdata/euc-tw.c: Likewise.
6181 * iconvdata/gbgbk.c: Likewise.
6182 * iconvdata/gbk.c: Likewise.
6183 * iconvdata/iso-2022-cn.c: Likewise.
6184 * iconvdata/iso-2022-jp.c: Likewise.
6185 * iconvdata/iso-2022-kr.c: Likewise.
6186 * iconvdata/iso646.c: Likewise.
6187 * iconvdata/iso8859-1.c: Likewise.
6188 * iconvdata/iso_6937-2.c: Likewise.
6189 * iconvdata/iso_6937.c: Likewise.
6190 * iconvdata/johab.c: Likewise.
6191 * iconvdata/sjis.c: Likewise.
6192 * iconvdata/t.61.c: Likewise.
6193 * iconvdata/uhc.c: Likewise.
6194 * iconvdata/unicode.c: Likewise.
6195 * iconvdata/utf-16.c: Likewise.
6196 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6197 structure correctly after last change.
6198 * wcsmbs/btowc.c: Likewise.
6199 * wcsmbs/mbrtowc.c: Likewise.
6200 * wcsmbs/mbsnrtowcs.c: Likewise.
6201 * wcsmbs/mbsrtowcs.c: Likewise.
6202 * wcsmbs/wcrtomb.c: Likewise.
6203 * wcsmbs/wcsnrtombs.c: Likewise.
6204 * wcsmbs/wcsrtombs.c: Likewise.
6205 * wcsmbs/wctob.c: Likewise.
6207 * localedata/Makefile: Set -Wno-format for some files since gcc does
6208 not know all the format specifiers.
6210 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6212 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6214 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6216 2000-06-18 Andreas Jaeger <aj@suse.de>
6218 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6219 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6221 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6223 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6225 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6227 * locale/programs/ld-ctype.c (ctype_output): Really write out
6228 mboutdigits information.
6229 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6230 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6231 * localedata/tests/trans.def: Add outdigit information.
6233 * localedata/tst-mbswcs3.c: Remove comment.
6235 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6236 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6237 * libio/tst_wprintf.c (main): Add test for I flag.
6239 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6240 * locale/langinfo.h: Add entries for translit_ignore information.
6241 * locale/categories.def: Add entries for new LC_CTYPE elements.
6242 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6243 pointer instead of "" where possible.
6244 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6245 * intl/Depend: Add localedata.
6246 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6247 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6249 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6251 * locale/langinfo.h: Add entries for default_missing information.
6252 * locale/C-ctype.c: Add initializers for new fields.
6253 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6255 * locale/categories.h: Add entries for all LC_CTYPE values.
6256 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6259 * localedata/tst-trans.c: Write out an error message if class is
6262 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6263 * iconv/gconv_open.c: Remove error handling specification from `from'
6265 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6266 new parameter to always enable transliteration.
6267 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6269 (struct locale_data): Add new members use_translit and options.
6270 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6271 character set name contained modifier TRANSLIT.
6272 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6274 (_nl_unload_locale): Free options string if necessary.
6275 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6276 the locale names suggested this.
6277 * locale/C-address.c: Add two new initialilzers to adjust data
6278 structure for new format.
6279 * locale/C-collate.c: Likewise.
6280 * locale/C-ctype.c: Likewise.
6281 * locale/C-identification.c: Likewise.
6282 * locale/C-measurement.c: Likewise.
6283 * locale/C-messages.c: Likewise.
6284 * locale/C-monetary.c: Likewise.
6285 * locale/C-name.c: Likewise.
6286 * locale/C-numeric.c: Likewise.
6287 * locale/C-paper.c: Likewise.
6288 * locale/C-telephone.c: Likewise.
6289 * locale/C-time.c: Likewise.
6291 * locale/setlocale.c: Add some more __builtin_expect.
6293 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6295 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6297 (__gconv_init_fct): Remove two parameters.
6298 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6299 gconv_transliterate. Remove two parameters.
6300 Change prototypes of builtin functions according to __gconv_fct change.
6301 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6302 != NULL only during error handling. Stop in this case after the
6304 * iconv/gconv_trans.c: Replace with real implementation for
6305 __gconv_transliterate.
6306 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6307 * iconv/gconv.c: Change calls to downstream functions once again.
6308 Use NULL for the fifth parameter instead of pointer to output buffer.
6309 * libio/iofwide.c: Likewise.
6310 * wcsmbs/btowc.c: Likewise.
6311 * wcsmbs/mbrtowc.c: Likewise.
6312 * wcsmbs/mbsnrtowcs.c: Likewise.
6313 * wcsmbs/mbsrtowcs.c: Likewise.
6314 * wcsmbs/wcrtomb.c: Likewise.
6315 * wcsmbs/wcsnrtombs.c: Likewise.
6316 * wcsmbs/wcsrtombs.c: Likewise.
6317 * wcsmbs/wctob.c: Likewise.
6318 * iconv/gconv_simple.c: Remove two parameters from error handling
6320 * iconvdata/8bit-gap.c: Likewise.
6321 * iconvdata/8bit-generic.c: Likewise.
6322 * iconvdata/ansi_x3.110.c: Likewise.
6323 * iconvdata/big5.c: Likewise.
6324 * iconvdata/big5hkscs.c: Likewise.
6325 * iconvdata/euc-cn.c: Likewise.
6326 * iconvdata/euc-jp.c: Likewise.
6327 * iconvdata/euc-kr.c: Likewise.
6328 * iconvdata/euc-tw.c: Likewise.
6329 * iconvdata/gbgbk.c: Likewise.
6330 * iconvdata/gbk.c: Likewise.
6331 * iconvdata/iso-2022-cn.c: Likewise.
6332 * iconvdata/iso-2022-jp.c: Likewise.
6333 * iconvdata/iso-2022-kr.c: Likewise.
6334 * iconvdata/iso646.c: Likewise.
6335 * iconvdata/iso8859-1.c: Likewise.
6336 * iconvdata/iso_6937-2.c: Likewise.
6337 * iconvdata/iso_6937.c: Likewise.
6338 * iconvdata/johab.c: Likewise.
6339 * iconvdata/sjis.c: Likewise.
6340 * iconvdata/t.61.c: Likewise.
6341 * iconvdata/uhc.c: Likewise.
6342 * iconvdata/unicode.c: Likewise.
6343 * iconvdata/utf-16.c: Likewise.
6345 2000-06-15 Greg McGary <greg@mcgary.org>
6347 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6348 of callnum assignment. Tolerate callnum expressions containing
6351 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6353 * login/Makefile (utmpd): Remove rule to build utmpd.
6355 * csu/Versions: Move libgcc frame handling functions from here...
6356 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6357 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6358 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6359 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6360 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6361 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6363 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6365 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6367 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6369 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6371 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6373 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6374 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6375 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6376 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6378 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6380 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6381 defined, terminate quotes and read them after the comment char.
6382 * configure.in (HAVE_SECTION_QUOTES): Test whether
6383 __attribute__((section ("x"))) puts quotes around x or not.
6384 * config.h.in (HAVE_SECTION_QUOTES): Add.
6385 * configure: Rebuilt.
6387 2000-06-14 Andreas Jaeger <aj@suse.de>
6389 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6390 depending on the configure option --sysconfdir.
6391 Closes PR libc/1762.
6392 Patch by Andreas Schwab <schwab@suse.de>.
6394 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6396 Reported by Jim Pick <jim@jimpick.com>.
6398 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6400 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6401 crashing the application. Emit some simple error message.
6402 Reported by mju@panasas.com [PR libc/1769].
6404 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6406 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6408 * crypt/Makefile (distribute): Add md5.h.
6410 * Makefile (distribute): Add include/shlib-compat.h.
6412 * Make-dist: Search for tests also in sysdeps hierachy.
6414 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6415 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6417 * sysdeps/sparc/Subdirs: New file.
6419 * locale/Makefile (distribute): Add weightwc.h and
6420 programs/localedef.h.
6422 * time/Makefile (distribute): Add datemsk.
6424 * sysdeps/ia64/Dist: Add softpipe.h.
6426 * sysdeps/unix/sysv/aix/Dist: New file.
6428 * posix/setpgrp.c: Moved to...
6429 * sysdeps/generic/setpgrp.c: ...here. New file.
6430 * io/mknod.c: Moved to...
6431 * sysdeps/generic/mknod.c: ...here. New file.
6433 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6435 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6437 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6439 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6440 gprsave0.S, gprrest1.S, and gprrest0.S.
6442 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6444 * posix/Makefile (routines): Add spawnattr_getsigmask,
6445 spawnattr_getschedpolicy, spawnattr_getschedparam,
6446 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6447 spawnattr_setschedparam.
6448 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6449 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6450 posix_spawnattr_setschedparam.
6452 * posix/spawnattr_setschedparam.c: Fix typo.
6454 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6457 * login/programs/utmpd.c: Removed.
6458 * login/programs/utmpd.h: Removed.
6459 * login/programs/utmpd-private.h: Removed.
6461 * Makefile (distribute): Add include/db_185.h and include/db.h.
6463 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6466 * elf/Makefile (distribute): Add missing files.
6468 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6469 * elf/eval.c: Moved to...
6470 * dlfcn/eval.c: ...here. New file.
6472 * Makefile (distribute): Also distribute ChangeLog.1?.
6474 * Make-dist (+tsrcs): Remove .args handling here as well.
6476 * rt/Makefile (tests): Add tst-timer.
6477 * sysdeps/generic/tst-timer.c: New file.
6479 * Makerules (sources): Don't add BP sources here.
6481 * login/Makefile (distribute): Remove xtmp.h.
6483 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6484 is true. Reported by Bruno Haible <haible@ilog.fr>.
6486 2000-06-13 Andreas Jaeger <aj@suse.de>
6488 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6489 Patch by Ralf Baechle <ralf@gnu.org>.
6491 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6493 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6494 for mincore syscall.
6496 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6497 __BOUNDED_POINTERS__ is not defined.
6499 2000-06-07 Greg McGary <greg@mcgary.org>
6501 * sysdeps/generic/bp-sym.h: New file.
6502 * sysdeps/generic/bp-start.h: New file.
6503 * sysdeps/i386/elf/start.S: Designate BP symbols.
6504 * sysdeps/generic/libc-start.c: Wrap bounds around
6505 argv & envp and each of their string members.
6507 2000-06-07 Greg McGary <greg@mcgary.org>
6509 * sysdeps/unix/make-syscalls.sh: Add comments to
6510 output that aid debugging & comprehension.
6511 Map simple syscall signatures to number of args.
6512 Generate BP syscall thunk definitions.
6513 * sysdeps/generic/bp-thunks.h: New file.
6514 * sysdeps/unix/syscalls.list: Replace arg-count with
6515 simple return+arg signature.
6516 * sysdeps/unix/common/syscalls.list: Likewise.
6517 * sysdeps/unix/inet/syscalls.list: Likewise.
6518 * sysdeps/unix/mman/syscalls.list: Likewise.
6519 * sysdeps/unix/sysv/syscalls.list: Likewise.
6520 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6523 2000-06-07 Greg McGary <greg@mcgary.org>
6525 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6526 for all files *.[cS].
6527 (CFLAGS-.ob): Don't optimize sibling calls.
6528 (bppfx): New variable.
6529 * Makerules (elide-bp-thunks): New variable.
6530 (elide-routines.*): Elide BP-* files for all but *.ob.
6531 (sources): Include bp-thunks.
6533 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6535 * iconv/gconv_simple.c: Remove unnecessary prototype.
6537 * iconv/gconv_trans.c: Pretty print.
6539 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6541 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6542 minimal kernel versions. Add information about IA-64 kernel.
6544 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6545 specific minimal supported kernel versions to be specified.
6547 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6548 step data structure.
6549 * wcsmbs/btowc.c: Likewise.
6550 * wcsmbs/mbrtowc.c: Likewise.
6551 * wcsmbs/mbsnrtowcs.c: Likewise.
6552 * wcsmbs/mbsrtowcs.c: Likewise.
6553 * wcsmbs/wcrtomb.c: Likewise.
6554 * wcsmbs/wcsnrtombs.c: Likewise.
6555 * wcsmbs/wcsrtombs.c: Likewise.
6556 * wcsmbs/wctob.c: Likewise.
6558 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6559 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6561 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6563 * misc/sys/cdefs.h: Remove one more __P.
6565 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6568 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6569 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6570 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6572 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6573 Yutaka Niibe <gniibe@chroot.org>
6575 * configure.in: Add machine sh3, sh4.
6576 * elf/elf.h: Add SH specific declarations of relocations.
6577 * shlib-versions: Add sh*-*-linux* cases.
6579 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6581 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6582 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6583 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6584 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6585 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6586 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6588 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6589 instead of KERNEL_MATH_EMULATION.
6590 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6591 KERNEL_MATH_EMULATION.
6593 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6594 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6595 * sysdeps/sh/dl-machine.h: ...here. New file.
6596 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6597 and include generic SH version.
6598 * sysdeps/sh/sh3/bits/endian.h: Move to...
6599 * sysdeps/sh/bits/endian.h: ...here. New file.
6600 * sysdeps/sh/sh4/bits/endian.h: Removed.
6601 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6602 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6603 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6605 * include/libc-symbols.h (link_warning): Work around a change in
6606 GAS which warns about changing section attributes.
6607 Proposed by Nick Clifton <nickc@redhat.com>.
6609 2000-06-12 H.J. Lu <hjl@gnu.org>
6611 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6613 2000-06-11 H.J. Lu <hjl@gnu.org>
6615 * sysdeps/i386/fpu/Versions: New file.
6617 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6619 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6621 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6624 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6626 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6627 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6628 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6630 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6631 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6632 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6634 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6635 Yutaka Niibe <gniibe@chroot.org>
6637 * sysdeps/sh/Dist: New file.
6638 * sysdeps/sh/Implies: New file.
6639 * sysdeps/sh/elf/initfini.c: New file.
6640 * sysdeps/sh/gmp-mparam.h: New file.
6641 * sysdeps/sh/init-first.c: New file.
6642 * sysdeps/sh/machine-gmon.h: New file.
6643 * sysdeps/sh/memcpy.S: New file.
6644 * sysdeps/sh/memprof.h: New file.
6645 * sysdeps/sh/memset.S: New file.
6646 * sysdeps/sh/sh3/__longjmp.S: New file.
6647 * sysdeps/sh/sh3/bits/endian.h: New file.
6648 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6649 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6650 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6651 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6652 * sysdeps/sh/sh3/dl-machine.h: New file.
6653 * sysdeps/sh/sh3/setjmp.S: New file.
6654 * sysdeps/sh/sh4/__longjmp.S: New file.
6655 * sysdeps/sh/sh4/bits/endian.h: New file.
6656 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6657 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6658 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6659 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6660 * sysdeps/sh/sh4/dl-machine.h: New file.
6661 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6662 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6663 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6664 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6665 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6666 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6667 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6668 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6669 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6670 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6671 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6672 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6673 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6674 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6675 * sysdeps/sh/sh4/setjmp.S: New file.
6676 * sysdeps/sh/elf/start.S: New file.
6677 * sysdeps/sh/sys/ucontext.h: New file.
6678 * sysdeps/sh/strlen.S: New file.
6679 * sysdeps/sh/sysdep.h: New file.
6680 * sysdeps/unix/sh/sysdep.S: New file.
6681 * sysdeps/unix/sh/sysdep.h: New file.
6682 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6683 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6684 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6685 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6686 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6687 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6688 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6689 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6690 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6691 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6692 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6693 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6694 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6695 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6696 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6697 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6698 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6699 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6700 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6701 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6702 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6703 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6704 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6705 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6706 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6707 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6708 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6709 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6710 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6711 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6712 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6713 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6714 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6715 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6716 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6717 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6718 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6719 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6720 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6721 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6722 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6723 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6724 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6725 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6726 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6727 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6728 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6729 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6730 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6731 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6733 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6735 * Rules (%.out): Define GCONV_PATH in the environment.
6736 * assert/Depend: New file.
6737 * iconvdata/Depend: New file.
6738 * intl/Depend: New file.
6739 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6740 * intl/tst-gettext.sh: Likewise.
6741 * iconv/Makefile (routines): Add gconv_trans.
6742 * iconv/gconv_trans.c: New file.
6743 * iconv/gconv.h (struct __gconv_trans_data): New type.
6744 (__gconv_fct): New parameter with starting position in output buffer.
6745 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6746 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6747 (struct __gconv_step): Add new member __trans.
6748 * iconv/gconv_int.h: Pretty print prototypes.
6749 (gconv_transliterate): New prototype.
6750 (__BUILTIN_TRANS): Update for new conversion function interface.
6751 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6752 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6753 in names, find appropriate function, and install in the conversion
6754 steps it can be used.
6755 * iconv/skeleton.c: Add additional parameter for beginning of output
6756 buffer. Change calls of downstream functions.
6757 * iconv/loop.c: Change loop function interface completely. Pass in
6758 step and step_data structure. Remove optimization for BODY with
6759 NEED_LENGTH_TEST == 0.
6760 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6761 appropriate error handling code to use transliteration steps. Remove
6762 optimization for BODY with NEED_LENGTH_TEST == 0.
6763 * iconvdata/8bit-gap.c: Likewise.
6764 * iconvdata/8bit-generic.c: Likewise.
6765 * iconvdata/ansi_x3.110.c: Likewise.
6766 * iconvdata/big5.c: Likewise.
6767 * iconvdata/big5hkscs.c: Likewise.
6768 * iconvdata/euc-cn.c: Likewise.
6769 * iconvdata/euc-jp.c: Likewise.
6770 * iconvdata/euc-kr.c: Likewise.
6771 * iconvdata/euc-tw.c: Likewise.
6772 * iconvdata/gbgbk.c: Likewise.
6773 * iconvdata/gbk.c: Likewise.
6774 * iconvdata/iso-2022-cn.c: Likewise.
6775 * iconvdata/iso-2022-jp.c: Likewise.
6776 * iconvdata/iso-2022-kr.c: Likewise.
6777 * iconvdata/iso646.c: Likewise.
6778 * iconvdata/iso8859-1.c: Likewise.
6779 * iconvdata/iso_6937-2.c: Likewise.
6780 * iconvdata/iso_6937.c: Likewise.
6781 * iconvdata/johab.c: Likewise.
6782 * iconvdata/sjis.c: Likewise.
6783 * iconvdata/t.61.c: Likewise.
6784 * iconvdata/uhc.c: Likewise.
6785 * iconvdata/unicode.c: Likewise.
6786 * iconvdata/utf-16.c: Likewise.
6787 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6789 * wcsmbs/btowc.c: Likewise.
6790 * wcsmbs/mbrtowc.c: Likewise.
6791 * wcsmbs/mbsnrtowcs.c: Likewise.
6792 * wcsmbs/mbsrtowcs.c: Likewise.
6793 * wcsmbs/wcrtomb.c: Likewise.
6794 * wcsmbs/wcsnrtombs.c: Likewise.
6795 * wcsmbs/wcsrtombs.c: Likewise.
6796 * wcsmbs/wctob.c: Likewise.
6798 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6800 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6801 other header files. Mention about 128-byte cache line sizes.
6802 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6803 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6804 for current calling sequence.
6805 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6807 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6808 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6810 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6811 and setrlimit syscalls for backwards compatibility.
6813 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6815 * iconv/skeleton.c: Rename converted written to correcter name
6817 * iconv/gconv.c: Rename converted variable to correcter name
6819 * iconv/gconv_int.h: Likewise.
6820 * iconv/gconv_simple.c: Likewise.
6821 * iconv/iconv.c: Likewise.
6822 * iconv/loop.c: Likewise.
6823 * iconvdata/8bit-gap.c: Likewise.
6824 * iconvdata/8bit-generic.c: Likewise.
6825 * iconvdata/ansi_x3.110.c: Likewise.
6826 * iconvdata/big5.c: Likewise.
6827 * iconvdata/big5hkscs.c: Likewise.
6828 * iconvdata/euc-cn.c: Likewise.
6829 * iconvdata/euc-jp.c: Likewise.
6830 * iconvdata/euc-kr.c: Likewise.
6831 * iconvdata/gbgbk.c: Likewise.
6832 * iconvdata/gbk.c: Likewise.
6833 * iconvdata/iso-2022-cn.c: Likewise.
6834 * iconvdata/iso-2022-jp.c: Likewise.
6835 * iconvdata/iso-2022-kr.c: Likewise.
6836 * iconvdata/iso646.c: Likewise.
6837 * iconvdata/iso8859-1.c: Likewise.
6838 * iconvdata/iso_6937-2.c: Likewise.
6839 * iconvdata/iso_6937.c: Likewise.
6840 * iconvdata/johab.c: Likewise.
6841 * iconvdata/sjis.c: Likewise.
6842 * iconvdata/t.61.c: Likewise.
6843 * iconvdata/uhc.c: Likewise.
6844 * iconvdata/unicode.c: Likewise.
6845 * iconvdata/utf-16.c: Likewise.
6847 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6848 __cmsg_data field with __extension__.
6850 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6852 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6854 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6856 * iconv/gconv_simple.c: Fix various small bugs in several
6859 * iconv/loop.c: Fix comment.
6861 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6863 * elf/link.h: Remove libc internal declarations.
6864 * include/link.h: Move them here.
6866 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6868 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6869 Patch by Dan Pop <Dan.Pop@cern.ch>.
6871 Rewrite error message handling.
6872 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6874 * elf/dl-error (struct catch): Add objname member.
6875 (_dl_signal_error): Take new parameter with object name. When
6876 passing message on simply store object name and duplicate error
6878 (_dl_catch_error): Take new parameter. Store object name in the
6880 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6881 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6882 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6883 (dlerror): Add objname to asprintf() parameters.
6884 (_dl_error_run): Pass new parameter to _dl_catch_error.
6885 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6886 * elf/dl-open.c (_dl_open): Likewise.
6887 * elf/rtld.c (dl_main): Likewise.
6888 * elf/dl-close.c: Mark error messages with N_().
6889 * elf/dl-deps.c: Likewise.
6890 * elf/dl-error.c: Likewise.
6891 * elf/dl-load.c: Likewise.
6892 * elf/dl-open.c: Likewise.
6893 * elf/dl-reloc.c: Likewise.
6894 * elf/dl-support.c: Likewise.
6895 * elf/dl-sym.c: Likewise.
6896 * elf/dl-version.c: Likewise.
6897 * elf/dl-lookup.c: Add comments about problems with error message
6899 * elf/dl-reloc.c: Likewise.
6900 * elf/dl-version.c: Likewise.
6902 2000-06-09 H.J. Lu <hjl@gnu.org>
6904 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6907 * dlfcn/Makefile (distribute): Add failtestmod.c.
6908 (tests): Add failtest.
6909 Add rules to build and run failtest.
6910 * dlfcn/failtest.c: New file.
6911 * dlfcn/failtestmod.c: New file.
6913 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6915 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6916 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6917 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6918 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6919 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6921 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6923 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6924 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6926 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6927 Ulrich Drepper <drepper@redhat.com>
6929 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6930 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6931 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6932 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6933 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6934 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6936 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6938 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6939 to find correct mount point despite wrong information from the
6942 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6944 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6945 the address of a symbol so function pointers are handled properly.
6947 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6949 * sysdeps/i386/Dist: Add bp-asm.h.
6951 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6952 defaultdir variable instead of "/var/shm" everywhere.
6953 (defaultdir): Change to /dev/shm/.
6955 2000-06-08 Greg McGary <greg@mcgary.org>
6957 * sysdeps/i386/bp-asm.h: New file.
6958 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6959 offsets. Add ENTER/LEAVE macros for optionally maintaining
6960 frame-pointer chain when debugging.
6961 * sysdeps/i386/add_n.S: Likewise.
6962 * sysdeps/i386/addmul_1.S: Likewise.
6963 * sysdeps/i386/lshift.S: Likewise.
6964 * sysdeps/i386/memchr.S: Likewise.
6965 * sysdeps/i386/memcmp.S: Likewise.
6966 * sysdeps/i386/mul_1.S: Likewise.
6967 * sysdeps/i386/rawmemchr.S: Likewise.
6968 * sysdeps/i386/rshift.S: Likewise.
6969 * sysdeps/i386/stpcpy.S: Likewise.
6970 * sysdeps/i386/stpncpy.S: Likewise.
6971 * sysdeps/i386/strchr.S: Likewise.
6972 * sysdeps/i386/strchrnul.S: Likewise.
6973 * sysdeps/i386/strcspn.S: Likewise.
6974 * sysdeps/i386/strpbrk.S: Likewise.
6975 * sysdeps/i386/strrchr.S: Likewise.
6976 * sysdeps/i386/strspn.S: Likewise.
6977 * sysdeps/i386/strtok.S: Likewise.
6978 * sysdeps/i386/sub_n.S: Likewise.
6979 * sysdeps/i386/submul_1.S: Likewise.
6980 * sysdeps/i386/elf/setjmp.S: Likewise.
6981 * sysdeps/i386/i486/strcat.S: Likewise.
6982 * sysdeps/i386/i486/strlen.S: Likewise.
6983 * sysdeps/i386/i586/add_n.S: Likewise.
6984 * sysdeps/i386/i586/lshift.S: Likewise.
6985 * sysdeps/i386/i586/memcpy.S: Likewise.
6986 * sysdeps/i386/i586/memset.S: Likewise.
6987 * sysdeps/i386/i586/rshift.S: Likewise.
6988 * sysdeps/i386/i586/strchr.S: Likewise.
6989 * sysdeps/i386/i586/strcpy.S: Likewise.
6990 * sysdeps/i386/i586/strlen.S: Likewise.
6991 * sysdeps/i386/i586/sub_n.S: Likewise.
6992 * sysdeps/i386/i686/add_n.S: Likewise.
6993 * sysdeps/i386/i686/memcpy.S: Likewise.
6994 * sysdeps/i386/i686/mempcpy.S: Likewise.
6995 * sysdeps/i386/i686/memset.S: Likewise.
6996 * sysdeps/i386/i686/strcmp.S: Likewise.
6998 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7000 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7002 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7003 256 and don't use OPEN_MAX.
7005 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7006 use it instead of LINK_MAX.
7007 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7009 2000-06-08 Andreas Jaeger <aj@suse.de>
7011 * libio/genops.c (_IO_list_lock): Only compile body if we're
7013 (_IO_list_unlock): Likewise.
7014 (_IO_list_resetlock): Likewise.
7016 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7018 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7019 unless user defined it.
7021 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7022 if not defined by the user.
7024 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7025 * libio/iofwrite.c (_IO_fwrite): Likewise.
7027 * time/time.h: Add missing __THROW for clock_getcpuclockid
7030 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7031 * include/elf.h: Include also <dl-dtprocnum.h>.
7032 * elf/dl-deps.c: Likewise.
7033 * elf/dl-lookup.c: Likewise.
7034 * elf/dl-runtime.c: Likewise.
7035 * elf/dl-version.c: Likewise.
7036 * elf/do-rel.h: Likewise.
7037 * elf/dynamic-link.h: Likewise.
7038 * elf/link.h: Likewise.
7039 * elf/rtld.c: Likewise.
7040 * sysdeps/generic/dl-dtprocnum.h: New file.
7041 * sysdeps/ia64/dl-dtprocnum.h: New file.
7042 * sysdeps/mips/dl-dtprocnum.h: New file.
7043 * sysdeps/sparc/dl-dtprocnum.h: New file.
7045 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7047 * elf/do-lookup.h: Add some __builtin_expect.
7049 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7051 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7052 (_dl_dynamic_weak): New variable.
7053 * elf/dl-support.c: Likewise.
7054 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7055 * elf/do-lookup.h: If we find a weak definition treat it like a
7056 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7057 case treat it like before.
7059 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7061 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7063 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7064 using l_map_start and l_map_end.
7066 * elf/dl-version.c: Add __builtin_expect in many places.
7068 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7071 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7073 Lock for stdio stream list becomes global, for use in LinuxThreads.
7075 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7076 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7077 _IO_list_resetlock): New interface for iterating global list of
7078 streams without accessing the _IO_list_all global variable,
7079 and for manipulating the lock which protects this list.
7080 * libio/libioP.h: Likewise.
7081 * libio/Version: Add entries for the new functions.
7083 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7084 pointer to _IO_FILE.
7086 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7088 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7089 BIT() must actually be BITw().
7091 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7093 * locale/programs/charmap.c: Allow string arguments for
7094 code_set_name and repertoiremap.
7096 2000-06-07 Andreas Jaeger <aj@suse.de>
7098 * elf/Makefile: Build ldconfig only when building shared libraries.
7100 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7102 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7104 (fdimf, __fdim, fdim): Likewise.
7106 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7108 * locale/findlocale.c: Add __builtin_expect in many places.
7109 * locale/loadlocale.c: Likewise.
7111 2000-06-06 Greg McGary <greg@mcgary.org>
7113 * sysdeps/mips/elf/start.S: Trim redundant code.
7115 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7116 Use C comments throughout. Line up operands column with tabs.
7117 * sysdeps/powerpc/strchr.S: Likewise.
7118 * sysdeps/powerpc/strcmp.S: Likewise.
7119 * sysdeps/powerpc/strcpy.S: Likewise.
7120 * sysdeps/powerpc/strlen.S: Likewise.
7122 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7123 Get low part of &__curbrk with @l.
7125 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7127 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7128 * iconvdata/unicode.c: Likewise.
7129 * iconvdata/uhc.c: Likewise.
7130 * iconvdata/t.61.c: Likewise.
7131 * iconvdata/sjis.c: Likewise.
7132 * iconvdata/johab.c: Likewise.
7133 * iconvdata/iso_6937.c: Likewise.
7134 * iconvdata/iso_6937-2.c: Likewise.
7135 * iconvdata/iso8859-1.c: Likewise.
7136 * iconvdata/iso646.c: Likewise.
7137 * iconvdata/iso-2022-kr.c: Likewise.
7138 * iconvdata/iso-2022-jp.c: Likewise.
7139 * iconvdata/iso-2022-cn.c: Likewise.
7140 * iconvdata/gbgbk.c: Likewise.
7141 * iconvdata/gbk.c: Likewise.
7142 * iconvdata/euc-kr.c: Likewise.
7143 * iconvdata/euc-jp.c: Likewise.
7144 * iconvdata/euc-cn.c: Likewise.
7146 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7148 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7149 * iconvdata/big5.c: Likewise.
7150 * iconvdata/ansi_x3.110.c: Likewise.
7151 * iconvdata/8bit-generic.c: Likewise.
7152 * iconvdata/8bit-gap.c: Likewise.
7153 * iconv/loop.c: Likewise.
7154 * iconv/gconv_db.c: Likewise.
7155 * iconv/gconv_dl.c: Likewise.
7156 * iconv/gconv_simple.c: Likewise.
7157 * iconv/skeleton.c: Likewise.
7159 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7160 (struct __gconv_step_data): Rename __is_last to __flags.
7161 * iconv/gconv_close.c: Change all uses of __is_last.
7162 * iconv/skeleton.c: Likewise.
7163 * iconvdata/iso-2022-cn.c: Likewise.
7164 * iconvdata/iso-2022-jp.c: Likewise.
7165 * iconvdata/iso-2022-kr.c: Likewise.
7166 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7167 Recognize IGNORE error handling, set flag, and remove from name.
7168 * iconv/loop.c (ignore_errors_p): Define.
7169 Add flags parameter to both functions.
7170 * iconv/skeleton.c: Pass flags to all conversion functions.
7171 * iconv/gconv_simple.c: Add flags parameter to all functions.
7172 Don't return error for invald error if ignore flag is set.
7173 (ucs4_internal_loop_single): Add missing pointer increment.
7174 (internal_ucs4le_loop_single): Likewise.
7175 * iconv/iconv_prog.c: Implement handling of -c parameter.
7176 * iconvdata/8bit-gap.c: Don't return error for invald error if
7178 * iconvdata/8bit-generic.c: Likewise.
7179 * iconvdata/ansi_x3.110.c: Likewise.
7180 * iconvdata/big5.c: Likewise.
7181 * iconvdata/big5hkscs.c: Likewise.
7182 * iconvdata/euc-cn.c: Likewise.
7183 * iconvdata/euc-jp.c: Likewise.
7184 * iconvdata/euc-kr.c: Likewise.
7185 * iconvdata/gbgbk.c: Likewise.
7186 * iconvdata/gbk.c: Likewise.
7187 * iconvdata/iso-2022-cn.c: Likewise.
7188 * iconvdata/iso-2022-jp.c: Likewise.
7189 * iconvdata/iso-2022-kr.c: Likewise.
7190 * iconvdata/iso646.c: Likewise.
7191 * iconvdata/iso8859-1.c: Likewise.
7192 * iconvdata/iso_6937-2.c: Likewise.
7193 * iconvdata/iso_6937.c: Likewise.
7194 * iconvdata/johab.c: Likewise.
7195 * iconvdata/sjis.c: Likewise.
7196 * iconvdata/t.61.c: Likewise.
7197 * iconvdata/uhc.c: Likewise.
7198 * iconvdata/unicode.c: Likewise.
7199 * iconvdata/utf-16.c: Likewise.
7200 * libio/fileops.c: Likewise.
7201 * libio/iofwide.c: Likewise.
7202 * wcsmbs/btowc.c: Likewise.
7203 * wcsmbs/mbrtowc.c: Likewise.
7204 * wcsmbs/mbsnrtowcs.c: Likewise.
7205 * wcsmbs/mbsrtowcs.c: Likewise.
7206 * wcsmbs/wcrtomb.c: Likewise.
7207 * wcsmbs/wcsnrtombs.c: Likewise.
7208 * wcsmbs/wcsrtombs.c: Likewise.
7209 * wcsmbs/wctob.c: Likewise.
7211 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7214 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7216 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7217 counter for the object we are releasing, just decrement it.
7218 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7220 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7222 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7225 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7227 * iconvdata/big5hkscs.c: New file.
7228 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7230 * iconvdata/gconv-modules: Add entry for new module.
7231 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7232 (distribute): Add big5hkscs.c.
7234 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7236 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7237 inlines to match prototypes in mathcalls.h.
7238 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7239 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7240 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7241 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7243 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7245 * elf/elf.h (SHT_SUNW_move): Define.
7247 * elf/elf.h: Add more Solaris compatiblity definitions.
7249 2000-06-03 Andreas Jaeger <aj@suse.de>
7251 * sysdeps/powerpc/dl-start.S: Close open comment.
7253 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7255 * inet/Versions: Fix typo in rresvport_af export.
7257 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7259 * math/tgmath.h: Pretty print.
7261 2000-06-02 Andreas Jaeger <aj@suse.de>
7263 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7264 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7266 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7268 * elf/rtld.c (process_envvars): Test for = after variable name.
7270 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7272 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7273 have extra call to __gmon_start__, use the pointer we already have.
7275 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7278 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7279 binutils. gas now emits a jump through the PLT instead of a
7280 relative jump if the jump target is an exported symbol.
7282 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7284 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7286 2000-05-31 Andreas Jaeger <aj@suse.de>
7288 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7291 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7292 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7294 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7296 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7298 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7300 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7302 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7303 * locale/localeconv.c: Make function versioned (with same definition).
7305 * elf/Makefile (modules-names): Strip before using it.
7307 2000-05-30 Andreas Jaeger <aj@suse.de>
7309 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7310 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7311 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7312 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7313 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7314 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7316 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7318 * Makefile: Add GNU make magic.
7320 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7322 * inet/rcmd.c: Remove __P. Remove unused variables.
7323 (iruserfopen): Make first parameter const.
7324 (ruserok_sa): Return result of ruserok2_sa.
7325 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7326 * inet/rexec.c: Remove unused variables. Other small cleanups.
7327 * inet/ruserpass.c: Remove __P. Remove unused variables.
7328 (ruserpass): Check results of memory allocation.
7329 * include/netdb.h: Add prototype for ruserpass.
7331 2000-05-29 Andreas Jaeger <aj@suse.de>
7333 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7336 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7338 * inet/rcmd.c (rresvport_af): Use correct port number.
7340 2000-05-26 Andreas Schwab <schwab@suse.de>
7342 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7343 entries in all-sonames.
7344 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7345 preserving the old name if different for compatibility.
7347 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7349 * posix/Makefile (tests): Add tst-spawn.
7350 (tst-spawn-ARGS): New variable.
7351 * posix/tst-spawn.c: New file.
7353 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7354 * posix/spawn_faction_adddup2.c: Likewise.
7355 * posix/spawn_faction_addopen.c: Likewise.
7356 * posix/spawni.c: Correctly test for success of dup2 calls.
7358 * posix/tst-preadwrite.c: Check success of malloc call.
7360 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7362 * posix/Makefile (tests): Add tst-exec.
7363 (tst-exec-ARGS): New variable.
7364 * posix/tst-exec.c: New file.
7366 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7368 2000-05-04 Andreas Jaeger <aj@suse.de>
7370 * string/string.h: Remove __strdup prototype, it's not needed in
7373 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7375 * posix/Makefile (tests): Add tst-fork.
7376 * posix/tst-fork.c: New file.
7378 * resolv/inet_pton.c: Loose __P.
7380 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7382 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7383 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7384 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7385 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7386 _IO_CHECK_WIDE fails.
7388 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7390 * po/da.po: New file.
7392 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7393 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7395 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7396 (Other iconv Implementations): Fix typo.
7397 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7399 2000-05-27 Andreas Jaeger <aj@suse.de>
7401 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7403 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7404 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7405 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7406 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7407 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7408 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7410 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7411 endianness to decide how to pass arguments.
7412 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7414 * elf/vismain.c: Use test-skeleton interface.
7415 (TEST_FUNCTION): New macro.
7416 (do_test): Renamed from main.
7418 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7420 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7421 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7423 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7424 handling of AI_V4MAPPED flag.
7426 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7427 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7428 perform lookup for T_A type and tell getanswer_r to convert the
7429 result with new argument.
7430 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7431 Don't convert addresses from IPv4 to IPv6 here.
7432 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7433 IPv6 is wanted. Allow qtype and type from reply to disagree if
7434 IPv4 mapping has to be done. Perform mappings if required by the
7435 caller and not if RES_USE_INET6 bit in _res.options is set.
7436 Add several __builtin_expect.
7438 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7440 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7442 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7445 * posix/tst-preadwrite.c: Allow parallel execution of
7446 tst-preadwrite and tst-preadwrite64.
7448 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7449 * posix/tst-truncate.c: New file.
7450 * posix/tst-truncate64.c: New file.
7452 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7455 * posix/Makefile (tests): Add tst-preadwrite64.
7456 * posix/tst-preadwrite.c: Alloc file being used also for testing
7457 pread64 and pwrite64.
7458 * posix/tst-preadwrite64.c: New file.
7460 2000-05-26 Andreas Jaeger <aj@suse.de>
7462 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7463 of arguments dependend on endianness.
7464 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7466 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7468 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7469 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7470 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7471 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7473 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7474 endianness to check how to pass argument.
7475 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7477 * elf/ldconfig.h: Update parameter list for process_elf_file.
7479 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7480 Add parameter file_length and pass it ot process_elf*file.
7482 * sysdeps/generic/readelflib.c (check_ptr): New.
7483 (process_elf_file): Use check_ptr to check all accesses to the
7484 mmapped file. Add parameter file_length.
7486 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7489 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7490 Closes PR libc/1573, reported by Bradley White
7491 <bww@laurelnetworks.com>.
7493 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7495 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7496 __FAST_MATH__ is defined.
7498 2000-05-22 Andreas Jaeger <aj@suse.de>
7500 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7501 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7503 * manual/math.texi (FP Function Optimizations): Document gcc
7504 -ffast-math behaviour with mathinlines.
7506 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7507 functions unless -ffast-math is given to gcc.
7509 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7511 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7512 __sincosl): Guard with __USE_GNU.
7514 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7516 * csu/Makefile (routines): Add check_fds.
7517 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7518 binaries. Add various __builtin_expect.
7519 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7520 * sysdeps/generic/check_fds.c: ...here. New file.
7522 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7523 binaries if file /etc/suid-debug is available.
7525 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7526 and wcseqorder members.
7527 (struct locale_collate_t): Likewise.
7528 (collate_finish): Assign collation sequence value to each character.
7529 Create tables for output.
7530 (collate_output): Write out tables with collation sequence information.
7531 * locale/C-collate.c: Provide C locale data for collation sequence
7533 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7534 _NL_COLLATE_COLLSEQWC.
7535 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7536 _NL_COLLATE_COLLSEQWC.
7537 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7538 include fnmatch_loop.c.
7539 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7540 character is matched by range expression. Use collation sequence
7541 table. Outside glibc fall back on simple character value comparison.
7543 2000-05-24 Andreas Jaeger <aj@suse.de>
7545 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7548 * intl/Makefile: Run gettext-test only if msgfmt is available.
7550 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7551 Define it for newer kernels.
7553 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7555 * elf/dl-sym.c: Minor cleanups.
7557 * configure.in: Add test for .protected.
7558 * config.make.in: Add have-protected variable.
7559 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7560 (tests-vis-yes): Add vismain.
7561 (modules-names): Add $(modules-vis-$(have-protected)).
7562 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7563 Add rules to generate and run vismain.
7564 * elf/vismain.c: New file.
7565 * elf/vismod1.c: New file.
7566 * elf/vismod2.c: New file.
7567 * elf/vismod3.c: New file.
7569 2000-05-23 Andreas Jaeger <aj@suse.de>
7571 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7573 * manual/search.texi (Array Sort Function): Document that qsort is
7574 not necessarily in-place.
7576 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7577 Closes PR libc/1731.
7579 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7580 * dirent/scandir64.c: Likewise.
7581 * pwd/getpw.c: Likewise.
7582 * stdlib/bsearch.c (bsearch): Likewise.
7583 * stdlib/tst-strtoll.c: Likewise.
7584 * localedata/collate-test.c: Likewise.
7585 * localedata/xfrm-test.c: Likewise.
7586 * posix/bsd-getpgrp.c: Likewise.
7587 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7588 * sysdeps/generic/bits/siginfo.h: Likewise.
7589 * sysdeps/generic/bits/sockaddr.h: Likewise.
7590 * sysdeps/generic/sys/swap.h: Likewise.
7591 * sysdeps/generic/sys/sysinfo.h: Likewise.
7592 * sysdeps/generic/vfork.c: Likewise.
7593 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7594 * sysdeps/mach/hurd/fdopen.c: Likewise.
7595 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7596 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7597 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7598 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7599 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7601 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7603 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7604 * shadow/lckpwdf.c: Likewise.
7605 * stdlib/tst-strtol.c: Likewise.
7606 * sysdeps/generic/tcsetattr.c: Likewise.
7607 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7608 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7610 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7612 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7613 free it and set to (void *) -1.
7615 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7617 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7618 not the second character in the range.
7619 * stdio-common/tstscanf.c (main): Add testcase for the above.
7620 Reported by jik@kamens.brookline.ma.us.
7622 2000-05-21 H.J. Lu <hjl@gnu.org>
7624 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7625 with noexec and noplt parameter.
7626 (do_lookup): Likewise.
7628 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7629 do_lookup. Support STV_PROTECTED.
7630 (_dl_lookup_symbol_skip): Likewise.
7631 (_dl_lookup_versioned_symbol): Likewise.
7632 (_dl_lookup_versioned_symbol_skip): Likewise.
7634 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7636 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7638 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7640 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7641 * sysdeps/i386/bits/huge_val.h: Likewise.
7642 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7643 * sysdeps/m68k/bits/huge_val.h: Likewise.
7644 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7645 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7647 2000-05-22 Andreas Jaeger <aj@suse.de>
7649 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7652 2000-05-19 Andreas Jaeger <aj@suse.de>
7654 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7655 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7656 breaks compilation without linuxthreads.
7658 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7660 * sysdeps/ia64/memccpy.S: New file.
7661 * sysdeps/ia64/memchr.S: New file.
7662 * sysdeps/ia64/memcmp.S: New file.
7663 * sysdeps/ia64/memcpy.S: New file.
7664 * sysdeps/ia64/memmove.S: New file.
7665 * sysdeps/ia64/memset.S: New file.
7666 * sysdeps/ia64/strcat.S: New file.
7667 * sysdeps/ia64/strchr.S: New file.
7668 * sysdeps/ia64/strcmp.S: New file.
7669 * sysdeps/ia64/strcpy.S: New file.
7670 * sysdeps/ia64/strlen.S: New file.
7671 * sysdeps/ia64/strncmp.S: New file.
7672 * sysdeps/ia64/strncpy.S: New file.
7673 * sysdeps/ia64/softpipe.h: New file.
7674 Patches by Dan Pop <Dan.Pop@cern.ch>.
7676 * manual/memory.texi: Document memory handling functions (mlock,
7677 munlock, mlockall, munlockall, brk, and sbrk)
7678 * manual/time.texi: Document timespec and friends.
7679 * manual/conf.texi: Fix references.
7680 * manual/ctype.texi: Likewise.
7681 * manual/errno.texi: Likewise.
7682 * manual/intro.texi: Likewise.
7683 * manual/locale.texi: Likewise.
7684 * manual/sysinfo.texi: Likewise.
7685 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7687 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7689 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7690 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7692 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7694 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7697 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7699 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7700 * locale/localeconv.c: Initialize new elements from ISO C99.
7701 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7702 new standard elements.
7703 * locale/categories.def: Adjust accordingly.
7705 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7706 * iconv/iconv.c: Likewise.
7707 * conform/data/iconv.h-data: Likewise.
7708 * iconv/iconv_prog.c (process_block): Remove const from second
7710 (main): Remove const from addr definition.
7711 * manual/charset.texi (Generic Conversion Interface): Remove from
7712 inbuf parameter of iconv.
7714 * intl/dcigettext.c: Fix typo in comment.
7716 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7718 * resolv/res_libc.c (_res): Initialize _sock to -1.
7720 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7722 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7723 (fopencookie@@GLIBC_2.2): New.
7724 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7725 (fopencookie@GLIBC_2.0): New.
7726 * libio/Versions: Add fopencookie to GLIBC_2.2.
7728 2000-05-18 Andreas Jaeger <aj@suse.de>
7730 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7731 Closes PR libc/1731.
7733 * manual/arith.texi (Parsing of Integers): Fix typo.
7734 Closes PR libc/1744, reported by blp@gnu.org.
7736 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7738 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7739 __extension__ to hexadecimal floating constant notation.
7740 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7742 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7743 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7745 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7746 HUGE_VALL): Likewise.
7747 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7748 HUGE_VALL): Likewise.
7749 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7751 2000-05-17 Andreas Jaeger <aj@suse.de>
7753 * string/envz.h: Add pure attributes if possible.
7755 * string/argz.h: argz_count is a pure function.
7757 * string/strings.h: Add pure and const attributes if possible.
7759 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7760 possibly searching through the whole memory.
7761 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7763 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7765 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7767 (_dl_cache_check_flags): Likewise.
7768 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7771 2000-05-17 Andreas Jaeger <aj@suse.de>
7773 * manual/creature.texi (Feature Test Macros): Remove paragraph
7774 since the description is wrong.
7775 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7777 * scripts/config.sub: New version.
7778 * scripts/config.guess: Likewise.
7779 * manual/texinfo.tex: Likewise.
7781 * time/test_time.args: Removed.
7782 * time/Makefile (test_time-ARGS): Added contents here instead.
7784 * posix/tstgetopt.args: Removed.
7785 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7787 * Rules: Allow arguments for test files to be specified in
7788 Makefile with testname-ARGS; remove rules with .args in it.
7790 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7791 remove old bogus rule for opendir-tst1.args.
7793 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7795 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7796 into objdir. This allows a readonly sourcetree.
7797 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7799 2000-05-16 Andreas Jaeger <aj@suse.de>,
7800 David Huggins-Daines <dhd@linuxcare.com>
7802 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7803 cache_data in case of only new cache format correctly.
7805 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7808 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7809 struct cache_file_new.
7811 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7814 * elf/cache.c (save_cache): Align struct new_file_cache.
7815 (print_cache): Likewise.
7817 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7819 * elf/soinit.c (__libc_global_ctors): Move
7820 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7821 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7822 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7823 variable, don't define it to __res_state call.
7825 2000-05-13 Andreas Jaeger <aj@suse.de>
7827 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7829 (AF_PPPOX): Likewise.
7830 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7831 (AF_PPPOX): Likewise.
7833 2000-05-12 Andreas Jaeger <aj@suse.de>
7835 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7836 Reported by tmoestl@gmx.net, closes PR libc/1732.
7838 2000-05-11 Jan Hubicka <jh@suse.cz>
7840 * misc/sys/cdefs.h: Add support for pure attribute.
7842 * include/string.h: Add __attribute_pure__ to various functions.
7843 * string/string.h: Likewise.
7845 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7847 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7849 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7851 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7853 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7855 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7856 at proper place. Compute the high nibble correctly.
7858 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7860 * elf/ldconfig.c: Include elf.h.
7862 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7863 (_dl_vsym): Likewise.
7864 Reported by Owen Taylor <otaylor@redhat.com>.
7866 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7869 2000-05-08 Andreas Jaeger <aj@suse.de>
7871 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7873 * intl/bindtextdom.c (set_binding_values): Add prototype.
7875 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7877 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7878 call to elf_machine_fixup_plt.
7879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7882 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7884 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7885 they are not dlclose'd from underneath us.
7887 2000-05-08 Andreas Schwab <schwab@suse.de>
7889 * posix/execle.c: Fix size parameter of memcpy.
7891 2000-05-08 Andreas Schwab <schwab@suse.de>
7893 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7894 getpagesize syscall if available.
7896 2000-05-08 Andreas Jaeger <aj@suse.de>
7898 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7901 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7903 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7904 sizeof(struct link_map *) chunks, not in bytes.
7906 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7908 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7909 only needed for locale.
7910 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7911 It's only needed for catgets.
7912 Patches by Greg McGary <gkm@eng.ascend.com>.
7914 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7916 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7917 Remove duplicate <errno.h> include. Remove inclusion of
7918 <libintl.h> and "nsswitch.h".
7919 (set_cloexec_flag): New function, broken out of dbopen.
7920 (dbopen): Changed return type to `enum
7921 nss_status'. Mostly rewritten to make sure that we do not report
7922 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7923 (internal_setent): Change return type to nss_status.
7924 Document, and make sure that the function
7925 behaves accordingly. Make dynamically loading the database
7926 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7928 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7930 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7932 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7933 c_get function member.
7934 * nss/nss_db/nss_db.h: Add and tweak some comments.
7935 (DBT): Move typedef before NSS_DBC typedef.
7936 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7938 2000-05-07 H.J. Lu <hjl@gnu.org>
7940 * csu/initfini.c: Moved to ....
7941 * sysdeps/generic/initfini.c: ...here.
7943 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7945 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7947 * manual/resource.texi: Document POSIX scheduling functions.
7948 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7950 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7951 reading anything. Reported by Andries.Brouwer@cwi.nl.
7953 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7954 for x since promotion in comparison might leads to unexpected
7955 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7957 * iconv/Makefile (tests): Add tst-iconv1.
7958 * iconv/tst-iconv1.c: New file.
7959 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7960 empty input buffer over full output buffer.
7961 (ucs4_internal_loop): Likewise.
7962 (ucs4_internal_loop_unaligned): Likewise.
7963 (internal_ucs4le_loop): Likewise.
7964 (internal_ucs4le_loop_unaligned): Likewise.
7965 (ucs4le_internal_loop): Likewise.
7966 (ucs4le_internal_loop_unaligned): Likewise.
7967 Reported by yaoz@nih.gov.
7969 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7971 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7972 returned != __GCONV_OK, there is nothing to clean up.
7974 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7976 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7977 OUTPUT_CHARSET environment variables.
7979 2000-05-06 Andreas Jaeger <aj@suse.de>
7981 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7982 (struct cache_file_new): New.
7983 (struct file_entry): New (moved from cache.c).
7984 (struct cache_file): New (moved from cache.c).
7986 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7987 from _dl_load_cache_lookup.
7988 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7989 the different cache formats.
7990 New variable cache_new for new format.
7992 * elf/ldconfig.h: Change according to changes in cache.c and
7993 ldconfig.c; remove cache_libcmp; add opt_format.
7995 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7996 stuff that's defined in those headers.
7997 Add hwcap to struct lib_entry.
7998 (opt_format): New variable to select cache format.
7999 (options): Add format parameter.
8000 (is_hwcap): New function.
8001 (path_hwcap): New function.
8002 (parse_opt): Handle new format parameter.
8003 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8005 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8006 ldconfig is part of glibc.
8007 Include dl-cache.h and remove stuff that's defined there.
8008 (struct cache_entry): Add new member hwcap.
8009 (print_entry): Print hwcap, cleanup a bit.
8010 (print_cache): Print new and old formats.
8011 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8012 (save_cache): Save new and old formats.
8013 (add_to_cache): Handle hwcap.
8015 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8016 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8017 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8018 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8019 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8020 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8022 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8024 * intl/dcigettext.c (alignof): New macro.
8025 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8026 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8029 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8031 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8034 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8036 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8037 (mempcpy): Correct typo is parameter list.
8039 2000-05-06 Andreas Jaeger <aj@suse.de>
8041 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8042 functions unless -ffast-math is given to gcc.
8044 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8046 * po/ko.po: Update from translation team.
8048 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8050 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8051 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8052 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8053 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8054 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8055 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8057 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8058 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8059 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8061 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8062 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8063 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8064 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8066 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8067 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8069 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8071 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8072 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8074 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8075 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8077 * sysdeps/ia64/Implies: New file.
8078 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8079 * sysdeps/ia64/Makefile: New file.
8080 * sysdeps/ia64/gmp-mparam.h: New file,
8082 * sysdeps/ia64/elf/start.S: New file.
8084 * sysdeps/ia64/bits/fenv.h: New file.
8086 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8088 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8090 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8092 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8093 ia64 has 64 bit .hash entries just as the Alpha.
8095 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8097 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8099 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8101 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8102 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8103 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8104 * sysdeps/ia64/fpu/fegetenv.c: New file.
8105 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8106 * sysdeps/ia64/fpu/fegetround.c: New file.
8107 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8108 * sysdeps/ia64/fpu/fesetenv.c: New file.
8109 * sysdeps/ia64/fpu/fesetround.c: New file.
8110 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8111 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8112 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8113 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8114 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8116 2000-05-05 Andreas Jaeger <aj@suse.de>
8118 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8120 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8121 (_dl_string_hwcap): New, does nothing.
8123 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8124 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8125 (_dl_string_hwcap): New function, converts from string to hwcap
8127 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8128 (_DL_HWCAP_COUNT): New.
8129 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8130 (_dl_string_hwcap): New function, converts from string to hwcap
8132 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8133 (_DL_HWCAP_COUNT): New.
8134 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8135 (_dl_string_hwcap): New function, converts from string to hwcap
8138 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8140 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8141 * sysdeps/ia64/Dist: New file.
8143 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8144 parameter to mprotect and for variable assignments.
8146 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8148 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8149 validity of map before dereferencing it.
8151 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8153 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8155 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8156 lookup to the arguments to elf_machine_fixup_plt().
8158 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8159 of the symbol being resolved to input argument list and make the
8160 function return the pointer to the reloc.
8162 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8163 return valuie to lookup_t and return the value.
8164 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8165 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8166 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8167 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8168 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8171 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8172 Make it an inline function returning value after calling
8173 __elf_machine_fixup_plt().
8175 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8178 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8179 obtain the symbol address.
8181 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8182 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8184 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8185 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8188 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8190 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8191 symbol address of an object.
8193 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8194 the symbol address of an object.
8196 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8197 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8198 (_dl_lookup_symbol_skip): Likewise.
8199 (_dl_lookup_versioned_symbol): Likewise.
8200 (_dl_lookup_versioned_symbol_skip): Likewise.
8202 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8204 * elf/rtld.c (_dl_start): Get the function pointer return address
8205 via _dl_start_address for architectures that need a function
8206 pointer descriptor rather than just a pointer (ia64).
8208 * sysdeps/generic/dl-lookupcfg.h: New file.
8209 * sysdeps/ia64/dl-lookupcfg.h: New file.
8210 * sysdeps/ia64/dl-machine.h: New file.
8211 * sysdeps/ia64/dl-symaddr.c: New file.
8212 * sysdeps/ia64/dl-fptr.c: New file.
8214 * elf/elf.h: Add IA-64 specific definitions.
8216 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8218 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8221 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8223 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8226 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8228 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8229 symbol. Call _dl_init rather than the old way.
8231 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8233 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8234 test for pointer in range of DSO address space.
8236 2000-05-04 Andreas Jaeger <aj@suse.de>
8238 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8240 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8242 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8243 calls of _nl_make_l10nflist.
8245 * libio/stdio.h: Make fseeko and ftello prototypes available is
8246 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8248 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8249 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8251 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8253 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8254 before calling tfind.
8256 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8258 * resolv/resolv.h (res_querydomain): Remove redefinition to
8259 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8261 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8263 * po/gl.po: Update from translation team.
8265 * manual/intro.texi (Program Basics): Change section title.
8266 * manual/process.texi: Fix reference.
8267 (Executing a File): Add reference exec in other section.
8268 * manual/signal.texi: Fix reference.
8269 * manual/startup.texi: Document syscall function.
8270 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8272 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8274 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8275 * intl/bindtextdom.c (set_binding_values): New function.
8276 (bindtextdomain): Call it.
8277 (bind_textdomain_codeset): New function.
8278 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8279 (free_mem): Free each binding's codeset.
8280 * intl/gettextP.h (struct binding): Add codeset field.
8281 (_nl_find_domain): Add domainbinding argument.
8282 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8283 Pass it to _nl_make_l10nflist.
8284 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8285 (_nl_make_l10nflist): Add domainbinding argument.
8286 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8287 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8288 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8290 * manual/message.texi: New node "Charset conversion in gettext".
8292 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8294 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8295 appropriate. Handle possible __read error.
8297 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8299 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8301 * intl/loadinfo.h (__builtin_expect): Likewise.
8302 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8303 __builtin_expect where appropriate.
8304 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8305 * intl/localealias.c (extend_alias_table): Return an error indicator.
8306 (read_alias_file): Bail out if extend_alias_table fails.
8308 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8310 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8311 * intl/localealias.c: Likewise.
8313 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8315 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8316 Initialize domain->plural and domain->nplurals even if there is no
8319 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8321 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8322 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8323 In case of failure, goto converted.
8325 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8327 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8328 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8329 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8332 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8334 * intl/dcigettext.c (transcmp): Compare the domains as well.
8335 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8337 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8340 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8342 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8343 Reported by Bruno Haible.
8345 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8347 * manual/arith.texi: Remove @w from @itemize.
8349 2000-05-02 Andreas Jaeger <aj@suse.de>
8351 * conform/data/tar.h-data: Add some checks for specific values.
8353 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8356 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8359 * conform/data/netinet/in.h-data: Add exact checks for the values
8360 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8362 * conform/data/float.h-data: Add some minimal values.
8364 * conform/conformtest.pl: Test for macros with string constants,
8365 check for minimum and maximum values.
8366 Add limits.h to headers.
8368 * conform/data/cpio.h-data: Test for value of MAGIC.
8370 * conform/data/limits.h-data: New file.
8372 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8374 * math/Makefile (headers): Add bits/fenvinline.h.
8376 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8378 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8379 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8381 * posix/Versions: Change posix_spawnattr_getdefault and
8382 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8383 and posix_spawnattr_setsigdefault respectively.
8384 * posix/spawn.h: Likewise.
8385 * posix/spawnattr_getdefault.h: Likewise.
8386 * posix/spawnattr_setdefault.h: Likewise.
8387 * conform/data/spawn.h-data: Likewise.
8389 2000-05-01 Andreas Jaeger <aj@suse.de>
8391 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8393 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8395 * manual/sysinfo.texi: Document getdomainname, setdomainname
8397 * manual/string.texi: Fix typo.
8398 * manual/terminal.texi: Document gtty and stty.
8399 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8401 2000-04-30 Andreas Jaeger <aj@suse.de>
8403 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8404 accordance with Austin Draft.
8406 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8408 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8409 to recognize second character in comment line.
8411 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8412 ENOBUFS if we are out of memory.
8414 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8415 available if __USE_XOPEN2K.
8416 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8417 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8418 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8420 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8422 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8423 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8425 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8427 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8428 Recognize option -s, -c, and -l.
8430 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8432 * nscd/nscd.c: Start new session for nscd, drop privilegs
8433 to configured user if requested and no -S parameter are used.
8434 * nscd/nscd.conf: Add new option "server-user".
8435 * nscd/nscd_conf.c: Add support for new "server-user" option.
8436 * nscd/nscd.h: Add declaration for server_user variable.
8437 Based on patch by Chris Wing <wingc@engin.umich.edu>
8439 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8441 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8442 that changing the __restore and __restore_rt signal return code
8445 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8447 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8450 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8452 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8454 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8456 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8457 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8459 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8460 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8461 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8462 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8463 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8464 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8465 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8466 posix_fallocate, and posix_madvise.
8467 * conform/data/netdb.h-data: New file.
8468 * conform/data/pthread.h-data: Add pthread_barrier_t,
8469 pthread_barrierattr_t, pthread_barrier_destroy,
8470 pthread_barrier_init, pthread_barrier_wait,
8471 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8472 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8473 pthread_condattr_getclock, pthread_condattr_setclock,
8474 pthread_getcpuclockid, pthread_mutex_timedlock,
8475 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8476 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8477 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8478 * conform/data/sched.h-data: Add sched_ss_low_priority,
8479 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8481 * conform/data/semaphore.h-data: Add sem_timedwait.
8482 * conform/data/signal.h-data: Add SIGIO.
8483 * conform/data/spawn.h-data: New file.
8484 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8485 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8486 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8487 Fix typo in gmtime_r definition.
8488 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8489 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8490 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8491 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8492 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8493 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8494 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8495 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8496 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8497 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8498 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8499 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8500 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8501 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8502 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8503 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8504 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8505 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8506 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8507 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8508 typo in off_t definition.
8509 * conform/data/net/if.h-data: New file.
8510 * conform/data/netinet/in.h-data: New file.
8511 * conform/data/netinet/tcp.h-data: New file.
8512 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8513 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8514 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8515 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8516 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8517 and posix_typed_mem_open.
8518 * conform/data/sys/socket.h-data: New file.
8519 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8520 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8521 pthread_barrierattr_t, and pthread_spinlock_t.
8522 * conform/data/sys/un.h-data: New file.
8523 * conform/data/sys/utsname.h-data: New file.
8525 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8527 * inet/gethstbyad.c (gethostbyname): Likewise.
8528 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8529 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8530 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8531 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8533 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8534 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8535 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8536 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8537 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8538 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8539 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8540 and second parameter.
8542 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8545 2000-04-29 Andreas Jaeger <aj@suse.de>
8547 * conform/data/arpa/inet.h-data: New file.
8549 2000-04-28 Geoff Clare <gwc@unisoft.com>
8551 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8552 path passed to ftw() or nftw() is an empty string.
8553 Closes PR libc/1710.
8555 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8557 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8558 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8559 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8560 * localedata/tst-mbswcs4.c: New file.
8561 * localedata/tst-mbswcs5.c: New file.
8563 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8564 == NULL. Little optimization.
8566 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8567 DT_PREINIT_ARRAYSZ).
8568 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8570 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8571 overflows in conversion from ASCII.
8573 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8575 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8576 * Makerules (full_config_sysdirs): Likewise.
8577 * MakeTAGS (full_config_sysdirs): Likewise.
8579 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8581 * .cvsignore: Remove linuxthreads.
8582 * po/.cvsignore: Remove *.pot.
8583 * posix/glob/.cvsignore: Removed.
8584 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8586 2000-04-25 Andreas Jaeger <aj@suse.de>
8588 * conform/Makefile (distribute): Also distribute contents of
8591 * Makerules (no_deps): Remove abi-versions.h.
8593 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8595 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8597 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8598 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8599 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8600 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8601 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8602 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8605 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8607 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8609 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8611 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8612 * intl/l10nflist.c: Likewise.
8614 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8616 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8617 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8618 * intl/textdomain.c [!_LIBC]: Likewise.
8619 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8620 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8621 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8624 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8626 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8627 character set conversion also in the case the translation was found
8628 after a hash collision or through binary search. Store the maximum
8629 index together with the converted message. Use iconv() when available.
8630 In case of out of memory during conversion, return the unconverted
8631 translated string, not NULL.
8633 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8635 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8636 to avoid name clashes with the ia32 linker.
8638 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8640 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8643 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8645 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8646 strtoumax, strfry, and memfrob.
8647 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8648 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8650 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8651 if this function is available.
8653 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8656 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8658 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8660 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8662 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8663 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8664 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8665 * localedata/tst-mbswcs3.c: New file.
8667 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8669 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8670 characters. Don't handle incomplete characters as errors.
8671 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8672 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8673 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8674 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8675 * localedata/tst-mbswcs2.c: New file.
8677 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8678 stored character in state in UNPACK_BYTES macro.
8679 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8680 test for available characters, handle result of BODY code correctly.
8681 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8682 (distribute): Add tst-mbswcs.sh.
8683 Add rule to run tst-mbswcs.sh.
8684 * localedata/tst-mbswcs.sh: New file.
8685 * localedata/tst-mbswcs1.c: New file.
8687 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8689 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8690 allocation fixups centrally, fix __builtin_expect call, return NULL
8691 on failure, not NIS_NOMEMORY.
8693 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8695 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8697 * intl/loadinfo.h (internal_function): Define if not already defined.
8699 2000-04-27 Andreas Jaeger <aj@suse.de>
8701 * intl/libintl.h: Fix typo, reported by Bruno Haible
8702 <haible@clisp.cons.org>.
8704 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8706 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8707 setting the state to GMON_PROF_BUSY.
8709 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8711 * elf/dl-profile.c (_dl_start_profile): define all variables which
8712 do not have to be global as local variables.
8714 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8715 patch. Keep needed tests for failed memory allocation.
8717 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8718 __builtin_expect saying that we don't normally expect to profile.
8720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8721 __builtin_expect where desirable.
8723 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8725 * manual/Makefile (chapters): Add syslog.
8726 * manual/syslog.texi: New file.
8727 * manual/math.texi: Fix references.
8728 * manual/terminal.texi: Likewise.
8729 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8731 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8733 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8734 stdlib.h was not included or __USE_XOPEN not defined.
8736 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8738 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8739 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8741 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8743 * manual/examples/subopt.c (mount_opts): Add missing terminating
8745 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8747 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8748 * libio/ftello.c: Likewise.
8749 * libio/ftello64.c: Likewise.
8750 * libio/ioftell.c: Likewise.
8751 * sysdeps/generic/memrchr.c: Likewise.
8752 * sysdeps/posix/libc_fatal.c: Likewise.
8753 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8754 * misc/fstab.c: Include <string.h> for strcmp prototype.
8755 * sysdeps/generic/ldsodefs.h: Likewise.
8756 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8757 Patch by Kurt Roeckx <Q@ping.be>.
8759 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8760 Remove db-open. Change all uses.
8761 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8763 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8765 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8766 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8767 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8768 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8769 with .set noat/at to shut up warnings.
8770 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8771 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8772 compilation if __NR_pciconfig_iobase is not defined.
8773 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8776 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8778 * manual/sysinfo.texi: Fix typo.
8779 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8780 Replace "high precision time" with "high accuracy clock".
8782 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8784 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8785 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8787 * nis/nis_subr.c: Use __builtin_expect.
8788 * nis/ypclnt.c: Likewise.
8789 * nis/nis_getservlist.c: Likewise.
8790 * nis/nis_creategroup.c: Likewise.
8792 * nis/nis_callback.c (__nis_create_callback): Check result of
8793 memory allocation. Fix memory leaks. Use __builtin_expect.
8794 (__nis_destroy_callback): Fix memory leaks.
8796 2000-04-21 Andreas Jaeger <aj@suse.de>
8798 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8799 * sysdeps/mips/mips64/add_n.S: Likewise.
8800 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8801 * sysdeps/mips/mips64/lshift.S: Likewise.
8802 * sysdeps/mips/mips64/mul_1.S: Likewise.
8803 * sysdeps/mips/mips64/rshift.S: Likewise.
8804 * sysdeps/mips/mips64/setjmp.S: Likewise.
8805 * sysdeps/mips/mips64/sub_n.S: Likewise.
8806 * sysdeps/mips/mips64/submul_1.S: Likewise
8807 * sysdeps/unix/mips/sysdep.S: Likewise.
8809 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8810 and update comment. The strtab from _dl_relocate_object can be
8813 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8815 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8816 * iconv/iconv_close.c (iconv_close): Likewise.
8817 * iconv/iconv_open.c (iconv_open): Likewise.
8819 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8820 __builtin_expect where useful.
8822 * grp/initgroups.c (initgroups): Test for result of memory
8823 allocation and punt if it fails.
8825 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8826 * grp/fgetgrent.c (fgetfrent): Likewise.
8827 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8829 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8831 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8833 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8835 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8836 don't search for NUL byte to decrement counter.
8837 Reported by Ulrich.Brink@sap.com.
8839 * iconv/gconv_simple.c: Define separate functions to convert from
8840 UCS4/UCS4-LE to the internal encoding.
8841 * iconv/gconv_builtin.h: Use separate functions to convert from
8842 UCS4/UCS4-LE to the internal encoding.
8843 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8844 __gconv_transform_ucs4le_internal.
8846 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8847 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8849 * iconv/skeleton.c: Add some more __builtin_expect.
8850 * iconv/loop.c: Likewise.
8852 2000-03-08 H.J. Lu <hjl@gnu.org>
8854 * posix/regex.c (regex_compile): Correctly handle "\{" when
8855 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8857 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8859 * manual/stdio.texi: Give advise about handling error when using
8861 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8863 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8865 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8866 field to nelems * sizeof (uint32_t).
8867 * locale/programs/ld-address.c (address_output): Align word fields
8869 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8870 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8872 Avoid giving arbitrary garbage in the crncystr field.
8873 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8874 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8876 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8877 Don't restart idx pointers to idx end at the decimal_point_wc field.
8878 * locale/programs/ld-time.c (time_output): week_1stday should be
8879 word, not byte. Align it properly.
8881 2000-04-19 H.J. Lu <hjl@gnu.org>
8883 * csu/gmon-start.c (_start): Declared as "extern void".
8886 2000-04-18 Andreas Jaeger <aj@suse.de>
8888 * manual/install.texi (Running make install): Don't mention utmpd
8891 2000-04-18 Andreas Jaeger <aj@suse.de>
8893 * linuxthreads/Versions: Use ld instead of ld.so.
8895 * elf/Makefile (ld-map): Use ld.map.
8897 * Versions.def: Use ld instead of ld.so.
8898 * elf/Versions: Likewise.
8899 * sysdeps/mach/hurd/Versions: Likewise.
8901 2000-04-20 Andreas Jaeger <aj@suse.de>
8903 * elf/rtld.c (print_statistics): Move ifndef further up.
8904 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8905 (dl_main): Likewise.
8907 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8909 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8910 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8912 * po/cs.po: Update from translation team.
8914 * sysdeps/generic/updwtmp.c: Remove daemon support.
8916 * login/Makefile (routines): Remove utmp_daemon.
8918 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8919 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8920 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8921 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8923 * elf/rtld.c: Display statitics option also if hp timing is not
8926 * login/programs/connection.c: Removed.
8927 * login/programs/database.c Removed.
8928 * login/programs/error.c: Removed.
8929 * login/programs/request.c: Removed.
8930 * login/programs/xtmp.c: Removed.
8931 * login/programs/xtmp.h: Removed.
8932 * login/Makefile: Remove rules for utmpd.
8933 * login/README.utmpd: Removed.
8934 * login/utmp_daemon.c: Removed.
8935 * login/getutent_r.c: Remove references to daemon functions.
8936 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8939 2000-04-18 Andreas Jaeger <aj@suse.de>
8941 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8942 2.2 for libnsl, libresolv, librt, libnss_*.
8944 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8946 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8948 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8950 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8951 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8952 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8953 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8954 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8955 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8956 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8957 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8958 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8959 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8960 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8961 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8962 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8964 * sysdeps/unix/sysv/aix/msync.c: New file.
8965 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8966 * sysdeps/unix/sysv/aix/net/if.h: New file.
8967 * sysdeps/unix/sysv/aix/pipe.c: New file.
8968 * sysdeps/unix/sysv/aix/poll.c: New file.
8969 * sysdeps/unix/sysv/aix/rename.c: New file.
8970 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8971 * sysdeps/unix/sysv/aix/select.c: New file.
8972 * sysdeps/unix/sysv/aix/semctl.c: New file.
8973 * sysdeps/unix/sysv/aix/semget.c: New file.
8974 * sysdeps/unix/sysv/aix/semop.c: New file.
8975 * sysdeps/unix/sysv/aix/sendto.c: New file.
8976 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8977 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8978 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8979 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8980 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8981 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8982 * sysdeps/unix/sysv/aix/setsid.c: New file.
8983 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8984 * sysdeps/unix/sysv/aix/shmat.c: New file.
8985 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8986 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8987 * sysdeps/unix/sysv/aix/shmget.c: New file.
8988 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8989 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8990 * sysdeps/unix/sysv/aix/socket.c: New file.
8991 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8992 * sysdeps/unix/sysv/aix/speed.c: New file.
8993 * sysdeps/unix/sysv/aix/symlink.c: New file.
8994 * sysdeps/unix/sysv/aix/sync.c: New file.
8995 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8996 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8997 * sysdeps/unix/sysv/aix/times.c: New file.
8998 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8999 * sysdeps/unix/sysv/aix/umask.c: New file.
9000 * sysdeps/unix/sysv/aix/unlink.c: New file.
9001 * sysdeps/unix/sysv/aix/ustat.c: New file.
9002 * sysdeps/unix/sysv/aix/utimes.c: New file.
9004 2000-04-18 Andreas Jaeger <aj@suse.de>
9006 * manual/startup.texi (Environment Access): Fix putenv prototype
9007 according to recent changes.
9008 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9011 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9014 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9016 * posix/Makefile (tests): Add tst-getaddrinfo.
9017 * posix/tst-getaddrinfo.c: New file.
9019 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9021 * manual/sysinfo.texi: Document that umount2 is not widely available.
9023 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9024 signal timing is not really implemented.
9026 2000-04-17 Andreas Jaeger <aj@suse.de>
9028 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9030 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9032 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9035 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9037 * manual/intro.texi: Change reference from System Information to
9039 * manual/users.texi: Likewise.
9040 * manual/conf.texi: Likewise.
9041 * manual/sysinfo.texi: Document mount, umount, and umount2.
9042 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9044 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9046 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9047 Create wnumstr as well as numstr to support wide character output
9050 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9052 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9053 modification and move it...
9054 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9055 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9056 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9057 switch to $(LD) on sparc-linux.
9059 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9061 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9062 and setresuid from sysdep_routines.
9064 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9066 * manual/Makefile (chapters): Add resource.
9068 * manual/time.texi: Move section on resources to...
9069 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9071 * manual/setjmp.texi: Adjust back reference.
9072 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9074 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9076 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9077 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9078 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9079 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9080 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9081 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9082 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9083 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9084 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9085 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9086 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9087 * sysdeps/unix/sysv/aix/Implies: New file.
9088 * sysdeps/unix/sysv/aix/Versions: New file.
9089 * sysdeps/unix/sysv/aix/bind.c: New file.
9090 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9091 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9092 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9093 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9094 * sysdeps/unix/sysv/aix/chdir.c: New file.
9095 * sysdeps/unix/sysv/aix/chmod.c: New file.
9096 * sysdeps/unix/sysv/aix/chroot.c: New file.
9097 * sysdeps/unix/sysv/aix/creat.c: New file.
9098 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9099 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9100 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9101 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9102 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9103 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9104 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9105 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9106 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9107 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9108 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9109 * sysdeps/unix/sysv/aix/link.c: New file.
9110 * sysdeps/unix/sysv/aix/madvise.c: New file.
9111 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9112 * sysdeps/unix/sysv/aix/mknod.c: New file.
9113 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9114 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9115 * sysdeps/unix/sysv/aix/msgget.c: New file.
9116 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9118 2000-04-17 Andreas Jaeger <aj@suse.de>
9120 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9121 as suggested by Ulrich Drepper.
9122 (__dl_runtime_resolve): Remove unused variable, initialize sym
9124 (RTLD_START): Document OFFSET_GP_GOT.
9125 (OFFSET_GP_GOT): New magic value.
9126 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9127 (elf_machine_got_rel): Only declare strtab if needed.
9128 (elf_machine_relplt): Removed, it's not needed.
9129 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9131 * sysdeps/mips/add_n.S: Add newline at EOF.
9132 * sysdeps/mips/rshift.S: Likewise.
9133 * sysdeps/mips/mul_1.S: Likewise.
9134 * sysdeps/mips/lshift.S: Likewise.
9135 * sysdeps/mips/addmul_1.S: Likewise.
9137 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9139 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9141 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9142 * elf/dl-lookup.c: Likewise.
9143 * elf/dl-init.c (_dl_init): Likewise.
9144 * elf/dl-fini.c (_dl_fini): Likewise.
9145 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9146 * elf/dl-close.c (_dl_close): Likewise.
9147 * elf/rtld.c (_dl_start_final): Likewise.
9149 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9151 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9153 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9154 only fall back on using Linux.
9156 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9157 Before testing versions check that we actually loaded the object
9158 and whether we are in trace mode. If not loaded during tracing don't
9159 test versions in this object.
9160 (_dl_check_all_versions): Take new parameter and pass to
9161 _dl_check_map_versions.
9162 * sysdeps/generic/ldsodefs.h: Update prototypes for
9163 _dl_check_all_versions and _dl_check_map_versions.
9164 * elf/rtld.c (struct version_check_args): Add dotrace.
9165 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9166 (dl_main): Pass info about trace mode to version_check_doit.
9167 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9168 _dl_check_all_versions.
9170 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9172 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9174 * manual/argp.texi: Document index parameter of argp_parse.
9176 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9178 2000-04-14 Andreas Jaeger <aj@suse.de>
9180 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9181 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9183 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9185 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9187 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9188 compat_symbol call for old adjtime.
9190 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9191 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9193 * posix/Makefile (headers): Add spawn.h.
9194 (distribute): Add spawn_int.h.
9195 (routines): Add spawn_faction_init, spawn_faction_destroy,
9196 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9197 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9198 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9199 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9200 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9201 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9202 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9203 posix_spawnattr_init, posix_spawnattr_destroy,
9204 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9205 posix_spawnattr_getflags, posix_spawnattr_setflags,
9206 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9208 * posix/spawn.c: New file.
9209 * posix/spawn.h: New file.
9210 * posix/spawn_faction_addclose.c: New file.
9211 * posix/spawn_faction_adddup2.c: New file.
9212 * posix/spawn_faction_addopen.c: New file.
9213 * posix/spawn_faction_destroy.c: New file.
9214 * posix/spawn_faction_init.c: New file.
9215 * posix/spawn_int.h: New file.
9216 * posix/spawnattr_destroy.c: New file.
9217 * posix/spawnattr_getdefault.c: New file.
9218 * posix/spawnattr_getflags.c: New file.
9219 * posix/spawnattr_getpgroup.c: New file.
9220 * posix/spawnattr_getschedparam.c: New file.
9221 * posix/spawnattr_getschedpolicy.c: New file.
9222 * posix/spawnattr_getsigmask.c: New file.
9223 * posix/spawnattr_init.c: New file.
9224 * posix/spawnattr_setdefault.c: New file.
9225 * posix/spawnattr_setflags.c: New file.
9226 * posix/spawnattr_setpgroup.c: New file.
9227 * posix/spawnattr_setschedparam.c: New file.
9228 * posix/spawnattr_setschedpolicy.c: New file.
9229 * posix/spawnattr_setsigmask.c: New file.
9230 * posix/spawni.c: New file.
9231 * posix/spawnp.c: New file.
9233 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9234 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9236 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9238 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9239 * malloc/malloc.c: Implement posix_memalign for glibc.
9240 * include/stdlib.h: Add prototype for __posix_memalign.
9241 * stdlib/stdlib.h: Add prototype for posix_memalign.
9243 2000-04-14 Andreas Jaeger <aj@suse.de>
9245 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9247 (elf_machine_got_rel): Cast sym correctly.
9249 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9250 * sysdeps/mips/addmul_1.S: Likewise.
9251 * sysdeps/mips/lshift.S: Likewise.
9252 * sysdeps/mips/mul_1.S: Likewise.
9253 * sysdeps/mips/rshift.S: Likewise.
9254 * sysdeps/mips/sub_n.S: Likewise.
9255 * sysdeps/mips/submul_1.S: Likewise.
9257 * stdlib/stdlib.h: Fix typo in comment.
9259 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9260 2.2 for libdl, ld and libm.
9262 * sysdeps/generic/madvise.c: Fix typos.
9264 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9266 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9268 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9271 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9273 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9274 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9275 Make old name weak alias.
9276 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9277 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9278 Make old name weak alias.
9279 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9281 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9282 posix_fallocate, and posix_fallocate64.
9283 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9284 posix_fallocate, and posix_fallocate64.
9285 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9286 posix_fallocate, and posix_fallocate64.
9287 * sysdeps/generic/fadvise.c: New file.
9288 * sysdeps/generic/fadvise64.c: New file.
9289 * sysdeps/generic/fallocate.c: New file.
9290 * sysdeps/generic/fallocate64.c: New file.
9291 * sysdeps/posix/fallocate.c: New file.
9292 * sysdeps/posix/fallocate64.c: New file.
9293 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9294 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9295 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9296 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9297 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9298 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9300 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9303 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9304 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9306 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9308 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9309 * misc/sys/mman.h (posix_madvise): Add prototype.
9310 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9311 old name and posix_madvise weak aliases.
9312 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9313 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9314 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9315 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9316 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9318 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9320 2000-04-13 Andreas Jaeger <aj@suse.de>
9322 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9324 (elf_machine_got_rel): Only add runtime display if needed.
9325 (elf_machine_got_rel): Handle symbol versioning.
9327 2000-04-13 Andreas Jaeger <aj@suse.de>
9329 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9331 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9334 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9335 with some applications.
9336 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9338 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9339 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9340 * sysdeps/mips/setjmp.S: Likewise.
9342 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9344 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9346 * posix/globtest.sh: Work around inconsistency with expanding ~/
9347 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9349 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9351 * posix/getconf.c: Add support for many more POSIX options.
9352 * sysdeps/posix/sysconf.c: Likewise.
9353 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9354 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9356 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9357 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9358 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9359 CLOCK_THREAD_CPUTIME_ID.
9360 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9361 CLOCK_PROCESS_CPUTIME_ID.
9362 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9363 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9364 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9365 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9367 * malloc/Makefile (tests): Add tst-calloc.
9368 * malloc/tst-calloc.c: New file.
9370 * sysdeps/arm/libm-test-ulps: New file.
9372 * malloc/malloc.c: Undo all of today's changes.
9374 * locale/programs/locale.c (show_info): Don't try to look into
9375 data for LC_ALL (there is none).
9377 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9378 avoid writing over boundary.
9379 Patch by Greg McGary <gkm@eng.ascend.com>.
9381 * sysdeps/arm/memprof.h: New file.
9383 2000-04-12 Andreas Jaeger <aj@suse.de>
9385 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9387 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9388 for memmem declaration.
9390 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9392 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9394 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9396 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9398 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9399 Patch by Bart Veer <bartv@redhat.com>.
9401 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9404 2000-04-11 Andreas Jaeger <aj@suse.de>
9406 * sysdeps/mips/dl-machine.h: Update some comments.
9407 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9409 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9411 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9412 _POSIX_SHARED_MEMORY_OBJECTS.
9414 * rt/Makefile (tests): Add tst-shm.
9415 Add rules to generate tst-shm.
9416 * rt/tst-shm.c: New file.
9418 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9421 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9422 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9423 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9424 * sysdeps/generic/shm_open.c: New file.
9425 * sysdeps/generic/shm_unlink.c: New file.
9426 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9427 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9428 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9429 __endmntent, __getmntent_r, __setmntent, and __statfs.
9431 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9432 fragmentation by allocating new memory at the end instead of
9435 * posix/globtest.sh: Fix last change.
9437 2000-04-10 Philip Blundell <philb@gnu.org>
9439 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9440 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9441 IPV6_DROP_MEMBERSHIP.
9442 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9445 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9447 * elf/readlib (process_file): Close streams in case of an error.
9449 2000-04-09 Andreas Jaeger <aj@suse.de>
9451 * elf/readlib.c (process_file): Check if file is big enough to
9452 contain aout and ELF headers.
9453 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9455 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9457 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9459 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9461 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9463 * rt/Makefile (tests): Add tst-clock.
9464 Add rules to build tst-clock.
9465 * rt/tst-clock.c: New file.
9466 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9467 about initialization of nsec.
9468 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9469 about initialization of freq. Set retval to zero if successful.
9470 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9472 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9474 * Versions.def (librt): Add GLIBC_2.2.
9475 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9476 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9477 timer_getoverr, timer_gettime, and timer_settime.
9478 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9479 clock_settime, timer_create, timer_delete, timer_getoverrun,
9480 timer_gettime, and timer_settime.
9481 * sysdeps/generic/clock_getcpuclockid.c: New file.
9482 * sysdeps/generic/get_clockfreq.c: New file.
9483 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9484 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9485 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9486 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9487 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9488 * sysdeps/unix/i386/i686/Implies: New file.
9489 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9490 * time/Makefile (routines): Move clock_getres, clock_gettime,
9491 clock_settime, timer_create, timer_delete, timer_getoverr,
9492 timer_gettime, and timer_settime to rt/Makefile.
9493 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9494 clock_settime, timer_create, timer_delete, timer_getoverrun,
9495 timer_gettime, and timer_settime.
9496 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9498 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9499 and not const as attribute name.
9501 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9503 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9505 2000-04-10 Andreas Schwab <schwab@suse.de>
9507 * posix/globtest.sh: Skip tests that depend on unreadable
9508 directories if run as root.
9510 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9512 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9513 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9515 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9517 * sysdeps/unix/clock_gettime.c: New file.
9518 * sysdeps/unix/clock_settime.c: New file.
9519 * sysdeps/posix/clock_getres.c: New file.
9521 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9523 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9524 lseek call be passing in a buffer which never allow a successful
9525 first getdents syscall if not at leas the initial entry can be
9526 stored in the user buffer.
9528 * localedata/Makefile: Add rules to clean up directories created by
9531 2000-04-09 Geoff Clare <gwc@unisoft.com>
9533 * localedata/tst-fmon.data: Added new tests for strfmon()
9534 using test locales with all combinations of cs_precedes,
9535 sign_posn and sep_by_space.
9536 * localedata/tst-fmon.sh: Updated to support the new tests.
9537 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9538 the localedef source for the new strfmon() test locale.
9539 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9540 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9541 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9542 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9543 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9544 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9545 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9546 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9547 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9548 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9549 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9550 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9551 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9552 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9554 * stdlib/strfmon.c: Correct problems with missing or extra
9555 spaces for unusual combinations of sign_posn and sep_by_space.
9556 Improved left-precision alignment code.
9558 2000-04-07 Andreas Jaeger <aj@suse.de>
9560 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9562 2000-04-10 Andreas Jaeger <aj@suse.de>
9564 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9566 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9568 Implement handling of restartable conversion functions according to
9570 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9571 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9572 * iconv/gconv.c: Pass additional parameter to conversion function.
9573 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9574 (internal_ucs4le_loop_single): New function.
9575 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9576 (__gconv_transform_internal_ascii): Likewise.
9577 (__gconv_transform_internal_utf8): Likewise.
9578 (__gconv_transform_utf8_internal): Likewise.
9579 (__gconv_transform_ucs2_internal): Likewise.
9580 (__gconv_transform_internal_ucs2): Likewise.
9581 (__gconv_transform_ucs2reverse_internal): Likewise.
9582 (__gconv_transform_internal_ucs2reverse): Likewise.
9583 (internal_ucs4le_loop_unaligned): Before return
9584 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9585 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9586 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9587 * iconv/loop.c: Fit in definition of function to convert one character
9588 for processing of left-over bytes from the state object.
9589 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9590 inend to match names in loop functions.
9591 (RESET_INPUT_BUFFER): Change apprpriately.
9592 (gconv): If needed, call function to process bytes from the state
9593 object. Similar at the end: store left over bytes if input is
9595 Take extra argument and add new argument to all calls of the
9596 conversion function.
9597 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9598 information in the state object to not conflict with length count.
9599 * iconvdata/iso-2022-jp.c: Likewise.
9600 * iconvdata/iso-2022-kr.c: Likewise.
9601 * iconvdata/unicode.c: Adjust for change change in parameters of
9603 * iconvdata/utf-16.c: Likewise.
9604 * libio/iofwide.c: Add new parameter to all calls of conversion
9606 * wcsmbs/btowc.c: Likewise.
9607 * wcsmbs/mbrtowc.c: Likewise.
9608 * wcsmbs/mbsnrtowcs.c: Likewise.
9609 * wcsmbs/mbsrtowcs.c: Likewise.
9610 * wcsmbs/wcrtomb.c: Likewise.
9611 * wcsmbs/wcsnrtombs.c: Likewise.
9612 * wcsmbs/wcsrtombs.c: Likewise.
9613 * wcsmbs/wctob.c: Likewise.
9615 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9618 2000-04-07 Andreas Jaeger <aj@suse.de>
9620 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9623 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9625 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9626 element a union to allow byte access.
9627 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9629 * iconvdata/iso-2022-jp.c: Likewise.
9630 * iconvdata/iso-2022-kr.c: Likewise.
9631 * wcsmbs/mbsinit.c: Likewise.
9632 * stdlib/mblen.c: Likewise.
9633 * stdio-common/printf-parse.h: Likewise.
9635 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9637 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9638 kernel does not allow relative seeks on descriptors associated
9639 with directories. Go back to get the position in the directory
9640 every time we enter the function. Return -1 and set errno if one
9641 entry could be read from the kernel but does not fit into the
9642 buffer passed in by the user.
9644 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9645 Support ..(2).. ellipsis.
9646 (parse_charmap): Recognize ..(2).. etc and pass step down.
9647 Correctly generate names for UCS4 characters.
9649 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9650 (ctype_finish): We know the wide character value for <SP>,
9652 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9653 (charclass_ucs4_ellipsis): Likewise.
9654 (read_translit_ignore_entry): Store ellipsis step.
9655 (ctype_read): Recognize ..(2).. etc and pass step down.
9657 * locale/programs/linereader.c (lr_token): When seeing comment
9658 character ignore only rest of line in sources but stop at escaped
9660 Recognize ..(2).. and ....(2).....
9662 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9663 and tok_ellipsis4_2.
9665 2000-04-06 Andreas Jaeger <aj@suse.de>
9667 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9668 removed, remove it here also.
9669 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9670 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9671 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9672 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9674 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9676 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9677 include bits/sigcontext.h.
9678 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9680 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9682 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9683 collation symbol definition. Value in quivalence definition must
9684 be defined, don't check that it is not.
9686 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9687 values as character names.
9689 * locale/programs/ld-ctype.c (get_character): Handle missing
9690 repertoire map correctly.
9692 2000-04-05 Cristian Gafton <gafton@redhat.com>
9694 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9695 because it is used in generic code.
9696 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9697 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9698 * intl/gettext.c: Include <locale.h>.
9699 * intl/ngettext.c: Likewise.
9701 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9703 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9704 socklen_t type for size.
9705 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9706 init function interface.
9707 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9708 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9710 (__jmp_buf): Declare the whole type structure here, don't use
9713 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9715 * iconv/skeleton.c (put16u): Fix typo.
9716 Reported by Bruno Haible <haible@ilog.fr>.
9718 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9719 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9720 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9721 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9722 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9723 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9725 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9726 * Makefile (distribute): Add abi-versions.awk and
9728 Patches by Torsten Duwe <duwe@caldera.de>.
9730 2000-04-05 Andreas Schwab <schwab@suse.de>
9732 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9734 2000-04-05 Andreas Schwab <schwab@suse.de>
9736 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9737 entry point, used on Hurd.
9739 2000-04-04 Andreas Jaeger <aj@suse.de>
9741 * intl/Makefile: Only run the gettext test with shared libraries.
9743 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9745 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9746 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9748 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9750 * Makeconfig: Undo last change.
9751 * configure.in: If --disable-shared was given, don't set VERSIONING,
9752 don't define DO_VERSIONING, and don't give scare warning for no
9754 * configure: Regenerated.
9756 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9758 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9760 2000-04-04 Andreas Jaeger <aj@suse.de>
9762 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9764 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9766 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9767 STV_HIDDEN and STV_INTERNAL during lookup.
9768 (profile_fixup): Likewise.
9769 * elf/dl-reloc.c (RESOLVE): Likewise.
9771 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9772 unaligned so that it compiles for system which need unaligned
9775 2000-04-04 Andreas Schwab <schwab@suse.de>
9777 * elf/cache.c (print_entry): Only look at the type field when
9780 2000-04-04 Andreas Schwab <schwab@suse.de>
9782 * iconvdata/big5.c (BODY): Fix typo.
9784 2000-04-04 Andreas Schwab <schwab@suse.de>
9786 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9787 function interface. Remove unused _dl_start_user entry point.
9789 2000-04-03 Andreas Jaeger <aj@suse.de>
9791 * include/arpa/inet.h (__inet_aton): Add protoype.
9793 2000-04-01 Andreas Jaeger <aj@suse.de>
9795 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9797 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9798 * sysdeps/mach/mips/thread_state.h: Likewise.
9800 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9801 * sysdeps/generic/fegetenv.c: Likewise.
9802 * sysdeps/generic/fesetenv.c: Likewise.
9803 * sysdeps/generic/feupdateenv.c: Likewise.
9804 * sysdeps/generic/fraiseexcpt.c: Likewise.
9805 * sysdeps/generic/fsetexcptflg.c: Likewise.
9806 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9807 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9808 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9809 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9811 2000-04-02 H.J. Lu <hjl@gnu.org>
9813 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9815 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9817 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9818 (add_name_to_object): Add cast in malloc call.
9819 (fillin_rpath): Optimize loop to initialize ->status a bit.
9821 * sysdeps/i386/dl-machine.h: Undo last change.
9822 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9823 Restore %edx register after call here.
9825 * sysdeps/arm/atomicity.h: New file.
9826 Contributed by Jesper Skov <jskov@redhat.com>.
9828 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9830 * Makeconfig (preprocess-versions): Undo last change.
9831 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9833 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9834 here, before we might move the stack.
9835 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9836 (init1): And not here.
9838 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9839 change, to restore argc value in call-clobbered register after
9840 RTLD_START_SPECIAL_INIT, which will contain a call.
9842 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9843 allocating and initializing L->l_initfini.
9845 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9847 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9849 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9850 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9851 (open_path): Change type of fourth parameter. Make pointer to array
9852 of pointers. Create variable dirs with original type.
9853 Track whether any directory for the object exists and if not,
9854 change *DIRSP to (void*) -1 to signal there is no such search path.
9855 (_dl_map_object): Change all calls of open_path.
9856 Rewrite decompose_rpath calls.
9858 2000-03-31 Andreas Schwab <schwab@suse.de>
9860 * string/strfry.c: Declare STATE as array of char instead of int
9861 and do not initialize it (done by initstate_r). Pass correct
9864 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9866 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9868 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9869 instruction out of the code.
9871 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9873 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9874 element at this position.
9876 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9877 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9879 * elf/dl-lookup.c (add_dependency): New function.
9880 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9881 dynamically loaded object.
9882 (_dl_lookup_symbol_skip): Likewise.
9883 (_dl_lookup_versioned_symbol): Likewise.
9884 (_dl_lookup_versioned_symbol_skip): Likewise.
9885 * elf/dl-open.c: Don't define _dl_load_lock here...
9886 * elf/rtld.c: ...but here...
9887 * elf/dl-support.c: ...and here.
9888 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9890 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9892 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9894 * dlfcn/glrefmain.c: Add one more debug message.
9896 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9898 * Makerules (sysd-versions): Use ( ) instead of { }.
9900 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9901 optimize for the non-debugging case.
9902 * elf/dl-lookup.c: Likewise.
9903 * sysdeps/generic/libc-start.c: Likewise.
9905 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9907 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9908 (init1): Don't initialize __environ here, since init already does it.
9909 (first_init): New function, broken out of _init.
9910 (_hurd_stack_setup): Use it.
9911 [SHARED] (_dl_init_first): New function, renamed from old _init.
9912 (init1) [SHARED]: Don't call posixland_init here.
9913 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9914 [SHARED] (_init): Define as alias for posixland_init.
9915 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9916 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9917 RTLD_START_SPECIAL_INIT before calling initializers.
9918 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9919 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9920 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9921 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9923 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9924 since we define the function with the name `tmpfile'.
9926 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9927 * hurd/Versions: Likewise.
9929 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9931 * elf/dl-runtime.c (fixup): Fix typo in comment.
9933 * resolv/netdb.h (getnameinfo): All length parameters are of type
9935 * inet/getnameinfo.c: Likewise.
9937 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9939 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9940 (gethostname): Change type of second parameter to socklen_t.
9941 * include/unistd.h (__gethostname): Change type of second
9942 parameter to socklen_t.
9943 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9944 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9945 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9946 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9948 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9949 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9950 Allow definition elsewhere.
9951 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9952 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9953 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9954 * sysdeps/generic/bits/types.h: Define __socklen_t.
9955 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9956 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9957 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9958 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9959 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9960 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9961 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9963 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9964 (inet_lnaof): Likewise.
9965 (inet_netof): Likewise.
9966 (inet_network): Likewise.
9967 (inet_aton): Likewise.
9968 (inet_makeaddr): Change parameter types to in_addr_t.
9969 (inet_neta): Likewise.
9970 (inet_ntop): Change type of last parameter to socklen_t.
9971 (inet_aton): Only make available if __USE_MISC.
9972 (inet_neta): Likewise.
9973 (inet_net_ntop): Likewise.
9974 (inet_net_pton): Likewise.
9975 (inet_nsap_ntoa): Likewise.
9977 * inet/in.h: Define in_port_t type.
9978 Define in_addr_t type.
9979 (struct in_addr): Use in_addr_t in definition.
9980 (IN_CLASSA): Use cast to in_addr_t.
9981 (IN_CLASSB): Likewise.
9982 (IN_CLASSC): Likewise.
9983 (IN_CLASSD): Likewise.
9984 (IN_EXPERIMENTAL): Likewise.
9985 (IN_BADCLASS): Likewise.
9986 (INADDR_ANY): Likewise.
9987 (INADDR_BROADCAST): Likewise.
9988 (INADDR_NONE): Likewise.
9989 (INADDR_LOOPBACK): Likewise.
9990 (INADDR_UNSPEC_GROUP): Likewise.
9991 (INADDR_ALLHOSTS_GROUP): Likewise.
9992 (INADDR_ALLRTRS_GROUP): Likewise.
9993 (INADDR_MAX_LOCAL_GROUP): Likewise.
9994 (struct sockaddr_in): Use in_port_t for sin_port element.
9995 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9996 Use uint8_t instead of u_int8_t.
9998 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9999 Call __inet_aton instead of inet_aton.
10000 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10002 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10003 (innetgr): Likewise.
10004 (struct addrinfo): Use socklen_t for ai_addrlen element.
10006 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10007 IPV6_RECVERR): New defines.
10009 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10010 * inet/getnetbyad.c: Likewise.
10011 * inet/getnetbyad_r.c: Likewise.
10012 * nis/nss_nis/nis-network.c: Likewise.
10013 * nis/nssplus_nis/nisplus-network.c: Likewise.
10014 * nss/nss_files/files-network.c: Likewise.
10015 * resolv/netdb.h: Define uint32_t if not already happened.
10016 Include bits/netdb.h. Remove definition of struct netent.
10017 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10018 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10019 * sysdeps/generic/bits/netdb.h: New file.
10020 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10022 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10023 (tests): Add glrefmain.
10024 Add rules to build modules and run tests. Ignore result of glrefmain
10025 for now since it fails.
10026 * dlfcn/glrefmain.c: New file.
10027 * dlfcn/glreflib1.c: New file.
10028 * dlfcn/glreflib2.c: New file.
10030 * test-skeleton.c: Include <string.h> for strsignal prototype.
10032 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10035 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10036 former init-first.h. Initialize __libc_multiple_libcs.
10038 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10040 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10041 #if expression for use of unaligned function to the one used in
10042 the definition of these functions.
10043 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10044 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10045 (internal_ucs4le_loop_unaligned): New function.
10047 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10048 (tests): Add order.
10049 (module-names): Add dep1, dep2, dep3, and dep4.
10050 Add dependencies for dep* modules and order.
10051 Define rule for order.out which checks the result.
10052 * elf/dep1.c: New file.
10053 * elf/dep2.c: New file.
10054 * elf/dep3.c: New file.
10055 * elf/dep4.c: New file.
10056 * elf/order.c: New file.
10058 * elf/dl-init.c: Fix typo in comment.
10060 2000-03-31 Andreas Jaeger <aj@suse.de>
10062 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10063 init function interface.
10064 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10066 2000-03-31 Andreas Jaeger <aj@suse.de>
10068 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10069 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10070 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10071 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10072 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10074 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10075 anymore, update comment.
10077 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10079 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10080 SHLIB_COMPAT - the struct is always needed.
10082 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10084 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10085 * elf/dl-support.c: Define _dl_starting_up.
10087 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10089 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10090 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10092 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10094 * elf/Makefile (dl-routines): Remove preinit.
10095 * elf/Versions: Remove _dl_preinit.
10096 * elf/dl-preinit.c: Removed. Move content into...
10097 * elf/dl-init.c: ...here.
10098 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10100 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10103 2000-03-29 Geoff Clare <gwc@unisoft.com>
10105 * stdlib/strfmon.c: Corrected problems with the code that
10106 sets default values for [np]_sep_by_space and
10107 [np]_sign_posn; also the new positive/negative alignment
10108 code from the previous patch was not quite right for
10109 [np]_sign_posn = 0.
10111 * localedata/tst-fmon.data: Changes corresponding to the
10112 two sets of fixes made to stdlib/strfmon.c.
10114 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10116 * malloc/malloc.c: Declare bit flags UL so that they will not
10117 default to int size when being inverted.
10119 2000-03-29 Andreas Jaeger <aj@suse.de>
10121 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10122 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10124 2000-03-29 Andreas Jaeger <aj@suse.de>,
10125 Ralf Baechle <ralf@uni-koblenz.de>
10127 * Makeconfig: Introduce new variable SHARED to mark code used in
10128 the shared library.
10129 * elf/dl-close.c: Use it instead of PIC.
10130 * elf/dl-load.c: Likewise.
10131 * elf/dl-open.c: Likewise.
10132 * hurd/geteuids.c: Likewise.
10133 * include/libc-symbols.h: Likewise.
10134 * include/shlib-compat.h: Likewise.
10135 * libio/freopen.c: Likewise.
10136 * linuxthreads/cancel.c: Likewise.
10137 * linuxthreads/pthread.c: Likewise.
10138 * linuxthreads/wrapsyscall.c: Likewise.
10139 * nss/nsswitch.c: Likewise.
10140 * stdio-common/vfprintf.c: Likewise.
10141 * sysdeps/arm/init-first.c: Likewise.
10142 * sysdeps/i386/init-first.c: Likewise
10143 * sysdeps/generic/init-first.c: Likewise.
10144 * sysdeps/generic/libc-start.c: Likewise.
10145 * sysdeps/mips/init-first.c: Likewise.
10146 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10147 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10148 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10149 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10150 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10152 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10154 2000-03-29 Andreas Jaeger <aj@suse.de>
10156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10157 Use D_PTR to access relocated entries in l_info.
10158 (elf_machine_rela): Likewise.
10160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10162 (elf_machine_rela): Likewise.
10164 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10166 (__elf_machine_fixup_plt): Likewise.
10167 (__process_machine_rela): Likewise.
10169 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10170 (elf_machine_rela): Likewise.
10172 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10173 (elf_machine_rel): Likewise.
10175 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10176 (elf_machine_fixup_plt): Likewise.
10177 (elf_machine_rela): Likewise.
10179 2000-03-29 Andreas Jaeger <aj@suse.de>
10181 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10182 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10183 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10184 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10185 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10186 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10187 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10188 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10189 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10190 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10191 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10192 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10193 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10194 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10195 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10197 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10198 macros, remove K&R prototypes.
10200 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10202 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10203 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10206 2000-03-30 Andreas Jaeger <aj@suse.de>
10208 * misc/sys/cdefs.h: Remove K&R support.
10210 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10212 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10214 * iconv/loop.c: Likewise.
10216 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10218 * iconv/loop.c (put16): Remove __const. Fix access index.
10219 (put32): Remove __const. Use uint32_t instead of uint16_t.
10220 * iconv/skeleton.c: Likewise.
10222 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10224 * mach/Versions (libc: GLIBC_2.0)
10225 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10226 __vm_allocate on this.
10227 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10228 mutex- and spinlock-related symbols on this.
10229 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10230 New version set. Lock-related symbols go here instead in this case.
10231 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10232 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10233 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10235 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10236 Put them here instead.
10237 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10238 New version set. Those cthreads symbols go here instead in this case.
10239 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10241 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10243 * elf/dl-init.c (_dl_init): We don't need to call constructors
10244 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10246 Implement dynamic determination of constructor/destructor order in
10247 the dynamic linker.
10248 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10249 (GLIBC_2.2): Add _dl_init.
10250 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10251 r_duplist is not anymore allocated separately. l_initfini is and
10252 therefore free it if necessary.
10253 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10254 malloc block. Otherwise allocate l_initfini list only.
10255 Put dependencies for the object in l_initfini list.
10256 Sort dependencies for the object to be loaded topologically.
10257 * elf/dl-fini.c: Before running the destructors sort the topologically.
10258 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10259 call constructors instead of iterating over the pointers. Get list of
10260 objects for which to run constructors from l_initfini element. Accept
10261 argc, argv, and env as parameters and pass them to the constructors.
10262 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10263 with size of dynamic section.
10264 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10265 _dl_init_next and calling constructors ourself.
10266 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10267 Take argc, argv, and env as parameters and pass them to the
10268 constructors. Rewrite to call all constructors and not iterate over
10270 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10271 precompute l_initcount and l_preinitcount.
10272 * elf/link.h (struct link_map): Add l_ldnum member.
10273 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10274 l_initcount, and l_preinitcount. Add l_initfini.
10275 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10277 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10278 function interface.
10279 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10280 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10281 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10282 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10283 conventions now match.
10285 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10286 effect for shared objects. Don't emit message and call only for
10289 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10291 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10292 CSA_Z243.4-1985-1..UCS2.
10293 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10296 2000-03-29 Andreas Jaeger <aj@suse.de>
10298 * include/unistd.h: Remove duplicate entry for __rmdir.
10299 Remove declaration of __mkdir since __mkdir is declared in
10302 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10303 by Michael Deutschmann <michael@talamasca.ocis.net>.
10305 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10306 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10307 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10308 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10309 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10311 2000-03-28 Andreas Jaeger <aj@suse.de>
10313 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10314 declaration, the prototype is defined via bits/mathcalls.h.
10315 (__sincosf): Likewise.
10316 (__sincosl): Likewise.
10318 (ldexpf): Likewise.
10319 (ldexpl): Likewise.
10320 (__finite): Likewise.
10321 (__inline_mathcodeNP): New macro without prototype
10323 (__inline_mathcodeNP2): Likewise.
10324 (__inline_mathcodeNP3): Likewise.
10325 (__inline_mathcodeNP_): Likewise.
10326 (__inline_mathcodeNP2_): Likewise.
10327 (__inline_mathcodeNP3_): Likewise.
10328 (__inline_mathopNP): Likewise.
10329 (__inline_mathop_declNP): Likewise.
10330 (__inline_mathop_declNP_): Likewise.
10331 (__inline_mathcode_): Use __inline_mathcodeNP_.
10332 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10333 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10334 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10335 (__expm1l): Don't define prototype, the prototype is defined via
10338 (__expl): Likewise.
10341 (__atan2l): Likewise.
10346 (__fabsl): Likewise.
10364 (__sqrtl): Likewise.
10374 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10376 * Makerules: If make variable md5 is defined to yes after
10377 generating dependencies generate MD5 sum for the object.
10379 * iconv/gconv_builtin.h: Fix length in transformation definition
10382 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10384 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10385 allow as well reading from/writing to unaligned addresses on machines
10386 which don't support this in hardware. Use FCTNAME macro to define
10387 function name. Include the file a second time for platforms which
10388 need special unaligned handling.
10389 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10390 to access potentially unaligned addresses. These macros are intended
10391 to be used only outside the loops.
10392 (unaligned): New definition. In case the machine can handle unaligned
10393 access define as zero. Otherwise as a variable which is initialized
10394 as nonzero in case the buffer passed in at runtime is unaligned with
10395 respect to the character set encoding involved.
10396 Call aligned or unaligned looop functions according to unaligned
10398 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10399 of direct casting pointer to potentially handle unaligned memory
10401 * iconvdata/8bit-generic.c: Likewise.
10402 * iconvdata/ansi_x3.110.c: Likewise.
10403 * iconvdata/big5.c: Likewise.
10404 * iconvdata/euc-cn.c: Likewise.
10405 * iconvdata/euc-jp.c: Likewise.
10406 * iconvdata/euc-kr.c: Likewise.
10407 * iconvdata/euc-tw.c: Likewise.
10408 * iconvdata/gbk.c: Likewise.
10409 * iconvdata/iso-2022-cn.c: Likewise.
10410 * iconvdata/iso-2022-jp.c: Likewise.
10411 * iconvdata/iso-2022-kr.c: Likewise.
10412 * iconvdata/iso646.c: Likewise.
10413 * iconvdata/iso_6937-2.c: Likewise.
10414 * iconvdata/iso_6937.c: Likewise.
10415 * iconvdata/johab.c: Likewise.
10416 * iconvdata/sjis.c: Likewise.
10417 * iconvdata/t.61.c: Likewise.
10418 * iconvdata/uhc.c: Likewise.
10419 * iconvdata/unicode.c: Likewise.
10420 * iconvdata/utf-16.c: Likewise.
10422 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10425 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10426 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10428 * malloc/mcheck.h (mcheck_check_all): Declare.
10430 * stdio-common/Makefile (tests): Add tst-obprintf.
10432 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10434 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10435 Declare pthread_sigmask.
10437 * csu/version.c: Add 2000 to copyright years.
10438 Remove Emacs local variables section.
10440 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10442 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10443 __gconv_transform_internal_ucs2little): Remove declarations.
10444 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10445 __gconv_transform_internal_ucs2): Never need to bswap_16.
10446 (__gconv_transform_ucs2reverse_internal,
10447 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10449 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10451 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10452 obsoleting version not being defined at all, in which case the
10453 result is always true.
10455 * Makeconfig (preprocess-versions): New canned sequence for running
10456 cpp on shlib-versions and the like.
10457 (soversions.i): Use it.
10458 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10459 Versions.def and Versions files.
10461 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10463 * stdio-common/tst-obprintf.c (main): Add another check to see
10464 obstack_printf handling all possible beginnings of the block
10465 inside an obstack chunk.
10467 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10468 install mcheck handler.
10470 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10473 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10475 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10477 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10478 on [HAVE_ELF && DO_VERSIONING].
10480 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10482 * stdio-common/tst-obprintf.c: New file.
10484 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10486 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10487 _IO_OVERFLOW directly instead through __overflow.
10489 * locale/programs/localedef.c (construct_output_path): If path
10490 contains a / compute the end of the directory name correctly.
10492 * include/features.h: Undef and document __USE_XOPEN2K.
10494 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10495 whenever a function is called. Initiated by calling mcheck_pedantic
10497 * malloc/mcheck.h: Declare mcheck_pedantic.
10498 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10499 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10502 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10504 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10505 * dlfcn/dlopenold.c: Likewise.
10506 * nss/getXXbyYY_r.c: Likewise.
10507 * nss/getXXent_r.c: Likewise.
10508 * hurd/hurdinit.c: Likewise.
10509 * hurd/compat-20.c: Likewise.
10510 * libio/oldiofopen.c: Likewise.
10511 * libio/oldiofclose.c: Likewise.
10512 * libio/oldiofdopen.c: Likewise.
10513 * libio/oldfileops.c: Likewise.
10514 * libio/oldstdfiles.c: Likewise.
10515 * libio/oldiofsetpos.c: Likewise.
10516 * libio/oldiofgetpos.c: Likewise.
10517 * libio/oldiofgetpos64.c: Likewise.
10518 * libio/oldiofsetpos64.c: Likewise.
10519 * libio/oldiopopen.c: Likewise.
10520 * libio/oldpclose.c: Likewise.
10521 * libio/oldtmpfile.c: Likewise.
10522 * libio/freopen.c (freopen): Likewise.
10523 * libio/iofclose.c (_IO_new_fclose): Likewise.
10525 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10526 (reboot): Declare it.
10528 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10530 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10532 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10534 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10535 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10536 We need this for the sbrk decl, which can be included without Unix98.
10538 2000-03-20 Richard Henderson <rth@cygnus.com>
10540 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10541 argument to yperr2nss is an int, not size_t.
10542 * posix/regex.c (print_partial_compiled_pattern): Cast all
10543 ptrdiff_t to long for printing.
10544 (print_compiled_pattern): Use Z for printing size_t.
10545 * posix/testfnm.c (tests): Avoid trigraphs.
10546 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10547 Use a C comment, not an assembly comment.
10549 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10550 of __ASSUME_32BITUIDS.
10552 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10554 * libio/iofopncook.c: Remove K&R prototypes.
10556 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10558 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10559 an initial value of 1024 instead of RLIM_INFINITY.
10561 * Versions.def (libmachuser, libhurduser): Remove these sections,
10562 since these libraries do not presently use symbol versions.
10564 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10565 is RLIM_INFINITY, return -1 instead.
10567 2000-03-24 Andreas Jaeger <aj@suse.de>
10569 * Makefile (postclean): Added soversions.i.
10571 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10573 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10574 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10575 and _FPU_IEEE. Change _FPU_RESERVED.
10577 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10579 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10581 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10583 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10584 (gaih_inet): Remove unused duplicate variable.
10586 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10587 Don't use __libc_sa_len, which only exists for Linux. Just handle
10588 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10589 only flavors supported by this function anyway.
10591 2000-03-24 Geoff Clare <gwc@unisoft.com>
10593 * stdlib/strfmon.c: Corrected problems with missing signs and
10594 missing or extra spaces; allow for sign strings longer than
10595 one character; add padding to ensure positive and negative
10596 formats are aligned when a left precision is used.
10598 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10600 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10601 Patch by John Mizel <John.Mizel@msdw.com>.
10603 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10605 * manual/install.texi: Remove references to crypt add-on.
10607 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10609 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10610 section while taking the _hurd_rlimit_lock.
10611 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10613 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10615 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10618 * sysdeps/mach/hurd/if_index.c: New file.
10620 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10621 * sysdeps/gnu/net/if.h: here.
10622 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10623 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10624 * sysdeps/generic/net/if.h: New file. Declares just the standard
10625 functions and `struct if_nameindex' type.
10626 * socket/Makefile (headers): Add net/if.h here.
10627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10628 * sysdeps/mach/hurd/Dist: Remove it here.
10629 * sysdeps/unix/sysv/linux/Dist: And here.
10630 * sysdeps/generic/if_index.c: Include <net/if.h>.
10632 2000-03-24 Andreas Jaeger <aj@suse.de>
10634 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10635 access relocated entries in l_info.
10636 (elf_machine_got_rel): Likewise.
10637 (elf_machine_runtime_setup): Likewise.
10638 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10639 (elf_machine_runtime_setup): Likewise.
10640 (__dl_runtime_resolve): Likewise.
10642 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10644 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10645 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10646 according to RFC 2553.
10647 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10648 * inet/getnameinfo.c: Likewise.
10649 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10651 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10653 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10654 Remove no-op pointer increment.
10656 2000-03-23 Andreas Jaeger <aj@suse.de>
10658 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10659 follow change for libio.h from 2000-03-10.
10661 2000-03-23 Andreas Jaeger <aj@suse.de>
10663 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10665 * elf/dl-debug.c: Likewise.
10666 * elf/dl-deps.c: Likewise.
10667 * elf/dl-error.c: Likewise.
10668 * elf/dl-fini.c: Likewise.
10669 * elf/dl-init.c: Likewise.
10670 * elf/dl-load.c: Likewise.
10671 * elf/dl-lookup.c: Likewise.
10672 * elf/dl-minimal.c: Likewise.
10673 * elf/dl-object.c: Likewise.
10674 * elf/dl-open.c: Likewise.
10675 * elf/dl-preinit.c: Likewise.
10676 * elf/dl-profile.c: Likewise.
10677 * elf/dl-profstub.c: Likewise.
10678 * elf/dl-reloc.c: Likewise.
10679 * elf/dl-runtime.c: Likewise.
10680 * elf/dl-support.c: Likewise.
10681 * elf/dl-symbol.c: Likewise.
10682 * elf/dl-version.c: Likewise.
10683 * elf/rtld.c: Likewise.
10684 * elf/sprof.c: Likewise.
10685 * sysdeps/generic/dl-cache.c: Likewise.
10686 * sysdeps/generic/dl-origin.c: Likewise.
10687 * sysdeps/generic/dl-sysdep.c: Likewise.
10688 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10689 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10690 * sysdeps/generic/libc-start.c: Likewise.
10691 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10692 * sysdeps/powerpc/dl-machine.c: Likewise.
10693 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10694 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10695 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10696 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10698 * elf/ldsodefs.h: Move file to ...
10699 * sysdeps/generic/ldsodefs.h: ... here.
10701 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10703 * sysdeps/mips/elf/ldsodefs.h: New file.
10705 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10707 (_dl_check_map_versions): Likewise.
10708 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10709 * elf/dl-load.c (_dl_init_paths): Likewise.
10710 (_dl_map_object): Likewise.
10711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10712 (elf_get_dynamic_info): Likewise.
10713 * elf/do-lookup.h (FCT): Likewise.
10714 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10715 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10716 * elf/dl-addr.c (_dl_addr): Likewise.
10717 * elf/dl-runtime.c (profile_fixup): Likewise.
10719 * elf/dl-init.c (_dl_init_next): Likewise.
10720 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10721 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10722 (DISTINGUISH_LIB_VERSIONS): Likewise.
10723 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10724 (elf_machine_rel): Likewise.
10726 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10727 for writable dynamic section.
10729 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10731 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10732 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10734 2000-03-22 Andreas Jaeger <aj@suse.de>
10736 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10737 from latest Linux kernel.
10739 2000-03-21 Andreas Jaeger <aj@suse.de>
10741 * Versions.def: Add version 2.1.4.
10743 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10745 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10746 * libio/oldiofopen.c: Likewise.
10747 * libio/oldiofclose.c: Likewise.
10748 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10750 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10752 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10753 indicating the first version set to obsolete the conditionalized code.
10754 (compat_symbol): New macro.
10755 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10756 rhs be the ABI_* macro for the subsuming version. Assign increasing
10757 integer values to the ABI_* macros for supported versions.
10758 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10759 compat_symbol macro.
10761 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10763 * nscd/connections.c (nscd_run): Pretty print.
10764 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10766 * manual/charset.texi: Fix typos. Rephrase.
10767 * manual/process.texi: Likewise.
10768 * manual/signal.texi: Likewise.
10769 Patches by Mike Coleman <mkc@kc.net>.
10771 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10773 * libio/iofdopen.c: Likewise.
10774 * libio/iofgetpos.c: Likewise.
10775 * libio/iofgetpos64.c: Likewise.
10776 * libio/iofopen.c: Likewise.
10777 * libio/iofsetpos.c: Likewise.
10778 * libio/iofsetpos64.c: Likewise.
10779 * libio/iopopen.c: Likewise.
10780 * libio/oldiofopen.c: Likewise.
10781 * libio/pclose.c: Likewise.
10782 * sysdeps/gnu/siglist.c: Likewise.
10783 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10785 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10786 chance to expand VERSION_##lib##_##version.
10788 * libio/fileops.c: Use new macros from shlib-compat.h to define
10790 * libio/iofclose.c: Likewise.
10791 * libio/oldiofclose.c: Likewise.
10792 Patch by Roland McGrath <roland@frob.com>.
10794 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10796 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10797 Lay out struct sigcontext according to what really gets passed on
10799 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10800 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10801 (prgregset_t, prfpregset_t): Define to elf_* types.
10802 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10803 Define to correct value.
10804 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10808 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10810 * scripts/firstversions.awk: Allow multiple version sets in the
10811 "earliest version" specification, meaning that version sets in the
10812 gaps between listed versions should be folded into the earliest later
10813 version that is explicitly listed.
10814 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10815 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10817 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10819 * iconv/gconv_builtin.c: Include <endian.h>.
10820 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10821 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10822 according to current platform.
10823 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10824 __gconv_transform_internal_ucs2reverse, and
10825 __gconv_transform_internal_ucs4le.
10826 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10827 __gconv_transform_ucs2reverse_internal and
10828 __gconv_transform_internal_ucs2reverse.
10829 * iconvdata/Makefile (modules): Add UNICODE.
10830 (distribute): Add unicode.c.
10831 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10832 * iconvdata/unicode.c: New file.
10834 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10835 determine byte order of input and convert accordingly.
10837 * iconvdata/utf-16.c (gconv_init): Fix typo.
10839 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10841 * iconvdata/gconv-modules: Fix typo.
10843 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10846 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10848 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10850 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10852 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10854 * misc/Makefile (routines): Add mincore.
10856 2000-03-20 Andreas Jaeger <aj@suse.de>
10858 * sysdeps/generic/mincore.c: New stub file.
10860 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10861 from latest Linux kernel.
10863 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10865 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10866 _SC_GETPW_R_SIZE_MAX.
10868 2000-03-20 Richard Henderson <rth@cygnus.com>
10870 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10873 2000-03-20 Richard Henderson <rth@cygnus.com>
10875 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10876 of arithmetic instructions.
10878 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10879 with the fpcr. Protect from INV exception.
10880 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10881 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10882 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10884 * sysdeps/alpha/fpu/s_copysign.c: New.
10885 * sysdeps/alpha/fpu/s_copysignf.c: New.
10886 * sysdeps/alpha/fpu/s_fabs.c: New.
10887 * sysdeps/alpha/fpu/s_fabsf.c: New.
10888 * sysdeps/alpha/fpu/s_rint.c: New.
10889 * sysdeps/alpha/fpu/s_rintf.c: New.
10891 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10893 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10895 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10896 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10897 Use physical addresses not KSEG addresses.
10898 (io_system): Add PYXIS.
10899 (io): Remove hae.reg, sys, hae_shift.
10900 (stb_mb, stw_mb, stl_mb, __sethae): New.
10901 (inline_outb, inline_outw, inline_outl): Don't set hae.
10902 (inline_inb, inline_inw, inline_inl): Likewise.
10903 (dense_sethae): New null function.
10904 (struct cpuinfo_data): New.
10905 (process_cpuinfo): Use local and stack variables, not static.
10906 Move readlink check here from init_iosys.
10907 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10909 (_hae_shift): Calculate it here.
10910 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10911 add pciconfig_iobase.
10913 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10915 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10916 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10918 * scripts/versions.awk: Fixed version renaming code to distinguish
10919 libraries properly.
10921 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10923 * include/stdlib.h: Add prototype for __cxa_atexit.
10925 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10926 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10928 2000-03-17 Cristian Gafton <gafton@redhat.com>
10930 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10931 existing rtld-installed-name.
10932 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10933 replace existing rtld-installed-name using $(symbolic-link-prog).
10935 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10937 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10938 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10939 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10940 but not the former.
10942 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10944 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10945 glob64. Since there is no glob64 in the LFS proposal applications
10946 can assume that glob handles LFS situations. glob64 is only needed
10947 if alternative filesystem functions are used.
10949 2000-03-19 Geoff Clare <gwc@unisoft.com>
10951 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10952 when GLOB_DOOFFS is set; correct handling of patterns
10953 containing escaped wildcards (and no unescaped ones);
10954 GLOB_ERR flag was being ignored in some situations.
10956 * posix/globtest.c, posix/globtest.sh: Updated to include
10957 tests for the problems fixed by the above changes to glob.c.
10959 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10961 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10963 * Makeconfig (soversion.i): Use only first match for each lib.
10965 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10967 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10968 rather than $(sysd-dirs-done) to protect these rules.
10970 * Makerules (version-renames.def): Target removed.
10971 (Versions.all): Depend on soversions.i directly and parse it.
10973 * Makeconfig (soversions.i): New target, input-reading parts of
10974 soversions.mk generation moved here; result is a canonicalized
10975 list "LIB VERSION [SET]" for this configuration.
10976 (soversions.mk): Use that as input. Don't emit map-firstversions.
10977 * Makerules (version-renames.def): New target, generated from
10978 soversions.i with contents that was in $(map-firstversions).
10979 (Versions.all): Don't depend on soversions.mk, depend on
10980 version-renames.def instead; just cat it into the input.
10982 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10983 for $(map-firstversions), which better handles it being empty.
10985 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10986 supported version for libc 0.2.90.libio to GLIBC_2.2.
10988 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10989 and use it to emit new variable `map-firstversions'.
10990 * scripts/firstversions.awk: New file.
10991 * Makerules (Versions.all): Use scripts/firstversions.awk and
10992 the $(map-firstversions) value to generate a modified versions list
10993 that includes renames in "A = B" syntax for each version set earlier
10994 than the "earliest symbol version" named in shlib-versions.
10995 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10996 rename version set A to B in the output to the intermediate file.
10997 * scripts/abi-versions.awk: New file.
10998 * Makerules (abi-versions.h): New target, generated by that script.
10999 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11000 * include/shlib-compat.h: New file, uses that generated header.
11002 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11004 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11005 after stripping # comments, and then run it through cpp.
11006 This allows things like "%ifdef FOO" based on config.h settings.
11007 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11009 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11010 and other errors that indicate a pseudo-receive happened, grok through
11011 the message buffer for port rights that need references fixed up.
11013 2000-03-16 Andreas Jaeger <aj@suse.de>
11015 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11017 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11019 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11020 from latest Linux kernel.
11021 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11023 * misc/sys/mman.h: Add prototype for mincore.
11025 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11027 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11028 entry for GLIBC_2.0 version of setrlimit.
11029 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11031 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11033 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11034 * nis/nss_compat/compat-initgroups.c: Likewise.
11035 * nis/nss_nis/nis-initgroups.c: Likewise.
11036 * nis/nss_nis/nis-netgrp.c: Likewise.
11037 * nis/nss_nis/nis-proto.c: Likewise.
11038 * nis/nss_nis/nis-rpc.c: Likewise.
11039 * nis/nss_nis/nis-service.c: Likewise.
11040 * nis/ypclnt.c: Likewise.
11042 2000-03-16 Andreas Jaeger <aj@suse.de>
11044 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11045 doesn't exist, correct checks. Fixes PR libc/1649.
11047 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11049 * nscd/hstcache.c: Restore correct UID.
11050 * nscd/pwdcache.c: Likewise.
11051 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11053 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11055 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11056 macros for register names, in line with 2000-03-14 linux change.
11058 * sysdeps/mach/sched_yield.c: New file.
11060 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11062 * sysdeps/generic/lockfile.c: Include <stdio.h>
11063 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11064 case <libio.h> defined them.
11065 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11067 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11068 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11070 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11071 for more pleasing parse error.
11073 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11075 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11077 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11079 * elf/Makefile: Add rules to compile and run constload1 test.
11080 * elf/constload1.c: New file.
11081 * elf/constload2.c: New file.
11082 * elf/constload3.c: New file.
11084 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11086 * sysdeps/posix/open64.c: Make __open64 weak alias.
11087 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11088 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11089 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11090 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11091 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11092 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11093 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11094 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11095 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11098 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11100 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11101 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11103 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11105 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11106 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11108 2000-03-08 Andreas Jaeger <aj@suse.de>
11110 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11112 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11114 * timezone/africa: Update from tzdata2000d.
11115 * timezone/asia: Likewise.
11116 * timezone/australasia: Likewise.
11117 * timezone/europe: Likewise.
11118 * timezone/northamerica: Likewise.
11119 * timezone/southamerica: Likewise.
11121 * po/fr.po: Update from translation team.
11122 * po/de.po: Likewise.
11124 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11125 last parameter. Move code to add map to global scope from here...
11126 * elf/dl-open.c (dl_open_worker): ...here.
11127 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11128 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11130 * locale/programs/ld-collate.c (collate_read): Fix warning.
11132 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11133 values and macros for register names.
11135 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11136 returned by seek cookie function is -1.
11138 2000-03-14 Andreas Jaeger <aj@suse.de>
11140 * locale/localeconv.c (localeconv): Fix typo.
11141 Reported by Andre Charbonneau <andrec@corel.com>.
11143 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11145 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11146 since modules depend on it counting the number of times the conversion
11147 function got called.
11149 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11151 * iconv/gconv.h: Pretty print.
11153 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11155 * posix/wordexp-test.c: Correct one of the tests added in the last
11156 change. Really get the root passwd entry to check again ~root.
11158 2000-03-10 Andreas Jaeger <aj@suse.de>
11160 * manual/filesys.texi (Working Directory): Fix last patch.
11161 Patch by Martin Buchholz <martin@xemacs.org>.
11163 2000-03-10 Andreas Jaeger <aj@suse.de>
11165 * manual/creature.texi (Feature Test Macros): Fix language.
11167 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11169 * mach/devstream.c (devstream_write, devstream_read): New functions.
11170 (input, output): Functions removed.
11171 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11172 using only the vanilla fopencookie interface.
11174 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11175 as macro for __io_functions.
11176 (funcsio): Use cookie_io_functions_t type name.
11177 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11179 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11181 (fopencookie): Use it.
11182 * libio/libio.h: Declare _IO_cookie_init.
11183 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11186 * libio/libio.h (__io_seek_fn): Fix second argument type
11187 to be a pointer, in line with the manual and the old stdio.
11188 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11190 * sysdeps/generic/bits/stdio-lock.h: New file.
11191 This is a stub with #error, but that's better than no file at all.
11193 2000-03-09 Martin Buchholz <martin@xemacs.org>
11195 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11196 * manual/message.texi (Using gettextized software): Doc Fixes.
11197 * manual/message.texi (Message Translation): Doc Fixes.
11198 * manual/filesys.texi (File Size): Doc Fixes.
11199 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11200 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11201 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11202 * manual/install.texi: Doc Fixes.
11203 * manual/search.texi (Hash Search Function): Doc Fixes.
11204 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11205 * FAQ.in: Doc Fixes.
11206 * config.h.in: Doc Fixes.
11207 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11208 Doc Fixes. `allows to' is not correct English.
11210 * elf/rtld.c: Doc fixes.
11211 * manual/creature.texi (Feature Test Macros): Doc fixes.
11212 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11214 * manual/filesys.texi (Working Directory): Check for ERANGE to
11217 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11219 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11220 conditions so as not to clobber the final '\0' when there is only one
11221 element in the vector.
11223 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11225 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11226 broken by 2000-02-27 change.
11228 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11230 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11232 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11233 argument type, for 2000-02-22 change in signal/signal.h declaration.
11235 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11237 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11238 to getdirentries64 (no __), since the Linux implementation
11239 has no __ name, and there is no declaration for the __ name.
11241 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11243 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11244 sed regexp so as not to break directory names including /../ within.
11246 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11247 The sysdeps/generic file is right for BSD. This file was in fact the
11248 Hurd file, but the only difference was the WNOREAP flag that was never
11249 actually implemented or used anywhere.
11251 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11252 since AC_PATH_PROG already does it for us.
11253 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11254 correctness and sh portability. I replaced the broken check
11255 with a more sensible implementation of the apparently intended
11256 semantics, which might still be questionable. Using expr causes
11257 a non-numeric value for `perl -V:apiversion` to be accepted,
11258 refusing to use only a perl that reports a number less than 5;
11259 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11260 * configure: Regenerated.
11262 2000-03-08 Andreas Jaeger <aj@suse.de>
11264 * manual/crypt.texi: Fix paths.
11266 2000-03-07 Andreas Jaeger <aj@suse.de>
11268 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11270 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11273 2000-03-06 Andreas Jaeger <aj@suse.de>
11275 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11276 in __sgn1l, otherwise g++ fails to parse this.
11277 Reported by Sean Chen <sean.chen@turbolinux.com>.
11279 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11281 * configure.in: Compute sizeof-long-double.
11282 * configure: Regenerated.
11283 * config.make.in: Make sizeof-long-double available to sub-makes.
11285 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11287 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11290 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11292 * Makeconfig (rpath-dirs): Add crypt.
11293 (all-subdirs): Remove md5crypt.
11294 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11295 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11296 * sysdeps/generic/crypt-entry.c: Delete.
11297 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11298 * sysdeps/generic/crypt.h: Delete.
11299 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11300 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11301 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11302 * sysdeps/generic/des_impl.c: Delete.
11303 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11304 * crypt/sysdeps: Delete.
11305 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11306 * md5-crypt/Versions: Move to crypt/.
11307 * md5-crypt/md5-crypt.c: Move to crypt/.
11308 * md5-crypt/md5.c: Move to crypt/.
11309 * md5-crypt/md5c-test.c: Move to crypt/.
11310 * md5-crypt/md5test.c: Move to crypt/.
11311 * md5-crypt: Delete.
11312 * crypt/Makefile: Adjust for new structure.
11314 2000-03-03 Paul Eggert <eggert@twinsun.com>
11316 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11317 define to 1 if not defined.
11319 2000-03-03 Andreas Jaeger <aj@suse.de>
11321 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11323 2000-03-03 Andreas Jaeger <aj@suse.de>
11325 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11327 (xdr_int64_t): Correctly handle lower half.
11328 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11330 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11332 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11335 2000-03-02 Andreas Jaeger <aj@suse.de>
11337 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11340 2000-03-02 Andreas Jaeger <aj@suse.de>
11342 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11344 2000-03-01 Andreas Jaeger <aj@suse.de>
11346 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11347 (tests): Added tst-getdate.
11349 * time/tst-getdate.c: New file.
11351 * time/datemsk: New file, needed for tst-getdate.
11353 2000-02-29 Cristian Gafton <gafton@redhat.com>
11355 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11357 2000-02-17 H.J. Lu <hjl@gnu.org>
11359 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11361 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11363 (svcudp_recv): Set up message with the new "xp_pad" field for
11365 (svcudp_reply): Support IP_PKTINFO if available.
11367 2000-03-01 Andreas Jaeger <aj@suse.de>
11369 * time/getdate.c (check_mday): Fix check for february.
11370 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11371 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11373 2000-03-02 Andreas Jaeger <aj@suse.de>
11375 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11376 g++ fails to parse this.
11377 Reported by Sean Chen <sean.chen@turbolinux.com>.
11379 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11381 * io/creat.c: Moved to...
11382 * sysdeps/generic/creat.c: ...here.
11383 * io/creat64.c: Moved to...
11384 * sysdeps/generic/creat64.c: ...here.
11385 * io/lockf.c: Moved to...
11386 * sysdeps/generic/lockf.c: ...here.
11388 * crypt/crypt.texi: Moved to...
11389 * manual/crypt.texi: ...here.
11390 * crypt/examples/genpass.c: Moved to...
11391 * manual/examples/genpass.c: ...here.
11392 * crypt/examples/mygenpass.c: Moved to...
11393 * manual/examples/mygenpass.c: ...here.
11394 * crypt/examples/testpass.c: Moved to...
11395 * manual/examples/testpass.c: ...here.
11397 * manual/Makefile (chapters): Add crypt.
11398 * manual/conf.texi: Add usual header for not-last chapter.
11399 * manual/crypt.texi: Add special header for last chapter.
11401 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11403 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11404 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11405 complain if there is no crypt add-on.
11406 * crypt/configure: Removed.
11408 * crypt/crypt.texi: Update documentation of US export restrictions
11409 to match the 14 Jan 2000 regulations.
11411 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11413 * crypt: New subdirectory, merged in from the crypt add-on.
11415 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11417 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11420 See ChangeLog.10 for earlier changes.