This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/26509] incorrect behaviour of error-handler for internal read



------- Comment #13 from jvdelisle at gcc dot gnu dot org  2006-03-09 14:56 -------
If you are doing sequential writes, the write truncates the file.  So if you
write out 8 bytes where there were 4 before, it just overwrites and extends the
file length if necessary.  All data after the last write goes away.  This is
normal behavior.

If it is DIRECT I/O you are doing, this is a different story and record sizes
are fixed length.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26509


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]