diff options
author | Roland McGrath <roland@redhat.com> | 1995-03-09 01:08:14 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-03-09 01:08:14 +0000 |
commit | 595f7598ae9cfda75fd2f0ecb93886876c4e0f57 (patch) | |
tree | 25c9f6b7f7f81693fee81ab1c53fa86b6dbb6f3f | |
parent | 8bc1a424e27ae5725e0cada2d0006305c8513673 (diff) | |
download | make-595f7598ae9cfda75fd2f0ecb93886876c4e0f57.tar.gz |
(construct_command_argv_internal) [__MSDOS__]: Fix typos.
-rw-r--r-- | job.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |