diff options
author | DJ Delorie <dj@redhat.com> | 2005-04-04 21:00:49 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-04-04 21:00:49 +0000 |
commit | 6e933b471601ea3c21b02d3d377e416420fc56a8 (patch) | |
tree | 977f19ad215ec535908961154dbbfca4db7cf8e8 /libiberty | |
parent | ae99769bfc1990c35bfd73c7c4ed163cb9a0ad00 (diff) | |
download | gdb-6e933b471601ea3c21b02d3d377e416420fc56a8.zip gdb-6e933b471601ea3c21b02d3d377e416420fc56a8.tar.gz gdb-6e933b471601ea3c21b02d3d377e416420fc56a8.tar.bz2 |
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 6e9bf11..169c821 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 c67bcef..dfb5413 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); \ } \ |