mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 08:36:28 +03:00
I had to decide what to do if FAKE_PID wasn't defined during the build. I decided that since the wrapper can't be sure it is preloading the same library that it was built with (someone could somehow mix and match the library and the wrapper tool), it should just warn and pass along the value anyway. This reserves the option space, but shouldn't annoy people too much if they are running it on a system that doesn't have FAKE_PID enabled. I note that this happens regardless of whether it is a "direct" invocation or not. I don't fully understand all the tradeoffs here, so I would appreciate another set of eyes reviewing this choice. Closes: #308