From b8872ed7adb71c5f1f366f4b6677ecb87e1fd9f1 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Mon, 6 Oct 2003 11:38:25 +0000 Subject: [PATCH] FIXME: utils_valid_device() doesn't work on Cygwin. For now just don't do it. (Logical change 1.188) --- ntfsprogs/utils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ntfsprogs/utils.c b/ntfsprogs/utils.c index 82d24f21..40a69f22 100644 --- a/ntfsprogs/utils.c +++ b/ntfsprogs/utils.c @@ -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) {