2018-06-04 00:57:46 +02:00
|
|
|
diff -u -r ../mc-4.8.21/src/filemanager/achown.c ./src/filemanager/achown.c
|
|
|
|
--- ../mc-4.8.21/src/filemanager/achown.c 2018-05-27 19:56:21.000000000 +0000
|
|
|
|
+++ ./src/filemanager/achown.c 2018-06-03 22:53:50.499299792 +0000
|
|
|
|
@@ -564,22 +564,26 @@
|
|
|
|
listbox_add_item (chl_list, LISTBOX_APPEND_AT_END, 0, "<Unknown>", NULL, FALSE);
|
2015-11-21 00:04:00 +01:00
|
|
|
if (is_owner)
|
|
|
|
{
|
|
|
|
+#ifndef __ANDROID__
|
2018-06-04 00:57:46 +02:00
|
|
|
/* get and put user names in the listbox */
|
2015-11-21 00:04:00 +01:00
|
|
|
setpwent ();
|
|
|
|
while ((chl_pass = getpwent ()) != NULL)
|
|
|
|
listbox_add_item (chl_list, LISTBOX_APPEND_SORTED, 0, chl_pass->pw_name, NULL,
|
|
|
|
FALSE);
|
|
|
|
endpwent ();
|
2018-06-04 00:57:46 +02:00
|
|
|
+#endif
|
|
|
|
fe = listbox_search_text (chl_list, get_owner (sf_stat.st_uid));
|
2015-11-21 00:04:00 +01:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
+#ifndef __ANDROID__
|
2018-06-04 00:57:46 +02:00
|
|
|
/* get and put group names in the listbox */
|
2015-11-21 00:04:00 +01:00
|
|
|
setgrent ();
|
|
|
|
while ((chl_grp = getgrent ()) != NULL)
|
|
|
|
listbox_add_item (chl_list, LISTBOX_APPEND_SORTED, 0, chl_grp->gr_name, NULL,
|
|
|
|
FALSE);
|
|
|
|
endgrent ();
|
|
|
|
+#endif
|
2018-06-04 00:57:46 +02:00
|
|
|
fe = listbox_search_text (chl_list, get_group (sf_stat.st_gid));
|
2015-11-21 00:04:00 +01:00
|
|
|
}
|
|
|
|
|