Andrey A. Chernov b0bf75c83c file == NULL:
Issue __sflush() before possible setting O_APPEND mode or ftruncate(),
write to wrong place may occurse oserwise.
Use simplified _sseek() to the start, if no O_APPEND is set, instead
of _fseeko() (_sseek() to the end, if O_APPEND, occurse later, as for
file != NULL).
Don't check seek error return, as original fopen() and freopen() never
does.

file != NULL:
Add missing _sseek() to the end.
2006-10-16 14:31:56 +00:00
..
2006-10-13 20:34:44 +00:00
2006-10-13 16:11:12 +00:00
2006-09-17 21:27:35 +00:00
2006-09-02 01:07:21 +00:00
2006-09-17 21:27:35 +00:00
2006-10-16 14:31:56 +00:00
2006-10-12 20:50:26 +00:00
2006-08-22 08:03:01 +00:00