Changes of Revision 3
[-] [+] | Added | pwlib-1.10.10-pstring-fix.diff |
@@ -0,0 +1,13 @@ +Index: pwlib-1.10.4/src/ptlib/common/contain.cxx +=================================================================== +--- pwlib-1.10.4.orig/src/ptlib/common/contain.cxx ++++ pwlib-1.10.4/src/ptlib/common/contain.cxx +@@ -2465,7 +2465,7 @@ PString & PString::vsprintf(const char * + PAssert(SetSize(2000), POutOfMemory); + ::vsprintf(theArray+len, fmt, arg); + #else +- PINDEX size = 0; ++ PINDEX size = len; + do { + size += 1000; + PAssert(SetSize(size), POutOfMemory); |