Ignore:
Timestamp:
Nov 12, 2006, 3:47:25 AM (19 years ago)
Author:
bird
Message:

the simple testcase works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdrRdrFile.c

    r2861 r2869  
    11121112    SecAttr.lpSecurityDescriptor = NULL;
    11131113    SecAttr.nLength = 0;
    1114     File = CreateFile(pszFilename, GENERIC_READ | GENERIC_EXECUTE, FILE_SHARE_READ, &SecAttr, OPEN_ALWAYS, 0, NULL);
     1114    File = CreateFile(pszFilename, GENERIC_READ | GENERIC_EXECUTE, FILE_SHARE_READ, &SecAttr, OPEN_EXISTING, 0, NULL);
    11151115    if (File == INVALID_HANDLE_VALUE)
    11161116        return GetLastError();
Note: See TracChangeset for help on using the changeset viewer.