| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
On Ubuntu 20.04 using gcc 9.3, make test fails due to a deprecated
function (ftime) warning in combination with -Werror in timetest.c.
Since the warning is from a test testing that the deprecated function
can be replaced using LD_PRELOAD, I think it's reasonable to just
silence the warning in that case.
|
| |
|
|\
| |
| | |
We no longer need the OSX-specific test. Tests are passing, too.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
pthread_cond_timedwait takes an absolute time as an argument, which
the function directly passes on to the kernel via the futex
syscall. In an application this absolute time argument is calculated
via the fake times provided by libfaketime. Since the kernel has no
knowledge of the fake time, pthread_cond_timedwait must be redefined
such that it converts the fake time back to real time before passing
it on.
|
|
|
|
|
| |
On x32, time_t is 64-bit to avoid Y2038 problems. This doesn't play well
using printf("%ld"), and -Werror turns this into a build failure.
|
| |
|
|
|
|
| |
This will probably fix compilation on Debian GNU/Hurd
|
| |
|
| |
|
| |
|
|
|
|
| |
@8615959]
|
|
|
|
| |
[rbalint/pr28]
|
|
|
|
|
|
|
|
|
| |
Used (emacs) M-x untabify for whole faketime.c as the prevailing
style in that file used spaces for indentation.
Used M-x delete-trailing-whitespace to all files that had either
trailing whitespace or empty lines at the end of file to remove
those.
|
| |
|
|
|
|
|
|
| |
Suppress compiler warnings when using "-Wformat".
Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
|
|
|
|
| |
Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
|
|
* Move test suite related stuff from "src/" to "test/".
* Fix "test.sh" to search for libfaketime libraries in the right place.
* Split up Makefile into two separate Makefiles (one for the main
program and one for the test suite).
Test cases should go in another directory for the sake of clean code
separation. This will also facilitate the creation of proper Makefiles.
Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
|