Changeset 702


Ignore:
Timestamp:
Mar 19, 2010, 12:57:18 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib/io: QOS2FileSystemWatcherEngine: Suppress a false warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qfilesystemwatcher_os2.cpp

    r659 r702  
    114114    } else {
    115115        notifyPipe = NULLHANDLE; // sanity (used by isOk())
    116         if (arc != ERROR_FILE_NOT_FOUND)
     116        if (arc != ERROR_FILE_NOT_FOUND &&
     117            arc != ERROR_PATH_NOT_FOUND)
    117118            qWarning("QOS2FileSystemWatcherEngine:: "
    118119                     "DosOpen("PIPE_CHANGENOTIFY") returned %lu", arc);
     
    122123QOS2FileSystemWatcherEngine::~QOS2FileSystemWatcherEngine()
    123124{
    124     DosCloseEventSem(eventSem);
    125     if (notifyPipe != NULLHANDLE)
     125   
     126   
    126127        DosClose(notifyPipe);
     128
    127129}
    128130
Note: See TracChangeset for help on using the changeset viewer.