vasilito d6b223dc28 libredox: revert O_CLOEXEC to literal in protocol module (fixes standalone build)
Commit 65889db changed protocol::O_CLOEXEC to reference syscall::flag::O_CLOEXEC,
but the `protocol` module is built standalone by relibc
(default-features=false, features=["protocol"]), where the optional
redox_syscall/base/libc crates are NOT linked. That produced E0433
'unresolved module or unlinked crate syscall' and failed the relibc/prefix
build. Every other syscall:: use in libredox is #[cfg(feature="redox_syscall")]
-gated; this const was not. 0x0100_0000 is exactly syscall's O_CLOEXEC value, so
the literal is correct (the single-source-of-truth concern is cosmetic here).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-27 23:08:58 +09:00
2023-09-28 16:32:39 +02:00
2023-10-12 20:17:57 +02:00
S
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
MIT 18 GiB
Languages
C 37.5%
C++ 37.2%
JavaScript 6.7%
QML 3.4%
HTML 3.2%
Other 11.4%