K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-26T20:14:12.068100Z K 7 svn:log V 402 MFC 216334: When reopening a stream backed by an open file descriptor, do not close the existing file descriptor. Instead, let dup2() atomically close the old file descriptor when assigning the newly opened file to the same descriptor. This closes a race in a multithreaded application where a concurrent open() could allocate the existing file descriptor in between the calls to close() and dup2(). END