git: contrib/less: Fix edit.c for building

Aaron LI aly at crater.dragonflybsd.org
Mon Mar 11 08:15:53 PDT 2024


commit b2ced873797f89ad408a0118f85b968529aecbec
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Mar 11 23:10:57 2024 +0800

    contrib/less: Fix edit.c for building
    
    edit.c: In function 'close_pipe':
    edit.c:307:14: error: 'SIGPIPE' undeclared (first use in this function); did you mean 'SI_TIMER'?
       if (sig != SIGPIPE || ch_length() != NULL_POSITION)
                  ^~~~~~~
                  SI_TIMER

Summary of changes:
 contrib/less/edit.c | 2 --
 1 file changed, 2 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list