diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2023-02-21 06:48:19 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2023-02-21 06:48:19 +0000 |
commit | 410f80d0940ca08a0ece74d2bd59308a2ed4d251 (patch) | |
tree | a00a3420154267c2044d6083d75ed24e8e57ee46 /sbin/route/route.8 | |
parent | afb2245ebca83e758026f281fbec8e02cda6babf (diff) |
fseek to end of known_hosts before writing to it. POSIX and ANSI C
require that applications call fseek or similar between read and writing
to a RW file. OpenBSD doesn't enforce this, but some (System V derived)
platforms need this to prevent it from writing a spurious extra byte (in
this case, a newline). ok djm@ deraadt@
Diffstat (limited to 'sbin/route/route.8')
0 files changed, 0 insertions, 0 deletions