config/debug/dmalloc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Sep 07 01:22:37 2011 +0200 (2011-09-07)
changeset 2653 e5fc5c9ea78a
parent 1844 4d6a56579d9d
permissions -rw-r--r--
scripts: fix sysroot prefix dir

The sysroot prefix dir was broken in #4960f5d9f829 due to a mishap
when making the out-of-sysroot lib/ symlink: the './' was mistakenly
changed into a single '.' .

Although Jonathan suggested restoring the missing '/' to restore it to
normal operation, I prefered using an explicit pushd/popd to be extra
sure of the symlink location and target, along with a fix in the sysroot
relative directory calculation.

Reported-by: Jonathan Grundon <JGrundon@xos.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # dmalloc debug facility
     2 
     3 ## depends on ! BACKEND
     4 ##
     5 ## help dmalloc helps tracking memory allocation mis-usage
     6 ## help such as double-free, use-after-free...
     7 
     8 choice
     9     bool
    10     prompt "dmalloc version"
    11 # Don't remove next line
    12 # CT_INSERT_VERSION_BELOW
    13 
    14 config DMALLOC_V_5_5_2
    15     bool
    16     prompt "5.5.2"
    17 
    18 endchoice
    19 
    20 config DMALLOC_VERSION
    21     string
    22 # Don't remove next line
    23 # CT_INSERT_VERSION_STRING_BELOW
    24     default "5.5.2" if DMALLOC_V_5_5_2