FIXME: utils_valid_device() doesn't work on Cygwin. For now just don't do it.

(Logical change 1.188)
edge.strict_endians
cantab.net!aia21 2003-10-06 11:38:25 +00:00
parent bfd37171ab
commit b8872ed7ad
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* utils.c - Part of the Linux-NTFS project.
*
* Copyright (c) 2002 Richard Russon
* Copyright (c) 2003 Anton Altaparmakov
*
* A set of shared functions for ntfs utilities
*
@ -137,8 +138,11 @@ ntfs_volume * utils_mount_volume (const char *device, unsigned long flags, BOOL
if (!device)
return NULL;
/* FIXME: This doesn't work for Cygwin, so just skip it for now... */
#ifndef __CYGWIN32__
if (!utils_valid_device (device, force))
return NULL;
#endif
vol = ntfs_mount (device, flags);
if (!vol) {