cc: 
Subject: Re: [ksh93-integration-discuss] ksh93 crashe when "tee" builtin is  
interupted via <ctrl-c> ... / was: Re: [Fwd:  [Bug7009]ksh93repeatedlysegfaults 
when running a series of commands]
--------

> AFAIK two things need to be done:
> 1. The "tee" builtin needs code which runs _always_ when the command
> exists to close all fds opened by it.
> 2. The Tee discipline may need an exception hook (currently it only has
> a callback for writes (e.g. |tee_write()|) to handle errors better.
> 
> 

Yes, this can be done from within tee without the need for
an exception hook.

David Korn
dgk at research.att.com

Reply via email to