#137 closed defect (fixed)
Bad ReadFile behaviour
Reported by: | manuelb | Owned by: | manuelb |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Text | Version: | head |
Severity: | normal | Keywords: | |
Cc: |
Description
This code:
Text line = ReadFile("doesnotexist.txt");
Creates the file "doesnotexist.txt" and then reads from it (Of course, 0 bytes are
read). It should not create it, and return a warning instead.
TIP: "doesnotexist.txt" is a non-existing file :-)
Change History (3)
comment:1 Changed 21 years ago by
dependson: | → 127 |
---|---|
Status: | new → assigned |
comment:2 Changed 21 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000137 |
---|
Note: See
TracTickets for help on using
tickets.
Fixed! Same solution as bug #127.
Wrong behaviour of C++ libraries included in Visual C++ caused the problem.
A workarround has been implemented and is avaliable on the cvs.