Blame SOURCES/perl-5.33.0-sv.h-Wanted-UOK-but-said-IOK.patch
|
|
7e86df |
From 530e9296a21b673d7e4c2b42f18d0d52d00f35c4 Mon Sep 17 00:00:00 2001
|
|
|
7e86df |
From: Karl Williamson <khw@cpan.org>
|
|
|
7e86df |
Date: Sun, 28 Jun 2020 12:03:54 -0600
|
|
|
7e86df |
Subject: [PATCH] sv.h: Wanted UOK, but said IOK
|
|
|
7e86df |
MIME-Version: 1.0
|
|
|
7e86df |
Content-Type: text/plain; charset=UTF-8
|
|
|
7e86df |
Content-Transfer-Encoding: 8bit
|
|
|
7e86df |
|
|
|
7e86df |
I don't know the consequences of this bug
|
|
|
7e86df |
|
|
|
7e86df |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
7e86df |
---
|
|
|
7e86df |
sv.h | 2 +-
|
|
|
7e86df |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
7e86df |
|
|
|
7e86df |
diff --git a/sv.h b/sv.h
|
|
|
7e86df |
index 2f6431a826..3721b2fb1b 100644
|
|
|
7e86df |
--- a/sv.h
|
|
|
7e86df |
+++ b/sv.h
|
|
|
7e86df |
@@ -1711,7 +1711,7 @@ Like C<sv_catsv> but doesn't process magic.
|
|
|
7e86df |
#define SvNV(sv) (SvNOK_nog(sv) ? SvNVX(sv) : sv_2nv(sv))
|
|
|
7e86df |
|
|
|
7e86df |
#define SvIV_nomg(sv) (SvIOK(sv) ? SvIVX(sv) : sv_2iv_flags(sv, 0))
|
|
|
7e86df |
-#define SvUV_nomg(sv) (SvIOK(sv) ? SvUVX(sv) : sv_2uv_flags(sv, 0))
|
|
|
7e86df |
+#define SvUV_nomg(sv) (SvUOK(sv) ? SvUVX(sv) : sv_2uv_flags(sv, 0))
|
|
|
7e86df |
#define SvNV_nomg(sv) (SvNOK(sv) ? SvNVX(sv) : sv_2nv_flags(sv, 0))
|
|
|
7e86df |
|
|
|
7e86df |
/* ----*/
|
|
|
7e86df |
--
|
|
|
7e86df |
2.25.4
|
|
|
7e86df |
|