- Added support for fstatat() and fstatat64() which were introduced in
Linux kernel 2.6.16 and used in recent coreutils.
Thanks to Daniel Kahn Gillmor for the report!
This can be disabled by passing -DNO_ATFILE in the Makefile.
- Added a simple wrapper shell script and a man page for it. Makes it
easier to run commands under faked system times. It assumes that the
libraries will be copied to /usr/lib/faketime during installation,
please adjust this path if necessary. The "install" target in the
Makefile has been adapted accordingly.
- Added support for fractional time offsets, such as FAKETIME="+1,5h".
Please note that either , or . has to be used as a delimiter
depending on your locale. Thanks to Karl Chen!
- Added support for speeding the clock up or slowing it down. For
example, FAKETIME="+5d x2,0" will set the faked time 5 days into
the future and make the clock run twice as fast for the specified
program. Slowing it down can be done e.g. by using FAKETIME="+0 x0,5".
Again, the delimiter to use for the fraction depends on your locale.
Thanks to Karl Chen!