Commit cd8a6bdf by Doug Evans

pexecute.c (PEXECUTE_VERBOSE): Define.

* pexecute.c (PEXECUTE_VERBOSE): Define.
(MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.

From-SVN: r12333
parent 1c874773
...@@ -30,10 +30,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,10 +30,11 @@ Boston, MA 02111-1307, USA. */
#include "config.h" #include "config.h"
#include "gansidecl.h" #include "gansidecl.h"
/* ??? Need to find a suitable header file. */ /* ??? Need to find a suitable header file. */
#define PEXECUTE_FIRST 1 #define PEXECUTE_FIRST 1
#define PEXECUTE_LAST 2 #define PEXECUTE_LAST 2
#define PEXECUTE_ONE (PEXECUTE_FIRST + PEXECUTE_LAST) #define PEXECUTE_ONE (PEXECUTE_FIRST + PEXECUTE_LAST)
#define PEXECUTE_SEARCH 4 #define PEXECUTE_SEARCH 4
#define PEXECUTE_VERBOSE 8
#else #else
#include "libiberty.h" #include "libiberty.h"
#endif #endif
...@@ -346,7 +347,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags) ...@@ -346,7 +347,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
fputs ("If {Failed} == 0\n", stdout); fputs ("If {Failed} == 0\n", stdout);
/* If being verbose, output a copy of the command. It should be /* If being verbose, output a copy of the command. It should be
accurate enough and escaped enough to be "clickable". */ accurate enough and escaped enough to be "clickable". */
if (verbose_flag) if (flags & PEXECUTE_VERBOSE)
{ {
fputs ("\tEcho ", stdout); fputs ("\tEcho ", stdout);
fputc ('\'', stdout); fputc ('\'', stdout);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment