Whitespace cleanup.

This commit is contained in:
Georg Brandl 2012-06-24 13:58:31 +02:00
parent 9dcbfc353d
commit f78755968a
1 changed files with 6 additions and 6 deletions

View File

@ -522,7 +522,7 @@ dir_fd_converter(PyObject *o, void *p) {
* or if path was an integer and path.allow_fd was set, * or if path was an integer and path.allow_fd was set,
* both path.wide and path.narrow will be NULL * both path.wide and path.narrow will be NULL
* and path.length will be 0. * and path.length will be 0.
* *
* path_converter takes care to not write to the path_t * path_converter takes care to not write to the path_t
* unless it's successful. However it must reset the * unless it's successful. However it must reset the
* "cleanup" field each time it's called. * "cleanup" field each time it's called.
@ -2421,7 +2421,7 @@ posix_access(PyObject *self, PyObject *args, PyObject *kwargs)
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
/* /*
* Access is possible if * Access is possible if
* * we didn't get a -1, and * * we didn't get a -1, and
* * write access wasn't requested, * * write access wasn't requested,
* * or the file isn't read-only, * * or the file isn't read-only,
@ -2578,7 +2578,7 @@ posix_chdir(PyObject *self, PyObject *args, PyObject *kwargs)
return_value = Py_None; return_value = Py_None;
Py_INCREF(Py_None); Py_INCREF(Py_None);
exit: exit:
path_cleanup(&path); path_cleanup(&path);
return return_value; 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.) * (But we still have an lchown symbol because of weak-linking.)
* It doesn't have fchownat either. So there's no possibility * It doesn't have fchownat either. So there's no possibility
* of a graceful failover. * of a graceful failover.
*/ */
if ((!follow_symlinks) && (lchown == NULL)) { if ((!follow_symlinks) && (lchown == NULL)) {
follow_symlinks_specified("chown", follow_symlinks); follow_symlinks_specified("chown", follow_symlinks);
goto exit; goto exit;
@ -3316,7 +3316,7 @@ posix_listdir(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *v; PyObject *v;
DIR *dirp = NULL; DIR *dirp = NULL;
struct dirent *ep; struct dirent *ep;
int arg_is_unicode = 1; int arg_is_unicode = 1;
#endif #endif
memset(&path, 0, sizeof(path)); memset(&path, 0, sizeof(path));
@ -8511,7 +8511,7 @@ posix_mknod(PyObject *self, PyObject *args, PyObject *kwargs)
return_value = Py_None; return_value = Py_None;
Py_INCREF(Py_None); Py_INCREF(Py_None);
exit: exit:
path_cleanup(&path); path_cleanup(&path);
return return_value; return return_value;