-
- Downloads
[lib/LinuxVersion] multiple fixes
* remove fancy but broken static LinuxVersion object. This means each usage of a EMPER_LINUX_* macro results in a syscall. But I think this is worth it when the result is a sound program. Users of those macros should store the result of the comparison anyway. * fix that we skipped parsing the last part of a version string * add a test for LinuxVersion * IO_MUST_INVALIDATE_BROKEN_CHAIN can still be const
parent
83d9fb46
No related branches found
No related tags found
Showing
- emper/Emper.cpp 1 addition, 1 deletionemper/Emper.cpp
- emper/Emper.hpp 1 addition, 1 deletionemper/Emper.hpp
- emper/lib/LinuxVersion.cpp 14 additions, 8 deletionsemper/lib/LinuxVersion.cpp
- emper/lib/LinuxVersion.hpp 10 additions, 12 deletionsemper/lib/LinuxVersion.hpp
- tests/lib/LinuxVersionTest.cpp 75 additions, 0 deletionstests/lib/LinuxVersionTest.cpp
- tests/lib/meson.build 8 additions, 0 deletionstests/lib/meson.build
Loading
Please register or sign in to comment