summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2012-10-23 16:31:06 +0300
committerPetri Lehtinen <petri@digip.org>2012-10-23 16:31:06 +0300
commitd25b3982c760289f7c5eeefdc81a5659a9703aa7 (patch)
tree742e494e776652dba490f3b31ec3891421959b0c
parent3831bec20ddd55c436d03825eaee4356f0f322ff (diff)
parent5445a8cb41905e230c7226461521245a2fe63eca (diff)
downloadcpython-git-d25b3982c760289f7c5eeefdc81a5659a9703aa7.tar.gz
Replace tabs with spaces in posixmodule.c
-rw-r--r--Modules/posixmodule.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 0fe3963d18..69d5229068 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -2442,7 +2442,7 @@ posix_chdir(PyObject *self, PyObject *args, PyObject *kwargs)
result = win32_wchdir(path.wide);
else
result = win32_chdir(path.narrow);
- result = !result; /* on unix, success = 0, on windows, success = !0 */
+ result = !result; /* on unix, success = 0, on windows, success = !0 */
#else
#ifdef HAVE_FCHDIR
if (path.fd != -1)
@@ -6700,12 +6700,12 @@ posix_symlink(PyObject *self, PyObject *args, PyObject *kwargs)
if (!check_CreateSymbolicLink()) {
PyErr_SetString(PyExc_NotImplementedError,
"CreateSymbolicLink functions not found");
- return NULL;
- }
+ return NULL;
+ }
if (!win32_can_symlink) {
PyErr_SetString(PyExc_OSError, "symbolic link privilege not held");
- return NULL;
- }
+ return NULL;
+ }
#endif
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&|i$O&:symlink",
@@ -6781,7 +6781,7 @@ win_readlink(PyObject *self, PyObject *args, PyObject *kwargs)
DWORD n_bytes_returned;
DWORD io_result;
PyObject *po, *result;
- int dir_fd;
+ int dir_fd;
HANDLE reparse_point_handle;
char target_buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE];