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
c3568e2b
Commit
c3568e2b
authored
Mar 29, 2004
by
Andrew MacIntyre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OS/2 VACPP build updates/fixes
parent
10239ec8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
Modules/posixmodule.c
Modules/posixmodule.c
+1
-1
PC/os2vacpp/makefile
PC/os2vacpp/makefile
+1
-0
PC/os2vacpp/pyconfig.h
PC/os2vacpp/pyconfig.h
+1
-1
PC/os2vacpp/python.def
PC/os2vacpp/python.def
+2
-2
Python/bltinmodule.c
Python/bltinmodule.c
+1
-1
No files found.
Modules/posixmodule.c
View file @
c3568e2b
...
...
@@ -42,8 +42,8 @@ corresponding Unix manual entries for more information on calls.");
#include <io.h>
#include <stdio.h>
#include <process.h>
#include "osdefs.h"
#endif
#include "osdefs.h"
#endif
#include <sys/types.h>
...
...
PC/os2vacpp/makefile
View file @
c3568e2b
...
...
@@ -165,6 +165,7 @@ OBJECTS = \
$(PATHOBJ)
\M
ethodObject.obj
\
$(PATHOBJ)
\M
oduleObject.obj
\
$(PATHOBJ)
\O
bject.obj
\
$(PATHOBJ)
\O
bMalloc.obj
\
$(PATHOBJ)
\R
angeObject.obj
\
$(PATHOBJ)
\S
liceObject.obj
\
$(PATHOBJ)
\S
tringObject.obj
\
...
...
PC/os2vacpp/pyconfig.h
View file @
c3568e2b
...
...
@@ -54,7 +54,7 @@
/* Provide a default library so writers of extension modules
* won't have to explicitly specify it anymore
*/
#pragma library("Python2
2
.lib")
#pragma library("Python2
4
.lib")
/***************************************************/
/* 32-Bit IBM VisualAge C/C++ v3.0 for OS/2 */
...
...
PC/os2vacpp/python.def
View file @
c3568e2b
LIBRARY PYTHON2
2
INITINSTANCE TERMINSTANCE
DESCRIPTION 'Python 2.
2
Core DLL'
LIBRARY PYTHON2
4
INITINSTANCE TERMINSTANCE
DESCRIPTION 'Python 2.
4
Core DLL'
PROTMODE
DATA MULTIPLE NONSHARED
...
...
Python/bltinmodule.c
View file @
c3568e2b
...
...
@@ -575,7 +575,7 @@ builtin_execfile(PyObject *self, PyObject *args)
struct
stat
s
;
if
(
stat
(
filename
,
&
s
)
==
0
)
{
if
(
S_ISDIR
(
s
.
st_mode
))
# if defined(PY_OS2) && defined(PYCC_VACPP)
# if defined(PY
OS
_OS2) && defined(PYCC_VACPP)
errno
=
EOS2ERR
;
# else
errno
=
EISDIR
;
...
...
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