close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#401 closed defect (fixed)

fail in IncludeBST with 10 fields or more

Reported by: Jorge Owned by: Jorge
Priority: normal Milestone:
Component: SetAlgebra Version: head
Severity: normal Keywords:
Cc:

Description

Create a bst file "dates.bst" with :

FechSt;iniEstDia;finEstDia;iniPrevDia;finPrevDia;iniEstMen;finEstMen;iniPrevMen;finPrevMen;iniEstPlan;finEstPlan;iniPrevPlan;finPrevPlan;
;y2004m01d01;y2006m05d18;y2006m05d19;y2006m12d31;y2004m01d01;y2006m04d01;y2006m05d01;y2006m12d01;y2004m01d01;y2006m05d01;y2006m06d01;y2006m12d01;

Create a tol file "test.tol" with:

Struct FechSt
{
Date iniEstDia,
Date finEstDia,
Date iniPrevDia,
Date finPrevDia,
Date iniEstMen,
Date finEstMen,
Date iniPrevMen,
Date finPrevMen,
Date iniEstPlan,
Date finEstPlan,
Date iniPrevPlan,
Date finPrevPlan
};

Set Include("dates.bst");

Include "test.tol" , then IncludeBST will complain.

Change History (3)

comment:1 Changed 19 years ago by Jorge

Status: newassigned

comment:2 Changed 19 years ago by Jorge

Resolution: fixed
Status: assignedclosed
  • the array start at size 10
  • overflow test was (n>txt.Size()) and should be (n==txt.Size())

fixed!

comment:3 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000401
Note: See TracTickets for help on using tickets.