Daniel Stenberg <[EMAIL PROTECTED]> writes: > On Mon, 22 Sep 2003, Hrvoje Niksic wrote: > >> The bottom line is, I really don't know how to solve this >> portably. Does anyone know how widely ported software deals with >> large files? > > In curl, we provide our own *printf() code that works as expected on > all platforms.
Lovely. :-) Wget does come with a printf implementation, but it's used only on systems that don't have snprintf, and I'd kind of like it to stay that way. This is one of those wheels that are not that much fun to reinvent. (But then again, I thought exactly the same about hash tables, and I ended up having to roll my own.) > (Not that we have proper 2GB support yet anyway, but that's another > story. For example, we have to face the problems with exposing an > API using such a variable type...) Ah, they joys of writing a library...
