On 1/24/06, Gene Sm(i)th wrote:
> When I browse into a source tree with LXR, once I reach a certain place
> in the tree and try to go to the next level, instead of going there it
> jumps back to the top level (the source root). The path displayed in LXR
> and in the navigation area on the browser seem correct but the data is
> wrong data (not the expected listing of files) in the display area.
> I originally did not have this problem on linux. Then I tried to port
> LXR to a cygwin environment (windows) and it did this. I tried mysql
> and postgres with the same results. So I gave up on cygwin. Then
> recently I needed to install on linux again and it does the same as
> cygwin (jumps back to top after browsing into the tree at some points).
> When it worked on linux, I used 0.9.3. When I installed on cygwin and
> recently on linux I used 0.9.4. I don't know if that is significant.
Solved. This is caused by bug 1322202 which prevented navigation into
directories with just 2 chars. With stock 0.9.4 installed, to fix I
had to look up lib/LXR/Common.pm in cvs and manually apply the patch
that you get by diff'ing 1.51 (committed for 0.9.4) and 1.53. If 0.9.4
is installed it is best to change both copies of Common.pm, the one
under site_perl and the one in the /usr/local/lxr directory and
rebuild from scratch: mysql \. initdb-mysql; genxref.