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

Diff for /mandoc/manpath.c between version 1.10 and 1.11

version 1.10, 2013/05/29 22:48:10 version 1.11, 2013/06/05 02:00:26
Line 19 
Line 19 
 #include "config.h"  #include "config.h"
 #endif  #endif
   
 #ifdef  USE_MANPATH  
 #include <sys/param.h>  
 #endif  
   
 #include <assert.h>  #include <assert.h>
 #include <ctype.h>  #include <ctype.h>
 #include <limits.h>  #include <limits.h>
Line 44  manpath_parse(struct manpaths *dirs, const char *file,
Line 40  manpath_parse(struct manpaths *dirs, const char *file,
                 char *defp, char *auxp)                  char *defp, char *auxp)
 {  {
 #ifdef  USE_MANPATH  #ifdef  USE_MANPATH
         char             cmd[(MAXPATHLEN * 3) + 20];          char             cmd[(PATH_MAX * 3) + 20];
         FILE            *stream;          FILE            *stream;
         char            *buf;          char            *buf;
         size_t           sz, bsz;          size_t           sz, bsz;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

CVSweb