diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-04-28 21:33:38 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-04-28 21:33:38 +0000 |
commit | 3d0b1dc674f0477b273d32c1c0c3efed1b7c96f0 (patch) | |
tree | e837ffe67dc83864a21c575f61feb19f7fc8a0e4 | |
parent | 159560b2fb0f840ab0524944fc415417a1b66cb9 (diff) | |
download | netpbm-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/HISTORY | 4 | ||||
-rw-r--r-- | lib/util/vasprintf.c | 2 |
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"); |