Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 07/13/2000 09:42:35
Module Name: basesrc
Committed By: tron
Date: Thu Jul 13 16:42:35 UTC 2000
Modified Files:
basesrc/libexec/makewhatis [netbsd-1-5]: makewhatis.c
Log Message:
Sync with netbsd-current, approved by releng-1-5:
- Optimize invokation of "nroff":
- Redirect standard error to "/dev/null" because "nroff" error messages
for temporary files aren't really useful.
- Don't let "nroff" open temporary file. Use its file descriptor as
standard input.
- Kill "nroff" process and wait for its terminiation if we can't setup
the "libz" file handle.
- Invoke "nroff" with "-S" (safer mode) option because "makewhatis" is
usually invoked by "root".
To generate a diff of this commit:
cvs rdiff -r1.7.4.1 -r1.7.4.2 basesrc/libexec/makewhatis/makewhatis.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.