Date: | Wed, 24 Mar 2004 16:17:43 -0800 (PST) |
From: | David Dyck <david.dyck [...] fluke.com> |
To: | bug-par [...] rt.cpan.org |
Subject: | par_setenv usage inconsistent |
I noticed in myldr/env.c that
/*
* setenv --
* Set the value of the environmental variable "name" to be
* "value". If rewrite is set, replace any current value.
*/
static int
par_setenv(name, value, rewrite)
par_setenv is declared with 3 arguments, but the calls
to par_setenv in utils.c and mktmpdir.c don't pass
the the rewrite argument in.
This is probably not the reason that PAR-0.80 doesn't
build with perl 5.9.2, but since I heard nothing from
the previous email I sent to this list, I have started
looking into the problem myself.
utils.c:36 par_setenv("PAR_PROGNAME", prog);
utils.c:53 par_setenv("PAR_PROGNAME", prog);
utils.c:60 par_setenv("PAR_PROGNAME", filename);
utils.c:66 par_setenv("PAR_PROGNAME", prog);
utils.c:134 par_setenv("PAR_DEBUG", buf);
utils.c:138 par_setenv("PAR_TEMP", buf);
utils.c:141 par_setenv("PAR_CLEAN", buf);
utils.c:146 par_setenv("PAR_CLEAN", buf + strlen("PAR_CLEAN="));
utils.c:150 par_setenv("PAR_INITIALIZED", "1");
mktmpdir.c:113 par_setenv("PAR_CLEAN", "1");
mktmpdir.c:123 par_setenv("PAR_TEMP" , stmpdir);
mktmpdir.c:129 par_setenv(key, stmpdir);
mktmpdir.c:142 par_setenv(key, ld_path_env);