summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2006-10-16 14:31:56 +0000
committerache <ache@FreeBSD.org>2006-10-16 14:31:56 +0000
commit9a7ddac59ad48ee1b12b63eba29c6904028d622e (patch)
treef5a89eeb33f1fd9a61ff920ed5b4c15cd519d3c2 /share/man
parent26039aabd1c4ce251355792287ab53f304632aae (diff)
downloadFreeBSD-src-9a7ddac59ad48ee1b12b63eba29c6904028d622e.zip
FreeBSD-src-9a7ddac59ad48ee1b12b63eba29c6904028d622e.tar.gz
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.
Diffstat (limited to 'share/man')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud