summaryrefslogtreecommitdiff
path: root/w32
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-04-22 02:11:17 +0000
committerPaul Smith <psmith@gnu.org>2000-04-22 02:11:17 +0000
commit5ed9fb46b28be4a703c1d88915fa150f0b74d5f4 (patch)
tree61047b6120465235eb65f70345fb3afd4b8a063b /w32
parentf9c91ec34d9427c35bceec9b025a0bb20c9ec17f (diff)
downloadgunmake-5ed9fb46b28be4a703c1d88915fa150f0b74d5f4.tar.gz
* Various bug fixes.
Diffstat (limited to 'w32')
-rw-r--r--w32/subproc/sub_proc.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/w32/subproc/sub_proc.c b/w32/subproc/sub_proc.c
index 1cf3bea..52f2fa2 100644
--- a/w32/subproc/sub_proc.c
+++ b/w32/subproc/sub_proc.c
@@ -7,11 +7,10 @@
#include "proc.h"
#include "w32err.h"
#include "config.h"
+#include "debug.h"
static char *make_command_line(char *shell_name, char *exec_path, char **argv);
-extern int debug_flag; /* from make */
-
typedef struct sub_process_t {
int sv_stdin[2];
int sv_stdout[2];
@@ -506,10 +505,9 @@ process_begin(
if (envblk) free(envblk);
return -1;
} else {
- if (debug_flag)
- printf("CreateProcess(%s,%s,...)\n",
- exec_path ? exec_path : "NULL",
- command_line ? command_line : "NULL");
+ DB (DB_JOBS, ("CreateProcess(%s,%s,...)\n",
+ exec_path ? exec_path : "NULL",
+ command_line ? command_line : "NULL"));
if (CreateProcess(
exec_path,
command_line,