Re: Pipes Again -- a simple test case

2016-01-11 Thread Corinna Vinschen
On Jan 8 17:30, Corinna Vinschen wrote: > On Jan 8 17:12, Houder wrote: > > On 2016-01-08 16:19, Corinna Vinschen wrote: > > >On Jan 4 10:24, Houder wrote: > > >>On 2016-01-04 09:52, Marco Atzeri wrote: > > >>>On 04/01/2016 09:03, Houder wrote: > > Hi Corinna, > > > > I have been

Re: Pipes Again -- a simple test case

2016-01-11 Thread Henri
Corinna Vinschen cygwin.com> writes: > Can you please provide the socket testcase? Trying to send you what you ask for (using gmane.org, I have to copy/paste) - t_stat3.c: /*\ * Copyright (C) Michael

Re: Pipes Again -- a simple test case

2016-01-11 Thread Henri
Corinna Vinschen cygwin.com> writes: > > > As a final point, I also tested FIFOs and (unix domain) sockets. > > > > > > FIFOs pass the test, sockets do not. > > > > Yes, that's expected. The underlying hack^Wmethod is the same for sockets > > and pipes, while FIFOs have a real path on a real

Re: Pipes Again -- a simple test case

2016-01-11 Thread Corinna Vinschen
On Jan 11 16:13, Henri wrote: > Corinna Vinschen cygwin.com> writes: > > Can you please provide the socket testcase? > > Trying to send you what you ask for (using gmane.org, I have to copy/paste) Thanks! I applied a patch and created a new developer snapshot. I'll also upload a new cygwin

Re: Pipes Again -- a simple test case

2016-01-08 Thread Corinna Vinschen
On Jan 8 17:12, Houder wrote: > On 2016-01-08 16:19, Corinna Vinschen wrote: > >On Jan 4 10:24, Houder wrote: > >>On 2016-01-04 09:52, Marco Atzeri wrote: > >>>On 04/01/2016 09:03, Houder wrote: > Hi Corinna, > > I have been looking for an STC to show why cmp fails on Cygwin (and to

Re: Pipes Again -- a simple test case

2016-01-08 Thread Houder
On 2016-01-08 16:19, Corinna Vinschen wrote: On Jan 4 10:24, Houder wrote: On 2016-01-04 09:52, Marco Atzeri wrote: >On 04/01/2016 09:03, Houder wrote: >>Hi Corinna, >> >>I have been looking for an STC to show why cmp fails on Cygwin (and to >>show the >>difference between Cygwin and Linux).

Re: Pipes Again -- a simple test case

2016-01-08 Thread Corinna Vinschen
On Jan 4 10:24, Houder wrote: > On 2016-01-04 09:52, Marco Atzeri wrote: > >On 04/01/2016 09:03, Houder wrote: > >>Hi Corinna, > >> > >>I have been looking for an STC to show why cmp fails on Cygwin (and to > >>show the > >>difference between Cygwin and Linux). > >> > >>The STC below creates a

Re: Pipes Again -- a simple test case

2016-01-04 Thread Marco Atzeri
On 04/01/2016 09:03, Houder wrote: Hi Corinna, I have been looking for an STC to show why cmp fails on Cygwin (and to show the difference between Cygwin and Linux). The STC below creates a pipe (pipe() is used), followed by calls to fstat() and stat() for both the read end and the write end of

Pipes Again -- a simple test case

2016-01-04 Thread Houder
Hi Corinna, I have been looking for an STC to show why cmp fails on Cygwin (and to show the difference between Cygwin and Linux). The STC below creates a pipe (pipe() is used), followed by calls to fstat() and stat() for both the read end and the write end of the pipe. (I also tested with

Re: Pipes Again -- a simple test case

2016-01-04 Thread Houder
On 2016-01-04 09:52, Marco Atzeri wrote: On 04/01/2016 09:03, Houder wrote: Hi Corinna, I have been looking for an STC to show why cmp fails on Cygwin (and to show the difference between Cygwin and Linux). The STC below creates a pipe (pipe() is used), followed by calls to fstat() and stat()