* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user