[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47614] pipe() does not work on Windows
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #47614] pipe() does not work on Windows |
Date: |
Tue, 05 Apr 2016 17:40:23 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #7, bug #47614 (project octave):
On my system -compiling octave 4.0.1, with a patch similar to Mikes, but
directly added to octave_syscalls::pipe , it works for me.
>> [a, b] = pipe ()
a = 3
b = 4
>> fputs (b, "Hello world\n\n\n\n")
ans = 0
>> fflush (b)
ans = 0
>> result = fgets (a)
result = Hello world
I did notice that if not enough newlines are added, it gets stuck in the fgets
and the olnly way to exit is ctrl-c to terminate octave.
fgets trying to buffer the reads?
It did use the gnulib version with the patch?
http://octave.1599824.n4.nabble.com/attachment/4676026/0/oct-gnulib-pipe.diff
(file #36842)
_______________________________________________________
Additional Item Attachment:
File name: stable-octave-2-pipe-fixes.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47614>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Tatsuro MATSUOKA, 2016/04/03
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Tatsuro MATSUOKA, 2016/04/03
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Tatsuro MATSUOKA, 2016/04/03
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Tatsuro MATSUOKA, 2016/04/03
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Mike Miller, 2016/04/04
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Tatsuro MATSUOKA, 2016/04/04
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Mike Miller, 2016/04/05
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows,
John Donoghue <=
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Mike Miller, 2016/04/05
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, John Donoghue, 2016/04/05
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, John Donoghue, 2016/04/05
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Mike Miller, 2016/04/06
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, John Donoghue, 2016/04/06
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, John Donoghue, 2016/04/06
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Mike Miller, 2016/04/06
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Tatsuro MATSUOKA, 2016/04/06
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Mike Miller, 2016/04/06
- [Octave-bug-tracker] [bug #47614] pipe() does not work on Windows, Philip Nienhuis, 2016/04/07