Lines 283-289
Link Here
|
283 |
uint_least32_t fileLen = 0; |
283 |
uint_least32_t fileLen = 0; |
284 |
|
284 |
|
285 |
// This sucks big time |
285 |
// This sucks big time |
286 |
openmode createAtrr = std::ios::in; |
286 |
std::_Ios_Openmode createAtrr = std::ios::in; |
287 |
#ifdef HAVE_IOS_NOCREATE |
287 |
#ifdef HAVE_IOS_NOCREATE |
288 |
createAtrr |= std::ios::nocreate; |
288 |
createAtrr |= std::ios::nocreate; |
289 |
#endif |
289 |
#endif |
Lines 952-958
Link Here
|
952 |
if ( status ) |
952 |
if ( status ) |
953 |
{ |
953 |
{ |
954 |
// Open binary output file stream. |
954 |
// Open binary output file stream. |
955 |
openmode createAttr = std::ios::out; |
955 |
std::_Ios_Openmode createAttr = std::ios::out; |
956 |
#if defined(HAVE_IOS_BIN) |
956 |
#if defined(HAVE_IOS_BIN) |
957 |
createAttr |= std::ios::bin; |
957 |
createAttr |= std::ios::bin; |
958 |
#else |
958 |
#else |
Lines 1002-1008
Link Here
|
1002 |
if ( status ) |
1002 |
if ( status ) |
1003 |
{ |
1003 |
{ |
1004 |
// Open ASCII output file stream. |
1004 |
// Open ASCII output file stream. |
1005 |
openmode createAttr = std::ios::out; |
1005 |
std::_Ios_Openmode createAttr = std::ios::out; |
1006 |
if ( overWriteFlag ) |
1006 |
if ( overWriteFlag ) |
1007 |
createAttr |= std::ios::trunc; |
1007 |
createAttr |= std::ios::trunc; |
1008 |
else |
1008 |
else |
Lines 1036-1042
Link Here
|
1036 |
if ( status ) |
1036 |
if ( status ) |
1037 |
{ |
1037 |
{ |
1038 |
// Open binary output file stream. |
1038 |
// Open binary output file stream. |
1039 |
openmode createAttr = std::ios::out; |
1039 |
std::_Ios_Openmode createAttr = std::ios::out; |
1040 |
#if defined(HAVE_IOS_BIN) |
1040 |
#if defined(HAVE_IOS_BIN) |
1041 |
createAttr |= std::ios::bin; |
1041 |
createAttr |= std::ios::bin; |
1042 |
#else |
1042 |
#else |