Changeset 1312:4c0160c484c9 in roaraudio


Ignore:
Timestamp:
03/19/09 21:33:06 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

you can not write if any handle got closed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_pipe.c

    r1311 r1312  
    258258 switch (self->type) { 
    259259  case ROAR_VIO_PIPE_TYPE_BUFFER: 
     260    if ( self->refcount < 2 ) { 
     261     raise(SIGPIPE); 
     262     return -1; 
     263    } 
     264 
    260265    idx = ROAR_VIO_PIPE_SR(self,vio); 
    261266 
Note: See TracChangeset for help on using the changeset viewer.