Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 132802
Status: new
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: Ralf.Neubauer [...] wido.bv.aok.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Forgot to par_unsetenv('PAR_TMPDIR')?
Date: Wed, 10 Jun 2020 20:03:12 +0000
To: "bug-PAR-Packer [...] rt.cpan.org" <bug-PAR-Packer [...] rt.cpan.org>
From: "Neubauer, Ralf" <ralf.neubauer [...] wido.bv.aok.de>
Hi, the following code in myldr/utils.c line 239 looks suspicious. Shouldn't PAR_TMPDIR also be unset? par_unsetenv("PERLIO"); par_unsetenv("PAR_INITIALIZED"); par_unsetenv("PAR_SPAWNED"); par_unsetenv("PAR_TEMP"); par_unsetenv("PAR_CLEAN"); par_unsetenv("PAR_DEBUG"); par_unsetenv("PAR_CACHE"); par_unsetenv("PAR_PROGNAME"); if ( (buf = par_getenv("PAR_GLOBAL_DEBUG")) != NULL ) { par_setenv("PAR_DEBUG", buf); } if ( (buf = par_getenv("PAR_GLOBAL_TMPDIR")) != NULL ) { par_setenv("PAR_TMPDIR", buf); } if ( (buf = par_getenv("PAR_GLOBAL_TEMP")) != NULL ) { par_setenv("PAR_TEMP", buf); } else if ( (buf = par_getenv("PAR_GLOBAL_CLEAN")) != NULL ) { par_setenv("PAR_CLEAN", buf); } Mit freundlichen Grüßen Ralf