diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-03-29 17:42:50 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-03-29 17:42:50 +0000 |
commit | db27ea412581b5618a0f8f0a6ce7014b59feb4e8 (patch) | |
tree | 97c8762c159418d399d3426e672ce4150e1ff5e1 /winsup/cygwin/path.h | |
parent | 72a90d496de83734a05b452474fefdf37385aa63 (diff) | |
download | cygnal-db27ea412581b5618a0f8f0a6ce7014b59feb4e8.tar.gz cygnal-db27ea412581b5618a0f8f0a6ce7014b59feb4e8.tar.bz2 cygnal-db27ea412581b5618a0f8f0a6ce7014b59feb4e8.zip |
* 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.h')
-rw-r--r-- | winsup/cygwin/path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index e0a565fc1..bc3e2cc17 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -274,6 +274,8 @@ bool fnunmunge (char *, const char *) __attribute__ ((regparm (2))); int path_prefix_p (const char *path1, const char *path2, int len1) __attribute__ ((regparm (3))); +bool is_floppy (const char *); + /* FIXME: Move to own include file eventually */ #define MAX_ETC_FILES 2 |