set current atime while setting mtime
patch by Andrei Nigmatulin
diff --git a/src/os/unix/ngx_files.c b/src/os/unix/ngx_files.c
index c50e201..89ab8d6 100644
--- a/src/os/unix/ngx_files.c
+++ b/src/os/unix/ngx_files.c
@@ -245,7 +245,7 @@
 {
     struct timeval  tv[2];
 
-    tv[0].tv_sec = s;
+    tv[0].tv_sec = ngx_time();
     tv[0].tv_usec = 0;
     tv[1].tv_sec = s;
     tv[1].tv_usec = 0;