config/debug/ltrace.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 01 17:09:52 2010 +0100 (2010-01-01)
changeset 1673 ecb7fcc4edb0
parent 1536 28dfc4fc15e9
child 1685 ecccce88fc71
permissions -rw-r--r--
scripts/functions: fix downloading with aria2

In case the remote file does not exist (and probably for some
other reasons as well), aria2 nonetheless creates an empty file
(or not empty for some other reasons).

The solution is to delete the file whenever aria2 fails.
     1 # ltrace
     2 
     3 config DEBUG_ltrace
     4     select TOOL_libelf
     5     help
     6       ltrace is a program that simply runs the specified command until it exits.
     7       It intercepts and records the dynamic library calls which are called by
     8       the executed process and the signals which are received by that process.
     9       It can also intercept and print the system calls executed by the program.
    10 
    11 choice
    12     bool
    13     prompt "ltrace version"
    14 # Don't remove next line
    15 # CT_INSERT_VERSION_BELOW
    16 
    17 config LTRACE_V_0_5_2
    18     bool
    19     prompt "0.5.2"
    20 
    21 config LTRACE_V_0_5_1
    22     bool
    23     prompt "0.5.1 (EXPERIMENTAL)"
    24     depends on EXPERIMENTAL
    25 
    26 config LTRACE_V_0_5
    27     bool
    28     prompt "0.5 (OBSOLETE)"
    29     depends on OBSOLETE
    30 
    31 config LTRACE_V_0_4
    32     bool
    33     prompt "0.4 (OBSOLETE)"
    34     depends on OBSOLETE
    35 
    36 endchoice
    37 
    38 config LTRACE_VERSION
    39     string
    40 # Don't remove next line
    41 # CT_INSERT_VERSION_STRING_BELOW
    42     default "0.5.2" if LTRACE_V_0_5_2
    43     default "0.5.1" if LTRACE_V_0_5_1
    44     default "0.5" if LTRACE_V_0_5
    45     default "0.4" if LTRACE_V_0_4