------- 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

Reply via email to