Hi,

It is comile fix for win32.

Regards,
Kazu

Index: block-vvfat.c
===================================================================
RCS file: /sources/qemu/qemu/block-vvfat.c,v
retrieving revision 1.3
diff -u -r1.3 block-vvfat.c
--- block-vvfat.c 18 Dec 2005 18:29:50 -0000 1.3
+++ block-vvfat.c 19 Dec 2005 06:23:15 -0000
@@ -2351,8 +2351,13 @@
     mapping_t* mapping;
     int j, parent_path_len;

+#ifdef _WIN32
+        if (mkdir(commit->path))
+            return -5;
+#else
     if (mkdir(commit->path, 0755))
  return -5;
+#endif

     mapping = insert_mapping(s, commit->param.mkdir.cluster,
      commit->param.mkdir.cluster + 1);




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

Reply via email to