Andi: This is just too weird. I'm using the same compile time switched used for the previous build:
set HB_HAS_LINENO=1 set BCC_HAS_TASM=1 set __CFLAGS=%CFLAGS% set CFLAGS=-OS -DHB_INCLUDE_WINEXCHANDLER -D__EXPORT__ -DHB_PRG_TRACE %__CFLAGS% make_b32.bat clean make_b32.bat all set CFLAGS=%__CFLAGS% set __CFLAGS= Can you show how you're building it? Thanks! On 01-02-2012 15:23, Andi Jahja wrote: > Luis, > > But still, your example shows the correct value here. > > Andi > > > On Wed, 01 Feb 2012 14:52:37 -0800 > Luis Krause Mantilla<lkrau...@shaw.ca> wrote: > >> Andi: >> >> Here's a quick sample (I'm guessing the problem >> has to do with very small files): >> >> // --- >> Function Main() >> Local cWinDir := GetEnv( "windir" ) + "\" >> >> cls >> >> ? "Win.ini size", hb_fsize( cWinDir + "win.ini" ) >> >> Return Nil >> // --- >> >> With the current xharbour (build 9425) code >> it returns a negative value!: >> >> Win.ini size -544210944 >> >> >> With build 9380, the correct value: >> >> Win.ini size 478 >> >> >> Maybe there's some -D value that needs to be set >> when building xharbour that I'm unaware of.... >> >> >> This is the actual size info: >> >> A 478 16-07-2011 15:23 win.ini >> >> >> >> On 01-02-2012 13:30, Andi Jahja wrote: >>> Hi Luis, >>> >>>> >>>> If I build with an xharbour from May 2011 >>>> I get the correct result of 3120 bytes. Now that >>>> I'm trying to test the current code from >>>> CVS the same file now returns the very odd >>>> size of 1110179840 bytes! >>> >>> I can't reproduce the problem here (BCC551 WinXP SP3), IOW HB_FSIZE >>> returns correct value. > > > -- Luis Krause Mantilla lkrausem at shaw dot ca luis_krause at hotmail dot com "May the Source be with GNU" ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers