bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diffutils-2.8


From: Randy Zagar
Subject: diffutils-2.8
Date: Tue, 11 Jun 2002 13:23:21 -0500

The configure script for diffutils-2.8 should set DEFAULT_DIFF_PROGRAM
in config.h to be

        "${prefix}/bin/diff"

instead of just

        "diff"

When you run GNU sdiff it eventually does an
execvp(DEFAULT_DIFF_PROGRAM, (char **) argv).
With DEFAULT_DIFF_PROGRAM defined as "diff", then you'll end up running
whichever "diff"
is first in your ${PATH}.  If the vendor "diff" isn't GNU diff, then
this will cause problems.

Thanks,

Randy Zagar

Applied Research Laboratories
The University of Texas at Austin


-- 
Knuth: Premature optimization is the root of all evil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]