Ported FLAIM to FTK.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@509 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-06-05 22:59:36 +00:00
parent 728ce20c8d
commit 7de8b6be39
188 changed files with 7093 additions and 73582 deletions

View File

@@ -1169,7 +1169,7 @@ VISIT: We may want to return BOF/EOF when positioned on an endpoint.
****************************************************************************/
RCODE FSIndexCursor::currentKeyBuf(
FDB * pDb,
POOL * pPool,
F_Pool * pPool,
FLMBYTE ** ppKeyBuf,
FLMUINT * puiKeyLen,
FLMUINT * puiRecordId,
@@ -1219,10 +1219,9 @@ RCODE FSIndexCursor::currentKeyBuf(
if( (*puiKeyLen = m_curKeyPos.uiKeyLen) != 0)
{
if( (*ppKeyBuf = (FLMBYTE *)
GedPoolAlloc( pPool, m_curKeyPos.uiKeyLen)) == NULL)
if( RC_BAD( rc = pPool->poolAlloc( m_curKeyPos.uiKeyLen,
(void **)ppKeyBuf)))
{
rc = RC_SET( FERR_MEM);
goto Exit;
}