From owner-tiff@olympiakos.com  Wed Feb 16 01:21:26 2000
Received: (from uucp@localhost)
	by smtp02.oce.nl (8.9.3/8.9.3) id BAA08091
	for rvdt@smtp02; Wed, 16 Feb 2000 01:21:26 +0100 (MET)
>Received: from gate7.olympiakos.com ([207.176.88.85])
	by oce.nl (8.9.0/8.9.0) with ESMTP id BAA23785;
	Wed, 16 Feb 2000 01:19:22 +0100 (MET)
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id TAA22155;
	Tue, 15 Feb 2000 19:18:35 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Tue, 15 Feb 2000 19:18:32 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id TAA22142
	for tiff-outgoing; Tue, 15 Feb 2000 19:18:31 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: (from kg@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id TAA22138
	for tiff@olympiakos.com; Tue, 15 Feb 2000 19:18:31 -0500
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id HAA08778
	for <tiff@olympiakos.com>; Tue, 15 Feb 2000 07:52:03 -0500
Received: from almso1.proxy.att.com (almso1.att.com [192.128.167.69]) 
	by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam:
       SGI does not authorize the use of its proprietary
       systems or networks for unsolicited or bulk email
       from the Internet.) 
	via ESMTP id VAA03747
	for <tiff@sgi.com>; Mon, 14 Feb 2000 21:16:09 -0800 (PST)
	mail_from (joe@sanskrit.lz.att.com)
Received: from sanskrit.lz.att.com ([135.25.14.200])
	by almso1.proxy.att.com (AT&T IPNS/MSO-2.2) with ESMTP id AAA19678
	for <tiff@sgi.com>; Tue, 15 Feb 2000 00:16:09 -0500 (EST)
Received: from localhost (joe@localhost) by sanskrit.lz.att.com (8.8.7/8.7.3) with SMTP id AAA12648; Tue, 15 Feb 2000 00:19:18 -0500 (EST)
Message-Id: <200002150519.AAA12648@sanskrit.lz.att.com>
To: tiff@sgi.com
cc: joe@sanskrit.lz.att.com
Subject: Bug in tiffcmp -l v3.4beta031
Date: Tue, 15 Feb 2000 00:19:18 -0500
From: Joseph Orost <joe@sanskrit.lz.att.com>
Sender: owner-tiff@olympiakos.com
Content-Type: text

Sam:

tiffcmp -l doesn't work.  Here is the fix.

                                regards,
                                joe

--
Full Name:    Joseph M. Orost
Title:        District Manager
EMail:        joseph.orost@att.com
Organization: AT&T Labs: Software Technology Services
SurfaceMail:  3F-302, 307 Middletown Lincroft Rd, Lincroft, NJ 07738-1526
Phone:        +1 (732) 576-2272
Fax:          +1 (732) 576-2277
WWW:          http://www.research.att.com/~orost/

*** tiffcmp.c.orig	Mon Feb 14 13:41:14 2000
--- tiffcmp.c	Mon Feb 14 13:30:19 2000
***************
*** 325,337 ****
  	case 8: 
  		printf("Scanline %lu, pixel %lu, sample %d: %02x %02x\n",
  		    (long) row, (long) pix, sample, w1, w2);
! 		if (--stopondiff)
  			exit(1);
  		break;
  	case 16:
  		printf("Scanline %lu, pixel %lu, sample %d: %04x %04x\n",
  		    (long) row, (long) pix, sample, w1, w2);
! 		if (--stopondiff)
  			exit(1);
  		break;
  	}
--- 325,337 ----
  	case 8: 
  		printf("Scanline %lu, pixel %lu, sample %d: %02x %02x\n",
  		    (long) row, (long) pix, sample, w1, w2);
! 		if (--stopondiff == 0)
  			exit(1);
  		break;
  	case 16:
  		printf("Scanline %lu, pixel %lu, sample %d: %04x %04x\n",
  		    (long) row, (long) pix, sample, w1, w2);
! 		if (--stopondiff == 0)
  			exit(1);
  		break;
  	}
***************
*** 352,358 ****
  				printf("%02x %02x\n", *p2, *cp1);
  			else
  				printf("%02x %02x\n", *cp1, *p2);
! 			if (--stopondiff)
  				exit(1);
  		}
  }
--- 352,358 ----
  				printf("%02x %02x\n", *p2, *cp1);
  			else
  				printf("%02x %02x\n", *cp1, *p2);
! 			if (--stopondiff == 0)
  				exit(1);
  		}
  }


