Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-29 | CMake: Use CONFIGURE_DEPENDS in existing globs. | asynts | |
2020-10-25 | AK: Eradicate calls to warn(). | asynts | |
2020-10-25 | LibC+Tests: Fix broken snprintf test. | asynts | |
`snprintf` returns the number of characters that would have been written had the buffer been large enough. It's a common trick to call `snprintf(nullptr, 0, ...)` to measure how large a buffer has to be. Thus the return value is not zero but fourteen. | |||
2020-08-24 | LibC: Stub and test strlcpy | Ben Wiederhake | |
2020-08-24 | Tests: Remove unused include | Ben Wiederhake | |
2020-08-22 | LibC: Demonstrate off-by-one in current snprintf | Ben Wiederhake | |
The function whose main selling point is that there always is a NUL-terminator ... missed the NUL-terminator. | |||
2020-08-12 | Test: Mark compilation-unit-only functions as static | Ben Wiederhake | |
This enables a nice warning in case a function becomes dead code. Also, in the case of test-crypto.cpp, I took the liberty to add the prefix 'g_' to the global event loop. | |||
2020-08-02 | Tests: License headers, clang-format, clearer output | Ben Wiederhake | |
2020-08-02 | Tests: Build automatically, fix compilation errors | Ben Wiederhake | |