在 2026-1-19 05:58, Martin Storsjö 写道:
Concretely, with current busybox code, it wouldn't work as is, because their platform.h actively undefs HAVE_MKDTEMP on this platform: https://github.com/rmyorston/busybox-w32/blob/master/include/ platform.h#L470-L475But overall, if this is how mingw-w64 headers are going to be in the future, then busybox-w32 probably will need to adapt to it in some way. I guess it's just up to us to see if that can be done in some good enough way (so that it works with both older and newer headers), or if we should revert this to ease things for them. (In this case, the main desire for the function was for our own testcases, right?)
Maybe we can rename it to `_mkdtemp` for now. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
