summaryrefslogtreecommitdiffstats
path: root/tdeio/tdeio/kdirwatch_p.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-15 03:01:46 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-15 03:01:46 -0500
commitf6402c325a2374e72411ccf4f409f9368b4e42c6 (patch)
tree0e450df2b63832430890e8861b179529d0ee8aac /tdeio/tdeio/kdirwatch_p.h
parent1534608421fce31bafdade29a152f5d328958ddb (diff)
downloadtdelibs-f6402c325a2374e72411ccf4f409f9368b4e42c6.tar.gz
tdelibs-f6402c325a2374e72411ccf4f409f9368b4e42c6.zip
Fix a number of issues with the forwarding tdeioslave
This relates to Bug 1450
Diffstat (limited to 'tdeio/tdeio/kdirwatch_p.h')
-rw-r--r--tdeio/tdeio/kdirwatch_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tdeio/tdeio/kdirwatch_p.h b/tdeio/tdeio/kdirwatch_p.h
index 8777f56b2..933791faf 100644
--- a/tdeio/tdeio/kdirwatch_p.h
+++ b/tdeio/tdeio/kdirwatch_p.h
@@ -14,6 +14,7 @@
#include <ctime>
#define invalid_ctime ((time_t)-1)
+#define invalid_mtime ((time_t)-1)
/* KDirWatchPrivate is a singleton and does the watching
* for every KDirWatch instance in the application.
@@ -39,8 +40,10 @@ public:
class Entry
{
public:
- // the last observed modification time
+ // the last observed creation time
time_t m_ctime;
+ // the last observed modification time
+ time_t m_mtime;
// the last observed link count
int m_nlink;
entryStatus m_status;