about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile.version2
-rwxr-xr-xbuildtools/configure.pl2
-rw-r--r--doc/HISTORY7
-rw-r--r--lib/libppmcolor.c1
4 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.version b/Makefile.version
index 5f8411f0..e864d02f 100644
--- a/Makefile.version
+++ b/Makefile.version
@@ -1,4 +1,4 @@
 NETPBM_MAJOR_RELEASE = 10
 NETPBM_MINOR_RELEASE = 36
-NETPBM_POINT_RELEASE = 12
+NETPBM_POINT_RELEASE = 13
 
diff --git a/buildtools/configure.pl b/buildtools/configure.pl
index b3dd3ca9..f8b46608 100755
--- a/buildtools/configure.pl
+++ b/buildtools/configure.pl
@@ -613,7 +613,7 @@ sub libSuffix($) {
 
     if ($platform eq 'windows') {
         $suffix = '.a';
-    } elsif ($platform= 'darwin') {
+    } elsif ($platform eq 'darwin') {
         $suffix = '.dylib';
     } else {
         $suffix = '.so';
diff --git a/doc/HISTORY b/doc/HISTORY
index f3dadce6..876d8893 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -4,6 +4,13 @@ Netpbm.
 CHANGE HISTORY 
 --------------
 
+06.11.27 BJH  Release 10.36.13
+
+              Configure: Fix incorrect .dylib suffix in shared library default.
+
+              libnetpbm: fix bogus results from ppm_parsecolor() of
+              rgb:0/0/0 style color name.
+
 06.11.18 BJH  Release 10.36.12
 
               ppmtogif: fix garbage output with non-ppm-raw input;
diff --git a/lib/libppmcolor.c b/lib/libppmcolor.c
index a200ab2b..06b6776c 100644
--- a/lib/libppmcolor.c
+++ b/lib/libppmcolor.c
@@ -146,6 +146,7 @@ parseHexDigits(const char *   const string,
     pixval n;
     
     digitCount = 0;
+    n = 0;
     while (string[digitCount] != delim) {
         char const digit = string[digitCount];
         if (digit == '\0')