diff options
author | 2003-03-18 05:11:57 +0000 | |
---|---|---|
committer | 2003-03-18 05:11:57 +0000 | |
commit | bc304549e587505f6ca79d3a86e2c23f5cf6276c (patch) | |
tree | a2fcf8f376691f61239efeb5d27a17ab5fe3553b /lib | |
parent | make rcsid const to pass gcc -Wall (diff) | |
download | wireguard-openbsd-bc304549e587505f6ca79d3a86e2c23f5cf6276c.tar.xz wireguard-openbsd-bc304549e587505f6ca79d3a86e2c23f5cf6276c.zip |
Restore bootable tape functionality. Previous loadfile() would never use
lseek(), which is not available on tapes when using the prom device routines;
instead, remember our file position, seek forward by reading and discarding data,
and only use lseek() in last resort for backwards seek.
ok deraadt@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions