summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-04-13 09:04:22 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-04-13 09:04:22 +0000
commit825b388289a0feaf41a982c162b93acc5b293e6e (patch)
tree8a56b9730d3766a31395de375db2013efa4f8ee7 /winsup/cygwin/path.cc
parentf006625d0486646c27262a4346535796e6473da6 (diff)
downloadcygnal-825b388289a0feaf41a982c162b93acc5b293e6e.tar.gz
cygnal-825b388289a0feaf41a982c162b93acc5b293e6e.tar.bz2
cygnal-825b388289a0feaf41a982c162b93acc5b293e6e.zip
* winsup.h (IMPLEMENT_STATUS_FLAG): New macro to define status flag
accessor methods unambiguously. * fhandler.h: Use IMPLEMENT_STATUS_FLAG throughout where possible. * fhandler_termios.cc (fhandler_termios::tcinit): Call corrected accessor for initialized status flag. * mtinfo.h (class mtinfo_drive): Use IMPLEMENT_STATUS_FLAG throughout. * path.cc (fs_info::update): Remove duplicate call to flags(). * path.h (struct fs_info): Use IMPLEMENT_STATUS_FLAG where possible. (path_conv::is_auto_device): Fix spacing. * tty.h (class tty_min): Use IMPLEMENT_STATUS_FLAG throughout.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 77c9087f9..91945e391 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -397,7 +397,6 @@ fs_info::update (const char *win32_path)
&status.flags, fsname, sizeof (fsname)))
{
debug_printf ("Cannot get volume information (%s), %E", root_dir);
- flags () = 0;
has_buggy_open (false);
has_ea (false);
flags () = serial () = 0;