| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-13 Ulrich Drepper <drepper@redhat.com>
[BZ #5381]
* nscd/nscd.h: Remove definitions and declarations for mem_in_flight.
Change mempool_alloc prototype.
* nscd/mem.c (gc): Don't handle mem_in_flight.
(mempool_alloc): Third parameter now only indicates whether this is the
first call (to allocate data) or not. If it is, get db rdlock.
Release it on error. Don't handle mem_in_flight.
* nscd/aicache.c (addhstaiX): Mark he parameter as const.
Adjust third parameter of mempool_alloc calls.
Nothing to do here in case mempool_alloc fails.
Avoid local variable shadowing parameter. No need to get db rdlock
before calling cache_add.
* nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is
no mem_in_flight array anymore.
* nscd/connections.c: Remove definition and handling of mem_in_flight.
* nscd/grpcache.c (cache_addgr): Adjust third parameter of
mempool_alloc calls. Mark he parameter as const. Nothing to do here
in case mempool_alloc fails. No need to get db rdlock before calling
cache_add.
* nscd/hstcache.c (cache_addhst): Likewise.
* nscd/initgrcache.c (addinitgroupsX): Likewise.
* nscd/servicescache.c (cache_addserv): Likewise.
* nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code.
|
| |
|
|
|
|
| |
Patch by Santhosh Thottingal <santhosh.thottingal@gmail.com>.
|
|
|
|
|
|
|
| |
defined, allow additional data to be added using the optional
MORE_ELF_HEADER_DATA macro.
* sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER,
VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define.
|
|
|
|
|
| |
* sysdeps/x86_64/bits/atomic.h: Define catomic_and.
* sysdeps/i386/i486/bits/atomic.h: Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Change all callers.
(_int_realloc): Likewise.
All _int_* functions are now static.
* malloc/hooks.c: Change all callers to _int_free and _int_realloc.
* malloc/arena.c: Likewise.
* include/malloc.h: Remove now unnecessary declarations of the _int_*
functions.
|
|
|
|
| |
easily.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-06 Ulrich Drepper <drepper@redhat.com>
[BZ #7095]
* bits/confname.h: Add SUSv7 macros for getconf environments.
* bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise.
* posix/confstr.c: Handle SUSv5 and SUSv7 environments.
* posix/getconf.c: Likewise.
* posix/sysconf.c: Likewise.
* sysdeps/posix/sysconf.c: Likewise.
* posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7
environments.
|
|
|
|
|
|
| |
* Makefile ($(inst_i18ndir)/charmaps/%.gz): No need to save
timestamp in compressed charmaps.
Patch by Gilles Espinasse <g.esp@free.fr>.
|
|
|
|
|
|
|
| |
2009-01-16 Petr Baudis <pasky@suse.cz>
[BZ #9753]
* resolv/res_libc.c (__res_maybe_init): Call __res_vinit()
even if we currently have zero nscount.
|
|
|
|
|
| |
* grp/compat-initgroups.c (compat_call): Switch to use malloc when
the input line is too long.
|
| |
|
|
|
|
| |
parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* elf/ldd.bash.in: Likewise.
* elf/sprof.c: Likewise.
* locale/programs/locale.c: Likewise.
* malloc/memusage.sh: Likewise.
* nss/getent.c: Likewise.
2009-02-06 Joseph Myers <joseph@codesourcery.com>
* debug/pcprofiledump.c (print_version,
argp_program_version_hook): New function.
* elf/ldconfig.c (more_help): New function.
(argp): Use it.
* elf/sln.c (usage): New function.
(main): Support --help and --version.
* malloc/memusagestat.c (print_version): New function.
(argp_program_version_hook): New variable.
* nscd/nscd.c (more_help): New function.
(argp): Use it.
* posix/getconf.c (main): Send --version output to stdout.
Support --help.
* sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS
arguments. All callers changed.
(print_version): New function.
(parseargs): Support --help and --version.
* sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers
changed.
(print_version): New function.
(main): Use getopt_long. Support --help and --version.
* sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and
--version.
2009-02-06 Ulrich Drepper <drepper@redhat.com>
|
|
|
|
| |
(update_data): Fix handling of wrapping back
|
|
|
|
| |
to the beginning of the buffer.
|
|
|
|
| |
the special case [Coverity CID 251].
|
|
|
|
|
|
| |
2009-02-06 Ulrich Drepper <drepper@redhat.com>
[BZ #9823]
* stdio-common/psignal.c (psignal): Fix test for empty string.
|
|
|
|
|
| |
* sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also
move _null_auth to .rodata.
|
|
|
|
| |
value of 24.
|
| |
|
|
|
|
|
|
|
|
| |
today than when the original code was written. Use larger
buffers. This also makes it unnecessary to have stat information,
if this causes extra efforts.
(__opendir): In case O_DIRECTORY works, don't call fstat just for
__alloc_dir.
|
|
|
|
|
|
|
|
|
|
| |
is set.
* sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU.
* sysdeps/sh/sh4/__longjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
|
| |
|
|
|
|
| |
Add _tid slot to maintain consistency with kernel.
|
|
|
|
|
|
|
|
| |
* libio/wfileops.c (_IO_wfile_underflow): Fix handling of
incomplete characters at end of input buffer.
* libio/Makefile (tests): Add tst-fgetwc.
* libio/tst-fgetwc.c: New file.
* libio/tst-fgetwc.input: New file.
|
| |
|
|
|
|
|
|
| |
2009-02-04 Andreas Jaeger <aj@suse.de>
* FAQ.in: Remove reference to my mips page.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
2009-02-02 Ulrich Drepper <drepper@redhat.com>
[BZ #9793]
* iconv/gconv_trans.c (__gconv_transliterate): Don't change
*OUTBUFSTART unless the whole output fit into the buffer.
* iconv/Makefile (tests): Add tst-iconv4.
* iconv/tst-iconv4.c: New file.
|
|
|
|
| |
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
|
|
|
|
|
| |
check whether this is due to permission problems and bail in that
case.
|
|
|
|
| |
newer linker scripts.
|
|
|
|
|
|
|
| |
2009-01-30 Ulrich Drepper <drepper@redhat.com>
[BZ #7040]
* sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of
inotify_rm_watch should have type int.
|
|
|
|
|
|
| |
Make aligned_restore_vmx a local symbol.
* sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-30 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-11 Ryan S. Arnold <rsa@us.ibm.com>
[BZ #9726]
* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR,
_SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes.
2009-01-08 Ryan S. Arnold <rsa@us.ibm.com>
[BZ #9726]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
(__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
(__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
|
|
|
|
|
| |
memcpy instead of memcmp.
(_dl_setup_pointer_guard): Likewise.
|
|
|
|
|
|
| |
manipulated brk, use malloc_printerr.
* misc/sbrk.c (__sbrk): Better error handling for nonsense
requests.
|
|
|
|
|
|
| |
rindex): For C++ add inlines so that they can be recognized as
builtins.
* string/strings.h: Define correct C++ prototypes for gcc 4.4.
|
|
|
|
| |
pointer variables.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(__free_stack_cache): Removed. Change callers to call __free_stacks.
* init.c (nptl_freeres): New function.
(pthread_functions): Initialize ptr_freeres to nptl_freeres.
* pthreadP.h: Don't declare __free_stack_cache. Declare __free_stacks.
* sysdeps/pthread/unwind-forcedunwind.c (libgcc_s_handle): New
variable.
(pthread_cancel_init): Depend in libgcc_s_handle for decision to
load DSO. Assign last.
(__unwind_freeres): New function.
* allocatestack.c (__reclaim_stacks): Reset in_flight_stack later
for better debugging. No need to use stack_list_add here.
|
|
|
|
| |
* wcsmbs/wchar.h: Likewise.
|
|
|
|
|
|
|
| |
* string.h: Define correct C++ prototypes for gcc 4.4.
* wchar.h: Likewise.
2009-01-29 Ulrich Drepper <drepper@redhat.com>
|