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
f7875596
Commit
f7875596
authored
Jun 24, 2012
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace cleanup.
parent
9dcbfc35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Modules/posixmodule.c
Modules/posixmodule.c
+6
-6
No files found.
Modules/posixmodule.c
View file @
f7875596
...
...
@@ -522,7 +522,7 @@ dir_fd_converter(PyObject *o, void *p) {
* or if path was an integer and path.allow_fd was set,
* both path.wide and path.narrow will be NULL
* and path.length will be 0.
*
*
* path_converter takes care to not write to the path_t
* unless it's successful. However it must reset the
* "cleanup" field each time it's called.
...
...
@@ -2421,7 +2421,7 @@ posix_access(PyObject *self, PyObject *args, PyObject *kwargs)
Py_END_ALLOW_THREADS
/*
* Access is possible if
* Access is possible if
* * we didn't get a -1, and
* * write access wasn't requested,
* * or the file isn't read-only,
...
...
@@ -2578,7 +2578,7 @@ posix_chdir(PyObject *self, PyObject *args, PyObject *kwargs)
return_value
=
Py_None
;
Py_INCREF
(
Py_None
);
exit:
path_cleanup
(
&
path
);
return
return_value
;
...
...
@@ -2996,7 +2996,7 @@ posix_chown(PyObject *self, PyObject *args, PyObject *kwargs)
* (But we still have an lchown symbol because of weak-linking.)
* It doesn't have fchownat either. So there's no possibility
* of a graceful failover.
*/
*/
if
((
!
follow_symlinks
)
&&
(
lchown
==
NULL
))
{
follow_symlinks_specified
(
"chown"
,
follow_symlinks
);
goto
exit
;
...
...
@@ -3316,7 +3316,7 @@ posix_listdir(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject
*
v
;
DIR
*
dirp
=
NULL
;
struct
dirent
*
ep
;
int
arg_is_unicode
=
1
;
int
arg_is_unicode
=
1
;
#endif
memset
(
&
path
,
0
,
sizeof
(
path
));
...
...
@@ -8511,7 +8511,7 @@ posix_mknod(PyObject *self, PyObject *args, PyObject *kwargs)
return_value
=
Py_None
;
Py_INCREF
(
Py_None
);
exit:
path_cleanup
(
&
path
);
return
return_value
;
...
...
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