#239 add_to_direct broken in cvs trunk

closed-fixed
elsapo
None
9
2006-05-16
2006-05-16
elsapo
No

add_to_direct (CACHE cache, CNSTRING key, INT reportmode)
{
STRING rawrec=0;
INT len=0;
CACHEEL cel=0;
RECORD rec=0;
int i, j;

ASSERT(cache);
ASSERT(cel);

Obviously that ASSERT is always going to fail as cel
was set to 0 at the top!

Discussion

  • elsapo

    elsapo - 2006-05-16

    Logged In: YES
    user_id=1195173

    Was broken by bad copy&paste between 1.105 and 1.106 of
    src/gedlib/keytonod.c

     
  • elsapo

    elsapo - 2006-05-16

    Logged In: YES
    user_id=1195173

    Fix bad ASSERT which stopped lifelines from working at all.
    sfbug#1489310

    **

    Checking in ChangeLog;
    /cvsroot/lifelines/lifelines/ChangeLog,v <-- ChangeLog
    new revision: 1.1834; previous revision: 1.1833
    done
    Checking in src/gedlib/keytonod.c;
    /cvsroot/lifelines/lifelines/src/gedlib/keytonod.c,v <--
    keytonod.c
    new revision: 1.107; previous revision: 1.106
    done

    Success, CVS operation completed

     
  • elsapo

    elsapo - 2006-05-16
    • assigned_to: nobody --> elsapo
    • status: open --> closed-fixed
     

Log in to post a comment.