For other platforms, fspacectl(2) is absent. This commit masks out the
calls to fspacectl(2) and replace them with a ENODEV errno.
Sponsored by: The FreeBSD Foundation
Differential D31619
truncate(1): Fix cross-build CI failure due to missing fspacectl khng on Aug 20 2021, 5:14 PM. Authored by Tags None Referenced Files
Details For other platforms, fspacectl(2) is absent. This commit masks out the Sponsored by: The FreeBSD Foundation
Diff Detail
Event Timeline
Comment Actions I doubt this is needed for bootstrapping, so using the current ifdef looks good to me. It would be good to see if/which flags are used during the build that aren't universally supported, but for now this should be sufficient. A wrapper that returns enosys in tools/build might be a bit cleaner though since it avoids ifdefs here.
|