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

Diff for /src/usr.bin/mandoc/main.c between version 1.233 and 1.234

version 1.233, 2019/07/15 21:40:28 version 1.234, 2019/07/19 20:25:21
Line 1162 
Line 1162 
         /* For more(1) and less(1), use the tag file. */          /* For more(1) and less(1), use the tag file. */
   
         use_ofn = 1;          use_ofn = 1;
         if ((cmdlen = strlen(argv[0])) >= 4) {          if (*tag_files->tfn != '\0' && (cmdlen = strlen(argv[0])) >= 4) {
                 cp = argv[0] + cmdlen - 4;                  cp = argv[0] + cmdlen - 4;
                 if (strcmp(cp, "less") == 0 || strcmp(cp, "more") == 0) {                  if (strcmp(cp, "less") == 0 || strcmp(cp, "more") == 0) {
                         argv[argc++] = mandoc_strdup("-T");                          argv[argc++] = mandoc_strdup("-T");

Legend:
Removed from v.1.233  
changed lines
  Added in v.1.234