Re: patchfs: Fixed leading ./ bug



Hello Roland,
On Fri, 2004-10-22 at 14:58, Roland Illig wrote:
> [ ] needs review

x

> +  $fname =~ s,/+,/,g;

? Can you just remove the plus sign?

> +  $fname =~ s,/\.$,,;

Why is this needed?

>      $file=~s/^(PATCH-(CREATE|REMOVE)\/)?(.*)\.diff$/$3/;
> +    $file = mc_canonicalize_path ($file);

What happened to the ".diff$" part?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]