Re: patchfs: Fixed leading ./ bug
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: MC Devel <mc-devel gnome org>
- Subject: Re: patchfs: Fixed leading ./ bug
- Date: Sat, 23 Oct 2004 14:44:34 +0200
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]