Update.
2002-05-05 Ulrich Drepper <drepper@redhat.com> * malloc/mtrace.c: Comment out use of _mtrace_file and _mtrace_len.
This commit is contained in:
parent
65fae6a67f
commit
64ae9b09d3
|
@ -1,3 +1,7 @@
|
||||||
|
2002-05-05 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* malloc/mtrace.c: Comment out use of _mtrace_file and _mtrace_len.
|
||||||
|
|
||||||
2002-05-04 Ulrich Drepper <drepper@redhat.com>
|
2002-05-04 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* locale/duplocale.c (__duplocale): Update special members only
|
* locale/duplocale.c (__duplocale): Update special members only
|
||||||
|
|
|
@ -59,10 +59,12 @@ __libc_lock_define_initialized (static, lock);
|
||||||
/* Address to breakpoint on accesses to... */
|
/* Address to breakpoint on accesses to... */
|
||||||
__ptr_t mallwatch;
|
__ptr_t mallwatch;
|
||||||
|
|
||||||
|
#ifdef USE_MTRACE_FILE
|
||||||
/* File name and line number information, for callers that had
|
/* File name and line number information, for callers that had
|
||||||
the foresight to call through a macro. */
|
the foresight to call through a macro. */
|
||||||
char *_mtrace_file attribute_hidden;
|
char *_mtrace_file;
|
||||||
int _mtrace_line attribute_hidden;
|
int _mtrace_line;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Old hook values. */
|
/* Old hook values. */
|
||||||
static void (*tr_old_free_hook) __P ((__ptr_t ptr, const __ptr_t));
|
static void (*tr_old_free_hook) __P ((__ptr_t ptr, const __ptr_t));
|
||||||
|
@ -89,12 +91,15 @@ internal_function
|
||||||
tr_where (caller)
|
tr_where (caller)
|
||||||
const __ptr_t caller;
|
const __ptr_t caller;
|
||||||
{
|
{
|
||||||
|
#ifdef USE_MTRACE_FILE
|
||||||
if (_mtrace_file)
|
if (_mtrace_file)
|
||||||
{
|
{
|
||||||
fprintf (mallstream, "@ %s:%d ", _mtrace_file, _mtrace_line);
|
fprintf (mallstream, "@ %s:%d ", _mtrace_file, _mtrace_line);
|
||||||
_mtrace_file = NULL;
|
_mtrace_file = NULL;
|
||||||
}
|
}
|
||||||
else if (caller != NULL)
|
else
|
||||||
|
#endif
|
||||||
|
if (caller != NULL)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_ELF
|
#ifdef HAVE_ELF
|
||||||
Dl_info info;
|
Dl_info info;
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
# Local configure fragment for sysdeps/unix/sysv/linux.
|
# Local configure fragment for sysdeps/unix/sysv/linux.
|
||||||
|
|
||||||
# On Linux, the default is to use libio instead of stdio.
|
|
||||||
test $stdio = default && stdio=libio
|
|
||||||
|
|
||||||
# Don't bother trying to generate any glue code to be compatible with the
|
# Don't bother trying to generate any glue code to be compatible with the
|
||||||
# existing system library, because we are the only system library.
|
# existing system library, because we are the only system library.
|
||||||
inhibit_glue=yes
|
inhibit_glue=yes
|
||||||
|
@ -12,12 +9,12 @@ if test -n "$sysheaders"; then
|
||||||
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
|
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
|
||||||
fi
|
fi
|
||||||
echo $ac_n "checking installed Linux kernel header files""... $ac_c" 1>&6
|
echo $ac_n "checking installed Linux kernel header files""... $ac_c" 1>&6
|
||||||
echo "configure:16: checking installed Linux kernel header files" >&5
|
echo "configure:13: checking installed Linux kernel header files" >&5
|
||||||
if eval "test \"`echo '$''{'libc_cv_linux2010'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'libc_cv_linux2010'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 21 "configure"
|
#line 18 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
#if !defined LINUX_VERSION_CODE || LINUX_VERSION_CODE < (2 *65536+ 0 *256+ 10) /* 2.0.10 */
|
#if !defined LINUX_VERSION_CODE || LINUX_VERSION_CODE < (2 *65536+ 0 *256+ 10) /* 2.0.10 */
|
||||||
|
@ -122,11 +119,11 @@ fi
|
||||||
|
|
||||||
if test -n "$minimum_kernel"; then
|
if test -n "$minimum_kernel"; then
|
||||||
echo $ac_n "checking for kernel header at least $minimum_kernel""... $ac_c" 1>&6
|
echo $ac_n "checking for kernel header at least $minimum_kernel""... $ac_c" 1>&6
|
||||||
echo "configure:126: checking for kernel header at least $minimum_kernel" >&5
|
echo "configure:123: checking for kernel header at least $minimum_kernel" >&5
|
||||||
decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`;
|
decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`;
|
||||||
abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`;
|
abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`;
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 130 "configure"
|
#line 127 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
#if LINUX_VERSION_CODE < $decnum
|
#if LINUX_VERSION_CODE < $decnum
|
||||||
|
@ -256,7 +253,7 @@ if test $host = $build; then
|
||||||
ac_prefix=$ac_default_prefix
|
ac_prefix=$ac_default_prefix
|
||||||
fi
|
fi
|
||||||
echo $ac_n "checking for symlinks in ${ac_prefix}/include""... $ac_c" 1>&6
|
echo $ac_n "checking for symlinks in ${ac_prefix}/include""... $ac_c" 1>&6
|
||||||
echo "configure:260: checking for symlinks in ${ac_prefix}/include" >&5
|
echo "configure:257: checking for symlinks in ${ac_prefix}/include" >&5
|
||||||
ac_message=
|
ac_message=
|
||||||
if test -L ${ac_prefix}/include/net; then
|
if test -L ${ac_prefix}/include/net; then
|
||||||
ac_message="$ac_message
|
ac_message="$ac_message
|
||||||
|
|
Loading…
Reference in New Issue