If first element is relative, the result path should be also relative
not absolute.
If first element is empty, the result path is relative.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Steps to reproduce:
* configure & compile mc with '--enable-charset' option;
* run mc
* go to dir with any of *.zip, *.rpm, *.deb, *.patch/diff files
* Change path encoding to any other by pressing ALT+e (selected encoding should be dfferent to system encoding)
* try to enter to archive
You'll se error message from extfs module.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
If you are in hex viewer mode and viewer remembers file positions, the
viewer restores the start position, but does not restore the position
of cursor.
So the restored position is basically useless in hex mode, because when
you move cursor, you go back to the beginning of file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Steps to reproduce:
* run ssh daemon on your host;
* run mc;
* type cd sh://127.0.0.1;
* type your password;
* just one panel was shown, after pressing ctrl+r second panel will shown as well.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
fixed fish-script 'get'.
Steps to reproduce:
create lot of small files
try to copy these files throught FISH VFS
mc hangs
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 2602_cleanup:
(try_complete): fixed warinig:
(edit_collect_completions): fixed warinig:
(etags_set_definition_hash): fixed memory leak
Use ESC_STR macro instead of hardcoded "\033".
Value accuracy of mouse_enabled global variable.
Fixed VFS prefix in hints.
Nice location of red (warning and error) dialogs.
(dlg_find_by_id): use the GLib way to find widget.
(move_right): fixed type of return value.
(menubar_arrange): fixed typos.
Avoided warning message about non-existent maint/version.sh file
Minor fixes in NEWS.
Preventing po/*.po files in git-diff output
Cleanups and format small fixes in EN and RU man pages.
Editor: remove unused #define's.
Optimization of walking in dialog widgets.
Set logfile for smbfs using mc_setctl().
(mc_setup_by_args): fixed old VFS prefix.
(show_datadirs_extended): fixed paths in help message.
Ticket #2602: cleanup branch
input_complete.c:874:26: warning: use of logical && with constant
operand; switch to bitwise & or remove constant
[-Wconstant-logical-operand]
if (q && q[1] == '(' && INPUT_COMPLETE_COMMANDS)
^ ~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
editcmd.c:1104:42: warning: use of logical && with constant operand;
switch to bitwise & or remove constant [-Wconstant-logical-operand]
if (*num == MAX_WORD_COMPLETIONS && MAX_WORD_COMPLETIONS)
^ ~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2594_ftp_leading_spaces:
VFS ftpfs: fixed broken filenames in unaligned 'ls' command output
Ticket #2594: ftp failures - leading white space in file name
* 2595_vfs_encode:
Fixed filenames recoding while call external utilites by mc.ext rules
Fixed regexp error if current codepage isn't equal to UTF-8 in UTF-8 environment
Ticket #2595: Broken panels recode in current master