xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 8966ce24dbe9e9501993b6eac20eb0d9f07692f2

Fix recursion on discovering .desktop files
The directories that contain them shouldn't actually have
subdirectories, but keeping the code there just in case. Since
subdirectories are visited, whatever is found in them shouldn't be
discarded and no memory should be leaked.
Author: xaizek
Author date (UTC): 2026-10-04 12:34
Committer name: xaizek
Committer date (UTC): 2026-10-17 15:58
Parent(s): c328d98a9f7a8e8aec3c7342dab96fd142a3d82b
Signing key: 99DC5E4DB05F6BE2
Tree: b149a912ebcc433aabf9c3d650f26d89ff882719
File Lines added Lines deleted
ChangeLog 2 0
src/int/desktop.c 1 1
File ChangeLog changed (mode: 100644) (index b60ddc69c..db6be36a4)
331 331 Fixed cleaning up IPC pipe file on exiting after handling `--remote` or Fixed cleaning up IPC pipe file on exiting after handling `--remote` or
332 332 `--remote-expr`. `--remote-expr`.
333 333
334 Fixed an unlikely memory leak on discovering .desktop files.
335
334 336 0.14-beta to 0.14 (2025-02-08) 0.14-beta to 0.14 (2025-02-08)
335 337
336 338 Improved documentation on zh/zl menu keys a bit. Improved documentation on zh/zl menu keys a bit.
File src/int/desktop.c changed (mode: 100644) (index 09a2a982e..c93c627af)
... ... parse_desktop_files_internal(const char path[], const char mime_type[],
77 77 build_path(full_path, sizeof(full_path), path, dentry->d_name); build_path(full_path, sizeof(full_path), path, dentry->d_name);
78 78 if(get_dirent_type(dentry, full_path) == DT_DIR) if(get_dirent_type(dentry, full_path) == DT_DIR)
79 79 { {
80 parse_desktop_files(full_path, mime_type);
80 parse_desktop_files_internal(full_path, mime_type, result);
81 81 } }
82 82 else else
83 83 { {
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master