Changeset 14495


Ignore:
Timestamp:
Apr 13, 2015, 6:31:32 PM (6 years ago)
Author:
mikedld
Message:

Allow files (and their parent directories) to be renamed even when in use (on Windows).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/file-win32.c

    r14493 r14495  
    123123
    124124  if (wide_path != NULL)
    125     ret = CreateFileW (wide_path, access, FILE_SHARE_READ | FILE_SHARE_WRITE,
     125    ret = CreateFileW (wide_path, access, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
    126126                       NULL, disposition, flags, NULL);
    127127
Note: See TracChangeset for help on using the changeset viewer.