mingw: turn the always-failing fchmod stub into an always-succeeding
commit7dc636a6ba8e91a3d7e8f8b539fd198c0d6beb9c
authorJohannes Sixt <j6t@kdbg.org>
Mon, 19 May 2014 05:55:57 +0000 (19 07:55 +0200)
committerJohannes Sixt <j6t@kdbg.org>
Fri, 20 Jun 2014 05:51:58 +0000 (20 07:51 +0200)
tree971be9311fc241e8abe189449e43b22b2c69f07d
parentb4f944cdebf19a7cc2240ab791349b89acfecb54
mingw: turn the always-failing fchmod stub into an always-succeeding

A recent change introduced new call sites of fchmod, but these new call
sites check the return value. This is bad because now almost every git
command fails.

Just fake that the call was successful even though it did nothing.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
compat/mingw.h