* 2889_cleanup: (47 commits)
Sync with gnulib 40f82767840187c20051ca99385f75a42f92de99.
Add extra checks in macro engine.
Ticket #2935: update uc1541 extfs plug-in up to version 2.5.
Portability: rename some str_class members
Portability: ESC_CHAR is defined in /usr/include/langinfo.h in some systems
Cleanup code related to GLib < 2.12.
Portability: use g_ascii_strtoll instead of strtoll, atoll and atof.
Fix crash when user menu is called in editor with no filename.
Optimization of SIGWINCH handling.
Parenthesis around some -1.
src/filemanager/mountlist.c: use GLib functions to allocate/free memory.
Sync with gnulib 613bcb6205cf2b64d835c19074c5a7e7c6cb99eb
FileOpContext::preserve: make gboolean.
FileOpContext::dive_into_subdirs: make gboolean.
Don't create copy/move progress dialog for background operations.
src/vfs/tar/tar.c: types accuracy.
src/vfs/cpio/cpio.c: types accuracy.
vfs_s_subclass::linear_read: return ssize_t instead of int.
lib/vfs/direntry.c: types accuracy.
lib/vfs/vfs.h: indentation.
...
mountlist: recognize more "dummy" file systems
* src/filenamager/mountlist.c (ME_DUMMY_0):
Add these dummy FS names to the list:
- "debugfs" virtual filesystem for kernel debugging
- "devpts" PTY slave filesystem
- "devtmpfs" device filesystem on top of tmpfs/ramfs
- "fusectl" control filesystem for FUSE
- "mqueue" enumerates POSIX message queues
- "rpc_pipefs" kernel <-> userspace bridge for NFS
- "sysfs" is for exporting kernel objects
- "devfs" device filesystem for Linux 2.4 and FreeBSD
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
...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>
...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>
steps to reproduce:
1) create text
111111111111111111
222222222222222222
333333333333333333
444444444444444444
555555555555555555
2) select text from line 2 to line 4
3) move cursor to line 3
4) press F6
The block was moved but should't.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>