diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-11-23 17:45:31 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-11-23 17:45:31 +0000 |
commit | f41a3f9e50705d2680d9ab7a109e3c90aef66de2 (patch) | |
tree | 36f2430e79e8ba21f9a2c3f312eb0e9579aea876 | |
parent | 961e7003b3589becbea5ac747ac2104b257f3e82 (diff) | |
download | netpbm-mirror-f41a3f9e50705d2680d9ab7a109e3c90aef66de2.tar.gz netpbm-mirror-f41a3f9e50705d2680d9ab7a109e3c90aef66de2.tar.xz netpbm-mirror-f41a3f9e50705d2680d9ab7a109e3c90aef66de2.zip |
Use NetBSD's vasprintf
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2324 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | doc/HISTORY | 8 | ||||
-rw-r--r-- | pm_config.in.h | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index b0445362..442c3988 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -6,8 +6,12 @@ CHANGE HISTORY not yet BJH Release 10.69.00 - Fix %g in messages where platform doesn't have vasprintf. - (But scores of %f are still left). + NetBSD: show actual numbers in messages instead of "f" or + no information, by using NetBSD's vasprintf. + + Make %g in messages display the actual number instead of "g" in + messages where platform doesn't have vasprintf. (But scores of + %f are still left). anytopnm: convert all images in a multi-image GIF instead of just the first. diff --git a/pm_config.in.h b/pm_config.in.h index ed1ebb89..1e54f06e 100644 --- a/pm_config.in.h +++ b/pm_config.in.h @@ -139,7 +139,7 @@ /* #define HAVE_SETMODE */ -#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__)) +#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__)) || defined(__NetBSD__) #define HAVE_VASPRINTF 1 #else #define HAVE_VASPRINTF 0 |