On Thu, Jul 05, 2001 at 02:09:36AM -0700, Guy Harris wrote:
> > > And I seem to recall that applications that want to support > 2G
> > > files must also use e.g. off64_t.
>
> Libpcap doesn't directly use "open()" and "write()" to write capture
> files; instead, it uses "fopen()" and "fwrite()", which means that the
> "standard I/O library" routines in glibc would have to use a 64-bit file
> offset type internally in order to support access to files > 2GB on
> 32-bit Linux platforms. I don't know whether it does so; if it doesn't,
> tcpdump won't support captures > 2GB on those platforms.
Hm, yah, and that could also explain why he reported that tcpdump
actually dropped a core file.
--
-- Jason R. Thorpe <[EMAIL PROTECTED]>
-
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