Re: [Lxr-general] [PATCH] LXR: Fix a Files::isdir() caller
Brought to you by:
ajlittoz
|
From: Jan-Benedict G. <jb...@lu...> - 2006-12-06 10:53:24
|
On Sun, 2006-11-26 23:47:51 +0100, Jan-Benedict Glaw <jb...@lu...> wr=
ote:
> This patch fixes a caller of the isdir() function. The GIT backend
> needs a version being supplied. It was written by Maximilian Wilhelm.
>=20
> 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;
Are the patches I've sent about to be accepted and imported into
upstream LXR? I'd like to work on drop-down boxed variables, but I
don't like having a lot of outstanding patches with a poor SCM like
CVS is...
MfG, JBG
--=20
Jan-Benedict Glaw jb...@lu... +49-172-7608481
Signature of: Alles sollte so einfach wie m=C3=B6glich gemacht=
sein.
the second : Aber nicht einfacher. (Einstein)
|