From: Roland McGrath Date: Thu, 9 Mar 1995 01:08:14 +0000 (+0000) Subject: (construct_command_argv_internal) [__MSDOS__]: Fix typos. X-Git-Tag: 3.72.10~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=595f7598ae9cfda75fd2f0ecb93886876c4e0f57;p=thirdparty%2Fmake.git (construct_command_argv_internal) [__MSDOS__]: Fix typos. --- diff --git a/job.c b/job.c index a977fb5a..8e979fc6 100644 --- a/job.c +++ b/job.c @@ -1497,7 +1497,7 @@ construct_command_argv_internal (line, restp, shell, ifs) strcat (dos_bname, ".bat"); strcat (dos_bename, ".err"); } - batch = fopen(bename, "w"); /* Create a file. */ + batch = fopen (dos_bename, "w"); /* Create a file. */ if (batch != NULL) fclose (batch); batch = fopen (dos_bname, "w"); @@ -1506,7 +1506,7 @@ construct_command_argv_internal (line, restp, shell, ifs) fprintf (batch, "\nif errorlevel 1 del %s\n", dos_bename); fclose (batch); new_argv = (char **) xmalloc(2 * sizeof(char *)); - new_argv[0] = strdup (bname); + new_argv[0] = strdup (dos_bname); new_argv[1] = 0; } #else /* Not MSDOS. */