diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-04-01 00:14:14 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-04-01 00:14:14 +0400 |
commit | e2e887c5aca1e3413b614fb46bb766d6be2283bf (patch) | |
tree | b0437bd1b845d1be79faa398ff98e1c720c624f5 /winsup/cygwin/path.cc | |
parent | 4303e52e4f107d60dbbf2ba94fd84aaa7fbca98a (diff) |
* devices.cc: Regenerate.
* devices.h (device::exists_func): New member function pointer,
replacing noexpose.
(device::expose): Remove.
(device::exists_never): Declare.
(device::exists_ptys): Declare.
(device::exists_cons): Declare.
(device::exists_console): Declare.
(device::exists_nt_dev): Declare.
(device::exists): Declare.
* devices.in (dev_storage): Replace former noexpose values with
pointers to matching exists_XXX method.
(device::exists_never): New method.
(device::exists_ptys): New method.
(device::exists_cons): New method.
(device::exists_console): New method.
(device::exists_nt_dev): New method.
(device::exists): New method.
* fhandler_dev.cc (fhandler_dev::readdir): Replace call to
device::expose with call to device::exists and drop all further
existence filtering since it's done in device::exists now.
* path.cc (path_conv::check): Replace call to device::expose with call
to device::exists.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index fa0a0e370..cd797bfc4 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -718,7 +718,7 @@ path_conv::check (const char *src, unsigned opt, sym.pflags |= pflags_or; - if (!dev.expose ()) + if (!dev.exists ()) { error = ENXIO; return; |