[Lxr-dev] [ lxr-Bugs-3204085 ] Pattern graphicfile never matches
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-03-09 14:09:39
|
Bugs item #3204085, was opened at 2011-03-09 13:02 Message generated for change (Settings changed) 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: Open >Resolution: Works For Me Priority: 5 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Nobody/Anonymous (nobody) 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 ---------------- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3204085&group_id=27350 |