[tracker/follow-symlinks] all: Follow symlinks for all file system operations
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/follow-symlinks] all: Follow symlinks for all file system operations
- Date: Fri, 14 Mar 2014 19:31:12 +0000 (UTC)
commit 104e7c724a7de984b562f9c1129ae0291e3db251
Author: Martyn Russell <martyn lanedo com>
Date: Fri Mar 14 19:22:11 2014 +0000
all: Follow symlinks for all file system operations
src/libtracker-common/tracker-file-utils.c | 2 +-
src/libtracker-miner/tracker-crawler.c | 4 ++--
src/libtracker-miner/tracker-indexing-tree.c | 2 +-
src/libtracker-miner/tracker-miner-fs.c | 2 +-
src/miners/fs/tracker-miner-applications.c | 2 +-
src/miners/fs/tracker-miner-files-index.c | 2 +-
src/miners/fs/tracker-miner-files.c | 8 ++++----
src/miners/fs/tracker-miner-userguides.c | 2 +-
src/tracker-extract/tracker-cue-sheet.c | 2 +-
src/tracker-writeback/tracker-writeback-file.c | 2 +-
src/tracker-writeback/tracker-writeback-playlist.c | 2 +-
11 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/src/libtracker-common/tracker-file-utils.c b/src/libtracker-common/tracker-file-utils.c
index f70925f..12ec908 100644
--- a/src/libtracker-common/tracker-file-utils.c
+++ b/src/libtracker-common/tracker-file-utils.c
@@ -883,7 +883,7 @@ tracker_file_is_hidden (GFile *file)
file_info = g_file_query_info (file,
G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL, NULL);
if (file_info) {
/* Check if GIO says the file is hidden */
diff --git a/src/libtracker-miner/tracker-crawler.c b/src/libtracker-miner/tracker-crawler.c
index 0978996..60c719e 100644
--- a/src/libtracker-miner/tracker-crawler.c
+++ b/src/libtracker-miner/tracker-crawler.c
@@ -390,7 +390,7 @@ directory_root_info_new (GFile *file,
file_info = g_file_query_info (file,
file_attributes,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL,
NULL);
g_object_set_qdata_full (G_OBJECT (file),
@@ -827,7 +827,7 @@ file_enumerate_children (TrackerCrawler *crawler,
g_file_enumerate_children_async (ed->dir_file,
attrs,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
G_PRIORITY_LOW,
ed->cancellable,
file_enumerate_children_cb,
diff --git a/src/libtracker-miner/tracker-indexing-tree.c b/src/libtracker-miner/tracker-indexing-tree.c
index 743631e..f620dce 100644
--- a/src/libtracker-miner/tracker-indexing-tree.c
+++ b/src/libtracker-miner/tracker-indexing-tree.c
@@ -660,7 +660,7 @@ tracker_indexing_tree_file_is_indexable (TrackerIndexingTree *tree,
if (file_type == G_FILE_TYPE_UNKNOWN)
file_type = g_file_query_file_type (file,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL);
filter = (file_type == G_FILE_TYPE_DIRECTORY) ?
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 700de1d..027d705 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1617,7 +1617,7 @@ item_move (TrackerMinerFS *fs,
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE ","
G_FILE_ATTRIBUTE_STANDARD_TYPE,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL, NULL);
/* Get 'source' ID */
diff --git a/src/miners/fs/tracker-miner-applications.c b/src/miners/fs/tracker-miner-applications.c
index 06d1e54..e1feb2e 100644
--- a/src/miners/fs/tracker-miner-applications.c
+++ b/src/miners/fs/tracker-miner-applications.c
@@ -868,7 +868,7 @@ miner_applications_process_file (TrackerMinerFS *fs,
g_file_query_info_async (file,
attrs,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
G_PRIORITY_DEFAULT,
cancellable,
process_file_cb,
diff --git a/src/miners/fs/tracker-miner-files-index.c b/src/miners/fs/tracker-miner-files-index.c
index 7b6a67d..fe950b8 100644
--- a/src/miners/fs/tracker-miner-files-index.c
+++ b/src/miners/fs/tracker-miner-files-index.c
@@ -331,7 +331,7 @@ handle_method_call_index_file (TrackerMinerFilesIndex *miner,
file_info = g_file_query_info (file,
G_FILE_ATTRIBUTE_STANDARD_TYPE,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL, NULL);
if (!file_info) {
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index c0904cf..bc410ff 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2231,7 +2231,7 @@ miner_files_process_file (TrackerMinerFS *fs,
g_file_query_info_async (file,
attrs,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
G_PRIORITY_DEFAULT,
cancellable,
process_file_cb,
@@ -2353,7 +2353,7 @@ miner_files_process_file_attributes (TrackerMinerFS *fs,
g_file_query_info_async (file,
attrs,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
G_PRIORITY_DEFAULT,
cancellable,
process_file_attributes_cb,
@@ -2383,7 +2383,7 @@ miner_files_ignore_next_update_file (TrackerMinerFS *fs,
G_FILE_ATTRIBUTE_TIME_ACCESS;
file_info = g_file_query_info (file, attrs,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
cancellable, &error);
if (error) {
@@ -2799,7 +2799,7 @@ tracker_miner_files_is_file_eligible (TrackerMinerFiles *miner,
file_info = g_file_query_info (file,
G_FILE_ATTRIBUTE_STANDARD_TYPE,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL, NULL);
if (!file_info) {
diff --git a/src/miners/fs/tracker-miner-userguides.c b/src/miners/fs/tracker-miner-userguides.c
index e8cc580..68ece83 100644
--- a/src/miners/fs/tracker-miner-userguides.c
+++ b/src/miners/fs/tracker-miner-userguides.c
@@ -522,7 +522,7 @@ miner_userguides_process_file (TrackerMinerFS *fs,
g_file_query_info_async (file,
attrs,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
G_PRIORITY_DEFAULT,
cancellable,
process_file_cb,
diff --git a/src/tracker-extract/tracker-cue-sheet.c b/src/tracker-extract/tracker-cue-sheet.c
index a9dd6f1..39a14f9 100644
--- a/src/tracker-extract/tracker-cue-sheet.c
+++ b/src/tracker-extract/tracker-cue-sheet.c
@@ -317,7 +317,7 @@ find_local_cue_sheets (GFile *audio_file)
e = g_file_enumerate_children (container,
"standard::*",
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL,
&error);
diff --git a/src/tracker-writeback/tracker-writeback-file.c b/src/tracker-writeback/tracker-writeback-file.c
index f00d668..d312fc3 100644
--- a/src/tracker-writeback/tracker-writeback-file.c
+++ b/src/tracker-writeback/tracker-writeback-file.c
@@ -183,7 +183,7 @@ tracker_writeback_file_update_metadata (TrackerWriteback *writeback,
G_FILE_ATTRIBUTE_UNIX_MODE ","
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE ","
G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL, NULL);
if (!file_info) {
diff --git a/src/tracker-writeback/tracker-writeback-playlist.c
b/src/tracker-writeback/tracker-writeback-playlist.c
index 64958a3..521df8b 100644
--- a/src/tracker-writeback/tracker-writeback-playlist.c
+++ b/src/tracker-writeback/tracker-writeback-playlist.c
@@ -117,7 +117,7 @@ get_playlist_type (GFile *file,
file_info = g_file_query_info (file,
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
NULL, NULL);
if (!file_info) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]