2007-07-31 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/tip/utils.c
* harbour/contrib/tip/encmthd.c
* changed hb_retclenAdoptRaw() to hb_retclen_buffer()
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-07-31 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/tip/utils.c
|
||||
* harbour/contrib/tip/encmthd.c
|
||||
* changed hb_retclenAdoptRaw() to hb_retclen_buffer()
|
||||
|
||||
2007-07-30 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
+ harbour/tests/foreach2.prg
|
||||
* added example for FOR EACH overloading
|
||||
|
||||
@@ -497,9 +497,7 @@ HB_FUNC( TIPENCODERURL_ENCODE )
|
||||
nPos++;
|
||||
}
|
||||
|
||||
cRet[ nPosRet ] = 0;
|
||||
/* this function also adds a zero */
|
||||
hb_retclenAdoptRaw( cRet, nPosRet );
|
||||
hb_retclen_buffer( cRet, nPosRet );
|
||||
}
|
||||
|
||||
HB_FUNC( TIPENCODERURL_DECODE )
|
||||
|
||||
@@ -139,7 +139,7 @@ HB_FUNC( TIP_TIMESTAMP )
|
||||
{
|
||||
szRet = (char *) hb_xrealloc( szRet, nLen + 1 );
|
||||
}
|
||||
hb_retclenAdoptRaw( szRet, nLen );
|
||||
hb_retclen_buffer( szRet, nLen );
|
||||
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ HB_FUNC( TIP_TIMESTAMP )
|
||||
{
|
||||
szRet = (char *) hb_xrealloc( szRet, nLen + 1 );
|
||||
}
|
||||
hb_retclenAdoptRaw( szRet, nLen );
|
||||
hb_retclen_buffer( szRet, nLen );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user