summaryrefslogtreecommitdiffstats
path: root/redhat/tdelibs/kdelibs-3.5.13-fix_kdirwatch.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdelibs/kdelibs-3.5.13-fix_kdirwatch.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdelibs/kdelibs-3.5.13-fix_kdirwatch.patch')
-rw-r--r--redhat/tdelibs/kdelibs-3.5.13-fix_kdirwatch.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/redhat/tdelibs/kdelibs-3.5.13-fix_kdirwatch.patch b/redhat/tdelibs/kdelibs-3.5.13-fix_kdirwatch.patch
new file mode 100644
index 000000000..c6792dfdc
--- /dev/null
+++ b/redhat/tdelibs/kdelibs-3.5.13-fix_kdirwatch.patch
@@ -0,0 +1,20 @@
+diff -urN tdelibs/kio/kio/kdirwatch.cpp tdelibs.new/kio/kio/kdirwatch.cpp
+--- tdelibs/kio/kio/kdirwatch.cpp 2012-04-05 13:26:08.000000000 -0500
++++ tdelibs.new/kio/kio/kdirwatch.cpp 2012-04-08 17:51:15.000000000 -0500
+@@ -1155,6 +1155,7 @@
+ if(!e->dirty) return NoChange;
+ e->dirty = false;
+ }
++ if (e->isDir) return Changed;
+ #endif
+
+ // Shouldn't happen: Ignore "unknown" notification method
+@@ -1184,6 +1185,8 @@
+ if (exists) {
+
+ if (e->m_status == NonExistent) {
++ // ctime is the 'creation time' on windows, but with qMax
++ // we get the latest change of any kind, on any platform.
+ e->m_ctime = stat_buf.st_ctime;
+ e->m_status = Normal;
+ e->m_nlink = stat_buf.st_nlink;