[Mono-bugs] [Bug 82836][Nor] Changed - UnixStream.Write throw an exception on an empty byte[]

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 13 14:03:42 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jonpryor at vt.edu.


--- shadow/82836	2007-09-13 11:34:43.000000000 -0400
+++ shadow/82836.tmp.18957	2007-09-13 14:03:41.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 82836
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Mono.POSIX
 AssignedTo: miguel at ximian.com                            
 ReportedBy: stephane at delcroix.org               
 QAContact: mono-bugs at ximian.com
@@ -36,6 +36,11 @@
 More specifically, should write(2) still be called if the buffer
 contains no data, or should write(2) be skipped?
 The write(2) man page suggests that a `count' of 0 does nothing, so
 skipping the write(2) call would probably work...
+------- Additional Comments From jonpryor at vt.edu  2007-09-13 14:03 -------
+If buffer size is 0, the underlying read/write will not be performed.
+Fixed in r85767.

More information about the mono-bugs mailing list