----- Original Message ----- From: "Alan Stewart" > > This must have been there since many revs ago. Try this patch. > > 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. >
Yep - works fine for me. Cheers, Rob