Changeset 1171:02f540634383 in roaraudio for roard


Ignore:
Timestamp:
01/24/09 19:54:32 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use fsync() if there is no fdatasync()

Location:
roard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_esd.c

    r1120 r1171  
    111111 
    112112int driver_esd_sync    (struct roar_vio_calls * vio) { 
    113  return fdatasync(*(int*)vio->inst); 
     113 return ROAR_FDATASYNC(*(int*)vio->inst); 
    114114} 
    115115 
  • roard/streams.c

    r1159 r1171  
    281281   return -1; 
    282282 
    283   fdatasync(fh); 
     283  ROAR_FDATASYNC(fh); 
    284284 
    285285  return 0; 
Note: See TracChangeset for help on using the changeset viewer.