lslebodn / rpms / libxml2

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