[libvirt] [PATCH] rpc: retry to call dup() if fcntl with CLOEXEC fails

2011-12-14 Thread dongsu . park
From: Dongsu Park dongsu.p...@profitbricks.com If fcntl with F_DUPFD_CLOEXEC fails, we need to try again to use dup() to get the fd, instead of giving up right away. Signed-off-by: Dongsu Park dongsu.p...@profitbricks.com Signed-off-by: Vasilis Liaskovitis vasilis.liaskovi...@profitbricks.com

Re: [libvirt] [PATCH] rpc: retry to call dup() if fcntl with CLOEXEC fails

2011-12-14 Thread Eric Blake
On 12/14/2011 04:19 AM, dongsu.p...@profitbricks.com wrote: From: Dongsu Park dongsu.p...@profitbricks.com If fcntl with F_DUPFD_CLOEXEC fails, we need to try again to use dup() to get the fd, instead of giving up right away. NACK. gnulib guarantees that F_DUPFD_CLOEXEC works (albeit not