Create tests/mctest.h with useful inline macros

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Code refactoring in tests.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
(size_trunc_len): fix typos.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
doc/man/ru/mc.1.in: fix formatting.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Get rid of g_return_* macros in file operation routines

...since they produce warnings about non-created UI and clutter screen
up.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(overwrite_query_dialog): display file sizes with separators.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #2954: fix typo: occured -> occurred.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Rename vfs_path_cmp() to vfs_path_equals()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Code refactoring in tests.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
(mc_defines_destroy): use g_strfreev.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(input_update): minor optimization: don't call str_term_width2() twice.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Sync with gnulib 47f4ca8fe9506254200028c8a8c5fffbf1bf1161

Don't consider "devtmpfs" as dummy.

* src/filemanager/mountlist.c (ME_DUMMY_0): Remove "devtmpfs"
as there is storage associcated with it.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>