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

Diff for /mandoc/mandocd.c between version 1.3 and 1.8

version 1.3, 2017/02/06 19:02:37 version 1.8, 2018/12/14 01:18:26
Line 17 
Line 17 
  */   */
 #include "config.h"  #include "config.h"
   
   #if HAVE_CMSG_XPG42
   #define _XPG4_2
   #endif
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/socket.h>  #include <sys/socket.h>
   
Line 34 
Line 38 
 #include "roff.h"  #include "roff.h"
 #include "mdoc.h"  #include "mdoc.h"
 #include "man.h"  #include "man.h"
   #include "mandoc_parse.h"
 #include "main.h"  #include "main.h"
 #include "manconf.h"  #include "manconf.h"
   
Line 45  enum outt {
Line 50  enum outt {
   
 static  void      process(struct mparse *, enum outt, void *);  static  void      process(struct mparse *, enum outt, void *);
 static  int       read_fds(int, int *);  static  int       read_fds(int, int *);
 static  void      usage(void) __attribute__((noreturn));  static  void      usage(void) __attribute__((__noreturn__));
   
   
 #define NUM_FDS 3  #define NUM_FDS 3
Line 167  main(int argc, char *argv[])
Line 172  main(int argc, char *argv[])
   
         mchars_alloc();          mchars_alloc();
         parser = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1,          parser = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1,
             MANDOCLEVEL_BADARG, NULL, defos);              MANDOC_OS_OTHER, defos);
   
         memset(&options, 0, sizeof(options));          memset(&options, 0, sizeof(options));
         switch (outtype) {          switch (outtype) {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.8

CVSweb