Blame SOURCES/libxml2-2.9.4-remove-pyverify_fd.patch

c36c44
diff -Nur libxml2-2.9.4.orig/python/types.c libxml2-2.9.4/python/types.c
c36c44
--- libxml2-2.9.4.orig/python/types.c	2016-02-09 03:17:33.000000000 -0700
c36c44
+++ libxml2-2.9.4/python/types.c	2016-12-21 12:34:06.755650986 -0700
c36c44
@@ -31,8 +31,6 @@
c36c44
     const char *mode;
c36c44
 
c36c44
     fd = PyObject_AsFileDescriptor(f);
c36c44
-    if (!_PyVerify_fd(fd))
c36c44
-        return(NULL);
c36c44
     /*
c36c44
      * Get the flags on the fd to understand how it was opened
c36c44
      */