aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-03-29 17:42:50 +0000
committerCorinna Vinschen <corinna@vinschen.de>2005-03-29 17:42:50 +0000
commitdb27ea412581b5618a0f8f0a6ce7014b59feb4e8 (patch)
tree97c8762c159418d399d3426e672ce4150e1ff5e1 /winsup/cygwin/path.cc
parent72a90d496de83734a05b452474fefdf37385aa63 (diff)
downloadnewlib-db27ea412581b5618a0f8f0a6ce7014b59feb4e8.zip
newlib-db27ea412581b5618a0f8f0a6ce7014b59feb4e8.tar.gz
newlib-db27ea412581b5618a0f8f0a6ce7014b59feb4e8.tar.bz2
* path.cc (is_floppy): Make externally available.
* path.h (is_floppy): Declare. * syscalls.cc (sync): Check for floppies on A: and B: in guid case. Don't call setmntent in non-guid case but evaluate drive bit mask locally.
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 5276796..62227e6 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -2478,7 +2478,7 @@ cygwin_umount (const char *path, unsigned flags)
return res;
}
-static bool
+bool
is_floppy (const char *dos)
{
char dev[256];