Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
6d1e34da
Commit
6d1e34da
authored
Dec 19, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5d26bb3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
bigfile/_bigfile.c
bigfile/_bigfile.c
+3
-4
No files found.
bigfile/_bigfile.c
View file @
6d1e34da
...
@@ -926,10 +926,9 @@ pyfileh_open(PyObject *pyfile0, PyObject *args)
...
@@ -926,10 +926,9 @@ pyfileh_open(PyObject *pyfile0, PyObject *args)
if
(
mmap_overlay
==
-
1
)
if
(
mmap_overlay
==
-
1
)
mmap_overlay
=
(
pyfile
->
blkmmap_ops
!=
NULL
?
1
:
0
);
mmap_overlay
=
(
pyfile
->
blkmmap_ops
!=
NULL
?
1
:
0
);
if
(
mmap_overlay
&&
pyfile
->
blkmmap_ops
==
NULL
)
{
if
(
mmap_overlay
&&
pyfile
->
blkmmap_ops
==
NULL
)
PyErr_SetString
(
PyExc_TypeError
,
"BigFile subtype does not provide blkmmapper"
);
return
PyErr_Format
(
PyExc_TypeError
,
return
NULL
;
"%s type does not provide blkmmapper"
,
pyfile0
->
ob_type
->
tp_name
);
}
pyfileh
=
PyType_New
(
PyBigFileH
,
&
PyBigFileH_Type
,
NULL
);
pyfileh
=
PyType_New
(
PyBigFileH
,
&
PyBigFileH_Type
,
NULL
);
if
(
!
pyfileh
)
if
(
!
pyfileh
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment