summaryrefslogtreecommitdiff
path: root/compat/stat.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-01-26 15:34:52 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-26 13:42:59 -0800
commit4b0abd5c695c87bf600e57b6a5c7d6844707d34c (patch)
treefda17d83791e71a6b5b5b7d25d4676b58bd1c6b8 /compat/stat.c
parentmingw: try to delete target directory before renaming (diff)
downloadtgif-4b0abd5c695c87bf600e57b6a5c7d6844707d34c.tar.xz
mingw: let lstat() fail with errno == ENOTDIR when appropriate
POSIX semantics requires lstat() to fail with ENOTDIR when "[a] component of the path prefix names an existing file that is neither a directory nor a symbolic link to a directory". See http://pubs.opengroup.org/onlinepubs/9699919799/functions/lstat.html This behavior is expected by t1404-update-ref-df-conflicts now. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/stat.c')
0 files changed, 0 insertions, 0 deletions