summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2009-04-06 07:39:42 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2009-04-06 07:39:42 (GMT)
commitc9949f97a7b732eb703dd85800c4c607bd9229da (patch)
tree3e41f9b826840041c7e32c81b2506b5195b9f8e6 /Source/kwsys
parent7855f988d4db7014ed01ecb650a083a9e8094616 (diff)
downloadCMake-c9949f97a7b732eb703dd85800c4c607bd9229da.zip
CMake-c9949f97a7b732eb703dd85800c4c607bd9229da.tar.gz
CMake-c9949f97a7b732eb703dd85800c4c607bd9229da.tar.bz2
BUG: comment out faulty seekp which make kwsys::*stringstream fails on platform with no std::*stringstream implementation
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/testIOS.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/kwsys/testIOS.cxx b/Source/kwsys/testIOS.cxx
index b4c5722..5b65d20 100644
--- a/Source/kwsys/testIOS.cxx
+++ b/Source/kwsys/testIOS.cxx
@@ -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;