On Wed, May 19, 2004 at 11:05:19PM +0800, Autrijus Tang wrote:
> On Wed, May 19, 2004 at 10:25:18AM -0400, the.noonings wrote:
> > Bug!  Help needed!
> 
> Duplicated here.  Seems to be a very old bug that involves a botched
> par_findprog() on non-Win32 systems.  Will look into it right after I wake up.

It has just been closed.  Turns out that par_findprog() clobbers the
char* passed into it, so $ENV{PATH} was truncated inappropriately.
This does not happen on Win32 because a win32-specific call supercedes
the clobbering parts.

Applying a strdup() around the argument has solved the problem.
Now I can finally release PAR 0.81.  Yay!

Thanks,
/Autrijus/

Attachment: pgpJv6TvfqzFG.pgp
Description: PGP signature

Reply via email to