http://bugs.winehq.org/show_bug.cgi?id=19581
--- Comment #2 from Dan Kegel dank@kegel.com 2009-08-05 00:29:49 --- I tried putting this in CreateFileW, as suggested long ago by http://www.winehq.org/pipermail/wine-patches/2004-February/009620.html but it didn't seem to help:
+ if (attributes & FILE_ATTRIBUTE_TEMPORARY) { + TRACE("Clearing FILE_ATTRIBUTE_TEMPORARY\n"); + attributes &= ~FILE_ATTRIBUTE_TEMPORARY; + if (!(attributes & FILE_ATTRIBUTE_NORMAL)) { + TRACE("Setting FILE_ATTRIBUTE_NORMAL\n"); + attributes |= FILE_ATTRIBUTE_NORMAL; + } + } +