Changeset 8203


Ignore:
Timestamp:
Apr 10, 2009, 3:56:40 PM (13 years ago)
Author:
charles
Message:

(1.5x libT) backport #1957 from r8198: "unresponsive ui / slower speeds under Mac OS X Leopard after 1.42"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5x/libtransmission/fdlimit.c

    r7813 r8203  
    263263        preallocateFileSparse( file->fd, desiredFileSize );
    264264
    265 #if defined( SYS_DARWIN )
    266     fcntl( file->fd, F_NOCACHE, 1 );
    267     fcntl( file->fd, F_RDAHEAD, 0 );
    268 #elif defined( HAVE_POSIX_FADVISE )
     265#ifdef HAVE_POSIX_FADVISE
    269266    posix_fadvise( file->fd, 0, 0, POSIX_FADV_RANDOM );
    270267#endif
Note: See TracChangeset for help on using the changeset viewer.