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 0207ea08ec2f782f097b43c98f10cf263c212b4d

Check size in utils/utils_win:get_[ug]id_string()
While all buffers should be at least one byte in size, might still check
for it.

Also correct comments there to add a missing article.
Author: xaizek
Author date (UTC): 2026-03-12 17:38
Committer name: xaizek
Committer date (UTC): 2026-03-12 17:38
Parent(s): d943783a33698f563ff2488743e9b025f3cc4706
Signing key: 99DC5E4DB05F6BE2
Tree: ef91f605f9886e936c0fb5e9a8dbc39e20eafb55
File Lines added Lines deleted
src/utils/utils_win.c 10 4
File src/utils/utils_win.c changed (mode: 100644) (index d1f876eae..b5ed95487)
... ... update_terminal_settings(void)
758 758 void void
759 759 get_uid_string(const dir_entry_t *entry, int as_num, size_t buf_len, char buf[]) get_uid_string(const dir_entry_t *entry, int as_num, size_t buf_len, char buf[])
760 760 { {
761 /* Simply return empty buffer. */
762 buf[0] = '\0';
761 /* Simply return an empty buffer. */
762 if(buf_len != 0)
763 {
764 buf[0] = '\0';
765 }
763 766 } }
764 767
765 768 void void
766 769 get_gid_string(const dir_entry_t *entry, int as_num, size_t buf_len, char buf[]) get_gid_string(const dir_entry_t *entry, int as_num, size_t buf_len, char buf[])
767 770 { {
768 /* Simply return empty buffer. */
769 buf[0] = '\0';
771 /* Simply return an empty buffer. */
772 if(buf_len != 0)
773 {
774 buf[0] = '\0';
775 }
770 776 } }
771 777
772 778 FILE * FILE *
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