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
0e17dfbd
Commit
0e17dfbd
authored
Mar 08, 2012
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
parent
4a242832
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Python/import.c
Python/import.c
+1
-1
No files found.
Python/import.c
View file @
0e17dfbd
...
...
@@ -127,7 +127,7 @@ int isdir(char *path) {
return
rv
!=
INVALID_FILE_ATTRIBUTES
&&
rv
&
FILE_ATTRIBUTE_DIRECTORY
;
}
#else
#if HAVE_STAT
#if
def
HAVE_STAT
int
isdir
(
char
*
path
)
{
struct
stat
statbuf
;
return
stat
(
path
,
&
statbuf
)
==
0
&&
S_ISDIR
(
statbuf
.
st_mode
);
...
...
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