* 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.
This commit is contained in:
Corinna Vinschen
2005-03-29 17:42:50 +00:00
parent 72a90d496d
commit db27ea4125
4 changed files with 26 additions and 4 deletions

View File

@ -2478,7 +2478,7 @@ cygwin_umount (const char *path, unsigned flags)
return res;
}
static bool
bool
is_floppy (const char *dos)
{
char dev[256];