On Fri, Feb 09, 2007 at 02:38:31PM -0600, [EMAIL PROTECTED] wrote:
> > Remove this from both files solves the problem
> 
> Fseeko() accepts an off_t rather than long which is needed for large file
> support (i.t. off_t can be 64-bit whereas long is 32-bit).  If you have the
> time, try changing fseek to fseeko and ftell to ftello in magick/blob.c
> and see if the error still occurs.  If so this may indicate a problem
> with using fseeko/ftello on HP PA-RISC.

Why not just use fseeko/ftello? If a platform does not have these
functions, then it doesn't have LFS and you can just:
  #define fseeko fseek
  #define ftello ftell

And, if a platform does have these functions, regardless of whether or
not LFS is defined, aren't they safe to use?

I'll test with fseeko/ftello though.

-- 
albert chin ([EMAIL PROTECTED])
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers

Reply via email to