bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of fseeko() in coreutils-6.7 on HP-UX 11.23/PA


From: Albert Chin
Subject: Re: Use of fseeko() in coreutils-6.7 on HP-UX 11.23/PA
Date: Fri, 9 Feb 2007 17:28:44 -0600
User-agent: Mutt/1.5.6i

On Fri, Feb 09, 2007 at 05:05:25PM -0600, Albert Chin wrote:
> fseeko() exists on HP-UX 11.23, but only if -D_LARGEFILE_SOURCE.
> However, src/od.c uses fseeko() without -D_LARGEFILE_SOURCE.
> Therefore, fseeko() is used without the correct function prototype.
> 
> Ditto with ftello() in src/shuf.c.
> 
> So, what's the best way to fix?

Ok, I see that AC_FUNC_FSEEKO is fixed in autoconf CVS.
_LARGEFILE_SOURCE is now set on HP-UX 11.23/PA to expose fseeko/ftello
by AC_FUNC_FSEEKO.

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]