NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/49004: [patch] t_sigqueue: mark unused variables in functions __unused and explicitly test with getpid()



>Number:         49004
>Category:       bin
>Synopsis:       [patch] t_sigqueue: mark unused variables in functions 
>__unused and explicitly test with getpid()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 17 05:40:00 +0000 2014
>Originator:     Garrett Cooper
>Release:        n/a
>Organization:
EMC / Isilon Storage Division
>Environment:
n/a
>Description:
FreeBSD fails the testcase with pid == 0, but passes with getpid(). POSIX 
doesn't state how == 0 should be treated, so this might be passing as a 
side-effect of how sigqueue is implemented on NetBSD.

Several unused arguments in handler were also marked __unused so clang didn't 
complain about them with -Wunused.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index