CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/08/24 09:48:03
Modified files:
usr.bin/xinstall: install.1 xinstall.c
Log message:
Traditionally this would install a mkstemp() temporary file, then [-s]
strip that installed file, then move it into place, which can
temporarily require 3x as much space. This changes the command to
attempt strip -o to a mstemp() temporary file, and upon success reopens
that to apply permissions and modes. Upon failure, it copies it the old
way.
Initial diff from kettenis, which made strip -o behaviour too harsh.
ports tree testing by naddy