about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-06-06 02:14:19 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-06-06 02:14:19 +0000
commitaf4b33d20879d8e2a69f733f744af742a59881a1 (patch)
tree1063cafa876ad17e77a8bcc222ef8deb3c11f62a
parent14a997a8df50061475c66ec4d4db47645bbecfa9 (diff)
downloadnetpbm-mirror-af4b33d20879d8e2a69f733f744af742a59881a1.tar.gz
netpbm-mirror-af4b33d20879d8e2a69f733f744af742a59881a1.tar.xz
netpbm-mirror-af4b33d20879d8e2a69f733f744af742a59881a1.zip
Fix parsing of type description
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@640 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rwxr-xr-xconverter/other/anytopnm2
-rw-r--r--doc/HISTORY7
2 files changed, 8 insertions, 1 deletions
diff --git a/converter/other/anytopnm b/converter/other/anytopnm
index 7422a87f..82f57b3b 100755
--- a/converter/other/anytopnm
+++ b/converter/other/anytopnm
@@ -531,7 +531,7 @@ putInputIntoTempfile "$inputFile" "$file"
 
 setMimeType "$file"
 
-typeDescription=`file "$file" | cut -d: -f2- | cut -c2`
+typeDescription=`file "$file" | cut -d: -f2- | cut -c2-`
 
 determineType "$file" "$mimeType" "$typeDescription" "$fileExtension"
 
diff --git a/doc/HISTORY b/doc/HISTORY
index f53dc2f4..d690080c 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -16,6 +16,8 @@ not yet  BJH  Release 10.43.00
 
               pamscale: fix PBM input + -nomix.
 
+              anytopnm: fix parsing of type description.
+
               pamtilt: fix crash with excessive angle.
 
               pbmtext: remove meaningless "no output" from error messages.
@@ -28,6 +30,11 @@ not yet  BJH  Release 10.43.00
 
               pnmnorm: fix resolution of conflicting -wpercent and -wvalue.
 
+              pamtohtmltbl: fix output error: contains holes due to
+              uninitialized memory.
+
+              xvminitoppm: fix.  Totally broken since 10.34.
+
               pbmtogo: fix buffer overrun with too wide image.
 
               tgatoppm: fix standard input invocation.