]> code.delx.au - gnu-emacs/commit
Fix deletion of symlinks to directories on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Mon, 7 Sep 2015 15:26:36 +0000 (18:26 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 7 Sep 2015 15:26:36 +0000 (18:26 +0300)
commitcaf4a0192621f49b677ad05fe86e358020a88b7e
tree0ca50fcfa4969ef71319af161a310772ea18c894
parent066b26d6c47d1384d5ed3ce09c6379a9df350256
Fix deletion of symlinks to directories on MS-Windows

* src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
symlink to a directory, try again with 'rmdir'.
(is_symlink): If the argument is a symlink to a directory, set a
bit in the return value to indicate that fact.
src/w32.c