[Prev][Next][Index]
BUG report
- To: sage-bugs@cica.indiana.edu
- Subject: BUG report
- Date: Tue, 13 Dec 1994 17:12:28 +0100
- From: Francois Bodin <Francois.Bodin@irisa.fr>
Here is a bug with multiple files project. Show up when creating new nodes.
>>>>>>>>>>>>>>>>> in low_level.c
>>>>>>>>>>>>>>>>> pb with more than a file in the project
>>>>>>>>>>>>>>>>> because of a global var not updated "idfirst"
FIX done:
---> moved at the beginning of the file
static idfirst = 1; /* used for redoing the ids of nodes */
----> addition in routine int Init_Tool_Box()
if (cur_proj)
{
for (ptb = PROJ_FILE_CHAIN (cur_proj); ptb ; ptb = BLOB_NEXT (ptb))
{
added --> idfirst = 1;
pointer_on_file_proj = (PTR_FILE) BLOB_VALUE (ptb);
Redo_Bif_Next_Chain_Internal(PROJ_FIRST_BIF());
}
Francois