From: Erik Faye-Lund Date: Mon, 28 Apr 2014 15:32:45 GMT Subject: Re: [PATCH 06/12] MSVC: config.mak.uname: drop -D__USE_MINGW_ACCESS from compile definitions Message-ID: In-Reply-To: <1398693097-24651-7-git-send-email-marat@slonopotamus.org> On Mon, Apr 28, 2014 at 3:51 PM, Marat Radchenko wrote: > -D__USE_MINGW_ACCESS only affects MinGW and does nothing when > MSVC is used. Seems reasonable in itself. But, doesn't this mean that our access are currently broken on MSVC? The comment about __USE_MINGW_ACCESS is: /* Old versions of MSVCRT access() just ignored X_OK, while the version shipped with Vista, returns an error code. This will restore the old behaviour */ This sounds like we should lift the access-fix up one abstraction, into Git. But wait a minute. In Git for Windows, we already wrapped up access for unicode-support (03a102ff - "Win32: Unicode file name support (except dirent)"), doing the exact same thing already. This patch isn't upstreamed yet, though. Sounds like there's some cleaning up left to do on our behalf :) This clean-up makes sense regardless, though.