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=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6B0F31F403; Mon, 17 Oct 2022 09:30:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1665999053; bh=3CuS5xAZWT1R9anTqX/8xlk3h0yRDszbC/3gZZwucLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a6AFAfBxzLEGra7BjLUtka+wAUtlTQuScXi+IoqfIOIdcEDJllMdSIxpucSN7eoTE KLIrCBcpezTKev9FdkT1s59wU7OR8GP5kNCeyU1noQnbIpOfv8Za7JbmfxfotAZoL/ HkFwSkSshlKkH7ZHpeqZGdwVTz3KRPUlR8Jwv4AQ= From: Eric Wong To: =?UTF-8?q?Nicol=C3=A1s=20Ojeda=20B=C3=A4r?= Cc: meta@public-inbox.org Subject: [PATCH 0/2] fix SIGWINCH for Linux MIPS and PA-RISC Date: Mon, 17 Oct 2022 09:30:51 +0000 Message-Id: <20221017093053.1517046-1-e@80x24.org> 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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: Nicolás Ojeda Bär wrote: > The logic > hardcoding the signal number for SIGWINCH needs to be extended to handle this > case. There may be other similar changes which are needed, but this is the only > one I've seen so far. Yeah, apparently two Linux architectures use n != 28 as SIGWINCH; but *BSDs are more consistent with SIGWINCH. 1/2 was part of some ongoing unrelated work, but it's in the same area and ready-to-go, anyways. Eric Wong (2): syscall: avoid needless string comparison on x86-64 sigfd: set SIGWINCH for MIPS and PA-RISC on Linux devel/syscall-list | 2 ++ lib/PublicInbox/Sigfd.pm | 13 ++++--------- lib/PublicInbox/Syscall.pm | 22 ++++++++++++---------- t/sigfd.t | 5 ++++- 4 files changed, 22 insertions(+), 20 deletions(-)