| 1 | diff -u -r ../mc-4.8.15/src/filemanager/chown.c ./src/filemanager/chown.c |
| 2 | --- ../mc-4.8.15/src/filemanager/chown.c 2015-11-06 04:11:09.000000000 -0500 |
| 3 | +++ ./src/filemanager/chown.c 2015-11-20 18:01:45.372666628 -0500 |
| 4 | @@ -220,10 +220,12 @@ |
| 5 | /* add field for unknown names (numbers) */ |
| 6 | listbox_add_item (l_user, LISTBOX_APPEND_AT_END, 0, _("<Unknown user>"), NULL, FALSE); |
| 7 | /* get and put user names in the listbox */ |
| 8 | +#ifndef __ANDROID__ |
| 9 | setpwent (); |
| 10 | while ((l_pass = getpwent ()) != NULL) |
| 11 | listbox_add_item (l_user, LISTBOX_APPEND_SORTED, 0, l_pass->pw_name, NULL, FALSE); |
| 12 | endpwent (); |
| 13 | +#endif |
| 14 | |
| 15 | add_widget (ch_dlg, groupbox_new (2, 4 + GW, GH, GW, _("Group name"))); |
| 16 | l_group = listbox_new (3, 5 + GW, GH - 2, GW - 2, FALSE, NULL); |
| 17 | @@ -231,10 +233,12 @@ |
| 18 | /* add field for unknown names (numbers) */ |
| 19 | listbox_add_item (l_group, LISTBOX_APPEND_AT_END, 0, _("<Unknown group>"), NULL, FALSE); |
| 20 | /* get and put group names in the listbox */ |
| 21 | +#ifndef __ANDROID__ |
| 22 | setgrent (); |
| 23 | while ((l_grp = getgrent ()) != NULL) |
| 24 | listbox_add_item (l_group, LISTBOX_APPEND_SORTED, 0, l_grp->gr_name, NULL, FALSE); |
| 25 | endgrent (); |
| 26 | +#endif |
| 27 | |
| 28 | add_widget (ch_dlg, groupbox_new (2, 5 + GW * 2, GH, GW, _("File"))); |
| 29 | /* add widgets for the file information */ |