Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b2ccc1a2
Commit
b2ccc1a2
authored
May 15, 1997
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSL errno.h has moved some errors around, and doesn't document
them in comments, so we do that ourselves.
parent
80372676
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
Mac/scripts/errors.txt
Mac/scripts/errors.txt
+11
-6
Mac/scripts/mkestrres-errno.h
Mac/scripts/mkestrres-errno.h
+7
-0
Mac/scripts/mkestrres.py
Mac/scripts/mkestrres.py
+6
-0
No files found.
Mac/scripts/errors.txt
View file @
b2ccc1a2
...
@@ -579,12 +579,12 @@
...
@@ -579,12 +579,12 @@
32 EPIPE Broken pipe
32 EPIPE Broken pipe
33 EDOM Numerical argument out of domain
33 EDOM Numerical argument out of domain
34 ERANGE Result too large
34 ERANGE Result too large
35 E
AGAIN Resource temporarily unavailable
35 E
FPOS File positioning error
36 E
INPROGRESS Operation now in progress
36 E
SIGPARM Signal argument error
37 E
ALREADY Operation already in progress
37 E
NOMEM Cannot allocate memory
38 E
NOTSOCK Socket operation on non-socket
38 E
ACCES Permission denied
39 E
DESTADDRREQ Destination address required
39 E
NOENT No such file or directory
40 E
MSGSIZE Message too long
40 E
NOSYS Function not implemented
41 EPROTOTYPE Protocol wrong type for socket
41 EPROTOTYPE Protocol wrong type for socket
42 ENOPROTOOPT Protocol not available
42 ENOPROTOOPT Protocol not available
43 EPROTONOSUPPORT Protocol not supported
43 EPROTONOSUPPORT Protocol not supported
...
@@ -624,3 +624,8 @@
...
@@ -624,3 +624,8 @@
77 ENOLCK No locks available
77 ENOLCK No locks available
78 ENOSYS Function not implemented
78 ENOSYS Function not implemented
79 EFTYPE Inappropriate file type or format
79 EFTYPE Inappropriate file type or format
136 EINPROGRESS Operation now in progress
137 EALREADY Operation already in progress
138 ENOTSOCK Socket operation on non-socket
139 EDESTADDRREQ Destination address required
140 EMSGSIZE Message too long
Mac/scripts/mkestrres-errno.h
0 → 100644
View file @
b2ccc1a2
/* These are defined in MSL errno.h, but unfortunately not documented */
#define EFPOS 35
/* File positioning error */
#define ESIGPARM 36
/* Signal argument error */
#define ENOMEM 37
/* Cannot allocate memory */
#define EACCES 38
/* Permission denied */
#define ENOENT 39
/* No such file or directory */
#define ENOSYS 40
/* Function not implemented */
Mac/scripts/mkestrres.py
View file @
b2ccc1a2
...
@@ -90,6 +90,12 @@ def main():
...
@@ -90,6 +90,12 @@ def main():
parse_errno_h
(
fp
,
dict
)
parse_errno_h
(
fp
,
dict
)
fp
.
close
()
fp
.
close
()
fss
,
ok
=
macfs
.
PromptGetFile
(
"Select 2nd errno.h or cancel"
)
if
not
ok
:
return
fp
=
open
(
fss
.
as_pathname
())
parse_errno_h
(
fp
,
dict
)
fp
.
close
()
fss
,
ok
=
macfs
.
PromptGetFile
(
"Where is Errors.h?"
)
fss
,
ok
=
macfs
.
PromptGetFile
(
"Where is Errors.h?"
)
if
not
ok
:
return
if
not
ok
:
return
fp
=
open
(
fss
.
as_pathname
())
fp
=
open
(
fss
.
as_pathname
())
...
...
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