develooper Front page | perl.par | Postings from September 2017

[rt.cpan.org #122949] PAR-Packer-1.37 executables split argumentscontaining whitespace

From:
Andrew Gregory via RT
Date:
September 3, 2017 19:13
Subject:
[rt.cpan.org #122949] PAR-Packer-1.37 executables split argumentscontaining whitespace
Message ID:
rt-4.0.18-17527-1504465991-515.122949-15-0@rt.cpan.org
Sun Sep 03 15:13:11 2017: Request 122949 was acted upon.
Transaction: Ticket created by APG
       Queue: PAR-Packer
     Subject: PAR-Packer-1.37 executables split arguments containing whitespace
   Broken in: 1.037
    Severity: Important
       Owner: Nobody
  Requestors: APG@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122949 >


Windows executables built with pp 1.37 split any arguments containing whitespace.

The bug can be seen with a one-line script: print join(':', @ARGV)

Packed with pp 1.36, `a.exe "foo bar"` prints "foo bar".
Packed with pp 1.37, `a.exe "foo bar"` prints "foo:bar".

Encountered on Windows 7 under Strawberry perl 5.24 and 5.26.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About