git: timeout(1): Reduce some duplicate code

Aaron LI aly at crater.dragonflybsd.org
Sat Jan 2 23:15:55 PST 2021


commit d07a7c407dea1a528308db68d10f382f9c9e5891
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jan 3 13:52:10 2021 +0800

    timeout(1): Reduce some duplicate code
    
    Merge the 'sig_alrm' and 'sig_term' conditionals, and thus reduce some
    duplicate code.

Summary of changes:
 usr.bin/timeout/timeout.c | 30 +++++++++---------------------
 1 file changed, 9 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d07a7c407dea1a528308db68d10f382f9c9e5891


-- 
DragonFly BSD source repository


More information about the Commits mailing list