#710 NOTREADY not reset when SEEK issued

Mark Harsen

Under 3.2 you could open a file, read it to the end, then use SEEK("=1 LINE") to go back to the start of the file and read it again. However, under 4.0 beta 4702, the first STATE after the SEEK returns NOTREADY instead and the second pass fails. So either the SEEK is failing or the stream state isn't being reset after a successful SEEK.

The attached program displays itself twice under 3.2 but only once under 4.0 beta 4702.

Thank you! -Mark


  • Mark Harsen

    Mark Harsen - 2009-05-27

    Demonstration program that reads itself twice under 3.2 but only once under 4.0

  • Rick McGuire

    Rick McGuire - 2009-05-27

    Committed revision 4736.

  • Mark Harsen

    Mark Harsen - 2009-06-16

    This works perfectly now. Thank you for your fantastic work! -Mark



Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks