Ignore:
Timestamp:
Sep 21, 2014, 5:55:39 PM (6 years ago)
Author:
jordan
Message:

(trunk, libt) #4160 - the slow slog to catch trunk up to mike.dld's 4160 diff continues. This step applies 4160-04b-dir.patch, which replaces native file operations with the tr_sys_dir_*() portability wrappers added in the previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r14327 r14331  
    271271
    272272  path = tr_buildPath (configDir, RESUME_SUBDIR, NULL);
    273   tr_mkdirp (path, 0777);
     273  tr_sys_dir_create (path, TR_SYS_DIR_CREATE_PARENTS, 0777, NULL);
    274274  session->resumeDir = path;
    275275
    276276  path = tr_buildPath (configDir, TORRENT_SUBDIR, NULL);
    277   tr_mkdirp (path, 0777);
     277  tr_sys_dir_create (path, TR_SYS_DIR_CREATE_PARENTS, 0777, NULL);
    278278  session->torrentDir = path;
    279279}
Note: See TracChangeset for help on using the changeset viewer.