bug-make
[Top][All Lists]
Advanced

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

[bug #44348] Quoted arguments and wildcard extension if temporary batch


From: Stefan Potyra
Subject: [bug #44348] Quoted arguments and wildcard extension if temporary batch file is not used
Date: Mon, 23 Feb 2015 08:12:14 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0

URL:
  <http://savannah.gnu.org/bugs/?44348>

                 Summary: Quoted arguments and wildcard extension if temporary
batch file is not used
                 Project: make
            Submitted by: spotyra
            Submitted on: Mon 23 Feb 2015 08:12:12 AM GMT
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.1
        Operating System: MS Windows
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Hi,

when using cmd.exe as SHELL and MAKESHELL, make nowadays supports using a
shortcut to not create a temporary .bat-file. This works great except under
the following circumstances:
If an argument to a command is quoted and contains a wildcard, and a filename
matches this wildcard then this argument is expanded. This behavior is
different from the behavior on a unixy system or when a temporary batch-file
is used.

This problem happens when the command is a cygwin command (and I'm using a
mingw-built make). I don't think it happens when running a native windows
command, but I'm not sure about this.

This problem seems to persist in 4.0 and 4.1.

I'm attaching a trivial example Makefile and script to reproduce this
problem.

Cheers and thanks,
  Stefan.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 23 Feb 2015 08:12:12 AM GMT  Name: test.mak  Size: 243B   By:
spotyra

<http://savannah.gnu.org/bugs/download.php?file_id=33159>
-------------------------------------------------------
Date: Mon 23 Feb 2015 08:12:12 AM GMT  Name: printargs.pl  Size: 81B   By:
spotyra

<http://savannah.gnu.org/bugs/download.php?file_id=33160>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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