[Lxr-commits] CVS: lxr/lib/LXR/Files CVS.pm,1.31,1.32
Brought to you by:
ajlittoz
From: Dave B. <bro...@us...> - 2004-09-02 18:50:12
|
Update of /cvsroot/lxr/lxr/lib/LXR/Files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1587/lib/LXR/Files Modified Files: CVS.pm Log Message: iPlanet on solaris.. what a fun non-gnu platform... anyway, this keeps error messages from getting output and creating malformed headers Index: CVS.pm =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Files/CVS.pm,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- CVS.pm 21 Jul 2004 20:44:30 -0000 1.31 +++ CVS.pm 2 Sep 2004 18:50:03 -0000 1.32 @@ -38,7 +38,7 @@ # the rcsdiff command (used in getdiff) uses parameters only supported by GNU diff $ENV{'PATH'} = '/bin:/usr/local/bin:/usr/bin:/usr/sbin'; - if (`diff --version` =~ /GNU/) { + if (`diff --version 2>/dev/null` =~ /GNU/) { $gnu_diff = 1; } else { $gnu_diff = 0; |