commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r811085 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c
Date Thu, 03 Sep 2009 19:19:17 GMT
Author: mturk
Date: Thu Sep  3 19:19:17 2009
New Revision: 811085

URL: http://svn.apache.org/viewvc?rev=811085&view=rev
Log:
Delete the path test files

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c?rev=811085&r1=811084&r2=811085&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c Thu Sep  3 19:19:17 2009
@@ -237,7 +237,7 @@
     wcslcpy(tp, path, TMP_PATH_MAX);
     ACR_NO_END_SLASHW(tp);
     wcslcat(tp, L"\\.acrXXXXXX", TMP_PATH_MAX);
-    fh = getftemp(tp, FILE_ATTRIBUTE_NORMAL);
+    fh = getftemp(tp, FILE_FLAG_DELETE_ON_CLOSE);
     if (IS_VALID_HANDLE(fh)) {
         CloseHandle(fh);
         return 1;



Mime
View raw message