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-16 14:31:56 +00:00
2006-09-17 21:27:35 +00:00
2006-10-09 05:12:54 +00:00
2006-07-27 04:54:03 +00:00
2006-07-27 04:54:03 +00:00
2005-11-24 10:43:35 +00:00
2006-04-13 08:12:31 +00:00
2006-09-17 21:27:35 +00:00
2006-09-01 21:25:22 +00:00
2006-10-09 05:12:54 +00:00
2006-09-21 01:30:04 +00:00
2006-09-17 21:27:35 +00:00
2006-09-01 21:25:22 +00:00
2006-03-16 15:18:17 +00:00
2006-08-22 08:03:01 +00:00
2006-10-05 06:26:31 +00:00
2005-11-24 11:26:36 +00:00
2006-10-10 08:15:08 +00:00
2006-07-28 21:34:37 +00:00
2006-03-23 14:09:21 +00:00
2006-09-30 11:32:46 +00:00