http://bugs.winehq.org/show_bug.cgi?id=12401
--- Comment #26 from Erich Hoover ehoover@mines.edu 2012-06-20 13:33:40 CDT --- (In reply to comment #25)
... Still it would happen on Windows, so again it depends on
if RemoveDirectoryW(path); in patch 1 also removes the containing symlink
I'll double check that I haven't done something stupid, but RemoveDirectoryW works fine on symlinks/jncpts on Windows - so the problem is only on our end (until patch 5 is applied). The issue is that a RemoveDirectoryW corresponds to rmdir(), so attempting to use RemoveDirectoryW on a symlink under Wine (created this way or by the user) will result in failure.