summaryrefslogtreecommitdiff
path: root/sbin/route/route.8
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2023-02-21 06:48:19 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2023-02-21 06:48:19 +0000
commit410f80d0940ca08a0ece74d2bd59308a2ed4d251 (patch)
treea00a3420154267c2044d6083d75ed24e8e57ee46 /sbin/route/route.8
parentafb2245ebca83e758026f281fbec8e02cda6babf (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