Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



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.




Home | Main Index | Thread Index | Old Index