From a2aa169e670184fdd0998533aefddcd8e1d569ed Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Sat, 12 May 2007 09:10:12 +0000 Subject: [PATCH] 2007-05-12 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbffind.c ! fixed typo in my previous commit --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/hbffind.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 203c8d2391..176f3c31fa 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-05-12 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/hbffind.c + ! fixed typo in my previous commit + 2007-05-12 10:48 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * OrdCreate() fixed diff --git a/harbour/source/rtl/hbffind.c b/harbour/source/rtl/hbffind.c index 971f9b5dab..e2cba67a33 100644 --- a/harbour/source/rtl/hbffind.c +++ b/harbour/source/rtl/hbffind.c @@ -696,10 +696,10 @@ static BOOL hb_fsFindNextLow( PHB_FFIND ffind ) * on 32bit machines. */ struct stat64 sStat; - if( stat64( dirname, &sStat ) != 0 ) + if( stat64( dirname, &sStat ) == 0 ) #else struct stat sStat; - if( stat( dirname, &sStat ) != 0 ) + if( stat( dirname, &sStat ) == 0 ) #endif { strncpy( ffind->szName, info->entry->d_name, _POSIX_PATH_MAX );