Hello community,

here is the log from the commit of package kio for openSUSE:Factory checked in 
at 2019-03-08 11:58:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kio (Old)
 and      /work/SRC/openSUSE:Factory/.kio.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kio"

Fri Mar  8 11:58:41 2019 rev:76 rq:681092 version:5.55.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kio/kio.changes  2019-02-28 21:30:41.757786768 
+0100
+++ /work/SRC/openSUSE:Factory/.kio.new.28833/kio.changes       2019-03-08 
11:58:42.715982223 +0100
@@ -1,0 +2,6 @@
+Sun Mar  3 11:59:08 UTC 2019 - wba...@tmo.at
+
+- Add Fix-NTFS-hidden-check-for-symlinks.patch to avoid hiding
+  symlinks to NTFS mountpoints (kde#402738)
+
+-------------------------------------------------------------------

New:
----
  Fix-NTFS-hidden-check-for-symlinks.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kio.spec ++++++
--- /var/tmp/diff_new_pack.5TxYyb/_old  2019-03-08 11:58:43.167982146 +0100
+++ /var/tmp/diff_new_pack.5TxYyb/_new  2019-03-08 11:58:43.171982146 +0100
@@ -33,6 +33,8 @@
 Source1:        baselibs.conf
 # PATCH-FIX-OPENSUSE kio_help-fallback-to-kde4-docs.patch -- allow kio_help to 
see into kde4 documentation, needed especially for khelpcenter5
 Patch0:         kio_help-fallback-to-kde4-docs.patch
+# PATCH-FIX-UPSTREAM
+Patch1:         Fix-NTFS-hidden-check-for-symlinks.patch
 BuildRequires:  cmake >= 3.0
 BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes

++++++ Fix-NTFS-hidden-check-for-symlinks.patch ++++++
>From 01a7e0e757d3558e131d24fbb079b65af7b70572 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wba...@tmo.at>
Date: Sun, 3 Mar 2019 12:53:37 +0100
Subject: Fix NTFS hidden check for symlinks to NTFS mountpoints

A symlink to the mountpoint of an NTFS partition can have the type
DT_LNK.
So extend the check to cover that case as well.

BUG: 402738
FIXED-IN: 5.57.0
Differential Revision: https://phabricator.kde.org/D18479
---
 src/ioslaves/file/file_unix.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ioslaves/file/file_unix.cpp b/src/ioslaves/file/file_unix.cpp
index 1816f11..5dca327 100644
--- a/src/ioslaves/file/file_unix.cpp
+++ b/src/ioslaves/file/file_unix.cpp
@@ -589,7 +589,7 @@ void FileProtocol::listDir(const QUrl &url)
                     bool ntfsHidden = true;
 
                     // Bug 392913: NTFS root volume is always "hidden", ignore 
this
-                    if (ep->d_type == DT_DIR || ep->d_type == DT_UNKNOWN) {
+                    if (ep->d_type == DT_DIR || ep->d_type == DT_UNKNOWN || 
ep->d_type == DT_LNK) {
                         const QString fullFilePath = 
QDir(filename).canonicalPath();
                         auto mountPoint = 
KMountPoint::currentMountPoints().findByPath(fullFilePath);
                         if (mountPoint && mountPoint->mountPoint() == 
fullFilePath) {
-- 
cgit v1.1


Reply via email to