octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47614] pipe() does not work on Windows


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows
Date: Mon, 04 Apr 2016 03:47:07 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Follow-up Comment #3, bug #47614 (project octave):

On octave on native windows


>> pipe ()
ans = -1


On the other hand, octave on Cygwin:

>> pipe()
ans =  15


The "ans" values are changed by repetition of "pipe()".

In the comment, the gnulib implementation of pipe
http://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/pipe.c
at line 34-35:


  /* Mingw changes fd to {-1,-1} on failure, but this violates
     http://austingroupbugs.net/view.php?id=467 */


>From the above, the pipe seems to be implemented using _pipe on 
windows but that seems not to work as is pointed out by Mike in the ML.

We have to consider implement pipe fucntion using Windows API 
as also indicated by Mike in the ML.  

 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47614>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]