--- trunk/mkinitrd-magellan/busybox/coreutils/cut.c 2010/04/29 20:38:48 983 +++ trunk/mkinitrd-magellan/busybox/coreutils/cut.c 2010/05/30 11:32:42 984 @@ -111,7 +111,10 @@ int ndelim = -1; /* zero-based / one-based problem */ int nfields_printed = 0; char *field = NULL; - const char delimiter[2] = { delim, 0 }; + char delimiter[2]; + + delimiter[0] = delim; + delimiter[1] = 0; /* does this line contain any delimiters? */ if (strchr(line, delim) == NULL) { @@ -261,7 +264,7 @@ /* now that the lists are parsed, we need to sort them to make life * easier on us when it comes time to print the chars / fields / lines */ - qsort(cut_lists, nlists, sizeof(struct cut_list), cmpfunc); + qsort(cut_lists, nlists, sizeof(cut_lists[0]), cmpfunc); } {