Changeset 2807


Ignore:
Timestamp:
Jun 25, 2009 12:33:59 PM (15 years ago)
Author:
bennylp
Message:

Ticket #826: FILE_APPEND_DATA is not valid on Smartphone/Pocket? PC2003 and Windows Mobile 5 (thanks Robert Cichielo for the suggestion)

  • backported changes from #825
File:
1 edited

Legend:

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

    r2394 r2807  
    6060        dwDesiredAccess |= GENERIC_WRITE; 
    6161        if ((flags & PJ_O_APPEND) == PJ_O_APPEND) { 
     62#if !defined(PJ_WIN32_WINCE) || !PJ_WIN32_WINCE 
     63            /* FILE_APPEND_DATA is invalid on WM2003 and WM5, but it seems 
     64             * to be working on WM6. All are tested on emulator though. 
     65             * Removing this also seem to work (i.e. data is appended), so 
     66             * I guess this flag is "optional". 
     67             * See http://trac.pjsip.org/repos/ticket/825 
     68             */ 
    6269            dwDesiredAccess |= FILE_APPEND_DATA; 
     70#endif 
    6371            dwCreationDisposition |= OPEN_ALWAYS; 
    6472        } else { 
Note: See TracChangeset for help on using the changeset viewer.