
On Sat, 21 Aug 2010 15:59:36 +0200, Ilya Sokolov <ilyasokol@gmail.com> wrote:
On 21.08.2010 17:13, Boris Schaeling wrote:
On Thu, 19 Aug 2010 23:58:08 +0200, Ilya Sokolov <ilyasokol@gmail.com> wrote:
1. Before creating any new file (such as in bpb::pipe::create() or bpb::dummy::create(), not sure about bpb::inherit::create()), you could "occupy" fds which behavior has been set to != bpb::inherit.
Then a behavior class would somehow need to know what another behavior class has been doing? The constructors of the behavior classes would need access to the context object to check the other stream behaviors?
Not necessarily. create_child() could do all the job. In fact, it does in all other drafts.
Problem fixed (in create_child() now) and test case checked in. I'll look into shell() next. Boris