shell32 - disable unixfs on mingw build

Steven Edwards steven_ed4153 at yahoo.com
Mon Mar 14 16:55:01 CST 2005


Well not really disable it. Just make it return true. This codepath should never be used on
Windows.

Changelog:
porting fix

Index: dlls/shell32/shfldr_unixfs.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shfldr_unixfs.c,v
retrieving revision 1.1
diff -u -r1.1 shfldr_unixfs.c
--- dlls/shell32/shfldr_unixfs.c   9 Mar 2005 16:41:17 -0000   1.1
+++ dlls/shell32/shfldr_unixfs.c   14 Mar 2005 22:50:30 -0000
@@ -177,6 +177,7 @@
  */
 static BOOL UNIXFS_build_subfolder_pidls(const char *path, LPITEMIDLIST **apidl, DWORD *pCount)
 {
+#ifndef __MINGW32__
     DIR *dir;
     struct dirent *pSubDir;
     DWORD cSubDirs, i;
@@ -261,6 +262,8 @@
     
     *pCount = i;    
     closedir(dir);
+
+#endif
 
     return TRUE;
 }



		
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs



More information about the wine-patches mailing list