Message2872
Mixing reads and writes on the same stream is always a bad idea. I believe that the stdio docs prescribe that you must use fflush() whenever switching between reading and writing. We could enforce this by adding two flags, "reading" and "writing" to the file object.
(It's possible that using fseek() is also allowed to change directions.)
I'm not sure tht this is worth fixing though -- no sensible programmer will do this.
|
|
Date |
User |
Action |
Args |
2007-08-23 13:52:40 | admin | link | issue228210 messages |
2007-08-23 13:52:40 | admin | create | |
|