[gnome-commander/gcmd-1-12] Follow symlinks when retrieving file information
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-12] Follow symlinks when retrieving file information
- Date: Sun, 14 Mar 2021 20:17:26 +0000 (UTC)
commit 434ef9c867bb5ac338c10f9d7b529813e29f372f
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sun Mar 14 21:06:57 2021 +0100
Follow symlinks when retrieving file information
src/gnome-cmd-file.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
index e3aaa739..26ff9729 100644
--- a/src/gnome-cmd-file.cc
+++ b/src/gnome-cmd-file.cc
@@ -484,7 +484,7 @@ gchar *GnomeCmdFile::GetGfileAttributeString(const char *attribute)
error = nullptr;
auto gcmdFileInfo = g_file_query_info(this->gFile,
attribute,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
nullptr,
&error);
if (gcmdFileInfo && error)
@@ -509,7 +509,7 @@ guint32 GnomeCmdFile::GetGfileAttributeUInt32(const char *attribute)
auto gcmdFileInfo = g_file_query_info(this->gFile,
attribute,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
nullptr,
&error);
if (error)
@@ -535,7 +535,7 @@ guint64 GnomeCmdFile::GetGfileAttributeUInt64(const char *attribute)
auto gcmdFileInfo = g_file_query_info(this->gFile,
attribute,
- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
+ G_FILE_QUERY_INFO_NONE,
nullptr,
&error);
if (error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]