git: DragonFly_RELEASE_5_8 libc: Make the signal name array uppercase.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Feb 15 01:32:09 PST 2021


commit b4e0a8b768c820d91c5241964b9f1dec5b1cb19c
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/b4e0a8b768c820d91c5241964b9f1dec5b1cb19c


-- 
DragonFly BSD source repository



More information about the Commits mailing list