Wed Sep 30 04:25:33 2009: Request 18472 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: "parl foo.par script.pl ..." uses a cache area that doesn't 
depend on foo.par
   Broken in: 0.975, 0.982, 0.991
    Severity: Normal
       Owner: SMUELLER
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=18472 >


On Thu Sep 24 22:00:39 2009, TJC wrote:
> Which bit of the test suite fails for you?
> I have it passing here with my patch.. Although it was notable that I
> had to do a "make realclean" and also remove the old system libraries
first:

Me bad, I should have known better. Now the test suite also
passes for me and the behaviour seems as expected
for the case of "parl foo.par bar.pl". (The only irritation
was that cache directory used in this case was indeed different
from the cache name "burned" into parl. But I expected it
to be the SHA1 checksum of foo.par and it wasn't. Different bug.)
 
I tightened your check for "am I invoked as 'parl foo.par ...'?"
a bit (just paranoid), the only thing really necessary is
to check that argv[1] is not NULL before passing it into a string
function. 

Can you check whether the attached patch works for you?

Attachment: rt18472.patch
Description: Binary data

Reply via email to