[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [BusyBox] [BusyBox 0000198]: cat does not check the return value of
From: bugs () busybox ! net
Date: 2005-03-30 13:13:24
Message-ID: 5670957b3b534886db0927de6afd6072 () bugs ! busybox ! net
[Download RAW message or body]
The following issue has been SUBMITTED.
======================================================================
<http://busybox.net/bugs/view.php?id=198>
======================================================================
Reported By: farnerup
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 198
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 03-30-2005 05:13 PST
Last Modified: 03-30-2005 05:13 PST
======================================================================
Summary: cat does not check the return value of close(2)
Description:
cat (and possibly other programs) does not call close(2) explicitly on
stdout, and thus doesn't check if it succeded or not. This is important
for some device drivers and, I imagine, some filesystems.
# cp test /dev/foo && echo ok
cp: unable to close `/dev/foo': Input/output error
# cat test > /dev/foo && echo ok
ok
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
03-30-05 05:13 farnerup New Issue
======================================================================
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic