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 b410f094b9eae379cd7316afd9a8d6456fbec560

Fix time_t printf format on different platforms
Author: xaizek
Author date (UTC): 2014-04-29 20:13
Committer name: xaizek
Committer date (UTC): 2014-04-29 20:13
Parent(s): 8d4c6f7fa64ad67e07be3db755494bb580d02c6d
Signing key:
Tree: c6513c8f8932609b19e5db0f3c42552a71821c5f
File Lines added Lines deleted
src/cfg/info.c 1 1
src/utils/str.h 3 0
File src/cfg/info.c changed (mode: 100644) (index 489368335..2f9e07ef2)
... ... write_bookmarks(FILE *const fp, const char non_conflicting_bmarks[],
1031 1031 fprintf(fp, "'%c\n", mark); fprintf(fp, "'%c\n", mark);
1032 1032 fprintf(fp, "\t%s\n", bookmark->directory); fprintf(fp, "\t%s\n", bookmark->directory);
1033 1033 fprintf(fp, "\t%s\n", bookmark->file); fprintf(fp, "\t%s\n", bookmark->file);
1034 fprintf(fp, "%ld\n", bookmark->timestamp);
1034 fprintf(fp, TIME_T "\n", bookmark->timestamp);
1035 1035 } }
1036 1036 } }
1037 1037 for(i = 0; i < nmarks; i += 3) for(i = 0; i < nmarks; i += 3)
File src/utils/str.h changed (mode: 100644) (index 84ebcbe8e..4d0abfbed)
28 28 #define WPRINTF_WSTR L"ls" #define WPRINTF_WSTR L"ls"
29 29 #define PRINTF_PID_T "%llu" #define PRINTF_PID_T "%llu"
30 30 #define PRINTF_SIZE_T "%llu" #define PRINTF_SIZE_T "%llu"
31 #define TIME_T "%lld"
31 32 #elif defined(_WIN32) #elif defined(_WIN32)
32 33 #define WPRINTF_MBSTR L"S" #define WPRINTF_MBSTR L"S"
33 34 #define WPRINTF_WSTR L"s" #define WPRINTF_WSTR L"s"
34 35 #define PRINTF_PID_T "%d" #define PRINTF_PID_T "%d"
35 36 #define PRINTF_SIZE_T "%u" #define PRINTF_SIZE_T "%u"
37 #define TIME_T "%ld"
36 38 #else #else
37 39 #define WPRINTF_MBSTR L"s" #define WPRINTF_MBSTR L"s"
38 40 #define WPRINTF_WSTR L"ls" #define WPRINTF_WSTR L"ls"
39 41 #define PRINTF_PID_T "%d" #define PRINTF_PID_T "%d"
42 #define TIME_T "%ld"
40 43 #if defined(_LP64) #if defined(_LP64)
41 44 #define PRINTF_SIZE_T "%lu" #define PRINTF_SIZE_T "%lu"
42 45 #else #else
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