Changeset 2254


Ignore:
Timestamp:
Aug 28, 2008 11:19:54 AM (16 years ago)
Author:
bennylp
Message:

More ticket #604: create the file if it doesn't exist when PJ_O_APPEND flag is set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/file_io_win32.c

    r2253 r2254  
    6060        if ((flags & PJ_O_APPEND) == PJ_O_APPEND) { 
    6161            dwDesiredAccess |= FILE_APPEND_DATA; 
    62             dwCreationDisposition |= OPEN_EXISTING; 
     62            dwCreationDisposition |= OPEN_ALWAYS; 
    6363        } else { 
    6464            dwDesiredAccess &= ~(FILE_APPEND_DATA); 
Note: See TracChangeset for help on using the changeset viewer.