Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-07-23 14:08:34 +0400
committerCorinna Vinschen <corinna@vinschen.de>2010-07-23 14:08:34 +0400
commitcb6bfcff1a3ac9d875a3150c688fc985ffbb717e (patch)
treef85b9efa1b66db998dff76ccb2ef66a71d8cbc0c /winsup/cygwin/fhandler.cc
parent125c76f59e5d620abd9030a9c3b705e33e1fbf21 (diff)
* fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL
special handling.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index a8264e403..1998979f7 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -290,14 +290,11 @@ fhandler_base::raw_write (const void *ptr, size_t len)
NULL);
if (!NT_SUCCESS (status))
{
- if (status == STATUS_DISK_FULL && io.Information > 0)
- goto written;
__seterrno_from_nt_status (status);
if (get_errno () == EPIPE)
raise (SIGPIPE);
return -1;
}
-written:
return io.Information;
}