Subject: CVS commit: [netbsd-4] src
To: None <source-changes@NetBSD.org>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: source-changes
Date: 08/23/2007 11:21:45
Module Name: src
Committed By: liamjfoy
Date: Thu Aug 23 11:21:45 UTC 2007
Modified Files:
src/share/mk [netbsd-4]: bsd.own.mk
src/tools/binstall [netbsd-4]: Makefile
src/usr.bin/xinstall [netbsd-4]: xinstall.c
Log Message:
Pull up following revision(s) (requested by joerg in ticket #823):
usr.bin/xinstall/xinstall.c: revision 1.102
tools/binstall/Makefile: revision 1.6
tools/binstall/Makefile: revision 1.7
share/mk/bsd.own.mk: revision 1.496
- When compiling nbinstall for the tool chain, use the target strip
and not /usr/bin/strip. This makes nbinstall usable for
cross-compiling in pkgsrc.
- Fix a typo in a comment.
- Fix strip() in the context of (v)fork:
- Build the argument string first using asprintf (simpler) and
avoid leaking memory from the child in the parent.
- Don't use warn in the child, as stdio should be avoided.
OK christos@, tested on Solaris by dmcmahill@.
Rename nbinstall to ${MACHINE_GNU_PLATFORM}-install as it calls the
target strip. Don't pass down strip as it is not needed any longer.
To generate a diff of this commit:
cvs rdiff -r1.489.2.1 -r1.489.2.2 src/share/mk/bsd.own.mk
cvs rdiff -r1.5 -r1.5.2.1 src/tools/binstall/Makefile
cvs rdiff -r1.100 -r1.100.2.1 src/usr.bin/xinstall/xinstall.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.