On 06/29/2012 07:48 AM, rong deng wrote: > Hi David, > > Sorry for the top posting, I've added the O_EXCL flag and please > review again. Thanks! I meant that if opening with O_EXCL fails, you should redo the test to see if the file has now showed up, and if so, pick the next number, then try again with O_EXCL, and so on. -- David Henningsson, Canonical Ltd. https://launchpad.net/~diwic