[gnome-commander] Follow symlinks when retrieving file information, fixing #100
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Follow symlinks when retrieving file information, fixing #100
- Date: Sun, 14 Mar 2021 20:10:52 +0000 (UTC)
commit 345501a7a9bedeaf025e42802b9c568bf1cce93b
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sun Mar 14 21:06:57 2021 +0100
Follow symlinks when retrieving file information, fixing #100
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 a69d23ae..112bb59c 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]