[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partial patches - server application



Florian Weimer wrote:
> * Andreas Barth:
> 
> >> Is this really a good idea?  patch invokes ed(1) to process ed
> >> scripts, and this might lead to execution of arbitrary commands.
> >
> > It is agreed that the usage of patch and ed is _not_ the recommended
> > way for production code (but acceptable for prototype code). However, as
> > already discussed last time, the patches need only a tiny subset of ed
> > that is not only provided by red, but can even be implemented internally
> > in apt.
> 
> Unfortunately, deltas created with "diff -e" are not suitable for
> one-pass processing.

They can be cumulated, see
http://lists.debian.org/debian-devel/2004/12/msg00462.html

> The output from "diff -f" is,

I haven't found an -f option in diff.


Thiemo



Reply to: