Hi Alan, hi Glenn,
Alan Stewart wrote:
[...]
In file static.c at line 86, change:
for (i = 0; i < argc; i++) {
buf = (char *)malloc(strlen(argv[i]) + 14);
sprintf(buf, "PAR_ARGV_%i", i);
par_setenv(buf, argv[i]);
}
to:
for (i = 0; i < argc; i++) {
buf = (char *)malloc(strlen(argv[i]) + 14);
sprintf(buf, "PAR_ARGV_%i", i);
par_unsetenv(buf);
par_setenv(buf, argv[i]);
}
and recompile PAR.
I have tested this on my machine and applied the patch to the subversion
repository. It will be in 0.91. Thank you for your help!
Steffen