File pwlib-v1_11_0-pstring-fix.patch of Package pwlib
diff -ruN pwlib_v1_11_0-orig/src/ptlib/common/contain.cxx pwlib_v1_11_0/src/ptlib/common/contain.cxx
--- pwlib_v1_11_0-orig/src/ptlib/common/contain.cxx 2006-03-19 23:30:09.000000000 +0000
+++ pwlib_v1_11_0/src/ptlib/common/contain.cxx 2010-01-14 21:47:30.227516361 +0000
@@ -2465,7 +2465,7 @@
PAssert(SetSize(2000), POutOfMemory);
::vsprintf(theArray+len, fmt, arg);
#else
- PINDEX size = 0;
+ PINDEX size = len;
do {
size += 1000;
PAssert(SetSize(size), POutOfMemory);