copy data from unicode struct to ascii struct in DOSFS_FindNext

György 'Nog' Jeney nog at sdf.lonestar.org
Sun Oct 27 04:45:23 CST 2002


ChangeLog:
 * files/dos_fs.c
   Copy the nessecary data from the unicode struct to the ascii one in
   DOSFS_FindNext.

nog.

-------------- next part --------------
Index: files/dos_fs.c
===================================================================
RCS file: /home/wine/wine/files/dos_fs.c,v
retrieving revision 1.122
diff -u -r1.122 dos_fs.c
--- files/dos_fs.c	25 Oct 2002 03:32:11 -0000	1.122
+++ files/dos_fs.c	27 Oct 2002 09:48:01 -0000
@@ -1878,6 +1878,10 @@
         WideCharToMultiByte(CP_ACP, 0, entryW.cAlternateFileName, -1,
                             entry->cAlternateFileName, sizeof(entry->cAlternateFileName), NULL, NULL);
         count = info.cur_pos - skip;
+
+        entry->dwFileAttributes = entryW.dwFileAttributes;
+        entry->nFileSizeLow = entryW.nFileSizeLow;
+        entry->ftLastWriteTime = entryW.ftLastWriteTime;
     }
     else
         count = 0;



More information about the wine-patches mailing list