diff options
author | Pixel <Pixel> | 2001-12-22 01:53:27 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-12-22 01:53:27 +0000 |
commit | 1ab3f478e7333620e3f8d424d27bd86e54886a3f (patch) | |
tree | 795ba70046b47c94ecc86e363a9c0351f0a01285 /lib/Handle.cc | |
parent | 07447744c6b3455c1703471b249bda89dba333f5 (diff) |
Big bug in Write / CopyJob...
Diffstat (limited to 'lib/Handle.cc')
-rw-r--r-- | lib/Handle.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index e98b2c7..9f6736d 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -56,6 +56,9 @@ ssize_t Handle::write(const void *buf, size_t count) throw (GeneralException) { throw IOException(GetName(), IO_WRITE, count); } } else if (((size_t) r) != count) { + if (nonblock) { + return r; + } full = done = false; ((char *)buf) += r; tr += r; |