From: SourceForge.net <no...@so...> - 2004-10-28 20:25:42
|
Bugs item #1056374, was opened at 2004-10-28 16:25 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1056374&group_id=2435 Category: MinGW Group: None Status: Open Resolution: None Priority: 5 Submitted By: rbv (rbrucevogelaar) Assigned to: Earnie Boyd (earnie) Summary: endfile: works in Win2k, but not WinXP Initial Comment: The following code runs fine under Win2k, but under WinXP gives the following output: file created and closed endfile: truncation failed in endfile apparent state: unit 7 named test.dat last format: listio lately writing direct formatted external IO open(unit=7, file="test.dat") write(7,*) "this is a test" close(unit=7) write(6,*)"file created and closed" open(unit=7, file="test.dat") write(7,*) "this is a tes" close(unit=7) stop end I am using MinGW-3.1.0-1.exe Changing the second output line from ending with 'tes' to 'test' makes the program work, as does changing it to 'tesu' etc. Any help appreciated. Bruce ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1056374&group_id=2435 |