From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 87ED71F403 for ; Sat, 15 Oct 2022 08:18:35 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="T61P8/oa"; dkim-atps=neutral Received: by mail-wr1-x430.google.com with SMTP id f11so10791034wrm.6 for ; Sat, 15 Oct 2022 01:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z04rwY0903wTohfQwnjjZzwmwQ1+T+7kUYD3IW6sfz8=; b=T61P8/oaBQRTADCxX2kgrG+J1uFqoPgQ+KbhcpMKXzgGrtG6caYVRHGROdW2q23Tc1 aC1mUBCWq46afi8S8sZn2C2KCyrUNtOC/K1bHIG/B5iNCJNQzC7SZ4AQstbuQMezusq/ Hmg48Tvwn0jp0BcpXNbnXV97k11S0XuRsdqVc0A+6nYI5cP2lTGrU6CkV80fkc4aG8DP y9CTfWBw6EvsQs7p6oE0LL17yEE834yGY4bz8J1NGT3xkjs5yhRb70nk1w3TuxEwhcwd 4+G2Hlpp2KQzdG8XW6O98LmrJR8lpx4gFgrr7AX8YBs5DkihXWMlq9Qc9WKEYFVzH/vN 3WSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z04rwY0903wTohfQwnjjZzwmwQ1+T+7kUYD3IW6sfz8=; b=bqSAd4mKbxcobNfdiv9Bwq2bbmuKBAZ87Bn85JmR+bAjNkA7acYdtusbm0SSvcAtsi Hv/QukQuzQzg1V+ozljis+fGsw6PJLfFr1cauDYLDAO8KmgIf2uxOtmtoa3/l78mMbXq GlSs/GRKzJAIRzdLyaDdPb+FAD9pGBaUCjiuYYz+B+asQSAE3cNO4YxB24P92zknIauZ xSj6dejKhHtk/t25kuYojOgsnCooGNeTtEggvxClRwk8I4iF7hpux1D/Ph3MoMP5cY67 hgjgreBfMkprc+pPDdfJ7/LT6P6B7vhWc7ns4t68F+DDy545KfIMmNPcRovLbTlDNnmv F/Xw== X-Gm-Message-State: ACrzQf3V4xhfkQqYUkQZuNPGXO+7hNbbFz7tWyufLrCPKnjg4E4tbqHi 1Nufgzvc/qb6o7vm6k9hA1yeLtH8OxQ= X-Google-Smtp-Source: AMsMyM6IElowGZstzIQWykd+4g1B47KbUGfCEMBgLpYOfJJZxsbwa4/jAscTrwoh2TPMy+JbddGRfQ== X-Received: by 2002:a05:6000:1c0a:b0:22e:5d8a:c903 with SMTP id ba10-20020a0560001c0a00b0022e5d8ac903mr848283wrb.182.1665821913665; Sat, 15 Oct 2022 01:18:33 -0700 (PDT) Received: from localhost.localdomain (4.184.8.109.rev.sfr.net. [109.8.184.4]) by smtp.gmail.com with ESMTPSA id j9-20020adfd209000000b0022cd6e852a2sm4298192wrh.45.2022.10.15.01.18.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Oct 2022 01:18:33 -0700 (PDT) From: =?UTF-8?q?Nicol=C3=A1s=20Ojeda=20B=C3=A4r?= To: meta@public-inbox.org Cc: =?UTF-8?q?Nicol=C3=A1s=20Ojeda=20B=C3=A4r?= Subject: [PATCH] SIGWINCH is 28 on macOS Date: Sat, 15 Oct 2022 10:12:46 +0200 Message-Id: <20221015081246.18167-2-n.oje.bar@gmail.com> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221015081246.18167-1-n.oje.bar@gmail.com> References: <20221015081246.18167-1-n.oje.bar@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: --- lib/PublicInbox/Sigfd.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/Sigfd.pm b/lib/PublicInbox/Sigfd.pm index 81e5a1b1..cb9ddc1a 100644 --- a/lib/PublicInbox/Sigfd.pm +++ b/lib/PublicInbox/Sigfd.pm @@ -15,8 +15,8 @@ sub new { my ($class, $sig, $nonblock) = @_; my %signo = map {; my $cb = $sig->{$_}; - # SIGWINCH is 28 on FreeBSD, NetBSD, OpenBSD - my $num = ($_ eq 'WINCH' && $^O =~ /linux|bsd/i) ? 28 : do { + # SIGWINCH is 28 on FreeBSD, NetBSD, OpenBSD, macOS + my $num = ($_ eq 'WINCH' && $^O =~ /linux|bsd|darwin/i) ? 28 : do { my $m = "SIG$_"; POSIX->$m; }; -- 2.32.0 (Apple Git-132)