[Lxr-general] [PATCH] LXR: Fix a Files::isdir() caller
Brought to you by:
ajlittoz
From: Jan-Benedict G. <jb...@lu...> - 2006-11-26 22:47:58
|
Hi! This patch fixes a caller of the isdir() function. The GIT backend needs a version being supplied. It was written by Maximilian Wilhelm. Index: lib/LXR/Common.pm =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/lxr/lxr/lib/LXR/Common.pm,v retrieving revision 1.55 diff -u -r1.55 Common.pm --- lib/LXR/Common.pm 4 Apr 2006 22:23:43 -0000 1.55 +++ lib/LXR/Common.pm 26 Nov 2006 22:39:54 -0000 @@ -376,7 +376,7 @@ while ($node =3D~ s|/[^/]+/\.\./|/|g) { } $node =3D~ s|/\.\./|/|g; =20 - $node .=3D '/' if $files->isdir($node); + $node .=3D '/' if $files->isdir($node, $release); $node =3D~ s|//+|/|g; =20 return $node; MfG, JBG --=20 Jan-Benedict Glaw jb...@lu... +49-172-7608481 Signature of: http://perl.plover.com/Questions.html the second : |