Skip to content
Snippets Groups Projects
Commit 587eaa31 authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

BUG: comment out faulty seekp which make kwsys::*stringstream fails on...

BUG: comment out faulty seekp which make kwsys::*stringstream fails on platform with no std::*stringstream implementation
parent d159ce81
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2009)
SET(KWSYS_DATE_STAMP_MONTH 04)
# KWSys version date day component. Format is DD.
SET(KWSYS_DATE_STAMP_DAY 05)
SET(KWSYS_DATE_STAMP_DAY 06)
......@@ -38,9 +38,7 @@ int testIOS(int, char*[])
const unsigned int narray = sizeof(array); // 180
kwsys_ios::stringstream strstr;
strstr.write( (char*)array, narray );
strstr.seekp( narray / 2 ); // set position of put pointer in mid string
//const char zero[] = {0, 0};
//strstr.write( zero, 2 );
//strstr.seekp( narray / 2 ); // set position of put pointer in mid string
if(strstr.str().size() != narray )
{
kwsys_ios::cerr << "failed to write array to strstr" << kwsys_ios::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment