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:
Przemyslaw Czerpak
2007-07-31 10:50:56 +00:00
parent 79c5c63ead
commit 19b2fdeaff
3 changed files with 8 additions and 5 deletions

View File

@@ -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

View File

@@ -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 )

View File

@@ -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