List Info

Thread: Re: tests/rwblob_EPT_bilevel.sh on HP-UX/PA-RISC




Re: tests/rwblob_EPT_bilevel.sh on HP-UX/PA-RISC
country flaguser name
United States
2007-02-09 15:22:06
>   Why not just use fseeko/ftello?

We solved the problem with this patch in magick/blob.c:

#if defined(HAVE_FSEEKO)
# define fseek  fseeko
# define ftell  ftello
#endif

Thanks for alerting us to this problem.
_______________________________________________
Magick-developers mailing list
Magick-developersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/m
agick-developers

Re: tests/rwblob_EPT_bilevel.sh on HP-UX/PA-RISC
country flaguser name
United States
2007-02-09 16:56:46
On Fri, Feb 09, 2007 at 03:22:06PM -0600, omicronpersei8imagemagick.org wrote:
> >   Why not just use fseeko/ftello?
> 
> We solved the problem with this patch in
magick/blob.c:
> 
> #if defined(HAVE_FSEEKO)
> # define fseek  fseeko
> # define ftell  ftello
> #endif

Have you tested if this works? Simply replacing fseek/ftell
with
fseeko/ftello doesn't work based on my tests. Why? Because
the
function prototypes for fseeko/ftello are only defined if
_LARGEFILE_SOURCE is defined.

-- 
albert chin (chinathewrittenword.com)
_______________________________________________
Magick-developers mailing list
Magick-developersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/m
agick-developers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )