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

Diff for /src/usr.bin/less/cmdbuf.c between version 1.20 and 1.21

version 1.20, 2019/09/02 14:07:45 version 1.21, 2021/09/23 18:46:25
Line 20 
Line 20 
 #include "cmd.h"  #include "cmd.h"
 #include "less.h"  #include "less.h"
   
   extern int secure;
 extern int sc_width;  extern int sc_width;
 extern int utf_mode;  extern int utf_mode;
   
Line 1203 
Line 1204 
         FILE *f;          FILE *f;
         char *p;          char *p;
   
           if (secure)
                   return;
         filename = histfile_name();          filename = histfile_name();
         if (filename == NULL)          if (filename == NULL)
                 return;                  return;
Line 1274 
Line 1277 
         struct stat statbuf;          struct stat statbuf;
         int r;          int r;
   
           if (secure)
                   return;
         if (mlist_search.modified)          if (mlist_search.modified)
                 modified = 1;                  modified = 1;
         if (mlist_shell.modified)          if (mlist_shell.modified)

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