http://bugs.winehq.org/show_bug.cgi?id=25156
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2011-04-28 18:02:51 CDT --- Created an attachment (id=34384) --> (http://bugs.winehq.org/attachment.cgi?id=34384) test to show that utime can take a null pointer
The problem is that wine's utime() doesn't handle passing in a NULL pointer for the utimbuf structure field correctly. msdn states that passing in a NULL pointer ensures that modification and access time for the file are set to current time, whereas wine just happily crashes.
The attached tests show this behaviour. I'll see if i can manage a fix