http://bugs.winehq.org/show_bug.cgi?id=12401
--- Comment #30 from Erich Hoover ehoover@mines.edu 2012-06-21 12:13:12 CDT --- (In reply to comment #29)
... [1/7] http://source.winehq.org/patches/data/87434 [2/7] http://source.winehq.org/patches/data/87435 [3/7] http://source.winehq.org/patches/data/87436 [4/7] http://source.winehq.org/patches/data/87437 [5/7] http://source.winehq.org/patches/data/87438 [6/7] http://source.winehq.org/patches/data/87439 [7/7] http://source.winehq.org/patches/data/87440
A comment from Hans Leidekker on wine-devel:
This is not an atomic operation since you need two Unix calls. So you would need locking or rollback to deal with possible races. ... I don't see a way to fix this other than adding a new primitive to the kernel.
Any thoughts? Would it be "good enough" to just lock the directory as far as Wine is concerned?