On Mon, 16 Feb 2009, Szak�ts Viktor wrote:

Hi,

> Couldn't debunk how DBFAREAP and AREAP are related to
> each other, and it seems I'm accessing one of them on the caller
> side and the other on the dbf1.c side, or maybe something else.
> I've add these:
> --- wafunc.c / hb_rddCreateTableTemp()
>    {
>       PHB_ITEM pTrueItm = hb_itemPutL( NULL, TRUE );
>       errCode = SELF_INFO( pArea, DBI_ISTEMPORARY, pTrueItm ); //////// GPF
> somewhere down this call
>       hb_itemRelease( pTrueItm );
>    }
> ---
> --- dbf1.c / hb_dbfInfo()
>       case DBI_ISTEMPORARY:
>          /////// never reached
>          if( ! pArea->pDataFile && ! pArea->pMemoFile && HB_IS_LOGICAL(
> pItem ) )
>             pArea->fTemporary = hb_itemGetL( pItem );
>          else
>             hb_itemPutL( pItem, pArea->fTemporary );
>          break;
> ---
> --- dbf1.c / hb_dbfCreate()
>    pItem = hb_itemNew( pItem );
>    if( SELF_INFO( pArea, DBI_ISTEMPORARY, pItem ) != HB_SUCCESS )
>    {
>       hb_itemRelease( pItem );
>       return HB_FAILURE;
>    }
>    pArea->fTemporary = hb_itemGetL( pItem );
> ---

It should work. The problem is probably caused by some typo I do not
see now. I'll make this modification myself using the patch you sent
and I'll commit it.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to