about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-04-28 21:33:38 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-04-28 21:33:38 +0000
commit3d0b1dc674f0477b273d32c1c0c3efed1b7c96f0 (patch)
treee837ffe67dc83864a21c575f61feb19f7fc8a0e4
parent159560b2fb0f840ab0524944fc415417a1b66cb9 (diff)
downloadnetpbm-mirror-3d0b1dc674f0477b273d32c1c0c3efed1b7c96f0.tar.gz
netpbm-mirror-3d0b1dc674f0477b273d32c1c0c3efed1b7c96f0.tar.xz
netpbm-mirror-3d0b1dc674f0477b273d32c1c0c3efed1b7c96f0.zip
Use pm_vsnprintf() instead of vsnprintfN(), due to rename a few months ago
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1480 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--doc/HISTORY4
-rw-r--r--lib/util/vasprintf.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index e42e656d..4258f533 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -23,8 +23,8 @@ not yet  BJH  Release 10.55.00
               as they no longer refer to private members of the pnginfo
               structure.
 
-              Build: fix undefined "strsol" failure on systems without
-              vasprintf().  Introduced in 10.53.
+              Build: fix undefined "strsol" and "vsnprintfN" failure on
+              systems without vasprintf().  Introduced in 10.53.
 
               configure: fix selection of mingw compiler.  Introduced in
               10.48.
diff --git a/lib/util/vasprintf.c b/lib/util/vasprintf.c
index 34ed8e73..9cfd0618 100644
--- a/lib/util/vasprintf.c
+++ b/lib/util/vasprintf.c
@@ -48,7 +48,7 @@ pm_vasprintf(const char ** const resultP,
     else {
         size_t realLen;
 
-        vsnprintfN(result, allocSize, format, varargs, &realLen);
+        pm_vsnprintf(result, allocSize, format, varargs, &realLen);
         
         if (realLen >= allocSize)
             strcpy(result + allocSize - 15, "<<<TRUNCATED");