From patchwork Wed Apr 6 03:44:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Down X-Patchwork-Id: 2055 Return-Path: Delivered-To: patchwork@archlinux.org Received: from mail.archlinux.org [95.216.189.61] by patchwork.archlinux.org with IMAP (fetchmail-6.4.29) for (single-drop); Wed, 06 Apr 2022 03:44:46 +0000 (UTC) Received: from mail.archlinux.org by mail.archlinux.org with LMTP id 30VVJ60MTWJzgwgAK+/4rw (envelope-from ) for ; Wed, 06 Apr 2022 03:44:45 +0000 Received: from lists.archlinux.org (lists.archlinux.org [IPv6:2a01:4f9:c010:9eb4::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.archlinux.org (Postfix) with ESMTPS id A7F0FEAC78F; Wed, 6 Apr 2022 03:44:43 +0000 (UTC) Received: from lists.archlinux.org (localhost [IPv6:::1]) by lists.archlinux.org (Postfix) with ESMTP id 650EAED4B13; Wed, 6 Apr 2022 03:44:43 +0000 (UTC) X-Original-To: pacman-dev@lists.archlinux.org Delivered-To: pacman-dev@lists.archlinux.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lists.archlinux.org (Postfix) with ESMTPS id 46E10ED4B0B for ; Wed, 6 Apr 2022 03:44:41 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id w4so1190628wrg.12 for ; Tue, 05 Apr 2022 20:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=hTVAuEuV43GT31x8nvEhfpeLnq4DGVwANmeVL69FCvw=; b=BBequ07cWdEJAblo8eL7TqMLxcQwjDwTLd+AqktHet3kMk1CGLMU+QzspIkLt5Liy3 IvRPPkNpnybcoGtNjTrW1iip/KZi1+9tejWf7VckJ5vlFAiTSbR1frbBsK1mTJ06kVaa MGQFFl/n4DLMxXs2ooHGjKVMvN2r84ZtDcoTc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=hTVAuEuV43GT31x8nvEhfpeLnq4DGVwANmeVL69FCvw=; b=GJqH4j79ioyDA6ERwF8TkWHivipeRPdSLNto/exzbqUkUTpSv39R4Eih1nQ0H5TVa0 G0gg4jjbCYHD4zZnluiDwQylrIMXml3maHR10mF91G2uOu6MfUMOibxYiWYam3P0U7N4 9hrz4s32aZDWN3sQTDxsPsAhl5rxE2G2IL+GA6M1eL3EGMFAejQJnUTZAiINlrkYqnVq ujwZXJjcM6vvc+zIAeo0NShonaPqxcdLj18UGLRBkSbzBwcbMapTWwZSG7JAhpFT812/ VT6cQVRSrdrnNhq08IXrzWef5zoeJXQIG5t3oINcC0RtG/jIDQLTtCUCA66yk1JKleBI ujrQ== X-Gm-Message-State: AOAM533RdO5jZjKGZnmkx9obeJrjtzNiFs7+k7ykIn0E5O7W8OhQBJEj E4suwPnqo/w5/tcp+oyHabbn9stP8od8iZW7Kyk= X-Google-Smtp-Source: ABdhPJxn5oMX3472ZoLeq73stocUhrywE01m3yiqRPZWzS5GA0M3oK31/uHv9YC6CEZCPu+6FUmKrA== X-Received: by 2002:a5d:69cf:0:b0:206:cff:b6b5 with SMTP id s15-20020a5d69cf000000b002060cffb6b5mr4854672wrw.268.1649216680395; Tue, 05 Apr 2022 20:44:40 -0700 (PDT) Received: from localhost ([2620:10d:c092:400::4:2e47]) by smtp.gmail.com with ESMTPSA id e9-20020a5d6d09000000b00203ecdca5b7sm14743508wrq.33.2022.04.05.20.44.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 20:44:39 -0700 (PDT) Date: Wed, 6 Apr 2022 04:44:39 +0100 From: Chris Down To: pacman-dev@lists.archlinux.org Subject: [PATCH] dload: Remove unused ABORT_SIGINT Message-ID: MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/2.2.2 (aa28abe8) (2022-03-25) X-BeenThere: pacman-dev@lists.archlinux.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: Discussion list for pacman development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: pacman-dev-bounces@lists.archlinux.org Sender: "pacman-dev" Authentication-Results: mail.archlinux.org; dkim=pass header.d=chrisdown.name header.s=google header.b=BBequ07c; dmarc=pass (policy=none) header.from=chrisdown.name; spf=pass (mail.archlinux.org: domain of pacman-dev-bounces@lists.archlinux.org designates 2a01:4f9:c010:9eb4::1 as permitted sender) smtp.mailfrom=pacman-dev-bounces@lists.archlinux.org X-Rspamd-Queue-Id: A7F0FEAC78F X-Spamd-Result: default: False [-1.91 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[chrisdown.name,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f9:c010:9eb4::1:c]; R_DKIM_ALLOW(-0.20)[chrisdown.name:s=google]; MAILLIST(-0.20)[mailman]; RCVD_IN_DNSWL_MED(-0.20)[2a01:4f9:c010:9eb4::1:from]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42f:received]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f9::/32, country:DE]; DKIM_TRACE(0.00)[chrisdown.name:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[chris@chrisdown.name,pacman-dev-bounces@lists.archlinux.org]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; NEURAL_HAM(-0.00)[-1.000]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[pacman-dev@lists.archlinux.org]; FORGED_SENDER_MAILLIST(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mail.archlinux.org The last user of ABORT_SIGINT was removed in commit 84723cab5dfc ("Cleanup the old sequential download code"), and this isn't exported as part of the public API. Signed-off-by: Chris Down --- lib/libalpm/dload.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 7c27c3ea..4fa17b35 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -153,8 +153,7 @@ static char *get_fullpath(const char *path, const char *filename, } enum { - ABORT_SIGINT = 1, - ABORT_OVER_MAXFILESIZE + ABORT_OVER_MAXFILESIZE = 1, }; static int dload_interrupted;