diff options
author | 2018-07-03 20:14:41 +0000 | |
---|---|---|
committer | 2018-07-03 20:14:41 +0000 | |
commit | 6520caa8587132cf3cc40d92caf0b24560c71a91 (patch) | |
tree | ea5f33909ca3d871b4bb80bc385f1a4f652f25d0 /sys/lib/libkern/arch/amd64 | |
parent | Synchronize ber changes from the snmpd instance to ldap, ldapd, and ypldap. (diff) | |
download | wireguard-openbsd-6520caa8587132cf3cc40d92caf0b24560c71a91.tar.xz wireguard-openbsd-6520caa8587132cf3cc40d92caf0b24560c71a91.zip |
installboot: adapt fileprefix() to future realpath(3) behavior
This was relying on realpath(3) working for paths that don't exist
yet, which will be changing soon.
Use a combination of dirname(3), realpath(3), and basename(3) to
construct a sane path while still ensuring that the target directory
exists.
with martijn
ok martijn, deraadt
Diffstat (limited to 'sys/lib/libkern/arch/amd64')
0 files changed, 0 insertions, 0 deletions