octave-maintainers
[Top][All Lists]
Advanced

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

Re: pipes in Octave on Windows? (was: Re: optim, struct, parallel: pre-r


From: Mike Miller
Subject: Re: pipes in Octave on Windows? (was: Re: optim, struct, parallel: pre-release check on Windows?)
Date: Thu, 31 Mar 2016 13:30:56 -0700
User-agent: Mutt/1.5.24 (2015-08-30)

On Thu, Mar 31, 2016 at 10:22:49 -0700, PhilipNienhuis wrote:
> If you provide the tarball (or a cset relative to the dev version) + some
> functions (.m, oct/cc) that invoke it, or point to core/OF functions that
> do, I'm happy to try it out.

Done. Fetch https://mtmxr.com/octave-4.1.0+576c1a5187f3.tar.xz and drop
it into your mxe-octave build (updating src/default-octave.mk as
needed). Or apply the attached changeset and build from there (need to
run bootstrap to pull in the pipe module).

I'm assuming Olaf's simple pararrayfun would work as a test, or
something like this:

  [a, b] = pipe ();
  fputs (b, "Hello world\n\n\n\n");
  fflush (b);
  result = fgets (a)

If the call to pipe() errors, the module didn't work at all. If you see
the string "Hello world" from the call to fgets, then it may be working.

-- 
mike

Attachment: oct-gnulib-pipe.diff
Description: Text Data


reply via email to

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