From: Ian Jackson Date: Tue, 23 Jul 2019 20:47:57 +0000 (+0100) Subject: dgit: Set $SIG{INT} to DEFAULT X-Git-Tag: archive/debian/9.6~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b0879c98de6356234edf1365c6553a694725d040;p=dgit.git dgit: Set $SIG{INT} to DEFAULT There is a bug in libdpkg-perl, where Dpkg::Source::Package installs a handler on loading. This has the effect of making in-process C calls (eg to libcurl) uninterruptible by ^C. Work around it by unconditionally resetting SIGINT. (Anyone who deliberately invoked us with SIGINT ignored deserves to keep all the resulting pieces.) See #932841. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 7e975e12..696978b2 100755 --- a/dgit +++ b/dgit @@ -54,6 +54,8 @@ use Debian::Dgit; our $our_version = 'UNRELEASED'; ###substituted### our $absurdity = undef; ###substituted### +$SIG{INT} = 'DEFAULT'; # work around #932841 + our @rpushprotovsn_support = qw(6 5 4); # Reverse order! our $protovsn;