Ticket #6821: access_denied.patch

File access_denied.patch, 618 bytes (added by Gary Sanders <lex21@…>, 10 years ago)

svn patch file

  • operations.cpp

     
    19941994    {
    19951995      handle = 0;  // signal eof
    19961996      return error_code( (::GetLastError() == ERROR_FILE_NOT_FOUND
     1997                       || ::GetLastError() == ERROR_ACCESS_DENIED
    19971998                       // Windows Mobile returns ERROR_NO_MORE_FILES; see ticket #3551                                           
    19981999                       || ::GetLastError() == ERROR_NO_MORE_FILES)
    19992000        ? 0 : ::GetLastError(), system_category() );