POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Tasklist

FS#238 - Error during #read causes file to be kept open

Attached to Project: POV-Ray
Opened by Christoph Lipka (clipka) - Wednesday, 22 February 2012, 02:34 GMT
Last edited by Christoph Lipka (clipka) - Wednesday, 21 August 2013, 13:07 GMT
Task Type Possible Bug
Category Backend → Parser/SDL
Status Closed
Assigned To Chris Cason (chrisc)
Operating System Windows 7
Severity High
Priority Normal
Reported Version 3.70 RC4
Due in Version 3.70 RC7
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Consider the following script:

  #fopen F "foo.txt" read
  #read (F, Foo)
  #debug concat ("'", Foo, "'\n")
  #fclose F

Now assume that foo.txt erroneously contains unquoted text (which will result in a parse error):

  Blah

When the error is reported, POV-Ray for Windows will helpfully open foo.txt, but any attempt to save a corrected version of foo.txt will fail until you exit the POV-Ray GUI, presumably because foo.txt is not properly closed by the parser.

This task depends upon

Closed by  Christoph Lipka (clipka)
Wednesday, 21 August 2013, 13:07 GMT
Reason for closing:  Fixed
Comment by Chris Cason (chrisc) - Tuesday, 04 September 2012, 07:27 GMT

Fixed in change 5715.

Loading...