bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] Replacement for the sigs_to_ignore hack in timeout.c


From: Giuseppe Scrivano
Subject: Re: [PATCH] Replacement for the sigs_to_ignore hack in timeout.c
Date: Sat, 11 Oct 2008 19:10:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Andreas Schwab <address@hidden> writes:
>> +  memset (&sa, 0, sizeof sa);
>> +  sigemptyset (&sa.sa_mask);
>
> I don't think you need the memset.


and how reset the struct without a memset or using "sa = {0,}" as
Pádraig suggested?
Do you advise me to reset manually only members that really must be 0? 

Thanks,
Giuseppe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]