From unknown Sun Aug 17 01:02:16 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61671] [PATCH] Remove parentheses around test argument lists Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: automake-patches@gnu.org Resent-Date: Tue, 21 Feb 2023 05:42:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61671 X-GNU-PR-Package: automake-patches X-GNU-PR-Keywords: patch To: 61671@debbugs.gnu.org X-Debbugs-Original-To: automake-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167695809311582 (code B ref -1); Tue, 21 Feb 2023 05:42:04 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2023 05:41:33 +0000 Received: from localhost ([127.0.0.1]:54284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pULPA-00030e-Dq for submit@debbugs.gnu.org; Tue, 21 Feb 2023 00:41:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:46196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUIIC-0005lh-9U for submit@debbugs.gnu.org; Mon, 20 Feb 2023 21:22:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUIIB-0006NI-VF for automake-patches@gnu.org; Mon, 20 Feb 2023 21:22:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUIIB-0000A4-L2 for automake-patches@gnu.org; Mon, 20 Feb 2023 21:22:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=To:Subject:Date:From:mime-version:in-reply-to: references; bh=MfgEotG1HnAs7We6dJA5zPwEdfqZNl09ERCfc4K3QJo=; b=ef+ihtCGK/ibxN IUZNuZKOYPMOxVsBz4V1jQHmTUXIX3YmQbyspfz5C/7WjMSyvoXANPvKArhnDypexddF1en+SozqJ bqZRghWBVzmF8aSOohI3/hv5634HSwY9qJK+qwnobVX81IVo/xlwBZvcJDdJpR1jLe2XcW2O1ad33 IFBukN/SVAzr4+w6MfhKyAEDnPUcC5ZX3KcEMsZvjFYHlz7kNDrDKxb25/UimFG2SepqSwVkzwEIC NSOmK6O4rWXDOHYZhUI/unAlIxPr9HAp9goBHHgT7P93nDhH2QHl0Ja9Ba2FkD+0+U15jwG24NzrF H59PuUdQAqTqWgrfIzqA==; Received: from jcb by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1pUIIB-0004wc-Bv for automake-patches@gnu.org; Mon, 20 Feb 2023 21:22:07 -0500 From: Jacob Bachmeyer Date: Wed, 8 Feb 2023 23:30:00 -0600 Message-Id: X-Spam-Score: -0.2 (/) X-Mailman-Approved-At: Tue, 21 Feb 2023 00:41:23 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) This works around a parser bug in Perl 5.6.2. * t/pm/General.pl: Remove parentheses on argument lists. --- t/pm/General.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/pm/General.pl b/t/pm/General.pl index bb99fce83..fafedbc46 100644 --- a/t/pm/General.pl +++ b/t/pm/General.pl @@ -18,10 +18,10 @@ use Automake::General; my $failed = 0; # Check 'none'. -my $none_positive = none { $_[0] < 0 } (1, 7, 3, 8, 9); +my $none_positive = none { $_[0] < 0 } 1, 7, 3, 8, 9; $failed = 1 if ($none_positive == 0); -my $none_gt_8 = none { $_[0] >= 8 } (1, 7, 3, 8, 9); +my $none_gt_8 = none { $_[0] >= 8 } 1, 7, 3, 8, 9; $failed = 1 if ($none_gt_8 == 1); exit $failed; -- 2.17.1 From unknown Sun Aug 17 01:02:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jacob Bachmeyer Subject: bug#61671: closed (Remove parentheses around test argument lists) Message-ID: References: X-Gnu-PR-Message: they-closed 61671 X-Gnu-PR-Package: automake-patches X-Gnu-PR-Keywords: patch Reply-To: 61671@debbugs.gnu.org Date: Wed, 29 Mar 2023 19:56:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1680119763-10102-1" This is a multi-part message in MIME format... ------------=_1680119763-10102-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61671: [PATCH] Remove parentheses around test argument lists which was filed against the automake-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 61671@debbugs.gnu.org. --=20 61671: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61671 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1680119763-10102-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61671-done) by debbugs.gnu.org; 29 Mar 2023 19:55:40 +0000 Received: from localhost ([127.0.0.1]:55060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbtU-0002c7-Fa for submit@debbugs.gnu.org; Wed, 29 Mar 2023 15:55:40 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:42446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phbtS-0002bi-Er for 61671-done@debbugs.gnu.org; Wed, 29 Mar 2023 15:55:38 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 274443C097AFC; Wed, 29 Mar 2023 12:55:33 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wDYO31iEQzrN; Wed, 29 Mar 2023 12:55:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id E863E3C097AFE; Wed, 29 Mar 2023 12:55:32 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu E863E3C097AFE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1680119732; bh=+QSOApqOPs5Ws5pqRxZjF/n+G4v4ZTe/3xhj1+TG7O8=; h=Message-ID:Date:MIME-Version:To:From; b=WWeLlByPDTvDH9lQtfIi4sBhXc45eRpqBI1zTaFkVAtm6eDPtc3hacxnOxxnpWGoe +pCX8wc4NPDKgJqu8TC7jvro4Ao8SQUAx+l/qaObOApzRRi40WVcKyQqZVkNYyjuGE Ykd/W8qJT0y0T2CU6xmTeNSD78FhOfdVmtOfwqtlF9Swd9OYvi+Ej2Eylryen2M2Ol KbAeJEaYCIQQlZFWYjKeAwUux6miuZQnN3gT410jhkrHH39gqO15NABR5VT07+kyep g5qkckPisRw7GxSrbw1gMVUG0kJMiAYXUllTgfdHI5zknUTkzb4Vei7kbBPgEcTMit FjHWCKcKL/5qA== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cddegi2B1KL2; Wed, 29 Mar 2023 12:55:32 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id CAB6D3C097AFC; Wed, 29 Mar 2023 12:55:32 -0700 (PDT) Message-ID: Date: Wed, 29 Mar 2023 12:55:32 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-US To: Jacob Bachmeyer From: Paul Eggert Subject: Remove parentheses around test argument lists Organization: UCLA Computer Science Department Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61671-done Cc: 61671-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks, I installed that patch into Automake. ------------=_1680119763-10102-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Feb 2023 05:41:33 +0000 Received: from localhost ([127.0.0.1]:54284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pULPA-00030e-Dq for submit@debbugs.gnu.org; Tue, 21 Feb 2023 00:41:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:46196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUIIC-0005lh-9U for submit@debbugs.gnu.org; Mon, 20 Feb 2023 21:22:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUIIB-0006NI-VF for automake-patches@gnu.org; Mon, 20 Feb 2023 21:22:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUIIB-0000A4-L2 for automake-patches@gnu.org; Mon, 20 Feb 2023 21:22:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=To:Subject:Date:From:mime-version:in-reply-to: references; bh=MfgEotG1HnAs7We6dJA5zPwEdfqZNl09ERCfc4K3QJo=; b=ef+ihtCGK/ibxN IUZNuZKOYPMOxVsBz4V1jQHmTUXIX3YmQbyspfz5C/7WjMSyvoXANPvKArhnDypexddF1en+SozqJ bqZRghWBVzmF8aSOohI3/hv5634HSwY9qJK+qwnobVX81IVo/xlwBZvcJDdJpR1jLe2XcW2O1ad33 IFBukN/SVAzr4+w6MfhKyAEDnPUcC5ZX3KcEMsZvjFYHlz7kNDrDKxb25/UimFG2SepqSwVkzwEIC NSOmK6O4rWXDOHYZhUI/unAlIxPr9HAp9goBHHgT7P93nDhH2QHl0Ja9Ba2FkD+0+U15jwG24NzrF H59PuUdQAqTqWgrfIzqA==; Received: from jcb by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1pUIIB-0004wc-Bv for automake-patches@gnu.org; Mon, 20 Feb 2023 21:22:07 -0500 From: Jacob Bachmeyer Date: Wed, 8 Feb 2023 23:30:00 -0600 Subject: [PATCH] Remove parentheses around test argument lists To: automake-patches@gnu.org Message-Id: X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 21 Feb 2023 00:41:23 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) This works around a parser bug in Perl 5.6.2. * t/pm/General.pl: Remove parentheses on argument lists. --- t/pm/General.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/pm/General.pl b/t/pm/General.pl index bb99fce83..fafedbc46 100644 --- a/t/pm/General.pl +++ b/t/pm/General.pl @@ -18,10 +18,10 @@ use Automake::General; my $failed = 0; # Check 'none'. -my $none_positive = none { $_[0] < 0 } (1, 7, 3, 8, 9); +my $none_positive = none { $_[0] < 0 } 1, 7, 3, 8, 9; $failed = 1 if ($none_positive == 0); -my $none_gt_8 = none { $_[0] >= 8 } (1, 7, 3, 8, 9); +my $none_gt_8 = none { $_[0] >= 8 } 1, 7, 3, 8, 9; $failed = 1 if ($none_gt_8 == 1); exit $failed; -- 2.17.1 ------------=_1680119763-10102-1--