Skip to content

Commit b17892b

Browse files
committed
Format codes
1 parent 99ba2b0 commit b17892b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Modules/posixmodule.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11930,12 +11930,10 @@ os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how)
1193011930
_Py_BEGIN_SUPPRESS_IPH
1193111931
#ifdef MS_WINDOWS
1193211932
HANDLE h = (HANDLE)_get_osfhandle(fd);
11933-
if (h != INVALID_HANDLE_VALUE) {
11934-
if (GetFileType(h) == FILE_TYPE_PIPE) {
11935-
errno = ESPIPE;
11936-
} else {
11937-
result = _lseeki64(fd, position, how);
11938-
}
11933+
if (h != INVALID_HANDLE_VALUE && GetFileType(h) == FILE_TYPE_PIPE) {
11934+
errno = ESPIPE;
11935+
} else {
11936+
result = _lseeki64(fd, position, how);
1193911937
}
1194011938
#else
1194111939
result = lseek(fd, position, how);

0 commit comments

Comments
 (0)