chiark / gitweb /
dgit: Do not execute END blocks in children.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Jan 2017 23:31:37 +0000 (23:31 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 Jan 2017 00:31:20 +0000 (00:31 +0000)
commitfcb31fe3655f197956bb61f89c54638db4c14265
treea804d96ab6bc155f457eb0b1af00770ae5298131
parentf04599680685ea8f89bff8bc76e3dad2f8028081
dgit: Do not execute END blocks in children.

END blocks run inside children created by fork or piped open (the
latter, if they run perl code), on exit or (I think maybe) die.  This
is far from appropriate.

So far symptoms of this bug seem to be limited to duplicated error
messages but I have not done a thorough analysis.  Closes:#850052.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit