On Mon, Jul 30, 2007 at 10:46:49AM +0200, Salvatore Insalaco wrote:
> 2007/7/29, Eric Y. Kow <[EMAIL PROTECTED]>:
> > > 5) Filenames are made up, so no find / sed issues.
> >
> > It reduces the risk anyway; some stupid sed tricks might not involve
> > looking at filenames
> 
> Well, the really stupid sed tricks could mangle a single-file storage
> too (and in worse ways...).

In this case (too?) worse is better. The problem is not the
pristine cache gets mangled -- it can always be rebuilt -- the
problem is we don't detect it's mangled, and use an invalid
cache which records invalid patches, without the user realizing
it for maybe a long time. Data bases have checksums to detect
this.


-- 
Tommy Pettersson <[EMAIL PROTECTED]>
_______________________________________________
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to