Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 06/28/2007 19:05:56
Module Name:	src
Committed By:	joerg
Date:		Thu Jun 28 19:05:56 UTC 2007

Modified Files:
	src/tools/binstall: Makefile
	src/usr.bin/xinstall: xinstall.c

Log Message:
- 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@.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/tools/binstall/Makefile
cvs rdiff -r1.101 -r1.102 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.