[tracker/volume-mountpoints: 7/9] tracker-miner-fs: Unix time origin not good as dummy time...
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/volume-mountpoints: 7/9] tracker-miner-fs: Unix time origin not good as dummy time...
- Date: Fri, 16 Jul 2010 10:46:51 +0000 (UTC)
commit 5fcc3c3a6e625f23edb9518fa1e35ef839cefe63
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Jul 15 17:15:16 2010 +0200
tracker-miner-fs: Unix time origin not good as dummy time...
... because the directories where removable media is mounted, may actually
have mtime=0. So better use a random mtime value in the past.
src/miners/fs/tracker-miner-files.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 4c34938..5407669 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -640,7 +640,7 @@ ensure_mount_point_exists (TrackerMinerFiles *miner,
" nie:isStoredAs _:file ; "
" nie:url \"%s\" ; "
" nie:mimeType \"inode/directory\" ; "
- " nfo:fileLastModified \"1970-01-01T00:00:00Z\" . "
+ " nfo:fileLastModified \"1981-06-05T02:20:00Z\" . "
"}",
uri);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]