GNU bug report logs - #61671
[PATCH] Remove parentheses around test argument lists

Previous Next

Package: automake-patches;

Reported by: Jacob Bachmeyer <jcb <at> gnu.org>

Date: Tue, 21 Feb 2023 05:42:04 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61671 in the body.
You can then email your comments to 61671 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to automake-patches <at> gnu.org:
bug#61671; Package automake-patches. (Tue, 21 Feb 2023 05:42:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jacob Bachmeyer <jcb <at> gnu.org>:
New bug report received and forwarded. Copy sent to automake-patches <at> gnu.org. (Tue, 21 Feb 2023 05:42:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jacob Bachmeyer <jcb <at> gnu.org>
To: automake-patches <at> gnu.org
Subject: [PATCH] Remove parentheses around test argument lists
Date: Wed, 8 Feb 2023 23:30:00 -0600
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





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Wed, 29 Mar 2023 19:56:03 GMT) Full text and rfc822 format available.

Notification sent to Jacob Bachmeyer <jcb <at> gnu.org>:
bug acknowledged by developer. (Wed, 29 Mar 2023 19:56:03 GMT) Full text and rfc822 format available.

Message #10 received at 61671-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jacob Bachmeyer <jcb62281 <at> gmail.com>
Cc: 61671-done <at> debbugs.gnu.org
Subject: Remove parentheses around test argument lists
Date: Wed, 29 Mar 2023 12:55:32 -0700
Thanks, I installed that patch into Automake.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Apr 2023 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.