AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 1994

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



1994.05.02 16:47 "Bugs in v3.3alpha002 wrt. off_t / toff_t", by J T Conklin

NetBSD-current recently increased the size of an off_t from 32 to 64
bits.  In the process, errors in two function definitions caused the
library to stop working.

	--jtc

*** OLD/tif_unix.c	Sat Apr 30 16:17:47 1994
--- tif_unix.c	Sat Apr 30 16:18:01 1994
***************
*** 46,52 ****
  }
  
  static toff_t
! _tiffSeekProc(thandle_t fd, off_t off, int whence)
  {
  	return ((toff_t) lseek((int) fd, (off_t) off, whence));
  }
--- 46,52 ----
  }
  
  static toff_t
! _tiffSeekProc(thandle_t fd, toff_t off, int whence)
  {
  	return ((toff_t) lseek((int) fd, (off_t) off, whence));
  }
*** OLD/tif_write.c	Sat Apr 30 16:03:14 1994
--- tif_write.c	Sat Apr 30 16:03:31 1994
***************
*** 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;
  }