You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/03 21:19:17 UTC
svn commit: r811085 -
/commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c
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;