summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-08-10 01:27:16 +0000
committerPaul Smith <psmith@gnu.org>2002-08-10 01:27:16 +0000
commit299c72e6ed86a1e7a50ec1f5d1a813c383ed0345 (patch)
treed155f782aee6b11704d59a8dd958bc09d5b2c9d5 /job.c
parentee3a4f9dd600b4a80a9957e2c3dd90c99d73cf0e (diff)
downloadgunmake-299c72e6ed86a1e7a50ec1f5d1a813c383ed0345.tar.gz
Update to a new version of automake and gettext.
Invent a new macro HAVE_DOS_PATHS and change various instances of: #if defined(WINDOWS) || defined(__MSDOS__) to use the new macro instead. This should help make the OS/2 port cleaner, as well. Invent a cvs-clean maintainer target that tries to get the workspace back to the state it was in after a CVS checkout. New language.
Diffstat (limited to 'job.c')
-rw-r--r--job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/job.c b/job.c
index 5b8628a..63456a7 100644
--- a/job.c
+++ b/job.c
@@ -2667,7 +2667,7 @@ construct_command_argv_internal (line, restp, shell, ifs, batch_filename_ptr)
}
else if (p[1] != '\0')
{
-#if defined(__MSDOS__) || defined(WINDOWS32)
+#ifdef HAVE_DOS_PATHS
/* Only remove backslashes before characters special
to Unixy shells. All other backslashes are copied
verbatim, since they are probably DOS-style
@@ -2691,8 +2691,8 @@ construct_command_argv_internal (line, restp, shell, ifs, batch_filename_ptr)
&& (strchr (sh_chars_sh, p[1]) == 0))
/* back up one notch, to copy the backslash */
--p;
+#endif /* HAVE_DOS_PATHS */
-#endif /* __MSDOS__ || WINDOWS32 */
/* Copy and skip the following char. */
*ap++ = *++p;
}