mingw_utime(): handle NULL times parameter
authorSZEDER Gábor <szeder@ira.uka.de>
Mon, 12 Jul 2010 23:42:03 +0000 (01:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Jul 2010 00:34:46 +0000 (17:34 -0700)
commitded2d47668c8e865465a7ad69665696f9b56f24b
tree5afefec6bafa9941d0186a57d1cc0087baada22e
parenta1463920565c67646507dc573d3f5280fa4cdcf3
mingw_utime(): handle NULL times parameter

POSIX sayeth:

  "If times is a null pointer, the access and modification
   times of the file shall be set to the current time."

Let's do so.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c