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

#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 manuelb

dependson: 127
Status: newassigned

comment:2 Changed 21 years ago by manuelb

Resolution: fixed
Status: assignedclosed

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.

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_000137
Note: See TracTickets for help on using tickets.