home *** CD-ROM | disk | FTP | other *** search
/ Internet File Formats / InternetFileFormatsCD.bin / graphics / tiff / unix / archive.z / archive / text0006.txt < prev    next >
Encoding:
Text File  |  1995-09-20  |  1.1 KB  |  27 lines

  1. >    I have noticed a lot of elaborate code in tif_atari.c handling lseeks past
  2. >    the current end-of-file. I'd like to know under what circumstances libtiff
  3. >    extends a file in this way because the Amiga I/O system does not allow this
  4. >    either. Are the library routines prepared to handle an error return from
  5. >    _tiffSeekProc() in this case? I remember the F2C run-time library failing
  6. >at
  7. >    this point :).
  8. >
  9. >I didn't write the atari code; it was contributed by alex@falcon.demon.co.uk
  10. >(Alex Kiernan).  I don't believe the library will seek past EOF; it should
  11. >do explicit writes if it wants to extend an existing file.
  12.  
  13. ISTR I added this because I found a particular instance where the TIFF
  14. library did a seek off of the end of a file & my application wasn't working
  15. as a result, but I'm afraid its so long since I touched any of the code/did
  16. any work on the Atari I don't remember how/where it was. I'm certain I did
  17. it because it was needed, but I simply can't remember the circumstances,
  18. also it was for an earlier library rev so it may be that the situation I
  19. found can no longer happen .
  20.  
  21. ----
  22. Alex Kiernan
  23. alex@falcon.demon.co.uk
  24.  
  25.  
  26.  
  27.