summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2018-07-03 20:14:42 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2018-07-03 20:14:42 +0000
commitbf5fb2f6bf3a718abb81ea9ea8df203780dabd82 (patch)
tree696ec94cf9f137e670e3cd9f3544d6d3c322bf2f /gnu/usr.bin
parent279159d5975f61840d0d3cca5b790edd6f9e145e (diff)
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 'gnu/usr.bin')
0 files changed, 0 insertions, 0 deletions