Ignore:
Timestamp:
Apr 2, 2009, 5:30:29 PM (13 years ago)
Author:
charles
Message:

(trunk) modify tr_torrentParse() and tr_torrentNew() arguments s.t. they use the ctor's session instead of passing it in again. Allow a NULL session pointer for some cases of tr_torrentParse().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r7801 r8122  
    444444        else if( o->syncAt <= time( NULL ) ) {
    445445            dbgmsg( "fsync()ing file '%s' in slot #%d", o->filename, i );
    446             fsync( o->fd );
     446            //fsync( o->fd );
    447447#ifdef HAVE_POSIX_FADVISE
    448448            /* TODO: test performance with and without this */
Note: See TracChangeset for help on using the changeset viewer.