Changeset 1318 in kBuild
- Timestamp:
- Dec 2, 2007 6:57:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/test.c
r1316 r1318 594 594 if ((maxgroups = getgroups(0, NULL)) <= 0) 595 595 maxgroups = NGROUPS_MAX; /* pre-POSIX system? */ 596 # ifdef kmk_builtin_test 597 groups = malloc((maxgroups + 1) * sizeof(gid_t)); 598 # else 596 599 groups = xmalloc((maxgroups + 1) * sizeof(gid_t)); 600 # endif 597 601 n = getgroups(maxgroups, groups); 598 602 while (--n >= 0) {
Note:
See TracChangeset
for help on using the changeset viewer.