[Lxr-dev] [ lxr-Bugs-3204085 ] Pattern graphicfile never matches
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-03-12 10:10:35
|
Bugs item #3204085, was opened at 2011-03-09 13:02 Message generated for change (Comment added) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3204085&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Browsing Group: current cvs >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: Pattern graphicfile never matches Initial Comment: LXR v0.9.8 For an obscure reason (Perl syntax shortcoming or bug in current Linux Perl interpreter), test for "graphic" files in pattern /$config->graphicfile/ (Common.pm line 315) never succeeds. It looks like references $config->... cannot be use in a regexp no matter how you parenthesize them. To correct, proceed in two steps. Proposed patch: in Common.pm -260 110307 (after line 260, insert:) my $graphic = $config->graphicfile; -315,315 110307 (replace line 315 with:) } elsif ($pathname =~ /$graphic/) { ------------- end of patch ---------------- ---------------------------------------------------------------------- >Comment By: Andre-Littoz (ajlittoz) Date: 2011-03-12 11:10 Message: Solve simultaneously with 3204089 ---------------------------------------------------------------------- Comment By: Andre-Littoz (ajlittoz) Date: 2011-03-12 11:10 Message: This has now been fixed in CVS. If you can install the new version and check that it solves your problem, then it would be very useful. Thanks for reporting this defect and helping to make LXR better. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3204085&group_id=27350 |