]> The Tcpdump Group git mirrors - tcpdump/commit
Stick with one version of pcap_dump_ftell.c.
authorDenis Ovsienko <[email protected]>
Sat, 28 Jul 2018 12:36:17 +0000 (13:36 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 28 Jul 2018 12:36:17 +0000 (13:36 +0100)
commit40e217a816cee20d4aa92f5d06d7ad5d4acc4050
treeb0d443d5b0887051640ea539d4d9c18d4c867e3c
parent93350deda8f0099b4cd1541f2c72ae5c38fc25a5
Stick with one version of pcap_dump_ftell.c.

It looks like CMake after commit 3e9e2b6 started to use the newly added
missing/pcap_dump_ftell.c to make pcap_dump_ftell() available in tcpdump
if libpcap does not have it. However, autotools continued to use the
previously existing ./pcap_dump_ftell.c for the same purpose. Remove the
previously existing file and amend autotools files to cover
pcap_dump_ftell() the same way as the other functions in the missing/
directory files.

Amend missing/pcap_dump_ftell.c not to use pcap_dump_file(), as it may be
unavailable.

This has been tested to work with libpcap 0.6.1.
INSTALL.txt
Makefile.in
config.h.in
configure
configure.ac
missing/pcap_dump_ftell.c
pcap_dump_ftell.c [deleted file]