sbase

commitb7fb3a58e7ec12987706fd52f5361a944ddc1da8parent87f40834a329f4f526fd17b1be36c75da0323573Author: Michael Forney <mforney@mforney.org>
Date: Tue, 27 Dec 2016 13:48:31 +0100
xinstall: Fix broken memmove with -t
memmove moves a number of bytes, not pointers, so if you passed a number
of arguments that is larger than the pointer byte size, you could
end up crashing or skipping the install of a file and installing another
twice.
Also, argv was never decreased to match the moved arguments, so the -t
parameter was added in the NULL argv slot.
Diffstat: