Is there a compelling reason why this returns a long, rather than an off_t (ftello style)?

Given that libpcap dump files are very likely to be > 2 GB, it seems sensible to return a type that supports the largest file offset possible on a given system.

Although, given that this is already in a distributed release, I suppose we may be doomed to having both a pcap_dump_ftell and a pcap_dump_ftello...

@alex
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to