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

Diff for /src/usr.bin/tset/tset.c between version 1.41 and 1.42

version 1.41, 2019/06/28 13:35:05 version 1.42, 2021/06/22 18:32:24
Line 110 
Line 110 
 #undef CTRL  #undef CTRL
 #define CTRL(x) ((x) & 0x1f)  #define CTRL(x) ((x) & 0x1f)
   
 const char *_nc_progname = "tset";  const char *_nc_progname;
   
 static TTY mode, oldmode, original;  static TTY mode, oldmode, original;
   
Line 1136 
Line 1136 
     const char *p;      const char *p;
     const char *ttype;      const char *ttype;
   
       _nc_progname = _nc_rootname(*argv);
   
     if (pledge("stdio rpath wpath tty", NULL) == -1)      if (pledge("stdio rpath wpath tty", NULL) == -1)
         err("pledge: %s", strerror(errno));          err("pledge: %s", strerror(errno));
   
Line 1198 
Line 1200 
             usage();              usage();
         }          }
     }      }
   
     _nc_progname = _nc_rootname(*argv);  
     argc -= optind;      argc -= optind;
     argv += optind;      argv += optind;
   

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42