Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shrapnel
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
Kirill Smelkov
shrapnel
Commits
710fdc97
Commit
710fdc97
authored
Mar 11, 2013
by
Sam Rushing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strerror is in libc.string, not libc.errno
parent
8384e793
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
pyrex/pyrex_helpers.pyx
pyrex/pyrex_helpers.pyx
+5
-4
No files found.
pyrex/pyrex_helpers.pyx
View file @
710fdc97
...
...
@@ -25,14 +25,15 @@
cdef
object
oserrors
from
coro
import
oserrors
from
xlibc
cimport
stdarg
from
libc
cimport
string
from
libc
cimport
errno
from
libc
cimport
stdint
cdef
raise_oserror
():
oserrors
.
map_exception
(
OSError
(
errno
.
errno
,
errno
.
strerror
(
errno
.
errno
)))
oserrors
.
map_exception
(
OSError
(
errno
.
errno
,
string
.
strerror
(
errno
.
errno
)))
cdef
raise_oserror_with_errno
(
int
e
):
oserrors
.
map_exception
(
OSError
(
e
,
errno
.
strerror
(
e
)))
cdef
raise_oserror_with_errno
(
int
e
):
oserrors
.
map_exception
(
OSError
(
e
,
string
.
strerror
(
e
)))
cdef
object
__builtin__
import
__builtin__
...
...
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