Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forgot to par_unsetenv('PAR_TMPDIR')? [rt.cpan.org #132802] #33

Open
rschupp opened this issue Jan 13, 2021 · 0 comments
Open

Forgot to par_unsetenv('PAR_TMPDIR')? [rt.cpan.org #132802] #33

rschupp opened this issue Jan 13, 2021 · 0 comments

Comments

@rschupp
Copy link
Owner

rschupp commented Jan 13, 2021

Migrated from rt.cpan.org#132802 (status was 'new')

Requestors:

From ralf.neubauer@wido.bv.aok.de on 2020-06-10 20:18:23
:

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


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant