[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.2 and 1.3

version 1.2, 1997/01/22 05:49:19 version 1.3, 1997/01/22 06:43:52
Line 92 
Line 92 
         tfield[0].icol.num = 1;          tfield[0].icol.num = 1;
         weights = ftbl[0].weights;          weights = ftbl[0].weights;
         if (!buffer) {          if (!buffer) {
                 buffer = malloc(BUFSIZE);                  buffer = malloc(BUFSIZE + 1);
                 keylist = malloc(MAXNUM * sizeof(u_char *));                  keylist = malloc(MAXNUM * sizeof(u_char *));
                 if (!SINGL_FLD)                  if (!SINGL_FLD)
                         linebuf = malloc(MAXLLEN);                          linebuf = malloc(MAXLLEN);
         }          }
         bufend = buffer + BUFSIZE - 1;          bufend = buffer + BUFSIZE;
         if (binno >= 0) {          if (binno >= 0) {
                 tfiles.top = infiles.top + nfiles;                  tfiles.top = infiles.top + nfiles;
                 get = getnext;                  get = getnext;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3