[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.200 and 1.201

version 1.200, 2017/07/02 15:31:48 version 1.201, 2017/07/02 21:17:12
Line 814 
Line 814 
                         continue;                          continue;
                 if (fs_search(&search, &paths, 1, &xr->name, NULL, &sz))                  if (fs_search(&search, &paths, 1, &xr->name, NULL, &sz))
                         continue;                          continue;
                 mandoc_asprintf(&cp, "Xr %s %s", xr->name, xr->sec);                  if (xr->count == 1)
                           mandoc_asprintf(&cp, "Xr %s %s", xr->name, xr->sec);
                   else
                           mandoc_asprintf(&cp, "Xr %s %s (%d times)",
                               xr->name, xr->sec, xr->count);
                 mmsg(MANDOCERR_XR_BAD, MANDOCLEVEL_STYLE,                  mmsg(MANDOCERR_XR_BAD, MANDOCLEVEL_STYLE,
                     file, xr->line, xr->pos + 1, cp);                      file, xr->line, xr->pos + 1, cp);
                 free(cp);                  free(cp);

Legend:
Removed from v.1.200  
changed lines
  Added in v.1.201