summaryrefslogtreecommitdiff
path: root/README.packagers
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2022-05-04 14:51:35 +0200
committerUli Schlachter <psychon@znc.in>2022-05-04 14:51:35 +0200
commitfff49b23fca69721dca669ff4fb3289bc7c24660 (patch)
tree588134218ed9f49403c9c2946ce2bfe4a1011f62 /README.packagers
parent6e0f978079e2792c4f910ab8b2cc8e966350d2ab (diff)
downloadlibfaketime-fff49b23fca69721dca669ff4fb3289bc7c24660.tar.gz
Add FAIL_PRE_INIT_CALLS define
This commit adds a new define FAIL_PRE_INIT_CALLS. When that define is set, calls to clock_gettime() that occur before ftpl_init() was called (due to being marked with __attribute__((constructor))) will just fail and return -1. After this commit, the test case added in the previous commit no longer hangs. To make this actually work, this new define is enabled by default. Fixes: https://github.com/wolfcw/libfaketime/issues/365 Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'README.packagers')
0 files changed, 0 insertions, 0 deletions