diff options
author | DJ Delorie <dj@delorie.com> | 2005-04-04 21:00:49 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-04-04 21:00:49 +0000 |
commit | 5c068f6d0d77b0e8e30daefbf4cd51dd2c27b571 (patch) | |
tree | a97bc132735f93852916d0faa07d830c880259ad /libiberty | |
parent | af96d4ffb6a505e67cbed6fac953b7ff3ae83350 (diff) | |
download | gdb-5c068f6d0d77b0e8e30daefbf4cd51dd2c27b571.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/testsuite/test-pexecute.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 6e9bf117b5c..169c821e5ac 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2005-04-04 Ian Lance Taylor <ian@airs.com> + + * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable + declaration before statement. + 2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * bcmp.c: Fix warnings and implement using memcmp. diff --git a/libiberty/testsuite/test-pexecute.c b/libiberty/testsuite/test-pexecute.c index c67bcefb8f6..dfb5413453e 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); \ } \ |