patchfs: Fixed leading ./ bug
Leonard den Ottolander
leonard at den.ottolander.nl
Sat Oct 23 12:44:34 UTC 2004
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
More information about the mc-devel
mailing list