1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

common: fix for Linux

This commit is contained in:
Arcterus 2014-06-18 17:24:56 -07:00
parent ce3b45b503
commit 7866f967ef

View file

@ -161,7 +161,7 @@ pub fn get_group_list(name: *c_char, gid: gid_t) -> Vec<gid_t> {
#[cfg(target_os = "linux")]
#[inline(always)]
unsafe fn get_group_list_internal(name: *c_char, gid: gid_t, groups: *mut gid_t, grcnt: *mut c_int) -> c_int {
getgrouplist(name, gid, groups, grcnt);
getgrouplist(name, gid, groups, grcnt)
}
#[cfg(target_os = "macos")]