Bug 2203 - Team's exit status doesn't indicate if there were I/O errors
Summary: Team's exit status doesn't indicate if there were I/O errors
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joerg Wunsch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1996-12-13 05:50 UTC by dawes
Modified: 1996-12-14 13:27 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (2.18 KB, patch)
1996-12-13 05:50 UTC, dawes
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dawes 1996-12-13 05:50:01 UTC
Team's exit status will be 0 even if there is an I/O error.  The reason
is that the exit status of the "guys" isn't checked.

Fix: The following patch fixes this problem.
How-To-Repeat: 
Set team's stderr to a file so it doesn't prompt the user on an I/O error,
and use it to write enough to overfill a device.  Check the exit status,
and note that it is zero.
Comment 1 Joerg Wunsch freebsd_committer freebsd_triage 1996-12-13 13:32:25 UTC
Responsible Changed
From-To: freebsd-ports->joerg

I'm the maintainer. 
Comment 2 Joerg Wunsch freebsd_committer freebsd_triage 1996-12-14 13:25:56 UTC
State Changed
From-To: open->closed

Suggested fix dropped into the `patches' directory. 

Thanks!