[Lxr-commits] CVS: lxr search,1.28,1.29
Brought to you by:
ajlittoz
From: Dave B. <bro...@us...> - 2005-10-07 21:38:18
|
Update of /cvsroot/lxr/lxr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2686 Modified Files: search Log Message: fix bug 1316021; untested since i no longer have a working setup, but I figured I should fix my old bad mistake Index: search =================================================================== RCS file: /cvsroot/lxr/lxr/search,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- search 18 Oct 2004 20:22:57 -0000 1.28 +++ search 7 Oct 2005 21:38:06 -0000 1.29 @@ -162,7 +162,7 @@ if ($retval == 0) { my $numlines = 0; foreach my $hit (@result) { - print $hit, "<br>\n" if $hit =~ $hit =~ /No such file or directory/; # feeble attempt to print possible errors (e.g. incomplete LD_LIBRARY_PATH causes linking errors) + print $hit, "<br>\n" if $hit =~ /No such file or directory/; # feeble attempt to print possible errors (e.g. incomplete LD_LIBRARY_PATH causes linking errors) next if $hit =~ /^err:/; # skip; only 'no results' errors happen with return value 0 my ($score, $file) = $hit =~ /^(\d+) \/(.+) "(.+)" \d+/; |