13 lines
429 B
Text
13 lines
429 B
Text
$NetBSD: patch-ax,v 1.2 2008/08/10 19:50:47 tonnerre Exp $
|
|
|
|
--- src/ptlib/common/contain.cxx.orig 2004-10-21 15:04:21.000000000 +0200
|
|
+++ src/ptlib/common/contain.cxx
|
|
@@ -2454,7 +2454,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);
|