...to allow to show info about mc options regardless of the fact that
configuration directories cannot be created.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Path transformation while loading hotlist breaks shell variable
substitution.
Load paths from hotlist as is withowt any transformation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Environment variable should not be substituted if escaping of dollar
sign is used: \$VAR.
Initial steps:
(do_cd): changed return type from int to gboolean.
(examine_cd): likewise and some cleanup.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Hexadecimal values like "2d f0" can be used as well as "0x2d 0xf0"
in all search dialogs where hexadecimal search is supported.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Found out by Michał Górny
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
(cherry picked from commit 1da8ab58f8)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
If current panel is tree one, cannot enter a command in the command
line.
tree_key() was sync'd with panel_key().
(cherry picked from commit 349308542f)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The test fails to compile on alpha:
> CC vfs_parse_ls_lga.o
> vfs_parse_ls_lga.c: In function ‘test_vfs_parse_ls_lga’:
> vfs_parse_ls_lga.c:174:9: error: unknown field ‘st_atime’ specified in initializer
> vfs_parse_ls_lga.c:175:9: error: unknown field ‘st_mtime’ specified in initializer
as st_atime on alpha in not just a field name:
struct stat {
...
__extension__ union { struct timespec st_atim; struct { __time_t st_atime; unsigned long st_atimensec; }; };
__extension__ union { struct timespec st_mtim; struct { __time_t st_mtime; unsigned long st_mtimensec; }; };
__extension__ union { struct timespec st_ctim; struct { __time_t st_ctime; unsigned long st_ctimensec; }; };
};
The fix switches to old-style struct initialization.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Otherwise gcc on alpha/arm will break in gcc -c phase:
CC config_string.o
armv5tel-softfloat-linux-gnueabi-gcc <skip> -z muldefs -c config_string.c
armv5tel-softfloat-linux-gnueabi-gcc: muldefs: No such file or directory
make[4]: *** [config_string.o] Error 1
Gentoo-bug: http://bugs.gentoo.org/403343
Reported-by: Markus Meier
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
fixed problem with zero-length files from VFS in mcedit.
steps to reproduce the problem:
1. touch test.txt
2. tar cf test.tar test.txt
3. place cursor on test.tar and press Enter to enter to the archive.
4. place cursor on test.txt and press F4 to open file in editor.
Result: file not opened.
(cherry picked from commit 88b3f840a7)
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Until 4.7 '/' was forward and '?' backward search.
In current releases both keys are bound to ViewSearch
so one must manually choose Backwards option in the dialog.
(cherry picked from commit a3ddfd14ea)
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
While deleting an empty group in hotlist, the extra confirmation
"Group not empty. Remove it?" should not raise.
(cherry picked from commit a29abae2e3)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* LZMA is now considered unsupported and outdated, let's get rid of it.
* There's no p7 archiver format, let's change it to "7z".
Signed-off-by: Slava Zanko <slavazanko@gmail.com>