From 571f18a95c6e28341d6b354490af897b00685cf6 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 21:12:24 +0000 Subject: Apply patch libxml2-2.9.4-remove-pyverify_fd.patch patch_name: libxml2-2.9.4-remove-pyverify_fd.patch present_in_specfile: true location_in_specfile: 3 --- diff --git a/python/types.c b/python/types.c index f237677..124af56 100644 --- a/python/types.c +++ b/python/types.c @@ -31,8 +31,6 @@ libxml_PyFileGet(PyObject *f) { const char *mode; fd = PyObject_AsFileDescriptor(f); - if (!_PyVerify_fd(fd)) - return(NULL); /* * Get the flags on the fd to understand how it was opened */