summaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-04-04 21:00:49 +0000
committerDJ Delorie <dj@delorie.com>2005-04-04 21:00:49 +0000
commitcc433e6ade3aea7b2242bbe6db7bc1a28f575fe5 (patch)
tree4ccb8f1c9adc9dc1cd022b2bc4fe9c3f91c152d7 /libiberty/testsuite
parent4c0ff45ff02a51eaaf8924f3ee29d31f149e2180 (diff)
downloadbinutils-redhat-cc433e6ade3aea7b2242bbe6db7bc1a28f575fe5.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/test-pexecute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/testsuite/test-pexecute.c b/libiberty/testsuite/test-pexecute.c
index c67bcefb8f..dfb5413453 100644
--- a/libiberty/testsuite/test-pexecute.c
+++ b/libiberty/testsuite/test-pexecute.c
@@ -208,11 +208,12 @@ main (int argc, char **argv)
do \
{ \
int err; \
+ const char *pex_run_err; \
if (trace) \
fprintf (stderr, "Line %d: running %s %s\n", \
__LINE__, EXECUTABLE, ARGV[0]); \
- const char *pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, \
- ARGV, OUTNAME, ERRNAME, &err); \
+ pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, ARGV, OUTNAME, \
+ ERRNAME, &err); \
if (pex_run_err != NULL) \
FATAL_ERROR (pex_run_err, err); \
} \