Changeset 1915

Show
Ignore:
Timestamp:
04/11/2007 14:45:05 (14 months ago)
Author:
chris
Message:

Log an error if we fail to open the lockfile.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/common/NamedLock.cpp

    r456 r1915  
    6060//              Name:    NamedLock::TryAndGetLock(const char *, int) 
    6161//              Purpose: Trys to get a lock on the name in the file system. 
    62 //                              IMPORTANT NOTE: If a file exists with this name, it will be deleted. 
     62//                      IMPORTANT NOTE: If a file exists with this name, it will be deleted. 
    6363//              Created: 2003/08/28 
    6464// 
     
    9494        if(fd == -1) 
    9595        { 
     96                BOX_WARNING("Failed to open lockfile: " << Filename); 
    9697                THROW_EXCEPTION(CommonException, OSFileError) 
    9798        }