[Mono-bugs] [Bug 76075][Nor] Changed - Cannot write to named pipe using FileStream

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 14 10:54:47 EDT 2005

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 dick at ximian.com.


--- shadow/76075	2005-09-14 09:47:21.000000000 -0400
+++ shadow/76075.tmp.27822	2005-09-14 10:54:47.000000000 -0400
@@ -72,6 +72,11 @@
 because of the locking sematics in file_write, it seeks on the named 
 pipe fd and fails, thus erroring out on any writes to the fd.
 it doesnt use pipe_write because this is not a pipe fd created with 
 the syscall pipe() via CreatePipe() in io-layer.c. this is a named 
 pipe on the filesystem (an unseekable file).
+------- Additional Comments From dick at ximian.com  2005-09-14 10:54 -------
+The file locking is going to be rewritten soon.  In the meantime, if
+you feel like producing a patch that does something along the lines of
+fstat () followed by S_ISREG(mode) around the locking, I will review it.

More information about the mono-bugs mailing list