Guy Harris

Results 642 comments of Guy Harris

> Meanwhile, we should probably force the use of -fPICon Haiku in the autotools configure script for tcpdump, either if the compiler isn't GCC or unconditionally (the latter is simpler,...

> I tried to add -fPIC in CMake, but it seems to require a bit more than that (does not seem to have the expected effect on the failing vsnprintf()...

I've filed [Haiku issue 18258](https://dev.haiku-os.org/ticket/18258) on Clang not defaulting to generating PIC. Clang not behaving like GCC renders it painful to use with software that uses autotools or CMake.

> Let's give Clang some time then. "Give Clang some time" as in "time to get issue 18258 fixed", presumably. In 21f46b9600c4886b83dd2dbc4db1efb2bfdc722d I added a check, on Haiku, for whether...

[Haiku issue 18258](https://dev.haiku-os.org/ticket/18258) now appears to be fixed with llvm12_clang-12.0.1-5, so I removed the -fPIC hacks. The entire build matrix ran, at least on my VM, after updating the compiler...

> This test case creates many blocks which are rearranged by or_pullup in opt_blks . I think running find_dom every time the pullup is successful fixes this issue as it...

> 8007007e (ERROR_MOD_NOT_FOUND) Presumably that's a result of mapping the Windows error code `ERROR_MOD_NOT_FOUND` to an `HRESULT` as per [Microsoft's documentation on that mapping](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/0c0bcf55-277e-4120-b5dc-f6115fc8dc38).

"send: Message too large" can be avoided by not sending packets that are larger than the maximum packet size for the link layer on which the packet is being sent....

Note also that a lot of the packet capture code on any platform is in the underlying capture mechanism that libpcap uses. On Windows with Npcap, that's the Npcap NPF...

> Putting plain text user information in PCAPNG file (user made some manual user operations and would like to add them as extra info in the PCAP) That should be...