Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Fred Sanchez <wsanchez@netbsd.org>
List: source-changes
Date: 10/07/1998 19:12:51
Module Name:	src
Committed By:	wsanchez
Date:		Thu Oct  8 02:12:51 UTC 1998

Modified Files:
	src/usr.bin/xinstall: install.1 xinstall.c
Log Message:
Add new option -S, which is like -s, but takes a string of options to pass to strip,
rather than "-s". For example:
install -S "-i -s symbolfile" foo /usr/bin/foo
Invokes:
/bin/sh -c "strip -i -s /usr/bin/foo"
This is needed, because we need different strip options for dynamic libraries and
Mach-O bundles than for executables; our strip supports more directed stripping.
/bin/sh is used in this case, to parse the arguments.

Don't bother mmap()ing files of zero length. Was a workaround for a bug in our mmap(),
which didn't get along with such files, but makes sense anyway.