Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 1995 00:04:46 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.org
Subject:   time(1) exit status for killed processes
Message-ID:  <199504031404.AAA25922@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
time(1) exits with status (st >> 8) when the process being timed exits
with status `st'.  This causes it to exit with status 0 when the process
is killed by a signal.

Is this bug traditional?  I noticed it because a process that executed
`time foo' assumed that input from the file written by `foo' didn't need
to be validated, and copied nonexistent input to stdout forever.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504031404.AAA25922>