>He's probably thinking of capture files >2GB, which you can get if you
>capture for long enough and are on an OS that supports files >2GB.

But the only time you have to worry about the return value from read()
being large-file-safe is if you are reading objects that are that large.
There are no calls to ftell(), and the only calls to lseek() are either
seeking to 0 (which usually requires 32 bits or less to represent) or
seeking inside kernel virtual memory (which is unlikely to be that large).

Without seeking and without 2GB-sized objects in files, large file
support comes for free, right?

  Bill
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to