From 6ef113db1791f57773602bf3ea8857cd161efc40 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 7 Jul 2009 13:15:43 +0000 Subject: [PATCH] 2009-07-07 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c * added iTODO warning in OW Linux builds --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/diskspac.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index dd37287a68..af28354cd7 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-07 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/diskspac.c + * added iTODO warning in OW Linux builds + 2009-07-07 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbproces.c ! added missing #include diff --git a/harbour/source/rtl/diskspac.c b/harbour/source/rtl/diskspac.c index a066d71c71..86b9fee619 100644 --- a/harbour/source/rtl/diskspac.c +++ b/harbour/source/rtl/diskspac.c @@ -199,10 +199,7 @@ HB_FUNC( DISKSPACE ) { #if defined(__WATCOMC__) || defined(__CEGCC__) - struct stat st; - bError = stat( szName, &st) != 0; - if( !bError ) - dSpace = ( double ) st.st_blocks * ( double ) st.st_blksize; + int iTODO; #else #if defined( HB_OS_DARWIN ) struct statfs st;