From: "Terry Wells"
Message-Id: <365216B2.2A27C00F@cp10.es.xerox.com>
Subject: Bug in tif_unix.c
Date: Tue, 24 Nov 1998 07:10:00

Hi all,
 
I just noticed a bug in tif_unix.c (and perhaps tif_win32.c, but I'm not
sure)
 
Catch is, I don't know if it's worth fixing or not...
 
 
The Problem:
------------
In the function _tiffMapProc, the function _tiffSizeProc is used to get
the size of the file.  This size is then compared with -1 to check for
an error.
 
The problem is that _tiffSizeProc always returns a value >= 0.  Thus
size will never be -1 and _tiffMapProc will always attempt to map the
file.
