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

Diff for /src/usr.bin/less/main.c between version 1.14 and 1.15

version 1.14, 2014/04/25 18:07:41 version 1.15, 2014/05/10 16:45:23
Line 184 
Line 184 
         ifile = NULL_IFILE;          ifile = NULL_IFILE;
 #if !SMALL  #if !SMALL
         if (dohelp)          if (dohelp)
                 ifile = get_ifile(HELPFILE, ifile);                  ifile = get_ifile(helpfile(), ifile);
 #endif /* !SMALL */  #endif /* !SMALL */
         while (argc-- > 0)          while (argc-- > 0)
         {          {
Line 419 
Line 419 
 #endif  #endif
         close_getchr();          close_getchr();
         exit(status);          exit(status);
   }
   
           public char *
   helpfile(void)
   {
           return (less_is_more ? HELPDIR "/more.help" : HELPDIR "/less.help");
 }  }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15