Changeset 902 in MondoRescue for branches/stable/mindi-busybox/coreutils
- Timestamp:
- Oct 25, 2006, 12:41:23 AM (18 years ago)
- Location:
- branches/stable/mindi-busybox/coreutils
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi-busybox/coreutils/md5_sha1_sum.c
r821 r902 99 99 if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK) 100 100 flags = bb_getopt_ulflags(argc, argv, "scw"); 101 else optind = 1; 101 102 102 103 if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK && !(flags & FLAG_CHECK)) { -
branches/stable/mindi-busybox/coreutils/test.c
r821 r902 152 152 static char **t_wp; 153 153 static struct t_op const *t_wp_op; 154 static gid_t *group_array = NULL;154 static gid_t *group_array; 155 155 static int ngroups; 156 156 … … 548 548 { 549 549 ngroups = getgroups(0, NULL); 550 group_array = xrealloc(group_array, ngroups * sizeof(gid_t)); 551 getgroups(ngroups, group_array); 550 if (ngroups > 0) { 551 group_array = xmalloc(ngroups * sizeof(gid_t)); 552 getgroups(ngroups, group_array); 553 } 552 554 } 553 555
Note:
See TracChangeset
for help on using the changeset viewer.