#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
Status: | new → assigned |
---|
comment:2 Changed 21 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 21 years ago by
blocked: | → 127 |
---|
Note: See
TracTickets for help on using
tickets.
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.