git: libc: Make the signal name array uppercase.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Nov 21 12:40:11 PST 2020


commit 7361f70fab9ce9ff43a6e2c654df1c8895619921
Author: Sascha Wildner <saw at online.de>
Date:   Sat Nov 21 21:35:20 2020 +0100

    libc: Make the signal name array uppercase.
    
    This is to satisfy POSIX which requires that the string printed by
    'kill -l <signal number>' shall be the name of the symbolic constant
    (for example, SIGKILL) without the 'SIG' part.
    
    This also fixes a number of sh(1) tests.
    
    While here, sync a bit further with FreeBSD. Specifically, use
    C99 designated initialization.
    
    Taken-from: FreeBSD

Summary of changes:
 lib/libc/gen/siglist.c | 261 +++++++++++++++++++++++++------------------------
 1 file changed, 132 insertions(+), 129 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7361f70fab9ce9ff43a6e2c654df1c8895619921


-- 
DragonFly BSD source repository



More information about the Commits mailing list