about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/unix/opendir.c (__opendir): Pass extra argument toUlrich Drepper2005-10-147-16/+62
| | | | | | | | | | | | __alloc_dir. (__alloc_dir): Only close descriptor on error if new parameter is true. * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to __alloc_dir. Don't close fd on error. * include/dirent.h (__alloc_dir): Adjust prototype. * include/sys/mman.h (__mremap): Add ellipsis. * malloc/memusage.c: Adjust mremap wrapper for optional additional parameter.
* [BZ #982]Ulrich Drepper2005-10-148-11/+93
| | | | * locales/ml_IN: Fix title.
* * stdlib/Makefile (tests): Add tst-ucontext-off.Ulrich Drepper2005-10-142-0/+8
| | | | | | * stdlib/tst-ucontext-off.c: New file. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TEST): Define. * sysdeps/unix/sysv/linux/i386/ucontext_i.h (TESTS): Likewise.
* [BZ #980]Ulrich Drepper2005-10-141-0/+3
| | | | * locales/yi_US: Fix title.
* * locales/nl_NL: Define country_car, lang_name, lang_ab,Ulrich Drepper2005-10-142-0/+8
| | | | lang_term, and lang_lib.
* [BZ #1468]Ulrich Drepper2005-10-149-7/+320
| | | | | | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR. Patch by Nicholas Miell <nmiell@comcast.net>.
* [BZ #1460]Ulrich Drepper2005-10-145-18/+69
| | | | | | | | | | * time/asctime.c (asctime_internal): New function, derived from asctime_r. Takes additional parameter which is the buffer length. Use snprintf instead sprintf, if it overflows, fail. (asctime_r): Call asctime_internal with 26 as buffer length. (asctime): Call asctime_internal with length of internal buffer. * time/Makefile (tests): Add bug-asctime_r. * time/bug-asctime_r.c: New file.
* [BZ #1459]Ulrich Drepper2005-10-144-2/+55
| | | | | | | * time/asctime.c (__asctime_r): Check for tm_year computation to overflow and fail in this case. * time/Makefile (tests): Add bug-asctime. * time/bug-asctime.c: New file.
* [BZ #1458]Ulrich Drepper2005-10-149-10/+32
| | | | | | | | | | | | | | | 2005-10-14 Ulrich Drepper <drepper@redhat.com> [BZ #1458] * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. * misc/sys/mman.h: Add ellipsis after last parameter of mremap and adjust leading comment. * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to mremap syscall.
* [BZ #1405]Ulrich Drepper2005-10-142-2/+12
| | | | | * libio/iogetdelim.c (_IO_getdelim): Fix truncation of return value. Avoid overflow in computation.
* [BZ #1373]Ulrich Drepper2005-10-144-22/+33
| | | | | | 2005-10-13 Ulrich Drepper <drepper@redhat.com> [BZ #1373] * argp/argp.h: Remove __NTH for __argp_usage inline function.
* [BZ #1248]Ulrich Drepper2005-10-133-86/+64
| | | | | | | | | | | | | | | | | | | | | 2005-08-26 Paul Eggert <eggert@cs.ucla.edu> [BZ #1248] * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge, bitset_mask, re_string_allocate, re_string_construct, re_string_reconstruct, re_string_destruct, re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at, re_string_peek_byte_case, re_string_fetch_byte_case, re_node_set_alloc, re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect, re_node_set_init_union, re_node_set_merge, re_node_set_insert, re_node_set_insert_last, re_node_set_compare, re_node_set_contains, re_node_set_remove_at, re_dfa_add_node, re_acquire_state, re_acquire_state_context): Remove unnecessary forward decls. (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at): Put __attribute at function definition, now that the function decl has been removed. * posix/regex_internal.c (re_string_peek_byte_case, re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): Likewise.
* * posix/regcomp.c: Likewise.Ulrich Drepper2005-10-132-195/+78
|
* [BZ #1231]Ulrich Drepper2005-10-133-343/+158
| | | | | | | | | | | | | 2005-08-23 Paul Eggert <eggert@cs.ucla.edu> [BZ #1231] * posix/regex_internal.c (re_string_skip_chars, register_state, calc_state_hash): Remove forward decls. * posix/regexec.c (acquire_init_state_context, check_halt_node_context, proceed_next_node, pop_fail_stack, sub_epsilon_src_nodes, clean_state_log_if_needed): Likewise. * posix/regex.c: No need to use K&R definitions for static functions. * posix/regex_internal.c: Likewise.
* [BZ #1466]Ulrich Drepper2005-10-135-10/+22
| | | | | | | | | * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return principal square root. * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise. * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise. * math/libm-test.inc (csqrt_test): Add test for returning principal value.
* * include/features.h: Define _POSIX_C_SOURCE to 200112 forUlrich Drepper2005-10-138-2/+1176
| | | | _XOPEN_SOURCE == 600.
* * malloc/malloc.c (_int_free): Fail if block size is obviously wrong.Ulrich Drepper2005-10-132-0/+8
|
* * include/malloc.h: Remove _int_new_arena prototype.Ulrich Drepper2005-10-123-43/+46
| | | | | * malloc/arena.c (_int_new_arena): Move definition ahead of arena_get2 and make static.
* Correctly implement M_MXFAST.Ulrich Drepper2005-10-123-25/+49
| | | | | | | | | | | | | | | | | | | | * malloc/malloc.c (struct malloc_state): Replace max_fast with flags fields. (global_max_fast): New variable. (set_max_fast): Change to not require arena parameter and to modify global_max_fast. Change all callers. (get_max_fast): New macro. Use this instead of directly accessing now removed max_fast arena member. (have_fastchunks): Use flags instead of max_fast. (clear_fastchunks): Likewise. (set_fastchunks): Likewise. (contiguous): Likewise. (noncontiguous): Likewise. (set_noncontiguous): Likewise. (set_contiguous): Likewise. (malloc_init_state): Explicitly set FASTCHUNKS_BIT. Call set_max_fast only for main arena. * malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use.
* [BZ #532]Ulrich Drepper2005-10-123-0/+291
| | | | | | | | | 2005-10-12 Ulrich Drepper <drepper@redhat.com> [BZ #532] * locales/ts_ZA: New file. Patch by Dwayne Bailey <dwayne@translate.org.za>. * SUPPORTED: Add ts_ZA.UTF-8.
* * sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro.Ulrich Drepper2005-10-103-16/+29
| | | | | | (__bswap_16): Use it. (__bswap_constant_32): New macro. (__bswap_32): Use it.
* * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_recursive_cntr. cvs/fedora-glibc-20051010T1417Ulrich Drepper2005-10-101-1/+1
|
* * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_arena_ptr.Ulrich Drepper2005-10-102-1/+6
|
* * nss/getent.c (hosts_keys): Pass INADDRSZ as size ratherUlrich Drepper2005-10-081-0/+5
| | | | than IN6ADDRSZ to AF_INET gethostbyaddr.
* (hosts_keys): Pass INADDRSZ as size rather than IN6ADDRSZ to AF_INET ↵Ulrich Drepper2005-10-081-2/+2
| | | | gethostbyaddr.
* [BZ #1438]Roland McGrath2005-10-081-0/+7
| | | | | | | | 2005-10-07 Roland McGrath <roland@redhat.com> [BZ #1438] * include/features.h: Make tests on _FORTIFY_SOURCE and __OPTIMIZE__ friendly to -Wundef. (__USE_FORTIFY_LEVEL): Always define it, to 0 if nothing else.
* [BZ #1438]Roland McGrath2005-10-081-4/+7
| | | | | | | | 2005-10-07 Roland McGrath <roland@redhat.com> [BZ #1438] * include/features.h: Make tests on _FORTIFY_SOURCE and __OPTIMIZE__ friendly to -Wundef. (__USE_FORTIFY_LEVEL): Always define it, to 0 if nothing else.
* * sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail becauseUlrich Drepper2005-10-062-1/+6
| | | | the file does not exist.
* Allow fopen to fail because the file does not exist.Ulrich Drepper2005-10-061-1/+9
|
* [BZ #1423]Roland McGrath2005-10-051-0/+1
| | | | | bz tag [BZ #1423]
* * crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros.Roland McGrath2005-10-052-1/+9
|
* * crypt/Makefile (distribute): Remove duplicate defn.Roland McGrath2005-10-052-5/+5
|
* * sysdeps/generic/ldsodefs.h (struct audit_ifaces):Roland McGrath2005-10-055-4/+35
| | | | | | | | Use ARCH_PLTENTER_MEMBERS and ARCH_PLTEXIT_MEMBERS macros if defined. * elf/tst-auditmod1.c: Include <tst-audit.h> to define more architecture-specific code. * sysdeps/generic/tst-audit.h: New file. * elf/Makefile (distribute): Add it.
* * elf/elf.h (R_ARM_TLS_DTPMOD32, R_ARM_TLS_DTPOFF32,Roland McGrath2005-10-052-0/+19
| | | | | R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32, R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros.
* * allocatestack.c (setxid_signal_thread): AddRoland McGrath2005-10-042-2/+7
| | | | INTERNAL_SYSCALL_DECL (err).
* sysdeps/powerpc/nofpu moved to ports cvs/fedora-glibc-20051003T2040Roland McGrath2005-10-0322-1567/+4
| | | | | | 2005-10-03 Roland McGrath <roland@redhat.com> * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository.
* * allocatestack.c (setxid_signal_thread): Need to useUlrich Drepper2005-10-022-2/+7
| | | | atomic_compare_and_exchange_bool_acq.
* 2005-10-01 Ulrich Drepper <drepper@redhat.com>Ulrich Drepper2005-10-015-50/+102
| | | | | | | | | | | | | | | | | | | | | Jakub Jelinek <jakub@redhat.com> * descr.h: Define SETXID_BIT and SETXID_BITMASK. Adjust CANCEL_RESTMASK. (struct pthread): Move specific_used field to avoid padding. Add setxid_futex field. * init.c (sighandler_setxid): Reset setxid flag and release the setxid futex. * allocatestack.c (setxid_signal_thread): New function. Broken out of the bodies of the two loops in __nptl_setxid. For undetached threads check whether they are exiting and if yes, don't send a signal. (__nptl_setxid): Simplify loops by using setxid_signal_thread. * pthread_create.c (start_thread): For undetached threads, check whether setxid bit is set. If yes, wait until signal has been processed. * allocatestack.c (STACK_VARIABLES): Initialize them. * pthread_create.c (__pthread_create_2_1): Initialize pd.
* * posix/regex.h: Pretty printing.Ulrich Drepper2005-09-302-61/+56
| | | | Clean up namespace a bit.
* * posix/regexec.c (update_cur_sifted_state, check_arrival,Ulrich Drepper2005-09-301-9/+9
| | | | | | | | check_arrival_add_next_nodes): Avoid using uninitialized variable. * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches. * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x.
* * posix/regexec.c (update_cur_sifted_state, check_arrival,Ulrich Drepper2005-09-304-24/+67
| | | | | | | | check_arrival_add_next_nodes): Avoid using uninitialized variable. * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches. * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x.
* * elf/rtld.c [DL_ARGV_NOT_RELRO] (_dl_argc, _dl_skip_args):Ulrich Drepper2005-09-304-6/+16
|
* Patch by Masahide WASHIZAWA <washi@jp.ibm.com>.Ulrich Drepper2005-09-291-0/+1
|
* * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921,Ulrich Drepper2005-09-29119-2/+4962
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IBM1008, IBM1008_420, IBM1097, IBM1112, IBM1123, IBM1130, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1166, IBM1167, IBM4517, IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804. (distribute): Add ibm803.c, ibm803.h, ibm901.c, ibm901.h, ibm902.c, ibm902.h, ibm921.c, ibm921.h, ibm1008.c, ibm1008.h, ibm1008_420.c, ibm1097.c, ibm1097.h, ibm1112.c, ibm1112.h, ibm1123.c, ibm1123.h, ibm1130.c, ibm1130.h, ibm1140.c, ibm1140.h, ibm1141.c, ibm1141.h, ibm1142.c, ibm1142.h, ibm1143.c, ibm1143.h, ibm1144.c, ibm1144.h, ibm1145.c, ibm1145.h, ibm1146.c, ibm1146.h, ibm1147.c, ibm1147.h, ibm1148.c, ibm1148.h, ibm1149.c, ibm1149.h, ibm1166.c, ibm1166.h, ibm1167.c, ibm1167.h, ibm4517.c, ibm4517.h, ibm4899.c, ibm4899.h, ibm4909.c, ibm4909.h, ibm4971.c, ibm4971.h, ibm5347.c, ibm5347.h, ibm9030.c, ibm9030.h, ibm9066.c, ibm9066.h, ibm9448.c, ibm9448.h, ibm12712.c, ibm12712.h, ibm16804.c, ibm16804.h. * iconvdata/TESTS: Add entries for new modules. * iconvdata/gconv-modules: Likewise. * iconvdata/ibm803.c: New file. * iconvdata/ibm803.h: New file. * iconvdata/ibm901.c: New file. * iconvdata/ibm901.h: New file. * iconvdata/ibm902.c: New file. * iconvdata/ibm902.h: New file. * iconvdata/ibm921.c: New file. * iconvdata/ibm921.h: New file. * iconvdata/ibm1008.c: New file. * iconvdata/ibm1008.h: New file. * iconvdata/ibm1008_420.c: New file. * iconvdata/ibm1097.c: New file. * iconvdata/ibm1097.h: New file. * iconvdata/ibm1112.c: New file. * iconvdata/ibm1112.h: New file. * iconvdata/ibm1123.c: New file. * iconvdata/ibm1123.h: New file. * iconvdata/ibm1130.c: New file. * iconvdata/ibm1130.h: New file. * iconvdata/ibm1140.c: New file. * iconvdata/ibm1140.h: New file. * iconvdata/ibm1141.c: New file. * iconvdata/ibm1141.h: New file. * iconvdata/ibm1142.c: New file. * iconvdata/ibm1142.h: New file. * iconvdata/ibm1143.c: New file. * iconvdata/ibm1143.h: New file. * iconvdata/ibm1144.c: New file. * iconvdata/ibm1144.h: New file. * iconvdata/ibm1145.c: New file. * iconvdata/ibm1145.h: New file. * iconvdata/ibm1146.c: New file. * iconvdata/ibm1146.h: New file. * iconvdata/ibm1147.c: New file. * iconvdata/ibm1147.h: New file. * iconvdata/ibm1148.c: New file. * iconvdata/ibm1148.h: New file. * iconvdata/ibm1149.c: New file. * iconvdata/ibm1149.h: New file. * iconvdata/ibm1166.c: New file. * iconvdata/ibm1166.h: New file. * iconvdata/ibm1167.c: New file. * iconvdata/ibm1167.h: New file. * iconvdata/ibm4517.c: New file. * iconvdata/ibm4517.h: New file. * iconvdata/ibm4899.c: New file. * iconvdata/ibm4899.h: New file. * iconvdata/ibm4909.c: New file. * iconvdata/ibm4909.h: New file. * iconvdata/ibm4971.c: New file. * iconvdata/ibm4971.h: New file. * iconvdata/ibm5347.c: New file. * iconvdata/ibm5347.h: New file. * iconvdata/ibm9030.c: New file. * iconvdata/ibm9030.h: New file. * iconvdata/ibm9066.c: New file. * iconvdata/ibm9066.h: New file. * iconvdata/ibm9448.c: New file. * iconvdata/ibm9448.h: New file. * iconvdata/ibm12712.c: New file. * iconvdata/ibm12712.h: New file. * iconvdata/ibm16804.c: New file. * iconvdata/ibm16804.h: New file. * iconvdata/testdata/IBM803: New file. * iconvdata/testdata/IBM803..UTF8: New file. * iconvdata/testdata/IBM901: New file. * iconvdata/testdata/IBM901..UTF8: New file. * iconvdata/testdata/IBM902: New file. * iconvdata/testdata/IBM902..UTF8: New file. * iconvdata/testdata/IBM921: New file. * iconvdata/testdata/IBM921..UTF8: New file. * iconvdata/testdata/IBM1008: New file. * iconvdata/testdata/IBM1008..UTF8: New file. * iconvdata/testdata/IBM1097: New file. * iconvdata/testdata/IBM1097..UTF8: New file. * iconvdata/testdata/IBM1112: New file. * iconvdata/testdata/IBM1112..UTF8: New file. * iconvdata/testdata/IBM1123: New file. * iconvdata/testdata/IBM1123..UTF8: New file. * iconvdata/testdata/IBM1130: New file. * iconvdata/testdata/IBM1130..UTF8: New file. * iconvdata/testdata/IBM1140: New file. * iconvdata/testdata/IBM1140..UTF8: New file. * iconvdata/testdata/IBM1141: New file. * iconvdata/testdata/IBM1141..UTF8: New file. * iconvdata/testdata/IBM1142: New file. * iconvdata/testdata/IBM1142..UTF8: New file. * iconvdata/testdata/IBM1143: New file. * iconvdata/testdata/IBM1143..UTF8: New file. * iconvdata/testdata/IBM1144: New file. * iconvdata/testdata/IBM1144..UTF8: New file. * iconvdata/testdata/IBM1145: New file. * iconvdata/testdata/IBM1145..UTF8: New file. * iconvdata/testdata/IBM1146: New file. * iconvdata/testdata/IBM1146..UTF8: New file. * iconvdata/testdata/IBM1147: New file. * iconvdata/testdata/IBM1147..UTF8: New file. * iconvdata/testdata/IBM1148: New file. * iconvdata/testdata/IBM1148..UTF8: New file. * iconvdata/testdata/IBM1149: New file. * iconvdata/testdata/IBM1149..UTF8: New file. * iconvdata/testdata/IBM1166: New file. * iconvdata/testdata/IBM1166..UTF8: New file. * iconvdata/testdata/IBM1167: New file. * iconvdata/testdata/IBM1167..UTF8: New file. * iconvdata/testdata/IBM4517: New file. * iconvdata/testdata/IBM4517..UTF8: New file. * iconvdata/testdata/IBM4899: New file. * iconvdata/testdata/IBM4899..UTF8: New file. * iconvdata/testdata/IBM4909: New file. * iconvdata/testdata/IBM4909..UTF8: New file. * iconvdata/testdata/IBM4971: New file. * iconvdata/testdata/IBM4971..UTF8: New file. * iconvdata/testdata/IBM5347: New file. * iconvdata/testdata/IBM5347..UTF8: New file. * iconvdata/testdata/IBM9030: New file. * iconvdata/testdata/IBM9030..UTF8: New file. * iconvdata/testdata/IBM9066: New file. * iconvdata/testdata/IBM9066..UTF8: New file. * iconvdata/testdata/IBM9448: New file. * iconvdata/testdata/IBM9448..UTF8: New file. * iconvdata/testdata/IBM12712: New file. * iconvdata/testdata/IBM12712..UTF8: New file. * iconvdata/testdata/IBM16804: New file. * iconvdata/testdata/IBM16804..UTF8: New file. * iconvdata/run-iconv-test.sh: Run ASCII->encoding->ASCII suntzus test only if $subset is N.
* Tables for IBM1008 iconv module.Ulrich Drepper2005-09-291-0/+153
|
* [BZ #1392]Roland McGrath2005-09-292-4/+15
| | | | | | | | | | | | * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const. 2005-09-29 Alfred M. Szmidt <ams@gnu.org> * elf/rtld.c [! DL_ARGV_NOT_RELRO] (_dl_argc, _dl_skip_args): Don't use attribute_relro. 2005-09-29 Roland McGrath <roland@redhat.com> [BZ #1392]
* [BZ #1392]Roland McGrath2005-09-291-1/+1
| | | | | | 2005-09-29 Roland McGrath <roland@redhat.com> [BZ #1392] * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const.
* IBM1008 iconv module.Ulrich Drepper2005-09-299-0/+746
|
* Run ASCII->encoding->ASCII suntzus test only if $subset is N.Ulrich Drepper2005-09-291-2/+2
|
* [BZ #1392]Roland McGrath2005-09-291-0/+6
| | | | | | | 2005-09-29 Roland McGrath <roland@redhat.com> [BZ #1392] * posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer, in case __typeof yields a const-qualified type.