Subject: CVS commit: src
To: None <email@example.com>
From: Fred Sanchez <firstname.lastname@example.org>
Date: 10/07/1998 19:12:51
Module Name: src
Committed By: wsanchez
Date: Thu Oct 8 02:12:51 UTC 1998
src/usr.bin/xinstall: install.1 xinstall.c
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
/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.