You'd still get the race condition, unless the underlying C API call was atomic
I'd hoped that it would have been obvious that this would need to be implemented without using rename(2) :-)
In reply to Re^6: A DWIM too far?
by adrianh
in thread A DWIM too far?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |