Fix build on FreeBSD/HardenedBSD
I’m not entirely sure that the inode changes will work on Linux. But this commit fixes the Radicle build for these applications:
- radicle-cli
- radicle-httpd
- radicle-node
- radicle-remote-helper
- radicle-tools
Signed-off-by: Shawn Webb shawn.webb@hardenedbsd.org
I’m not entirely sure that the inode changes will work on Linux. But this commit fixes the Radicle build for these applications:
- radicle-cli
- radicle-httpd
- radicle-node
- radicle-remote-helper
- radicle-tools
Signed-off-by: Shawn Webb shawn.webb@hardenedbsd.org
I apologize, when I said “inode”, I meant “int64”.
Changes:
- Split changes into two commits
- Guard the
cmd_name = echoline behind cfg to silence clippy - Rework
set_file_limitinto twounixandwindowsfunctions, where the former handles conversions to u64 and the latter i64.
Fix build on FreeBSD
Nice, LGTM
Simplify FreeBSD/HardenedBSD support-related changes
We can simply abstract the type of integer required by the runtime.
Signed-off-by: Shawn Webb shawn.webb@hardenedbsd.org Signed-off-by: cloudhead cloudhead@radicle.xyz
Rebase, squash.