Re: [PATCH] libmount: Save errno if mkostemp() failed

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

 



On Sun, Sep 29, 2013 at 07:11:37PM +0900, Namhyung Kim wrote:
> After mkostemp() failed, umask() and free() might alter the errno

 I don't think umask and free alter errno, but

> to another value.  Not sure those calls really changes the errno
> or not.  But let's be more conservative.

 ok, it seems more readable then the old version. Applied, thanks. 

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux