[Forensics-changes] [yara] 239/407: Fix issue in Python 2.4

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:30 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 d3a1fff827c987721fc09287235142f409c27958
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date:   Mon Dec 1 13:09:36 2014 +0100

    Fix issue in Python 2.4
---
 yara-python/yara-python.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/yara-python/yara-python.c b/yara-python/yara-python.c
index 2fbf0fe..3e58f2f 100644
--- a/yara-python/yara-python.c
+++ b/yara-python/yara-python.c
@@ -23,6 +23,7 @@ limitations under the License.
 #elif PY_VERSION_HEX < 0x02060000
 #define PyBytes_AsString PyString_AsString
 #define PyBytes_Check PyString_Check
+#define PyBytes_FromStringAndSize PyString_FromStringAndSize
 #endif
 
 #include <time.h>

-- 
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