configure: line 2188: 0: command not found
This error occurs due to incorrect processing of grep command output.
This commit fixed that issue.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The NAME_MAX constant is defined on Linux but not on Solaris.
This blocks building MC on (Open)Solaris systems.
However, there is another symbolic constant with same purpose -
MAXNAMLEN - which is defined on Linux, Solaris and BSD systems.
This commit replaces NAME_MAX constant with MAXNAMLEN one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Starting mc with:
LANG=C mc
cases a crash when mc exits. No other LC_* variable was set.
The issue is in src/strutil.c module. With C locale, str_init_strings()
fails to set str_cnv_not_convert variable leaving it with value -1
(INVALID_CONV). str_uninit_strings() passes str_cnv_not_convert blindly
to g_iconv_close() which tries to dereference it.
This commit adds a check to str_uninit_strings() if str_cnv_not_convert
value is valid.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1918_quick_view_corruption:
Show not-printable 8-bit symbols in non-UTF-8 locales as dots.
Minor optimization of MC viewer.
Fixed boundaries of display text area.
Fixed show of viewer status bar.
MC Viewer API unification: arguments order was changed.
Ticket #1918: viewer in QuickView mode corrupts screen.
Initial step: code refactoring:
* small code formatting;
* type accuracy;
* introduce new type 'panel_view_mode_t' for panel type.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The new section [FindFile] was created for find file options.
The find_ignore_dirs key in Misc section is obsolete now.
The ignore_dirs key in FindFile section is used instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
If input line history contains only one item, pressing M-p
("Previous history item") causes a segmentation fault.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1514_show_right_margin:
added keybind CK_Toggle_Show_Margin for toggle show right margin (with empty default key)
add new etitor parameter editor_show_right_margin
Ticket #1514 (show right margin)
* added new color pair EDITOR_RIGHT_MARGIN_COLOR
* show right margin. Used EDITOR_RIGHT_MARGIN_COLOR color for drawing text beyond rigth edge.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Some czech translations wont fit into columns with 80 chars terminal.
This patch reverts translation to older but fitting version.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Currently, deba and debd VFS contains fake directories a-la "14:21
DEBIAN", "14:21 CONTENTS". Items from DEBIAN directory (conffiles,
md5sums, ...) not accessible.
The patch fixes this issues.
Thanks to Serhiy Storchaka for the patch.
* 1915_smbfs_build_fixups:
Replaced WITH_SMBFS by ENABLE_VFS_SMB
vfs/smb: removed own obsolete and broken substitution of strchr
vfs/smb: configure script fixups (for breaks on -Werror)
Ticket #1915: vfs/smb: fixed breakage on strcpy()/strcat()
* mco/1780_remove_errno_decl:
Removed calls to strerror() function from own libsamba implementation.
Removing calls of strerror() function in mc-core
Ticket #1780: removing own declaration of errno and strerror()
Please remember: own libsamba will dropped in near time (we will use libsmbclient instead)
Therefore no need to much changes in own deprecated code.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>