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;