[Forensics-changes] [yara] 357/407: Add missing underscore in function name

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.3.0
in repository yara.

commit 7072092b7de85ab27264e211db9068593460c6d6
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date:   Thu Jan 29 21:41:14 2015 +0100

    Add missing underscore in function name
---
 yara-python/yara-python.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yara-python/yara-python.c b/yara-python/yara-python.c
index db11283..4a67b0b 100644
--- a/yara-python/yara-python.c
+++ b/yara-python/yara-python.c
@@ -40,7 +40,7 @@ typedef int Py_ssize_t;
 #endif
 
 #if PY_MAJOR_VERSION >= 3
-#define PY_STRING(x) (PyUnicode_FromString(x) || PyBytesFromString(x))
+#define PY_STRING(x) (PyUnicode_FromString(x) || PyBytes_FromString(x))
 #define PY_STRING_TO_C(x) PyBytes_AsString(\
                             PyUnicode_AsEncodedString(x, "utf-8", "strict"))
 #define PY_STRING_CHECK(x) PyUnicode_Check(x)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list