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 15:39:03 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]