Accept trailing slashes in lstat() implementation.
commitafd5e6acb2f7adf6a3dd6049dabcafcd4458a92e
authorJohannes Sixt <johannes.sixt@telecom.at>
Thu, 24 May 2007 20:26:41 +0000 (24 22:26 +0200)
committerJohannes Sixt <johannes.sixt@telecom.at>
Thu, 24 May 2007 20:36:24 +0000 (24 22:36 +0200)
treedd15039aa77e5338a298d85ca0287a4583292613
parentdafd0c5fece221379cf9f515e58c31dc1e44e339
Accept trailing slashes in lstat() implementation.

lstat() is sometimes invoked with a path that ends in a slash (in
particular, when dealing with subprojects). Windows's stat() does not
accept such paths and fails with ENOENT. In this case we try again
with a cleaned-up path.
compat/mingw.c