https://bugzilla.mindrot.org/show_bug.cgi?id=2228
--- Comment #2 from John Haxby <[email protected]> --- I agree, I had thought the same thing overnight. There are possible cases where CLOCK_BOOTIME is defined at compile time but it not available at run time so the fallback is definitely needed. (I actually have the opposite case: CLOCK_BOOTIME is available at run time but not defined at compile time, but that's my problem, not yours.) Your patch has a logical problem though: it won't compile if CLOCK_BOOTTIME is defined but CLOCK_MONOTONIC is. In practice this won't happen, but perhaps you either want to surround the CLOCK_MONOTONIC call with a #ifdef or you want to remove the test for defined(CLOCK_BOOTTIME) from the surrounding #if. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
