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

Albert Chin <[email protected]>
Newsgroups gmane.comp.video.image-magick.devel
Message-ID <[email protected]>
On Fri, Feb 09, 2007 at 03:22:06PM -0600, [email protected] 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 ([email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.