wolfcw / libfaketime

libfaketime modifies the system time for a single application
https://github.com/wolfcw/libfaketime
GNU General Public License v2.0
2.64k stars 321 forks source link

ppoll insensitive to durations < 1second #381

Closed RobertHenry6bev closed 2 years ago

RobertHenry6bev commented 2 years ago

The handler for ppoll at https://github.com/wolfcw/libfaketime/blob/0ca35dd8c4532075d6805133a8f2f319f54c26ff/src/libfaketime.c#L1570 only scales time when the requested number of seconds is > 0. It totally ignores the tv_nsec field.

wolfcw commented 2 years ago

didn't hear back on the fix, assuming it is working. feel free to re-open otherwise.