git: grdc(6): Improve handling of long scroll delays

Aaron LI aly at crater.dragonflybsd.org
Sun Feb 21 00:18:30 PST 2021


commit 9f62ef8c5664703913ebcf1f918e3559ab7806ba
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Feb 21 13:05:42 2021 +0800

    grdc(6): Improve handling of long scroll delays
    
    Add the scroll delay to the current time, so that the finally showed
    time matches the real current time.
    
    In addition, skip nanosleep() if the sleep interval is negative.

Summary of changes:
 games/grdc/grdc.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9f62ef8c5664703913ebcf1f918e3559ab7806ba


-- 
DragonFly BSD source repository



More information about the Commits mailing list