New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] utf8.c: use TRUE not true #16538
Comments
From @bulk88Created by @bulk88I'll put the patch up through RT because I know this email will be spam Perl Info
|
From @bulk88On Fri, 27 Apr 2018 18:13:40 -0700, bulk88 wrote:
patch attached -- |
From @bulk880001-utf8.c-use-TRUE-not-true.patchFrom 8bb24583ff62c24d39e658cda4474dad46bf84df Mon Sep 17 00:00:00 2001
From: Daniel Dragan <bulk88@hotmail.com>
Date: Fri, 27 Apr 2018 21:09:49 -0400
Subject: [PATCH] utf8.c: use TRUE not true
"true" token was added in commit 394d2d3f37 but "true" is C++ and C99,
"TRUE" is portable perl API
Win32 VC 2003 C mode (C89) build faiure
..\utf8.c(6177) : error C2065: 'true' : undeclared identifier
---
utf8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utf8.c b/utf8.c
index e66c328..ceb4723 100644
--- a/utf8.c
+++ b/utf8.c
@@ -6174,7 +6174,7 @@ Perl_parse_uniprop_string(pTHX_ const char * const name, const Size_t len, const
return NULL;
}
- starts_with_In_or_Is = true;
+ starts_with_In_or_Is = TRUE;
}
/* Get the index into our pointer table of the inversion list corresponding
--
2.5.0.windows.1
|
From @jkeenanOn Sat, 28 Apr 2018 01:15:08 GMT, bulk88 wrote:
Karl, can you evaluate in relation to commit 394d2d3? Thank you very much. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @khwilliamsonOn 04/27/2018 07:59 PM, James E Keenan via RT wrote:
I agree with bulk88 |
From @iabynOn Fri, Apr 27, 2018 at 09:35:42PM -0600, Karl Williamson wrote:
Now in as v5.27.11-23-ga161cde74a -- |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#133158 (status was 'resolved')
Searchable as RT133158$
The text was updated successfully, but these errors were encountered: