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

Diff for /src/usr.bin/awk/run.c between version 1.51 and 1.52

version 1.51, 2020/06/10 21:02:33 version 1.52, 2020/06/10 21:03:12
Line 720 
Line 720 
                 tmps = (Cell *) calloc(100, sizeof(Cell));                  tmps = (Cell *) calloc(100, sizeof(Cell));
                 if (!tmps)                  if (!tmps)
                         FATAL("out of space for temporaries");                          FATAL("out of space for temporaries");
                 for(i = 1; i < 100; i++)                  for (i = 1; i < 100; i++)
                         tmps[i-1].cnext = &tmps[i];                          tmps[i-1].cnext = &tmps[i];
                 tmps[i-1].cnext = NULL;                  tmps[i-1].cnext = NULL;
         }          }

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52