[BusyBox-cvs] [BusyBox 0000107]: cat does not exit with failure status if write fails
bugs at busybox.net
bugs at busybox.net
Sat Apr 16 06:03:07 UTC 2005
A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=107>
======================================================================
Reported By: vsauder
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 107
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 02-16-2005 01:01 PST
Last Modified: 04-15-2005 23:03 PDT
======================================================================
Summary: cat does not exit with failure status if write fails
Description:
If the cat command fails to write, it still returns a SUCCESS.
"cat hair > /dev/full" will not exit with an error.
======================================================================
----------------------------------------------------------------------
vapier - 04-15-05 23:03
----------------------------------------------------------------------
glancing at the logic in copyfd.c, it looks like bb_full_fd_action() never
returns -1 ...
the other portions of busybox that actually check the return status of
these copy functions are:
cat
ftpgetput
tar
copy_file
print_file
Issue History
Date Modified Username Field Change
======================================================================
02-16-05 01:01 vsauder New Issue
02-16-05 01:01 vsauder File Added: copy-file-write-err.patch
03-16-05 12:27 andersen Assigned To andersen => BusyBox
04-15-05 23:03 vapier Note Added: 0000157
======================================================================
More information about the busybox-cvs
mailing list