bug-make
[Top][All Lists]
Advanced

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

[bug #56449] job.c (construct_command_argv_internal): Must use shell if


From: Eli Zaretskii
Subject: [bug #56449] job.c (construct_command_argv_internal): Must use shell if '%' character is present in recipe line
Date: Fri, 30 Aug 2019 10:14:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #11, bug #56449 (project make):

> I also remember that using echo is not a good idea for demonstration with
make.

I also mentioned calling a Windows program with the argument of %%.  The
program in this case gets the literal two % characters in its argv[] array.

If you invoke your argv.exe program from cmd.exe prompt with "%%" as a
command-line argument, don't you see the same output as what mingw-make.exe
produced before this change?  That is what I see, and that tells me that the
change is simply wrong, as it makes GNU Make behave like a batch file
processor, which is not what's expected.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56449>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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