Hi,

On Mon, 19 Dec 2005, Kazu wrote:

> It is comile fix for win32.

Sorry... I "fixed" the headers of my installation. I think that MinGW 
should be fixed, really. Everybody passes down a mode when creating a 
directory.

But you're correct, as long as they don't get their act together, we 
should work around it. See below for my (shorter) patch.

Ciao,
Dscho

diff --git a/block-vvfat.c b/block-vvfat.c
index b73a6f6..991635d 100644
--- a/block-vvfat.c
+++ b/block-vvfat.c
@@ -2351,7 +2351,11 @@ static int handle_renames_and_mkdirs(BDR
            mapping_t* mapping;
            int j, parent_path_len;
 
+#ifdef __MINGW32__
+           if (mkdir(commit->path))
+#else
            if (mkdir(commit->path, 0755))
+#endif
                return -5;
 
            mapping = insert_mapping(s, commit->param.mkdir.cluster,



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to