[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()
>Synopsis: [patch] t_sigqueue: mark unused variables in functions
>__unused and explicitly test with getpid()
>Arrival-Date: Thu Jul 17 05:40:00 +0000 2014
>Originator: Garrett Cooper
EMC / Isilon Storage Division
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.
Main Index |
Thread Index |