[Lxr-dev] [ lxr-Bugs-703803 ] search script glimpsedir path construction spotty
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2003-03-14 19:34:00
|
Bugs item #703803, was opened at 2003-03-14 10:45 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=703803&group_id=27350 Category: Browsing Group: current cvs Status: Open Resolution: None Priority: 5 Submitted By: Richard Kisley (kisley) Assigned to: Nobody/Anonymous (nobody) Summary: search script glimpsedir path construction spotty Initial Comment: There are really 2 issues I noticed I had to fix to get it to work for me: 1) The 'search' script runs exec on a comma-delimited parameter list. This failed because of path problems, when it still failed I switched it to the familiar '.' Perl notation for string combining and the 'exec' runs fine. My version: exec($config->glimpsebin." -iyn "."-H ".$config->glimpsedir."/".$release." ".$searchtext); 2) The 'search' script and the 'find' script have different glimpsedir paths. Thus if you move all the .glimpsexxx files to .../glimpse/<version>/.glimpsexxx from .../glimpse/.glimpsexxx, so that the 'search' script works, the 'find' script breaks. My version of the block in 'find': unless (open(FILELLISTING,$config->glimpsedir."/".$release."/.glimpse_filenames")) { &warning("Could not open ".$config->glimpsedir."/".$release."/.glimpse_filenames."); return; } (anecdote): both of these changed lines work in my environment. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=703803&group_id=27350 |