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:
authorCorinna Vinschen <corinna@vinschen.de>2012-04-01 00:14:14 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-04-01 00:14:14 +0400
commite2e887c5aca1e3413b614fb46bb766d6be2283bf (patch)
treeb0437bd1b845d1be79faa398ff98e1c720c624f5 /winsup/cygwin/path.cc
parent4303e52e4f107d60dbbf2ba94fd84aaa7fbca98a (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.cc2
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;