Commit d486c5c4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0b57b358
...@@ -991,7 +991,7 @@ pyfileh_open(PyObject *pyfile0, PyObject *args) ...@@ -991,7 +991,7 @@ pyfileh_open(PyObject *pyfile0, PyObject *args)
return NULL; return NULL;
Py_INCREF(pyfile); Py_INCREF(pyfile);
err = fileh_open(pyfileh, pyfile, ram); err = fileh_open(pyfileh, pyfile, ram, DONT_MMAP_OVERLAY); // XXX -> MMAP_OVERLAY if requested
if (err) { if (err) {
XPyErr_SetFromErrno(); XPyErr_SetFromErrno();
Py_DECREF(pyfile); Py_DECREF(pyfile);
......
...@@ -666,7 +666,7 @@ class _ZBigFileH(object): ...@@ -666,7 +666,7 @@ class _ZBigFileH(object):
self.zfileh = wcfileh self.zfileh = wcfileh
else: else:
# XXX # XXX
self.zfileh = zfile._v_file.fileh_open(mmap_overlay=_use_wcfs) self.zfileh = zfile._v_file.fileh_open()
# FIXME zfile._p_jar could be None (ex. ZBigFile is newly created # FIXME zfile._p_jar could be None (ex. ZBigFile is newly created
# before first commit) # before first commit)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment