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 21 years ago

Closed 21 years ago

Last modified 21 years ago

#104 closed defect (fixed)

BDBOpen() and file not found -> TOL goes down

Reported by: request Owned by: danirus
Priority: normal Milestone:
Component: SetAlgebra Version: head
Severity: blocker Keywords:
Cc:

Description

BDBOpen() and file not found -> TOL goes down

Set inpBdb = BDBOpen("notfound.txt", 0, "\n", "", "");

Change History (3)

comment:1 Changed 21 years ago by danirus

Status: newassigned

comment:2 Changed 21 years ago by danirus

Resolution: fixed
Status: assignedclosed

This Bug has been resolved. A solution is available in Tol CVS, and affects only
to bbasic/qfile.cpp source.

Windows and Linux presents different behavior in function std::ifstream open(char*)
Under Windows, the file is created if does not exist, but under Linux not.
Before open the file it is necessary to verify its existence. If the file does
not exist, isOpen_ attribute should be BFALSE, in order to be properly used in
BQSepFile constructor.

comment:3 Changed 21 years ago by request

blocked: 127
Note: See TracTickets for help on using tickets.