mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
Ticket #4464: FTBFS without ext2fs attributes support.
Closes MidnightCommander/mc#188. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
ec3f142b86
commit
cfe9ae814b
@ -265,9 +265,11 @@ info_show_info (WInfo * info)
|
||||
|
||||
vpath = vfs_path_from_str (current_panel->dir.list[current_panel->selected].fname->str);
|
||||
|
||||
#ifdef ENABLE_EXT2FS_ATTR
|
||||
if (mc_fgetflags (vpath, &attr) == 0)
|
||||
tty_printf (_("Attributes: %s"), chattr_get_as_str (attr));
|
||||
else
|
||||
#endif
|
||||
tty_print_string (_("Attributes: unavailable"));
|
||||
|
||||
vfs_path_free (vpath, TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user