latest changes from main repository

This commit is contained in:
Guenter Obiltschnig
2007-04-25 08:39:02 +00:00
parent f29f7cda53
commit 3e46ab332b
60 changed files with 1619 additions and 163 deletions

View File

@@ -1,7 +1,7 @@
//
// File_WIN32.cpp
//
// $Id: //poco/Main/Foundation/src/File_WIN32.cpp#16 $
// $Id: //poco/Main/Foundation/src/File_WIN32.cpp#17 $
//
// Library: Foundation
// Package: Filesystem
@@ -319,7 +319,7 @@ bool FileImpl::createFileImpl()
poco_assert (!_path.empty());
HANDLE hFile = CreateFile(_path.c_str(), GENERIC_WRITE, 0, 0, CREATE_NEW, 0, 0);
if (hFile)
if (hFile != INVALID_HANDLE_VALUE)
{
CloseHandle(hFile);
return true;