Subject: CVS commit: basesrc
To: None <>
From: ITOH Yasufumi <>
List: source-changes
Date: 07/22/1999 20:10:50
Module Name:	basesrc
Committed By:	itohy
Date:		Fri Jul 23 03:10:50 UTC 1999

Modified Files:
	basesrc/usr.bin/ktrace: ktrace.c

Log Message:
Fix fowllowing problems:

1. If fork()ing, the program is executed twice.
2. If the ktruss(1) output is bufferd, the final output is not flushed
   (because it is executing).

    % ktrace -f - rm >/dev/null
    usage: rm [-dfiPRrW] file ...
    usage: rm [-dfiPRrW] file ...
    % ktruss date | cat
    Fri Jul 23 12:09:45 JST 1999
    Fri Jul 23 12:09:46 JST 1999

To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 basesrc/usr.bin/ktrace/ktrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.