[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make CVS (Win32) improperly leaves batch files with -n

From: Eli Zaretskii
Subject: Re: Make CVS (Win32) improperly leaves batch files with -n
Date: Wed, 15 Feb 2006 06:32:04 +0200

> From: "J. David Bryan" <address@hidden>
> Date: Tue, 14 Feb 2006 18:54:59 -0500
> CC: address@hidden
> > If Make does need to invoke the shell, the Windows port always forces
> > use of batch files with cmd.exe (sh.exe is invoked as on Unix, by
> > default).  I'm guessing that this is because the quoting rules are very
> > different on Windows, and because Windows 9x has a different (more
> > stupid) shell....
> Would it be reasonable to condition this on whether "" or 
> "cmd.exe" is the shell?

Quoting in cmd.exe is still very different from a Unixy shell, so
construct_command_argv_internal will still need lots of cmd-specific
code fragments, I think.  Something for a rainy day, I guess.

> Or might batch file usage incur such a small time penalty, as a
> percentage of overall make time, that it isn't worth the effort?

I think the penalty of creating a batch file on Windows XP is indeed
very small.  You can try it yourself and see.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]