Mail Archives: cygwin-developers/1998/02/02/14:05:11
In article <199802021941 DOT OAA11988 AT subrogation DOT cygnus DOT com>,
Ian Lance Taylor <gnu-win32-developers AT cygnus DOT com> wrote:
> I just took a look at the code again, and maybe I'm missing something,
> but is there any reason why the handles could not be handed back to
> the master when all of the slaves close the pty? The master would
> then have an extra couple of handles that may or may not ever be used
> again but if a child requests the pty it would be able to retrieve
> the handles.
>
>The desired effect is to close all the write handles to the pipe, so
>that the master, which is hanging in read, gets an EOF. Copying the
>handles back to the master will not achieve this effect.
Of course. Duh. I was just missing the point, that's all.
--
http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal
VMS=>UNIX Solutions Boston Business Computing the real can be."
- Raw text -