Re: patchfs: Fixed leading ./ bug



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]