mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fixed a bug in FindCloseFile().
The return value was allways FALSE. Cmd's 'dir /s' will now work. svn path=/trunk/; revision=2157
This commit is contained in:
parent
6167160a26
commit
e163d9c89c
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: find.c,v 1.28 2001/08/01 19:26:41 hbirr Exp $
|
/* $Id: find.c,v 1.29 2001/08/06 18:37:23 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -350,7 +350,7 @@ FindClose (
|
||||||
|
|
||||||
DPRINT("FindClose(hFindFile %x)\n",hFindFile);
|
DPRINT("FindClose(hFindFile %x)\n",hFindFile);
|
||||||
|
|
||||||
if (hFindFile || hFindFile == INVALID_HANDLE_VALUE)
|
if (!hFindFile || hFindFile == INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
SetLastError (ERROR_INVALID_HANDLE);
|
SetLastError (ERROR_INVALID_HANDLE);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue