Source does not display directories with '-'

Help
2005-10-20
2013-01-02
  • Jean Parpaillon

    Jean Parpaillon - 2005-10-20

    On version 0.9.4, the source script does not display directories with '-'.
    Example : directory foo-bar
    The link points to '.../source/foo-bar/' and the page displayed shows: 'can not find directory /foo'
    Can anyone help me ?

    Jean

     
    • Jean Parpaillon

      Jean Parpaillon - 2005-10-20

      Re to my post...
      Apply the following patch to Common.pm for files with '-' to be listed:
      542c542
      <               $path =~ s!(^[\w+\-,.%^/]+).*!$1!;
      ---
      >               $path =~ s!(^[\w_+-,.%^/]+).*!$1!;
      544c544
      <               while ($path =~ m!/\.\./!) {
      ---
      >               while ($path =~ m!/../!) {

       
    • Jing

      Jing - 2006-01-05

      Hi Jean,
      Did you fix the problem by the patch?
      I tried, but failed.
      Anyone can help?

      /Jing

       
      • no_hope

        no_hope - 2006-04-25

        you need to re-index after patching

         
    • Ryan Schlesinger

      I applied the patch (it's backwards) and it seems to work just fine.

      Ryan

       
    • derkling

      derkling - 2006-05-03

      I've patched Common.pm as reported on this thread and re-indexed my sources too... anyway I'm still getting the error:
      "The file /include/asm does not exist."
      when I try to navigate to links like that one:
      "http://localhost/lxr//source/include/asm-i386/"

      Another problem is that sometimes, clicking on a link, I get a request for file download instead of navigate to the linked page... refreshing (F5) make everithing work fine again... why that sort of behavoire?

      Tks,
         Patrick

       
    • karvandi

      karvandi - 2006-05-11

      another problem I experianced is when checngin to folders with two character name like 'mm/'. It returns to source root directory.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks