1998.09.21 18:06 "buglet in tools/tiffinfo.c", by Ralf Fassel
Version tiff-v3.4beta036
tiffinfo offers a -i flag, but bails out if you use it:
% tiffinfo
usage: tiffinfo [options] input...
where options are:
-D read data
-i ignore read errors
--<snip-snip>--
% tiffinfo -i
./tiffinfo: ERROR: Illegal option -- i
usage: tiffinfo [options] input...
where options are:
...
Patch is easy:
*** tiff-v3.4beta036/tools/tiffinfo.c~ Fri Feb 21 03:11:42 1997
--- tiff-v3.4beta036/tools/tiffinfo.c Mon Sep 21 20:05:34 1998
***************
*** 53,59 ****
uint32 diroff = 0;
int chopstrips = 0; /* disable strip chopping */
! while ((c = getopt(argc, argv, "f:o:cdDSjlmrsvwz0123456789")) != -1)
switch (c) {
case '0': case '1': case '2': case '3':
case '4': case '5': case '6': case '7':
--- 53,59 ----
uint32 diroff = 0;
int chopstrips = 0; /* disable strip chopping */
! while ((c = getopt(argc, argv, "f:o:cdDSijlmrsvwz0123456789")) != -1)
switch (c) {
case '0': case '1': case '2': case '3':
case '4': case '5': case '6': case '7':
Diff finished at Mon Sep 21 20:05:39