Re: [PATCH 2/2] um: Use race-free temporary file creation
From: MickaÃl SalaÃn
Date: Sat Nov 28 2015 - 18:09:54 EST
>>>> + errno != EOPNOTSUPP))
>>>> + return fd;
>>>> + errno = 0;
>>>
>>> Why are you resetting errno?
>>
>> It's to ignore/reset the error code from open, but it may not be needed because of the next call to malloc?
>
> But then you'd have to reset errno after every syscall. :-)
OK, I will remove it then :)
Mickaël
Attachment:
signature.asc
Description: OpenPGP digital signature