]> The Tcpdump Group git mirrors - libpcap/commit
Handle fopen() and fopen_s() differently.
authorGuy Harris <[email protected]>
Tue, 31 Oct 2017 23:43:46 +0000 (16:43 -0700)
committerGuy Harris <[email protected]>
Tue, 31 Oct 2017 23:43:46 +0000 (16:43 -0700)
commitee4e10fc6a5a9f97438284758c02e64131b03a01
tree6788b63d9811a6e10d7cb4fa92c5caba2d45794f
parenta16ca2786d56bff6cab41dd1542a387c77bb7370
Handle fopen() and fopen_s() differently.

If we have fopen_s(), define pcap_fopen as fopen_s().  Otherwise, have a
pcap_fopen() routine, which is a wrapper for fopen() and has the same
signature as fopen_s().

Use pcap_fopen() - and don't worry about "b" in the mode argument, it's
required by C90.
CMakeLists.txt
Makefile.in
fopen.c [new file with mode: 0644]
fopen.h [new file with mode: 0644]
nametoaddr.c
portability.h
savefile.c
sf-pcap.c