Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-02-20 03:16:18 +0300
committerChristopher Faylor <me@cgf.cx>2007-02-20 03:16:18 +0300
commit510a85cbf974e4e1590a5eb625177795642ac9b8 (patch)
tree8c68ab8e8193d54a52f37ab507427ee6cfb62190 /winsup/cygwin/fhandler.cc
parentb440e09025fc34d119c8f3f03a3ba6088e8c05ae (diff)
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.cc14
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: