octave-maintainers
[Top][All Lists]
Advanced

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

Re: New function proposal


From: David Bateman
Subject: Re: New function proposal
Date: Thu, 15 Feb 2007 10:15:36 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

address@hidden wrote:
> >> [IN, OUT, ERR, MSG] = pipe ()
> >>
> > Michael,
> > Do you have a version of your patch for popen2/pipe that take into
> > account all of John's comments? If so I'll test it under linux...
>
> No, I'm not working on "pipe". "pipe" is currently not supported under
> MSVC, because it does not have a POSIX pipe. It has however the
> following:
>  
>     _pipe (int *fildes, int size, int mode)
>  
> where size is the internal pipe buffer size and mode specifies the
> binary/text
> mode and inheritance. Making "pipe" work under MSVC is quite easy,
> but I don't know which default values to use for the additional arguments,
> especially the pipe size.

If you work it out, adding pipe would be nice as well. If you don't I'll
modify your patch (when you are ready) to adapt pipe and the popen2
posix code...

>  
> Concerning popen2, I'm working on it. Still I'm wondering whether I should
> keep the interface I added in octave_syscalls and move the implementation
> into a private octave_popen2 function in lo-sysdeps.cc; or drop the
> interface
> in octave_syscalls class and export directly octave_popen2 from
> lo-sysdeps.cc
> as a stand-alone function.

When you work it out sent me a patch

>  
> Michael.
>  


-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

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