[PATCH] signal: Use <sigsetops.h> for sigemptyset, sigfillset

Andreas Schwab schwab@linux-m68k.org
Wed Apr 22 09:40:31 GMT 2020


On Apr 22 2020, Florian Weimer wrote:

> * Andreas Schwab:
>
>> On Apr 22 2020, Florian Weimer wrote:
>>
>>> This avoids changing the entire sigset_t structure.  Updating the
>>> actually used part is sufficient.
>>
>> I'm not sure it's a good idea to leave most of the structure
>> uninitialized.
>
> Would you please elaborate?  How is this different from padding?

Padding is always unnamed.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list