CVSROOT: /cvs Module name: src Changes by: phess...@cvs.openbsd.org 2009/03/27 01:31:27
Modified files: usr.bin/xinstall: xinstall.c Log message: -S (safe mode) would copy the file over, rename it to the target, then do the chown/chmod dance. This created a race where the new file would be in place, but with the incorrect permissions. Fix so the rename is the last thing, instead of a middle thing. looks ok to krw@, deraadt@ OK beck@