kernel32: revert 8044c11ecfca09e2b643feccb95a4d8f645ba656

Austin English austinenglish at gmail.com
Mon Apr 27 02:10:59 CDT 2009


It breaks a lot more stuff than it helps. See bug 17938, 17980, and
possibly others.

-- 
-Austin
-------------- next part --------------
From 77589190d8744565ab467b4118e5150e8c0766b8 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Mon, 27 Apr 2009 02:07:27 -0500
Subject: [PATCH] kernel32: revert 8044c11ecfca09e2b643feccb95a4d8f645ba656

---
 dlls/kernel32/volume.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
index 9addeab..d30ae10 100644
--- a/dlls/kernel32/volume.c
+++ b/dlls/kernel32/volume.c
@@ -511,8 +511,8 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR label, DWORD label_len,
     static const WCHAR audiocdW[] = {'A','u','d','i','o',' ','C','D',0};
     static const WCHAR fatW[] = {'F','A','T',0};
     static const WCHAR fat32W[] = {'F','A','T','3','2',0};
+    static const WCHAR ntfsW[] = {'N','T','F','S',0};
     static const WCHAR cdfsW[] = {'C','D','F','S',0};
-    static const WCHAR unixfsW[] = {'U','N','I','X','F','S',0};
 
     WCHAR device[] = {'\\','\\','.','\\','A',':',0};
     HANDLE handle;
@@ -613,7 +613,7 @@ fill_fs_info:  /* now fill in the information that depends on the file system ty
         if (flags) *flags = FILE_CASE_PRESERVED_NAMES;  /* FIXME */
         break;
     default:
-        if (fsname) lstrcpynW( fsname, unixfsW, fsname_len );
+        if (fsname) lstrcpynW( fsname, ntfsW, fsname_len );
         if (filename_len) *filename_len = 255;
         if (flags) *flags = FILE_CASE_PRESERVED_NAMES;
         break;
-- 
1.6.0.4


More information about the wine-patches mailing list