patchfs: Fixed leading ./ bug
Leonard den Ottolander
leonard at den.ottolander.nl
Sat Oct 23 13:39:03 UTC 2004
Hi,
I wrote:
> > >> $file=~s/^(PATCH-(CREATE|REMOVE)\/)?(.*)\.diff$/$3/;
> > >>+ $file = mc_canonicalize_path ($file);
> > >
> > > What happened to the ".diff$" part?
> >
> > I don't know. That has not been me.
>
> Another misunderstanding. This is your patch right? Why don't you catch
> the .diff$ part? The first expression seems to strip it from the
> resulting $file, but I think you don't do that with your expression.
Duh. I read a - where there was none. Please disregard these remarks.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
More information about the mc-devel
mailing list