CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/07/03 14:14:41
Modified files:
usr.sbin/installboot: util.c
Log message:
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
