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

Diff for /src/usr.bin/awk/lib.c between version 1.20 and 1.21

version 1.20, 2011/09/28 19:27:18 version 1.21, 2015/03/27 10:09:30
Line 648 
Line 648 
         static int been_here = 0;          static int been_here = 0;
         extern char ebuf[], *ep;          extern char ebuf[], *ep;
   
         if (compile_time == 2 || compile_time == 0 || been_here++ > 0)          if (compile_time == 2 || compile_time == 0 || been_here++ > 0 ||
               ebuf == ep)
                 return;                  return;
         p = ep - 1;          p = ep - 1;
         if (p > ebuf && *p == '\n')          if (p > ebuf && *p == '\n')

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21