diff options
Diffstat (limited to 'lib/Handle.cc')
-rw-r--r-- | lib/Handle.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index 912e779..2233722 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -95,6 +95,10 @@ ssize_t Handle::write(const void *cbuf, size_t count) throw (GeneralException) { ssize_t Handle::read(void *buf, size_t count) throw (GeneralException) { ssize_t r; + +#ifdef DEBUG + std::cerr << "read: reading " << count << " bytes from handle " << GetHandle() << std::endl; +#endif errno = 0; while ((r = uread(buf, count)) < 0) { |