Author: mturk Date: Mon Jun 29 11:24:59 2009 New Revision: 789290 URL: http://svn.apache.org/viewvc?rev=789290&view=rev Log: Fix copy/paste type
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c?rev=789290&r1=789289&r2=789290&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c Mon Jun 29 11:24:59 2009 @@ -452,7 +452,7 @@ if (rc == ERROR_SUCCESS) { rc = resolve_prot(user, group, dacl); if (rc >= 0) { - DWORD flags = GetFileAttributesW(J2W(pathname)); + DWORD flags = GetFileAttributesW(fname); if (flags != 0xFFFFFFFF) { if (flags & FILE_ATTRIBUTE_READONLY) { /* Clear any WRITE attributes */