Re: [Harbour] SF.net SVN: harbour-project:[14177] trunk/harbour

2010-03-16 Thread Viktor Szakáts
I'll fix it. On 2010 Mar 16, at 22:55, Mindaugas Kavaliauskas wrote: > Hi, > > >> HB_BZ2_UNCOMPRESSLEN( , [<@nResult>] ) >> -> or 0 on error > > I guess 0 can be also a valid result, if empty string was compressed. > So, we'll always need to check nResult, to check fo

Re: [Harbour] SF.net SVN: harbour-project:[14177] trunk/harbour

2010-03-16 Thread Mindaugas Kavaliauskas
Hi, HB_BZ2_UNCOMPRESSLEN( , [<@nResult>] ) -> or 0 on error I guess 0 can be also a valid result, if empty string was compressed. So, we'll always need to check nResult, to check for error. -1 fits better to indicate error condition. Perhaps the problem was HB_SIZ

[Harbour] SF.net SVN: harbour-project:[14177] trunk/harbour

2010-03-16 Thread druzus
Revision: 14177 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14177&view=rev Author: druzus Date: 2010-03-16 12:56:23 + (Tue, 16 Mar 2010) Log Message: --- 2010-03-16 13:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makef