]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
update time when creating directories
authorwessels <>
Mon, 8 Jun 1998 23:00:06 +0000 (23:00 +0000)
committerwessels <>
Mon, 8 Jun 1998 23:00:06 +0000 (23:00 +0000)
src/store_dir.cc

index 0955a6ffe9e85d785e49420792a6d6b98ecd7ac9..47b70a729b287615e8a0f21c034a7c8bdc7469a0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_dir.cc,v 1.70 1998/05/30 19:43:18 rousskov Exp $
+ * $Id: store_dir.cc,v 1.71 1998/06/08 17:00:06 wessels Exp $
  *
  * DEBUG: section 47    Store Directory Routines
  * AUTHOR: Duane Wessels
@@ -127,6 +127,7 @@ storeCreateDirectory(const char *path, int should_exist)
 {
     int created = 0;
     struct stat st;
+    getCurrentTime();
     if (0 == stat(path, &st)) {
        if (S_ISDIR(st.st_mode)) {
            debug(20, should_exist ? 3 : 1) ("%s exists\n", path);