Received: by whizzer.wpd.sgi.com (/911001.SGI)
	 id AA19998; Tue, 7 Dec 93 14:20:16 GMT
Received: from sgi.sgi.com by whizzer.wpd.sgi.com via SMTP (/911001.SGI)
	for /usr/people/sam/majordomo/wrapper resend -l tiff -h sgi.sgi.com -f tiff-owner -s -m "-oi -odq -om" tiff-list id AA19991; Tue, 7 Dec 93 06:20:06 -0800
Received: from chenas.inria.fr by sgi.sgi.com via SMTP (931110.SGI/910110.SGI)
	for tiff-relay@whizzer.wpd.sgi.com id AA02034; Tue, 7 Dec 93 06:19:56 -0800
Received: from cnam.cnam.fr by chenas.inria.fr (5.65c8d/92.02.29)
	via Fnet-EUnet id AA22457; Tue, 7 Dec 1993 15:19:44 +0100 (MET)
Received: from localhost by cnam.cnam.fr with SMTP id AA15042
  (5.65c/IDA-1.4.4 for tiff@sgi.com); Tue, 7 Dec 1993 15:21:34 +0100
Message-Id: <199312071421.AA15042@cnam.cnam.fr>
From: Stephane Bortzmeyer <bortzmeyer@cnam.cnam.fr>
To: tiff@sgi.sgi.com
Subject: Funny bug in TIFF 3.30beta
X-Mailer: DXMail [MH]
Date: Tue, 07 Dec 93 15:21:33 +0100
X-Mts: smtp
Sender: tiff-owner@sgi.sgi.com


(I hope its the correct address for bug reports.)

Hello,

I just tried to compile TIFF 3.30beta I got from sgi.com and it doesn't compile because 
of a mismatch between:

% gcc -g -I.  -c tif_write.c
tif_write.c:565: conflicting types for `TIFFSetWriteOffset'
tiffio.h:182: previous declaration of `TIFFSetWriteOffset'

After examination, it appears the following line in tif_write.c:

TIFFSetWriteOffset(TIFF* tif, off_t off)

should be changed to:

TIFFSetWriteOffset(TIFF* tif, toff_t off)

Here is the context diff:

% diff -c libtiff/tif_write.c.orig libtiff/tif_write.c
*** libtiff/tif_write.c.orig    Tue Dec  7 15:06:46 1993
--- libtiff/tif_write.c Tue Dec  7 15:07:35 1993
***************
*** 561,567 ****
   * appended to the end of the file.
   */
  void
! TIFFSetWriteOffset(TIFF* tif, off_t off)
  {
        tif->tif_curoff = off;
  }
--- 561,567 ----
   * appended to the end of the file.
   */
  void
! TIFFSetWriteOffset(TIFF* tif, toff_t off)
  {
        tif->tif_curoff = off;
  }


Yours,

 -------------

Stephane Bortzmeyer           Conservatoire National des Arts et Metiers	
bortzmeyer@cnam.cnam.fr       Laboratoire d'Informatique
                              292, rue Saint-Martin			
tel: +33 (1) 40 27 27 31      75141 Paris Cedex 03
fax: +33 (1) 40 27 27 72      France	

"C'est la nuit qu'il est beau de croire a la lumiere." E. Rostand

					
	
	


