edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] stat() overflow
@ 2011-03-24  0:34 Chris Brannon
  0 siblings, 0 replies; only message in thread
From: Chris Brannon @ 2011-03-24  0:34 UTC (permalink / raw)
  To: edbrowse-dev

Actually stat64 seems to be a figment of my imagination.
What we need to do on 32-bit systems to prevent these overflow errors
from stat() is define
_FILE_OFFSET_BITS to 64, probably in the makefile.
But we need to be very careful, because many parts of the edbrowse code
assume that a file size is an int.
Actually, I'm not even sure that the assumption holds on 64-bit systems,
where an int is 32 bits and a long is 64 bits.

-- Chris

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-24  0:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-24  0:34 [Edbrowse-dev] stat() overflow Chris Brannon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).