Bug#939789: faketime: Fails to parse "strict" timestamps with error message "Success"(!)

2019-09-08 Thread Wolfgang Hommel
Hi Ben, thanks for reporting this. Please be advised that a newer release is available upstream, which however likely is not related to your issue. With your calls, you should not use the '-f' parameter. Without '-f', the timestamp is passed on to date/gdate for parsing, which yields the

Bug#907264: faketime: timezone bugs: lax parsing, no way to specify UTC or TZ

2018-08-25 Thread Wolfgang Hommel
Ian, thanks for the detailed report, which is clearly to confirm. libfaketime internally relies on strptime() to parse the user-specified timestamp. On current macOS, your examples work reasonably well in the following variation: $ FAKETIME_FMT="%Y-%m-%d %T %z" ./faketime -f '2018-06-26

Bug#875760: Timestamp to fake not recognized for "faketime "+1" stat foo"

2017-09-14 Thread Wolfgang Hommel
So far, this is intentional behavior of the wrapper script. Use the command line switch -f, then it should work just as you expect: faketime -f "+10" stat foo should do.

Bug#811610: [PATCH] Disable the nonnull-compare flag for faketime.

2016-07-08 Thread Wolfgang Hommel
Hi Daniel, Mike, thanks for your analysis, which is pretty much complete from my perspective. In the functions intercepted by libfaketime, we need to ensure that the "offending" parameter is indeed non-NULL, and although this may be the enforced case in the future when everything on the

Bug#753461: faketime stable breaks iceweasel 24.6

2014-08-06 Thread Wolfgang Hommel
Charles, it's hard to comment this profoundly without giving it some serious and time-consuming debugging first. Anyway, I assume that your problem persists with both offsets and start-at dates even when LD_PRELOADing libfaketime directly, i.e., without the faketime wrapper. In this case,

Bug#699559: faketime: segfaults with libc 2.17

2013-02-03 Thread Wolfgang Hommel
Daniel, for further analysis, you may want to search replace any occurrences of RTLD_NEXT by dlopen(/lib/librt.so.1, RTLD_NOW) in faketime.c ; this is ugly (not only due to the hardcoded path), but it may avoid issues with RTLD_NEXT going sideways. Although I don't know why libc6

Bug#495630: ITP: libfaketime -- report faked system time to programs

2008-08-19 Thread Wolfgang Hommel
Daniel, Matthias, admittedly I haven't been aware of datefudge so far; seems to me like both mini-tools have been developed independent of each other since around 2003. From looking at datefudge 1.14 (is that the most recent version?), I'd claim that libfaketime currently provides a