bug-make
[Top][All Lists]
Advanced

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

[bug #40241] CreateProcess failure with unixy paths


From: Eli Zaretskii
Subject: [bug #40241] CreateProcess failure with unixy paths
Date: Tue, 22 Oct 2013 04:23:40 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0

Follow-up Comment #10, bug #40241 (project make):

I actually tested the patch with MSYS Bash.  Can you show me one or two
examples of it mishandling quotes?  I use MSYS Bash quite a lot (although not
from the native Make), and never saw any problems with quotes.

And, btw, if you use MSYS Bash, why not use MSYS Make as well?  Then all your
problems with file names will be gone.

Also, I don't quite understand why you need to use something like
"/usr/bin/touch" and not just "touch" (assuming commands are on PATH).

IOW, I wonder whether the use case you presented is really justified, and
moreover justifies changes in Make.  I imagine you already have to cope with
quite a few quirks given your peculiar combinations of tools; perhaps one more
simple quirk will remove this problem without any need to change Make?

As for your proposed patch: I understand that it works for you.  But your use
case is quite marginal and borders on situations that the native Windows build
of Make is not supposed to support.  If such behavior is to affect everybody,
it better be right.  Your patch makes decisions at the wrong place, where it
is not yet known what the first word on the command means; it could very well
not be the command to execute, but something else entirely.  That is why I
suggested the alternative change in the place where Make knows positively that
it is looking for an executable file.

As for your question about the number of people using commands that start with
a forward slash: I don't know, but I can easily imagine that this number is
not smaller than the number of people having your specific problem.  Moreover,
while unlikely, using such file names in the native Windows port of Make is a
legitimate use case that I cannot possibly dismiss, sorry.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40241>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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