Upstream more additions/changes
This is the last of the changes from the Zeek project. It adds a few new methods that weren't there before, plus some cleanup that was required to build Zeek against libunistd.
The specific things I want to call out in this are:
- 6c8040003ab0c188ec33787fd349a8470ee9226a: The implementation of
dirnamecauses a compiler warning because it's trying to shift a 32-bit value by 32 bits to store the high part of the offset. This could possibly just assignOffsetHighto zero, but it's working for us as is. - 58da4783e9c835175c91f6c21a7994fb611bab97: The implementation of
read()causes the build to output a bunch of "inconsistent dll linkage" warnings when building the library outside of the Zeek project. The warnings go away with our build setup, but I haven't investigated what set of compiler flags make it do so. It does finish the build and link the libraries though.
I rebased this on the latest master and dropped the mdb commit that was there before, since that's removed from the repo now.
@robinrowe Any other comments on this or can it be merged?
Checking in on this one again. It'd be nice to swap over to using the main repo instead of our fork.
@robinrowe Checking in again
@robinrowe Was this ever going to get merged?