------- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-04-13 15:24 ------- (In reply to comment #0) > If the file has been repositioned since the connection, the > scalar-default-char-variable is assigned a processor-dependent value, > which shall not be REWIND unless the file is positioned at its > initial point and shall not be APPEND unless the file is positioned > so that its endfile record is the next record or at its terminal > point if it has no endfile record.
I'm not too skilled at reading normative language, but I guess it only says that if we're not at endfile, if can't be APPEND. It doesn't say that when we're at enfile, it shall be APPEND. Of course, there also is the quality of implementation issue to consider. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31532