Fix flags handling for the install program. Properly set and clear flags
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 11 Nov 2008 01:51:24 +0000 (01:51 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 11 Nov 2008 01:51:24 +0000 (01:51 +0000)
commitc7a8869221872bdad07beec27a58ebead36f1d9f
tree058f30978219985e019bda1e7bc3dd88a494ccc5
parent503a21629ed5075e1fabb854d8cfbec5b4736d2d
Fix flags handling for the install program.  Properly set and clear flags
as requested on the command line, retaining any unspecified flags on the
source when creating the target.

The dump and history flags are special-cased.  The dump flag is not set
unless explicitly specified (as per previous behavior), and the user-history
flag is not transfered to the target and is left as the system desired
when the target was created.
usr.bin/xinstall/xinstall.c