Re: Probelms with dch and dpkg-source
On Mon, Jan 03, 2000 at 01:17:18PM +0000, Ben Armstrong wrote:
> On Mon, 3 Jan 2000, Julian Gilbey wrote:
> > > The sensible-editor (vi) returns a non-zero return code. dch fatals
> > > out with illegal seek or no such file/directory. Funny thing is,
> > > changelog.dch exists before calling the vi, but disappers after the
> > > fatal.
> > That is intended behaviour. If the edit failed, you should be left
> > with the original changelog intact. See lines 115--119 of
> > /usr/bin/dch. If this behaviour is wrong, please file a bug report
> > against devscripts with an explanation of why it is wrong.
> The unusual thing about this particular problem, though, is that nvi
> returns a non-zero return code, but vim doesn't. Why the discrepancy?
Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
Debian GNU/Linux Developer, see http://www.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/