about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC is cvs/fedora-glibc-20070810T2152Ulrich Drepper2007-08-101-0/+5
| | | | available.
* * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, Jakub Jelinek2007-08-101-0/+7
| | | | | | | | | | | | ___new_wcstold_l): New weak aliases. (strtold_l, wcstold_l): Use them as second argument for long_double_symbol. 2007-08-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, ___new_wcstold_l): New weak aliases. (strtold_l, wcstold_l): Use them as second argument for long_double_symbol.
* * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correctUlrich Drepper2007-08-101-0/+3
| | | | register in test for error.
* * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define.Ulrich Drepper2007-08-101-0/+3
| | | | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise.
* * po/sv.po: Update from translation team.Ulrich Drepper2007-08-091-0/+4
|
* * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. cvs/fedora-glibc-20070809T0939Roland McGrath2007-08-071-0/+21
| | | | | | | | | | | | | | | | | | | | | | Remove __strto*_l inlines. * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. * stdlib/strtod.c: Add libc_hidden_def. * stdlib/strtod_l.c: Likewise. * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto for __new_strtold and __new_wcstold. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for __STRTOF, STRTOF. * stdlib/strtol.c: Add libc_hidden_def. * stdlib/strtol_l.c: Likewise. * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and strtoq. * scripts/data/localplt-powerpc-linux-gnu.data: New file. * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... * scripts/data/localplt-generic.data: ... here. * elf/Makefile (check-data): Get generic file if no other. ($(objpfx)check-localplt.out): Make target unconditional.
* * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion):Roland McGrath2007-08-061-0/+5
| | | | Use ElfW(Nhdr).
* * po/zh_CN.po: Updated translation from translation team.Ulrich Drepper2007-08-051-0/+4
|
* * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h (PSEUDO): Jakub Jelinek2007-08-051-0/+5
| | | | | | | | | | | | | Don't use CGOTSETUP and CGOTRESTORE macros. (CGOTSETUP, CGOTRESTORE): Remove. <IS_IN_rtld> (CENABLE, CDISABLE): Don't use JUMPTARGET, branch to @local symbol. * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Don't use CGOTSETUP and CGOTRESTORE macros. 2007-08-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Don't use CGOTSETUP and CGOTRESTORE macros.
* * posix/Makefile ($(objpfx)getconf.speclist): Fix typo.Roland McGrath2007-08-041-0/+4
|
* * po/nl.po: Likewise. cvs/fedora-glibc-20070804T2027Ulrich Drepper2007-08-041-0/+1
|
* * io/bits/fcntl2.h (open, open64, openat, openat64): Add Jakub Jelinek2007-08-041-0/+5
| | | | | | | | __extension__ around the whole statement expression. 2007-08-04 Jakub Jelinek <jakub@redhat.com> * io/bits/fcntl2.h (open, open64, openat, openat64): Add __extension__ around the whole statement expression.
* * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIRUlrich Drepper2007-08-041-0/+3
| | | | elements during initialization.
* * po/pl.po: Updated translation from translation team.Ulrich Drepper2007-08-041-0/+5
| | | | * po/tr.po: Likewise.
* * rt/aio.h: Add __nonnull attributes.Ulrich Drepper2007-08-031-0/+4
|
* * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0.Ulrich Drepper2007-08-031-0/+5
| | | | | | * stdlib/Makefile (tests): Add tst-strtod5. (tst-strtod5-ENV): New. * stdlib/tst-strtod5.c: New file.
* * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_openUlrich Drepper2007-08-031-0/+10
| | | | | | | | | | | failed. * intl/finddomain.c (_nl_find_domain): Free normalized_codeset on failure. * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be allocated. 2007-08-03 Jakub Jelinek <jakub@redhat.com>
* * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument Jakub Jelinek2007-08-031-0/+5
| | | | | | | | numbers. 2007-08-03 Jakub Jelinek <jakub@redhat.com> * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument numbers.
* * io/Makefile (aux): Add have_o_cloexec.Ulrich Drepper2007-08-031-0/+9
| | | | | | | | | | * include/fcntl.h: Declare __have_o_cloexec. * io/have_o_cloexec.c: New file. * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the fcntl call if not necessary. * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead of local variable.
* * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data.Ulrich Drepper2007-08-031-2/+5
| | | | | | | Avoid memset, add explicit initialization. * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn to the end and change into zero-sized array. Move lock member to fill a hole on 64-bit platforms.
* * sysdeps/unix/dirstream.h (struct __dirstream): Move lock memberUlrich Drepper2007-08-031-0/+12
| | | | | | | | | | | | | to fill a hole on 64-bit platforms. * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* inline functions. * include/stdlib.h: Add __strto*_internal prototypes here. * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* inline functions. * include/wchar.h: Add __wcsto*_internal prototypes. * sysdeps/generic/inttypes.h: No need to protect the declaration of the __strto*_internal and __wcsto*_internal members here.
* * rt/mqueue.h: Change const to __const and add nonnull attributes.Ulrich Drepper2007-08-021-0/+4
|
* * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links toRoland McGrath2007-08-021-0/+9
| | | | | | | | $(inst_bindir)/getconf if possible. * posix/Makefile ($(objpfx)getconf.speclist): New target. (generated): Add it. ($(inst_libexecdir)/getconf): Use it.
* * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): UsingUlrich Drepper2007-08-011-0/+6
| | | | | /proc is faster and sufficient. /sys is still needed for __get_nprocs_conf.
* * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate cvs/fedora-glibc-20070801T1703Ulrich Drepper2007-08-011-0/+7
| | | | | | syscall as __fallocate64. * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file.
* * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_tUlrich Drepper2007-08-011-0/+17
| | | | | | | | | | | | | | | | value. * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning if off_t is different rank from size_t. * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, uw_frame_state_for): Avoid type punning warnings. * sysdeps/generic/unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise. * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char pointers.
* * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): CountUlrich Drepper2007-08-011-2/+3
| | | | | total processors using sysfs. (__get_nprocs): Use sysfs to determine which processors are online.
* * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use /sysUlrich Drepper2007-07-311-0/+5
| | | | filesystem to determine which processors are online.
* * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix Jakub Jelinek2007-07-311-0/+3
| | | | | | syscall arguments count. * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix syscall arguments count.
* [BZ #4858] cvs/fedora-glibc-20070731T1624Jakub Jelinek2007-07-311-1/+1
| | | | | Fix format of [BZ #xxxx] note. [BZ #4858]
* * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.Jakub Jelinek2007-07-311-0/+4
| | | | | | 2007-07-31 Jakub Jelinek <jakub@redhat.com> * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.
* * manual/libc.texinfo: Update copyrights, formatting magic, andRoland McGrath2007-07-311-0/+5
| | | | @dircategory. From Karl Berry <karl@freefriends.org>.
* [BZ #4860]Ulrich Drepper2007-07-291-0/+3
| | | | * io/Makefile (headers): Add bits/fcntl2.h.
* * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): OptimizeUlrich Drepper2007-07-291-0/+4
| | | | | using gcc builtin. (__CPU_EQUAL_S): Likewise.
* * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree.Ulrich Drepper2007-07-291-0/+13
| | | | | | | | | | | | (tests): Add tst-cpuset. * posix/sched_cpualloc.c: New file. * posix/sched_cpufree.c: New file. * posix/tst-cpuset.c: New file. * posix/Versions: Export __sched_cpualloc and __sched_cpufree for GLIBC_2.7. * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S macros. Define CPU_*_S macros.
* * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZEUlrich Drepper2007-07-291-0/+3
| | | | entry.
* [BZ 4858]Ulrich Drepper2007-07-291-0/+7
| | | | | | * stdio-common/printf_fp.c (___printf_fp): Fix special case of #.0g and value rounded to 1.0. * stdio-common/tfformat.c (sprint_doubles): Add two new tests.
* * locale/programs/ld-monetary.c (monetary_finish): Avoid range checkUlrich Drepper2007-07-281-0/+8
| | | | | | | | | for int_frac_digits and frac_digits. * login/logout.c (logout): Avoid aliasing violation. * login/logwtmp.c (logwtmp): Likewise. * libio/genops.c (_IO_un_link): Avoid aliasing violation.
* * nscd/selinux.c (preserve_capabilities): Initialize new_capsUlrich Drepper2007-07-281-0/+9
| | | | | | | | | | to avoid warning. * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid warning. * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid warning. * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len to avoid warnings.
* * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known toUlrich Drepper2007-07-281-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | void **. * nss/nsswitch.h (service_user): Use void * type for KNOWN field. * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to char * to avoid warning. * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, allocate_arrays): Cast second argument to charmap_find_symbol to char * to avoid warnings. * locale/programs/repertoire.c (repertoire_new_char): Change from_nr, to_nr and cnt to unsigned long, adjust printf format string. * locale/programs/ld-collate.c (insert_value, handle_ellipsis): Cast second argument to new_element to char * to avoid warnings. * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. * intl/gettextP.h (struct loaded_domain): Change plural to const struct expression *. * intl/plural-eval.c (plural_eval): Change first argument to const struct expression *. * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first argument to const struct expression **. * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust prototypes. * intl/loadmsgcat (_nl_unload_domain): Cast away const in call to __gettext_free_exp. * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe unitialized wstring/wpattern var warnings. * posix/runtests.c (struct a_test): Make data field const char *. * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf vars if not LDBL_MANT_DIG >= 106. * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. * stdio-common/vfprintf.c (vfprintf): Cast first arugment to __find_specmb to avoid warning. * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts to avoid warnings. * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to initializer. * sysdeps/unix/clock_gettime.c (clock_gettime): Only define tv var when it will be actually used. * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void to avoid warnings.
* * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsignedUlrich Drepper2007-07-281-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | char array resp. pointer. * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of char array. * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument to const unsigned char **. (ucs4_to_cns11643): Change second argument to unsigned char *. * iconvdata/euc-tw.c (BODY): Change endp type to const unsigned char *. * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument to unsigned char *. * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp types to unsigned char pointers/arrays instead of char. * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument to unsigned char *. * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. * iconvdata/jis0212.h: Include assert.h. (ucs4_to_jisx0212): Change second argument to unsigned char *. assert that if cp[0] is not '\0', cp[1] is not '\0' either instead of trying to handle that. * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to shut up a warning. * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to two dimensional const unsigned char arrays. (BODY): Cast "" to (const unsigned char *) for assignment to cp. Initialize endp to inptr to shut up a warning.
* [BZ #4772]Ulrich Drepper2007-07-281-0/+4
| | | | | * time/strptime_l.c (__strptime_internal): Silently ignore strftime modifiers and field width in recursive calls.
* * include/time.h (enum ptime_locale_status): Remove.Ulrich Drepper2007-07-281-0/+15
| | | | | | | | | | | | | | (__strptime_internal): Remove decided and era_cnt arguments, add statep argument. * time/strptime_l.c (__strptime_internal): Remove decided and era_cnt arguments, add statep argument. Don't recompute any fields in recursive calls, only update caller's tm and state, if recursive call fails, don't change tm nor any state. (get_alt_number): Adjust. (recursive): Adjust caller. (strptime): Likewise. * time/strptime.c (strptime): Likewise.
* * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code.Ulrich Drepper2007-07-281-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV if from and to charsets are the same. * iconv/gconv_db.c (__gconv_find_transform): Likewise. * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open returns __GCONV_NOCONV, but not for __GCONV_NULCONV. 2007-07-17 Jakub Jelinek <jakub@redhat.com> * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. Don't define wint_t when __need_mbstate_t unless it is necessary. (__mbstate_t): Use __WINT_TYPE__ rather than wint_t in the typedef if possible. * wctype/wctype.h (wint_t): Define by including wchar.h with __need_wint_t instead of including stddef.h with __need_wint_t and as fallback definining it ourselves. * iconv/gconv.h (__need_wint_t): Define before including wchar.h. * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC or _GLIBCPP_USE_WCHAR_T. (__need_wchar_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. (__need_wint_t): Don't define before including stddef.h, define before including wchar.h only if _LIBC or _GLIBCPP_USE_WCHAR_T. (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. * sysdeps/mach/hurd/_G_config.h: Likewise. * sysdeps/generic/_G_config.h: Likewise. * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define if _LIBC or _GLIBCPP_USE_WCHAR_T.
* * sysdeps/posix/posix_fallocate64.c: UndefineUlrich Drepper2007-07-281-0/+22
| | | | | | | | | | | | | | | | | | | | | __posix_fallocate64_l64 before alias handling. * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. * io/tst-posix_fallocate.c: Include <fcntl.h>. 2007-07-23 Jakub Jelinek <jakub@redhat.com> * locale/programs/ld-collate.c (atwc): New variable. (add_to_tablewc): New toplevel function, moved from collate_output. (collate_output): Remove add_to_tablewc nested function. * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. (name_insert): New function. (write_output): Remove hash_table and hash_size vars and name_insert nested function.
* * Makerules (install-others-programs-nosubdir): New target.Roland McGrath2007-07-241-0/+13
| | | | | | | | | | | | (install-no-libc.a-nosubdir): Depend on it. * iconv/Makefile (install-others-programs): Set this instead of install-others. * login/Makefile (install-others-programs): Likewise. * posix/Makefile (install-others-programs): Likewise. * Makerules (install-no-libc.a-nosubdir): Clean up conditional dependencies.
* * io/Makefile (tests): Add tst-posix_fallocate.Ulrich Drepper2007-07-231-0/+8
| | | | | | | * io/tst-posix_fallocate.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_FALLOCATE.
* [BZ #3665, BZ #4126, BZ #4178, BZ #4610]Roland McGrath2007-07-231-2/+8
| | | | | | | | | | * hurd/getdport.c: Add missing copyright year update. [BZ #3665] [BZ #4610] [BZ #4178] [BZ #4126] * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias to __sigsuspend.
* * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro.Roland McGrath2007-07-221-0/+5
| | | | * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC.
* * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible.Ulrich Drepper2007-07-221-0/+2
|