- Timestamp:
- Aug 28, 2008 11:11:28 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/file_io_win32.c
r2039 r2253 60 60 if ((flags & PJ_O_APPEND) == PJ_O_APPEND) { 61 61 dwDesiredAccess |= FILE_APPEND_DATA; 62 dwCreationDisposition |= OPEN_EXISTING; 62 63 } else { 63 64 dwDesiredAccess &= ~(FILE_APPEND_DATA); … … 85 86 *fd = 0; 86 87 return PJ_RETURN_OS_ERROR(GetLastError()); 88 } 89 90 if ((flags & PJ_O_APPEND) == PJ_O_APPEND) { 91 pj_status_t status; 92 93 status = pj_file_setpos(hFile, 0, PJ_SEEK_END); 94 if (status != PJ_SUCCESS) { 95 pj_file_close(hFile); 96 return status; 97 } 87 98 } 88 99
Note: See TracChangeset
for help on using the changeset viewer.