Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx008.isp.belgacom.be (inmx008.isp.belgacom.be [195.238.3.88])
        by mailst006.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i6BLZhX5015317
        for <joris.at.lebbeke@skynet.be>; Sun, 11 Jul 2004 23:35:43 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx008.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i6BLZaJn027203
        for <joris.at.lebbeke@skynet.be>; Sun, 11 Jul 2004 23:35:38 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 32DB711D2A8; Sun, 11 Jul 2004 17:35:25 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by xserve.flids.com (Postfix) with ESMTP id B552B11D282
	for <tiff@remotesensing.org>; Sun, 11 Jul 2004 17:35:22 -0400 (EDT)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	i6BLZC9p015819; Sun, 11 Jul 2004 16:35:12 -0500 (CDT)
Date: Sun, 11 Jul 2004 16:35:12 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Andrey Kiselev <dron@ak4719.spb.edu>
Subject: Re: [Tiff] CVS libtiff & thandle_t
In-Reply-To: <20040711201605.GB6067@ak4719.spb.edu>
Message-ID: <Pine.SOC.4.60.0407111632180.845@blade.simplesystems.org>
References: <Pine.SOC.4.60.0407110954440.845@blade.simplesystems.org>
	<20040711201605.GB6067@ak4719.spb.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 1013d6990a50dfabd2b745edb2d47f69

On Mon, 12 Jul 2004, Andrey Kiselev wrote:

> On Sun, Jul 11, 2004 at 10:16:54AM -0500, Bob Friesenhahn wrote:
>> typedef int thandle_t;          /* client data handle */
>> #endif
>>
>> Note that outside of Windows, thandle_t is is typedef 'int'.
>> ImageMagick, GraphicsMagick, and likely other software, have been
>> passing pointers via the thandle_t argument of TIFFClientOpen() since
>> thandle_t used to be defined as void*.
>
> Bob, thanks for pointing that, fixed.

The other key point is that it seemed that libtiff was relying on the 
operating system's off_t type and now libtiff is defining a type to 
specifically handle 4 GB offsets.  For 64-bit CPUs this represents an 
ABI change because off_t is likely a 'long' (64 bit) type rather than 
a 32-bit type.

Libtiff's change makes sense for 32-bit CPUs.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
