[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscall
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst |
Date: |
Tue, 26 Nov 2013 17:08:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 |
Update of bug #40606 (project octave):
Status: Fixed => In Progress
Open/Closed: Closed => Open
_______________________________________________________
Follow-up Comment #9:
It is solved for some systems. It does work on my system where I have a GNU
version of sort.exe ahead of the default one in C:\windows\system32. Still,
if I rename the GNU version to set it aside and pick up the Microsoft version
then the test fails. I'm not sure why because I can get the popen2 call to
work if I use just the program alone, but no arguments. For example,
[in, out, pid] = popen2 ("sort");
fprintf (in, "c\nb\na\n")
fclose (in);
fgets (out)
a
fgets (out)
b
fgets (out)
c
fgets (out)
-1
But if I add cmd arguments
[in, out, pid] = popen2 ("sort", "/r");
fprintf (in, "c\nb\na\n")
fclose (in);
fgets (out)
-1
It might be something strange with the the character '/' being auto-translated
into '\'. I tried escaping the forward slash, but it didn't work.
So, I don't know why on my PC popen2() and system() are both picking up the
GNU version. But regardless, there is a problem when the GNU version does not
exist.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40606>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, John Donoghue, 2013/11/16
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Rik, 2013/11/17
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Philip Nienhuis, 2013/11/17
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, John Donoghue, 2013/11/17
- Message not available
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Philip Nienhuis, 2013/11/17
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Rik, 2013/11/17
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Rik, 2013/11/18
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Michael Goffioul, 2013/11/25
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst,
Rik <=
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Michael Goffioul, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Rik, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Michael Goffioul, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Rik, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Michael Goffioul, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, John Donoghue, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Rik, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Michael Goffioul, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Rik, 2013/11/26
- [Octave-bug-tracker] [bug #40606] mxe-octave built octave: fails syscalls.cc-tst, Rik, 2013/11/26