Mercurial > hg > xemacs-beta
comparison src/sysdep.c @ 5735:ff13c44ce0d9
Hack in rudimentary group support for WIN32 in support of Mats ID-FORMAT patch
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Wed, 24 Apr 2013 20:16:14 -0400 |
parents | c30fdcab7bc8 |
children | 427a72c6ee17 |
comparison
equal
deleted
inserted
replaced
5734:aebf53236cff | 5735:ff13c44ce0d9 |
---|---|
3125 #else | 3125 #else |
3126 return copy_in_passwd (getpwuid (uid)); | 3126 return copy_in_passwd (getpwuid (uid)); |
3127 #endif /* WIN32_NATIVE */ | 3127 #endif /* WIN32_NATIVE */ |
3128 } | 3128 } |
3129 | 3129 |
3130 // TODO: WIN32 mapping | |
3131 struct group * | 3130 struct group * |
3132 qxe_getgrgid (gid_t gid) | 3131 qxe_getgrgid (gid_t gid) |
3133 { | 3132 { |
3134 return getgrgid (gid); | 3133 #ifdef WIN32_NATIVE |
3134 return NULL; | |
3135 #else | |
3136 return getgrgid (gid); | |
3137 #endif /* WIN32_NATIVE */ | |
3135 } | 3138 } |
3136 | 3139 |
3137 #ifndef WIN32_NATIVE | 3140 #ifndef WIN32_NATIVE |
3138 | 3141 |
3139 struct passwd * | 3142 struct passwd * |