[BACK]Return to cgi.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/cgi.c between version 1.42 and 1.44

version 1.42, 2012/03/24 01:46:25 version 1.44, 2012/05/27 17:48:57
Line 733  format(const struct req *req, const char *file)
Line 733  format(const struct req *req, const char *file)
                 return;                  return;
         }          }
   
         mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL);          mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL, NULL);
         rc = mparse_readfd(mp, fd, file);          rc = mparse_readfd(mp, fd, file);
         close(fd);          close(fd);
   
Line 743  format(const struct req *req, const char *file)
Line 743  format(const struct req *req, const char *file)
         }          }
   
         snprintf(opts, sizeof(opts), "fragment,"          snprintf(opts, sizeof(opts), "fragment,"
                         "man=%s/search.html?sec=%%S&expr=%%N,"                          "man=%s/search.html?sec=%%S&expr=Nm~^%%N$,"
                         /*"includes=/cgi-bin/man.cgi/usr/include/%%I"*/,                          /*"includes=/cgi-bin/man.cgi/usr/include/%%I"*/,
                         progname);                          progname);
   

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

CVSweb