...to avoid conflict with global names.
On HP-UX, inttypes.h includes ctype.h through other dependencies, ctype.h
defines macros for various functions and these macros clash with entries
of "struct str_class".
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_search): immediately return FALSE if str is NULL.
(mc_search_run): immediately return FALSE if user_data is NULL.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Learn keys dialogue shows "smaller buttons" when localized key names
include special chars (as the "á" in "Avanzar página" for es_ES locale).
"%Ns" formats for g_snprintf are not reliable for multibyte encodings.
For larger buttons (> 16 characters), padding size must be zero.
Thanks David Martin for the original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
...and ab7a2b67b48deb4c253b3b6bd983690d71515265.
* src/filemanager/mountlist: do not classify a bind-mounted dir entry
as "dummy".
(ME_DUMMY_0): Rename from ME_DUMMY, but omit the "none"-testing clause.
(ME_DUMMY) [MOUNTED_GETMNTENT1]: New macro to encapsulate the exception
for bind-mounted directories.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 319_edit_flow_column_insertion:
place cursor after inserted chars by 'block move' command
place cursor after inserted chars by 'block copy' command
added option "Cursor after inserted block" in the options dialog of editor
Ticket #319: place cursor after inserted chars
* Added 'editor_cursor_after_inserted_block' config option (default value is: FALSE)
* Cursor placed at end of inserted chars when extern file is inserted under cursor
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 2926_screen_lib_flags:
Clarify usage of AM_CPPFLAGS.
PCRE_CFLAGS are CPPFLAGS, actually.
m4.include/mc-with-screen-slang.m4: clarify usage of CPPFLAGS, CFLAGS and LDFLAGS
Ticket #2926: fail to check ncurses library
...if --with-ncurses-inc and --with-ncurses-libs options are used.
m4.include/mc-with-screen-ncurses.m4: clarify usage of LDFLAGS in
ncurses library checking: add $ac_curses_lib_path.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2924_preserve_dir_attributes:
(copy_dir_dir): get rid of extra string duplication.
(copy_dir_dir): refactoring: get rid of goto dont_mkdir.
Ticket #2924: attributes of existing directories are never preserved.
If superuser copies a directory tree (e.g. from a safe backup location
(with sane permission, owner, group, timestamp) over an existing tree,
any attributes are not preserved. All destination dirs retain all their
existing attributes instead of change attributes from source.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>