Changeset 10811
- Timestamp:
- Jun 21, 2010, 1:08:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/fdlimit.c
r10676 r10811 306 306 posix_fadvise( fd, 0, 0, POSIX_FADV_DONTNEED ); 307 307 errno = err; 308 #endif 309 #ifdef SYS_DARWIN 310 /* it's unclear to me from the man pages if this actually flushes out the cache, 311 * but it couldn't hurt... */ 312 fcntl( fd, F_NOCACHE, 1 ); 308 313 #endif 309 314 close( fd );
Note: See TracChangeset
for help on using the changeset viewer.