| Subject: | [Bug libfortran/23262] [migwin32] rewind truncates file |
|---|---|
| From: | "fxcoudert at gcc dot gnu dot org" |
| Date: | 3 Sep 2005 08:46:03 -0000 |
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-09-03
08:46 -------
Well, that was not so difficult: when we write "1234\n6789\n" for example, the
length of the write is 10. But the size of the resulting file is 12, since each
newline character is translated into a two-byte \n\r sequence! Then, the first
step of the rewind is to truncate the file to length 10.
I don't know exactly how we should handle this :(
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-09-03 08:46:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23262
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug fortran/23713] New: HDF5 build fails -- internal compiler error, swhite at aei dot mpg dot de |
|---|---|
| Next by Date: | [Bug rtl-optimization/23714] New: [4.1 Regression] ICE in expand_assignment, kkojima at gcc dot gnu dot org |
| Previous by Thread: | [Bug fortran/23713] New: HDF5 build fails -- internal compiler error, swhite at aei dot mpg dot de |
| Next by Thread: | [Bug libfortran/23262] [migwin32] rewind truncates file, fxcoudert at gcc dot gnu dot org |
| Indexes: | [Date] [Thread] [Top] [All Lists] |