Andrew Borodin
db716c3c7a
dir_list: fix memory leak when list is free'd.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
25a9aa1d45
Sync with gnulib f7a6286e04209da1bc7b1820002b6a5c32638369.
...
mountlist: Improve support for Solaris in 64-bit mode.
* m4.include/gnulib/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): On
Solaris 8 or newer, define MOUNTED_GETEXTMNTENT instead of
MOUNTED_GETMNTENT2.
* src/filemanager/mountlist.c: Add code for MOUNTED_GETEXTMNTENT case.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
6d593567d1
Sync with gnulib d1327df1f1c9bae26571e6699800c8d1c4712afb.
...
mountlist: Add support for Minix.
* m4.include/gnulib/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't
use AC_CHECK_FUNCS to check for 'getmntinfo'.
* src/filemanager/mountlist.c: Update comments.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
5cf5a034ae
Sync with gnulib fa3e2ad20d10d648cc74a5d320ce531a80ff7b1f.
...
Make better use of Autoconf.
* m4.include/gnulib/fsusage.m4: Use AC_CACHE_CHECK where possible.
Modernize indentation.
* m4.include/gnulib/ls-mntd-fs.m4: Likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
849bfb26f8
Sync with gnulib 74c29c68bba3fe7c2f02eb3fc9f7ef196cec1bc6.
...
mountlist: Modernize platform lists.
* m4.include/gnulib/ls-mntd-fs.m4: Clarify which MOUNTED_* symbol
applies to which platforms, deemphasizing the obsolete ones.
* src/filemanager/filegui.c: Likewise.
* src/filemanager/mountlist.c: Likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Anatoly Kitaykin
1182dbdd93
misc/ext.d/doc.sh.in: fix program name.
...
Reported: https://bugzilla.altlinux.org/show_bug.cgi?id=35506 .
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
3b8ee664f2
src/background.c: clean up and fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
6d79aa7d5d
(destroy_task_and_return_fd): rename to destroy_task.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
08136039b6
Ticket #3915 : code clean up before 4.8.22 release.
...
(destroy_task_and_return_fd): fix access after free.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
791148ed66
Merge branch '3943_crash_ctrl_o'
...
* 3943_crash_ctrl_o:
Ticket #3943 : fix crash when switching from subshell.
2018-11-03 20:52:15 +03:00
Andrew Borodin
071dbd9076
Ticket #3943 : fix crash when switching from subshell.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-03 20:49:48 +03:00
Andrew Borodin
1a9206ac0e
doc/hints/l10n/mc.hint.*: fix formating.
...
Spaces are escaped, but MC doesn't support escaping them here.
Fix C-\ shotrcut.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-03 09:10:14 +03:00
Krzysztof Bociurko
d824401a7b
doc/hints/l10n/mc.hint.be: fix formating.
...
Spaces are escaped, but MC doesn't support escaping them here.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-03 09:08:31 +03:00
Krzysztof Bociurko
01aa4012d8
doc/hints/l10n/mc.hint.pl: fix formating.
...
Spaces are escaped, but MC doesn't support escaping them here.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-31 10:04:30 +03:00
Andrew Borodin
92514fb884
Merge branch '3944_fish_prompt'
...
* 3944_fish_prompt:
Ticket 3944: support user-defined prompt in the fish subshell.
2018-10-21 19:55:05 +03:00
Andrzej Pronobis
c5aaeda39c
Ticket 3944: support user-defined prompt in the fish subshell.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-21 19:53:21 +03:00
Andrew Borodin
5bb73ee1c8
Merge branch '3937_sftp_auth_crash'
...
* 3937_sftp_auth_crash:
Ticket #3937 : fix crash when trying some sftp connections.
2018-10-20 18:53:00 +03:00
Andrew Borodin
5dacf75cef
Ticket #3937 : fix crash when trying some sftp connections.
...
(sftpfs_recognize_auth_types): fix dereference of NULL returned by
libssh2_userauth_list().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:51:40 +03:00
Andrew Borodin
edb89d55b8
Merge branch '3678_hardlink_error'
...
* 3678_hardlink_error:
Update po/*.po files.
Handle hard link creation error.
(file_error): allow show query dialog w/o Rerty action.
(check_hardlinks): refactoring:
(is_in_linklist): refactoring: return pointer to found link.
(check_hardlinks): make error message more verbose.
Ticket #3678 : handle hardlink creation errors.
2018-10-20 18:42:54 +03:00
Andrew Borodin
5c4c2fa0ad
Update po/*.po files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:40:56 +03:00
Andrew Borodin
2c2e41c167
Handle hard link creation error.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
0f0dbc2b2e
(file_error): allow show query dialog w/o Rerty action.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
022f15d9f0
(check_hardlinks): refactoring:
...
* use is_in_linklist() to search the hard link in cache;
* reduce variable scopes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
c94cd7620d
(is_in_linklist): refactoring: return pointer to found link.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
7c9e3817ce
(check_hardlinks): make error message more verbose.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
7e5ee0e512
Ticket #3678 : handle hardlink creation errors.
...
Initial step: (check_hardlinks): refactopring:
* reorder and rename parameters;
* check number of hard links here;
* Do not fill struct with zero. Set up members explicitly instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Vitold S
49945f40c8
Ticket #3940 : add Meson syntax highlighting.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-15 14:33:20 +03:00
Andrew Borodin
1fec6e9854
Partially revert "VFS: (vfs_s_subclass): make the derived class from vfs_class."
...
This reverts commit 5d1284c4a6
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-10 12:47:12 +03:00
Andrew Borodin
c7206191bc
Revert "VFS: make VFS-specific super class as derived one from vfs_s_super."
...
This reverts commit ab033ad318
.
2018-09-10 12:47:12 +03:00
Andrew Borodin
c91e3d5edb
Revert "VFS: make VFS-specific file handler class the derived one from vfs_file_handler_t."
...
This reverts commit 2d58e4d624
.
2018-09-10 12:47:12 +03:00
Marco Ciampa
63a9750e5e
Updated Italian translation
2018-09-10 08:39:07 +02:00
Andrew Borodin
b5a768200e
src/subshell/common.c: fix #ifdef.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 20:39:12 +03:00
Andrew Borodin
4d7531ec3e
Merge branch '3915_cleanup'
...
* 3915_cleanup: (25 commits)
Update po/*.po files.
(init_subshell): use openpty() to open master/slave devices for subshell.
m4.include: move Gnulib modules to their own subdirectory.
(vfs_preallocate): check mc_global.vfs.preallocate_space before call.
(filegui__check_attrs_on_fs): check copymove_persistent_attr before call.
(dlg_run_done): fix possible NULL dereference.
(dlg_init): fix possible NULL dereference.
doc: clarify description of system-wide confiduration files.
Clarify usage of FL_NONE value.
extfs: optimization: get rid of extra memory duplication.
(file_mask_dialog): don't return an empty string.
(file_mask_dialog): grammar.
(str_ptr_array_join): constify argument.
(extfs_get_path): use standard VFS flags.
(extfs_find_entry): use standard VFS flags.
extfs: constify some function arguments.
extfs: refactoring: rename structures...
extfs: refactoring: rename some structure members...
extfs: refactoring: struct inode: use struct stat instead of separate members.
extfs: refactoring: use GSList to store archive list.
...
2018-09-09 19:18:03 +03:00
Andrew Borodin
dd1c418677
Update po/*.po files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:17:18 +03:00
Andrew Borodin
a7ff88d24c
(init_subshell): use openpty() to open master/slave devices for subshell.
...
Thanks Jesse R. Gorzinski <jgorzins@us.ibm.com> for the original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
3909ef1bc5
m4.include: move Gnulib modules to their own subdirectory.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
88d6157323
(vfs_preallocate): check mc_global.vfs.preallocate_space before call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
357711da33
(filegui__check_attrs_on_fs): check copymove_persistent_attr before call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
669a8e3e17
(dlg_run_done): fix possible NULL dereference.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
b9194d8c8a
(dlg_init): fix possible NULL dereference.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
92419cf797
doc: clarify description of system-wide confiduration files.
2018-09-09 19:10:43 +03:00
Andrew Borodin
b684ce2565
Clarify usage of FL_NONE value.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
8cbb9cd1ac
extfs: optimization: get rid of extra memory duplication.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
32687c9c4e
(file_mask_dialog): don't return an empty string.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
0af1c270e2
(file_mask_dialog): grammar.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
eb507862ff
(str_ptr_array_join): constify argument.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
42469e2016
(extfs_get_path): use standard VFS flags.
2018-09-09 19:10:43 +03:00
Andrew Borodin
a91323f7ac
(extfs_find_entry): use standard VFS flags.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
01a00e7ce6
extfs: constify some function arguments.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
c29f068457
extfs: refactoring: rename structures...
...
to unify it with standard VFS ones.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00