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>
* 2686_master_cleanup:
Modified "Configure options" dialog for better look'n'feel.
Fixed user defined home dir, if home dir contain tilda (~/)
Fixed memory leak in lib/serialize.c
Move type and function declarations.
(mc_config_normalize_before_save): fixed possible memory leak.
(history_put): unused. Removed.
Fixed double declaration of midnight_dlg variable.
Moved declaration of old_esc_mode_timeout variable to the proper file section.
More type accuracy
(tty_lowlevel_getch): used in lib/tty only.
Type accuracy.
Fixed panel type replacement.
Ticket 2686: Code cleanup
(panel_view_mode_t): move from panel.h to layout.h.
(panel_update_cols): move from layout.[ch] to panel.[ch]
Fixed related includes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Added a few common file types to filehighlight.ini, namely
* 7z, ace to archives
* flac, ape, wma, wmv, 3gp to media
Signed-off-by: Slava Zanko <slavazanko@gmail.com>