merge from gcc

This commit is contained in:
DJ Delorie 2005-04-04 21:00:49 +00:00
parent ae99769bfc
commit 6e933b4716
2 changed files with 8 additions and 2 deletions

View file

@ -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.

View file

@ -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); \
} \