https://bugs.kde.org/show_bug.cgi?id=317513

Akseli Lahtinen <akse...@akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kcoreaddons/-/commit
                   |                            |/42d0c8b9be209c20538a4cb0b3
                   |                            |865b676aa4fc44
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 42d0c8b9be209c20538a4cb0b3865b676aa4fc44 by Akseli Lahtinen.
Committed on 13/03/2025 at 10:55.
Pushed by akselmo into branch 'master'.

KShell:tildeExpand: Return filename if homedir is empty

Often cache and automatic backup files are saved with ~ prefix. Our
tilde-expand method returns empty in cases where the `~file` does not
match an username.

In those cases, just return the filename instead.

Also updated autotest.

M  +1    -0    autotests/kshelltest.cpp
M  +5    -1    src/lib/util/kshell.cpp

https://invent.kde.org/frameworks/kcoreaddons/-/commit/42d0c8b9be209c20538a4cb0b3865b676aa4fc44

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to