diff options
author | Christopher Faylor <me@cgf.cx> | 2007-02-20 00:16:18 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2007-02-20 00:16:18 +0000 |
commit | 510a85cbf974e4e1590a5eb625177795642ac9b8 (patch) | |
tree | 8c68ab8e8193d54a52f37ab507427ee6cfb62190 /winsup/cygwin/fhandler.cc | |
parent | b440e09025fc34d119c8f3f03a3ba6088e8c05ae (diff) | |
download | cygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.tar.gz cygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.tar.bz2 cygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.zip |
Remove extraneous whitespace.
* pinfo.cc (commune_process): Use default argument to lock_process.
* sigproc.cc: Update copyright.
* select.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index bf938e7a9..60f136476 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -690,7 +690,7 @@ fhandler_base::open (int flags, mode_t mode) Per MSDN you have to create the file with the same attributes as already specified for the file. */ if (has_attribute (FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM)) - file_attributes |= pc.file_attributes (); + file_attributes |= pc.file_attributes (); /* If the file should actually be created and ntsec is on, set files attributes. */ @@ -1292,7 +1292,7 @@ rootdir (const char *full_path, char *root_path) } } while (--c > min_c && *c != '\\') - ; + ; } return root_path; @@ -1826,12 +1826,12 @@ fhandler_base::fpathconf (int v) ? LINK_MAX : 1; case _PC_MAX_CANON: if (is_tty ()) - return MAX_CANON; + return MAX_CANON; set_errno (EINVAL); break; case _PC_MAX_INPUT: if (is_tty ()) - return MAX_INPUT; + return MAX_INPUT; set_errno (EINVAL); break; case _PC_NAME_MAX: @@ -1844,7 +1844,7 @@ fhandler_base::fpathconf (int v) if (pc.isdir () || get_device () == FH_FIFO || get_device () == FH_PIPE || get_device () == FH_PIPER || get_device () == FH_PIPEW) - return PIPE_BUF; + return PIPE_BUF; set_errno (EINVAL); break; case _PC_CHOWN_RESTRICTED: @@ -1853,7 +1853,7 @@ fhandler_base::fpathconf (int v) return 1; case _PC_VDISABLE: if (is_tty ()) - return _POSIX_VDISABLE; + return _POSIX_VDISABLE; set_errno (EINVAL); break; case _PC_ASYNC_IO: @@ -1870,7 +1870,7 @@ fhandler_base::fpathconf (int v) case _PC_POSIX_PERMISSIONS: case _PC_POSIX_SECURITY: if (get_device () == FH_FS) - return check_posix_perm (get_win32_name (), v); + return check_posix_perm (get_win32_name (), v); set_errno (EINVAL); break; default: |