Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-29 | Add a more usefull getline-like function to libfstream | David Oberhollenzer | |
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> | |||
2020-04-17 | Remove some configure time sizeof checks | David Oberhollenzer | |
In libtar, the sizeof time_t checked when trying to store a time value. It is pointless using the preprocessor here, as we can simply do an if (sizeof(time_t) < ...) check and the compiler will take care optimizing away one or the other branch. After changing the libtar check and the corresponding unit tests, the sizeof check can be removed from configure.ac, along with other unused sizeof checks. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> | |||
2020-04-17 | tests: improve diagnostics output & make "release builds" work | David Oberhollenzer | |
This commit adds a few macros and helper functions for the unit test programs. Those are used instead of asserts to provide more fine grained diagnostics on the one hand and on the other hand because they also work if NDEBUG is defined, unlike asserts that get eliminated in that case. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> |