diff options
Diffstat (limited to 'dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch')
-rw-r--r-- | dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch b/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch new file mode 100644 index 000000000000..5d1d8ffc7c77 --- /dev/null +++ b/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch @@ -0,0 +1,20 @@ +--- src/pyvorbisfile.c.orig 2003-12-19 07:11:02.000000000 +0000 ++++ src/pyvorbisfile.c 2005-09-03 20:02:19.000000000 +0100 +@@ -190,9 +190,6 @@ + /* If file was opened from a file object, decref it, so it can + close */ + Py_DECREF(py_self->py_file); +- } else { +- /* Otherwise, we opened the file and should close it. */ +- fclose(py_self->c_file); + } + + PyMem_DEL(self); +@@ -260,7 +257,6 @@ + + retval = ov_open(file, self->ovf, initial, ibytes); + +- self->c_file = file; + if (retval < 0) { + if (fname != NULL) + fclose(file); |