summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-05-24 03:43:54 +0000
committerChristopher Faylor <me@cgf.cx>2006-05-24 03:43:54 +0000
commit8b081331124225669a0ad101b7093237183ee8ff (patch)
tree3be3724e28a6553b616451d44100b180ab26dd20
parent12a7d844b91ae1fc56014a4af4ca91ab8cfca387 (diff)
downloadcygnal-8b081331124225669a0ad101b7093237183ee8ff.tar.gz
cygnal-8b081331124225669a0ad101b7093237183ee8ff.tar.bz2
cygnal-8b081331124225669a0ad101b7093237183ee8ff.zip
* fhandler.cc (readv): Remove nonsensical assert.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/fhandler.cc2
2 files changed, 4 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 338ecf649..e5da597d5 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-23 Lev Bishop <lev.bishop+cygwin@gmail.com>
+
+ * fhandler.cc (readv): Remove nonsensical assert.
+
2006-05-23 Christopher Faylor <cgf@timesys.com>
* select.cc (start_thread_socket): Delay setting thread local exitsock
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index b8c30da3c..66dffdc64 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -966,8 +966,6 @@ fhandler_base::readv (const struct iovec *const iov, const int iovcnt,
while (iovptr != iov);
}
- assert (tot >= 0);
-
if (!len)
return 0;