> > On windows you can't pass 'FILE *' into shared libraries,
> > they are likely to have their own copies of the stdio
> > libraries - with different FILE structures.
> > (eg if one part is compiled with debug enabled).
> 
> In this patch, the library into which VFile is being passed is called
> "the C library", i.e., with the patch, we're not passing it to
> libpcap/WinPcap, we're passing it to fgets(); if you couldn't pass a
> FILE * to, say, fgets(), the stdio libraries would be completely
> useless.

Did I miss that this is a tcpdump change, not a pcap one :-(

        David



_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to