diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-04-26 11:04:39 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-04-26 11:04:39 +0200 |
commit | 0ea769c229b62a62ec979554a10bf7a5ab15ab4f (patch) | |
tree | 04a94ef7fbea32415492eeacefd6a10a72a3987d /redhat/kdelibs/kdelibs-3.5.13-fix_kdirwatch.patch | |
parent | 0dc6fc94953ed8de3c717c85c1483b5e738c3e19 (diff) | |
download | tde-packaging-0ea769c229b62a62ec979554a10bf7a5ab15ab4f.tar.gz tde-packaging-0ea769c229b62a62ec979554a10bf7a5ab15ab4f.zip |
RHEL/Fedora: updates kdelibs 3.5.13
Diffstat (limited to 'redhat/kdelibs/kdelibs-3.5.13-fix_kdirwatch.patch')
-rw-r--r-- | redhat/kdelibs/kdelibs-3.5.13-fix_kdirwatch.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/redhat/kdelibs/kdelibs-3.5.13-fix_kdirwatch.patch b/redhat/kdelibs/kdelibs-3.5.13-fix_kdirwatch.patch new file mode 100644 index 000000000..c6792dfdc --- /dev/null +++ b/redhat/kdelibs/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; |