Re: Probelms with dch and dpkg-source
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?
Ben
--
nSLUG http://www.nslug.ns.ca synrg@sanctuary.nslug.ns.ca
Debian http://www.debian.org synrg@debian.org
[ pgp key fingerprint = 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]
[ gpg key fingerprint = 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
Reply to: