Without this change, it will use utime instead, dropping the subsecond
portion of the timestamp.
See upstream discussion: https://github.com/facebook/zstd/pull/3952
MFC after: 2 weeks
Sponsored by: Axcient
Differential D44320
Allow the bundled zstd to use utimensat asomers on Mar 12 2024, 7:31 PM. Authored by Tags None Referenced Files
Subscribers
Details Without this change, it will use utime instead, dropping the subsecond See upstream discussion: https://github.com/facebook/zstd/pull/3952 MFC after: 2 weeks
Diff Detail
Event TimelineComment Actions This isn't quite right. We also should change sys/sys/unistd.h since it only defines 200112 compliance, when we're effectively 200809 compliant. We can bump it , do an exp run and commit it. no doubt there's workarounds for our tardiness in bumping this.
Comment Actions An exp-run is what you suggested when I first raised the issue on freebsd-hackers last September. However, I don't know how to do an exp-run. Are you volunteering?
Comment Actions It's in the committer's guide... Create a buzilla 22.8.6. How can an experimental test build of the ports tree (exp-run) be requested? Comment Actions So digging into this a bit more... I bumped the POSIX_VERSION in FreeBSD. This code seemed to compile great when I did that after I moved the BSDs to the #if I highlighted. However, OpenSSL needs a small tweak. POSIX_VERSION 200809L dropped makecontext, et al, from the standard in Issue 7 (2008 version), and OpenSSL has no fallback for that situation, except to make an exception for GLIBC... So I added an exception for FreeBSD as well, and submitted that pull request. Now I have to fix at least two ports (openssl3 and openssl111), and fight that battle.... At least I have someone lined up to help me there. So there's a complication to my suggestion, I'll let you know when vvd@ and I have looked at the fallout. I hate kludging things like this pull request, though, I'm spending way more time on this than I thought I'd need to. Comment Actions Thanks for working on that . I agree that it would definitely be a better solution that what I proposed. Is there anything that I can do to help? |