[BACK]Return to fsort.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sort

Diff for /src/usr.bin/sort/Attic/fsort.c between version 1.18 and 1.19

version 1.18, 2007/03/13 17:33:58 version 1.19, 2007/08/21 20:29:25
Line 173 
Line 173 
                 }                  }
                 get = getnext;                  get = getnext;
                 if (!ntfiles && !mfct) {        /* everything in memory--pop */                  if (!ntfiles && !mfct) {        /* everything in memory--pop */
                         if (nelem > 1 && radixsort((const u_char **)keylist,                          if (nelem > 1) {
                             nelem, weights, REC_D))                                  if (STABLE) {
                                 err(2, NULL);                                          i = sradixsort((const u_char **)keylist,
                                               nelem, weights, REC_D);
                                   } else {
                                           i = radixsort((const u_char **)keylist,
                                               nelem, weights, REC_D);
                                   }
                                   if (i)
                                           err(2, NULL);
                           }
                         append(keylist, nelem, depth, outfp, putline, ftbl);                          append(keylist, nelem, depth, outfp, putline, ftbl);
                         break;                                  /* pop */                          break;                                  /* pop */
                 }                  }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19