Ticket #19353: kio-kfile-kpropertiesdialog.patch
File kio-kfile-kpropertiesdialog.patch, 748 bytes (added by astricker@…, 16 years ago) |
---|
-
kdelibs-4.2.2/kio/kfile/kpropertiesdialog.cpp
or .. 1767 1767 strUser = user->pw_name; 1768 1768 1769 1769 #ifdef Q_OS_UNIX 1770 #ifdef Q_OS_MAC 1771 typedef int group_id_t_; 1772 #else 1773 typedef gid_t group_id_t_; 1774 #endif 1775 1770 1776 // pick the groups to which the user belongs 1771 1777 int groupCount = 0; 1772 g id_t*groups = NULL;1778 group_id_t_ *groups = NULL; 1773 1779 if (getgrouplist(strUser, user->pw_gid, NULL, &groupCount) < 0) { 1774 groups = new g id_t[groupCount];1780 groups = new group_id_t_[groupCount]; 1775 1781 if (groups) { 1776 1782 getgrouplist(strUser, user->pw_gid, groups, &groupCount); 1777 1783 } else {