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

Diff for /src/usr.bin/sed/main.c between version 1.36 and 1.37

version 1.36, 2017/12/13 16:06:34 version 1.37, 2018/07/11 06:57:18
Line 160 
Line 160 
                 termwidth = win.ws_col;                  termwidth = win.ws_col;
         if (termwidth == 0)          if (termwidth == 0)
                 termwidth = 80;                  termwidth = 80;
           if (termwidth <= 8)
                   termwidth = 1;
           else
                   termwidth -= 8;
   
         if (inplace != NULL) {          if (inplace != NULL) {
                 if (pledge("stdio rpath wpath cpath fattr chown", NULL) == -1)                  if (pledge("stdio rpath wpath cpath fattr chown", NULL) == -1)

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37