Re: Curious behavior of fifo on cygwin 1.7.5

2010-08-18 Thread Etienne Carriere
Hi, Thanks for your answer . In order to have the standard behavior, I open/close the filedescriptor before/after each read as in the attached code and it seems to work Regards, Etienne Carrière 2010/8/17 Christopher Faylor : > On Tue, Aug 17, 2010 at 07:25:25PM +0200, Etienne Carriere wrote: >

Re: Curious behavior of fifo on cygwin 1.7.5

2010-08-17 Thread Christopher Faylor
On Tue, Aug 17, 2010 at 07:25:25PM +0200, Etienne Carriere wrote: >Hello, > >I currently have a curious behavior with fifo (named pipes on cygwin >1.7.5) . I first discovered when using Nagios on cygwin but I achieved >to simplify it . The scenario is the following : If you search the mailing list

Re: Curious behavior of fifo on cygwin 1.7.5

2010-08-17 Thread Daniel Colascione
On Tue, Aug 17, 2010 at 10:25 AM, Etienne Carriere wrote: > Hello, > > I currently have a curious behavior with fifo (named pipes on cygwin > 1.7.5) I can reproduce it on latest CVS here. That *is* odd behavior. By the way: your program omits the second argument to fopen. I assume you meant "r"?