Changeset 902 in MondoRescue for branches/stable/mindi-busybox/coreutils


Ignore:
Timestamp:
Oct 25, 2006, 12:41:23 AM (18 years ago)
Author:
Bruno Cornec
Message:

mindi-busybox now uses busybox 1.2.2 (Thanks Rob for that last update and good lucck for your future projects).

Location:
branches/stable/mindi-busybox/coreutils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi-busybox/coreutils/md5_sha1_sum.c

    r821 r902  
    9999    if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK)
    100100        flags = bb_getopt_ulflags(argc, argv, "scw");
     101    else optind = 1;
    101102
    102103    if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK && !(flags & FLAG_CHECK)) {
  • branches/stable/mindi-busybox/coreutils/test.c

    r821 r902  
    152152static char **t_wp;
    153153static struct t_op const *t_wp_op;
    154 static gid_t *group_array = NULL;
     154static gid_t *group_array;
    155155static int ngroups;
    156156
     
    548548{
    549549    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    }
    552554}
    553555
Note: See TracChangeset for help on using the changeset viewer.