aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/util.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-02 18:59:42 +0000
committermarha <marha@users.sourceforge.net>2011-02-02 18:59:42 +0000
commit749d0082379b4e508c0890580085d9a7531204ff (patch)
tree3df4260c6590c28fc24ef01505622d2737c6fbd0 /tools/mhmake/src/util.cpp
parentb138c1d41b48bf51a834f4a2b39f5b24b62aa0ae (diff)
downloadvcxsrv-749d0082379b4e508c0890580085d9a7531204ff.tar.gz
vcxsrv-749d0082379b4e508c0890580085d9a7531204ff.tar.bz2
vcxsrv-749d0082379b4e508c0890580085d9a7531204ff.zip
Solved problem of doing an mkdir on an existing dir
Diffstat (limited to 'tools/mhmake/src/util.cpp')
-rw-r--r--tools/mhmake/src/util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp
index 43104adea..f678e7adf 100644
--- a/tools/mhmake/src/util.cpp
+++ b/tools/mhmake/src/util.cpp
@@ -762,6 +762,7 @@ bool MakeDirs(const fileinfo *pDir)
cerr << "mkdir function failed for directory " << QuoteFileName(pDir->GetFullFileName()) << endl;
return false;
}
+ pDir->InvalidateDate(); // Directory created successfully, so invalidate the date
}
return true;
}