version 1.8, 2008/08/14 09:45:23 |
version 1.9, 2008/08/14 09:47:51 |
|
|
} |
} |
if (ocount == 0) |
if (ocount == 0) |
return 0; |
return 0; |
if (LIST_EMPTY(&p->ibuflist)) { |
if (LIST_EMPTY(&p->ibuflist) && (p->u.mix.flags & MIX_AUTOQUIT)) { |
DPRINTF("mix_out: nothing more to do...\n"); |
DPRINTF("mix_out: nothing more to do...\n"); |
obuf->wproc = NULL; |
obuf->wproc = NULL; |
aproc_del(p); |
aproc_del(p); |
|
|
|
|
DPRINTF("sub_hup: %s: detached\n", p->name); |
DPRINTF("sub_hup: %s: detached\n", p->name); |
sub_rm(p, obuf); |
sub_rm(p, obuf); |
if (LIST_EMPTY(&p->obuflist)) { |
if (LIST_EMPTY(&p->obuflist) && (p->u.sub.flags & SUB_AUTOQUIT)) { |
abuf_hup(ibuf); |
abuf_hup(ibuf); |
aproc_del(p); |
aproc_del(p); |
} else |
} else |