[Lxr-dev] [ lxr-Bugs-3267251 ] Incomplete design of 'maps' feature
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-04-01 12:48:27
|
Bugs item #3267251, was opened at 2011-04-01 14:48 Message generated for change (Tracker Item Submitted) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3267251&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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Nobody/Anonymous (nobody) Summary: Incomplete design of 'maps' feature Initial Comment: Release 0.9.9 and earlier lxr.conf 'maps' is a great device to select a file among many directories based on the value of variables. It works fine when clicking on a link e.g. in an #include. You are warped directly to the desired file. But if you want to compare this file to another one using "diff", LXR is confused about the second target file, because it is unable to correctly generate the path to the second file: it uses the transformed path of the first file, then tries to apply 'maps' and very often discovers that the file designated by this multiple processed path does not exist. How can we circumvent that? Comments and advice wanted. There is an incomplete implementation of something (what? it is lost in time) in httpinit: a parameter named 'file' seems to be "reserved". Could it be used to keep the original path? The function mappath would then be applied in httpinit and the result used as the target file. I have not yet thought about it, nor determined the exact circumstances under which the aforementioned error occurs. At least, I know of it in diff. Before going ahead, I would appreciate collecting events where it has caused trouble. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3267251&group_id=27350 |