config: use chmod() instead of fchmod()
commit2569d23915471f1727e5945c513b8be299eefa0c
authorKarsten Blees <karsten.blees@gmail.com>
Tue, 15 Jul 2014 22:54:30 +0000 (16 00:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2014 20:05:21 +0000 (16 13:05 -0700)
treeb033eea787a74a0c815a84a53d6bec25196cb901
parentdaa22c6f8da466bd7a438f1bc27375fd737ffcf3
config: use chmod() instead of fchmod()

There is no fchmod() on native Windows platforms (MinGW and MSVC), and the
equivalent Win32 API (SetFileInformationByHandle) requires Windows Vista.

Use chmod() instead.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c