RE: Fix dup for /dev/dsp

2004-07-25 Thread Pierre A. Humblet
Gert, As a proof of concept, here is a patch that fixes "dup" and "cat xxx.wav > /dev/dsp", under sh and bash (they use different mechanisms). There is no linked list and no archetype, so some parameters are still not shared between duped handles in the same process. The fixes are as discussed ye

RE: Fix dup for /dev/dsp

2004-07-25 Thread Igor Pechtchanski
On Sat, 24 Jul 2004, Pierre A. Humblet wrote: > At 11:52 AM 7/24/2004 +0200, Gerd Spalink wrote: > >After reading the discussion, I agree to give archetypes a try to fix dup. > >I'll keep a copy of the linked list solution as a reference. > > Gert, > > I have the feeling that the main reason dup d