[MSVCRT] Make _mktemp behave more like the native msncrt
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Thu Feb 9 10:13:03 CST 2006
Changelog:
wine/dll/msvcrt/file.c: _mktemp
Sixth generated charater always starts with 'a'
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/msvcrt/file.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/file.c,v
retrieving revision 1.94
diff -u -w -r1.94 file.c
--- wine/dlls/msvcrt/file.c 24 Jan 2006 12:51:46 -0000 1.94
+++ wine/dlls/msvcrt/file.c 9 Feb 2006 16:09:44 -0000
@@ -1264,6 +1264,7 @@
id = tempNum;
}
pattern++;
+ *pattern =letter++;
do
{
if (GetFileAttributesA(retVal) == INVALID_FILE_ATTRIBUTES &&
More information about the wine-patches
mailing list