[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: automake: avoid precedence erro
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: automake: avoid precedence error when using Perl 5.41+. |
Date: |
Thu, 30 Jan 2025 18:35:22 -0500 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=b5403ee7a035872a21135c2ee4871a6c284c91dd
The following commit(s) were added to refs/heads/master by this push:
new b5403ee7a automake: avoid precedence error when using Perl 5.41+.
b5403ee7a is described below
commit b5403ee7a035872a21135c2ee4871a6c284c91dd
Author: Collin Funk <collin.funk1@gmail.com>
AuthorDate: Thu Jan 30 15:34:52 2025 -0800
automake: avoid precedence error when using Perl 5.41+.
Reported by Igor Todorovski <itodorov@ca.ibm.com> in
<https://lists.gnu.org/archive/html/automake/2025-01/msg00000.html>.
* bin/automake.in (transform): Parentheses the '!' operators so
Perl 5.41.8 doesn't warn about "possible precedence problem".
---
bin/automake.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/automake.in b/bin/automake.in
index 5d3e7c766..a3b74f485 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -6871,7 +6871,7 @@ sub transform ($\%)
{
my $neg = ($1 eq '!') ? 1 : 0;
my $val = transform_token ($token, %$transform, $2);
- return (!!$val == $neg) ? '##%' : '';
+ return ((!!$val) == $neg) ? '##%' : '';
}
else
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: automake: avoid precedence error when using Perl 5.41+.,
Karl Berry <=