bug-gnulib
[Top][All Lists]
Advanced

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

Re: fseeko bug


From: Larry Jones
Subject: Re: fseeko bug
Date: Fri, 14 Dec 2007 11:41:29 -0500 (EST)

Eric Blake writes:
> 
> Larry Jones <lawrence.jones <at> siemens.com> writes:
> > 
> > On a more general note, it looks like fseeko and ftello both need more
> > work to be generally useful on platforms that have a wide off_t but
> > don't have native fseeko/ftello.
> 
> Name such a platform, then we'll worry about it.

BSD/OS 4.2, but it's obsolete and thus easily ignored.  But isn't that
the main point of having fseeko and ftello in gnulib?  If not, then
there doesn't seem to be any reason for having the messy code in fseeko
that grubs around in the FILE structure so as to be able to call lseek;
just call the native fseek[o] and be done with it.

-Larry Jones

Life's a lot more fun when you're not responsible for your actions. -- Calvin




reply via email to

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