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

Diff for /mandoc/mandocd.c between version 1.12 and 1.13

version 1.12, 2020/06/14 23:40:31 version 1.13, 2022/04/14 16:43:44
Line 1 
Line 1 
 /*      $Id$ */  /* $Id$ */
 /*  /*
  * Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org>   * Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org>
  * Copyright (c) 2017, 2019 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2017, 2019, 2021 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 35 
Line 35 
 #include <unistd.h>  #include <unistd.h>
   
 #include "mandoc.h"  #include "mandoc.h"
   #if DEBUG_MEMORY
   #define DEBUG_NODEF 1
   #include "mandoc_dbg.h"
   #endif
 #include "roff.h"  #include "roff.h"
 #include "mdoc.h"  #include "mdoc.h"
 #include "man.h"  #include "man.h"
Line 129  main(int argc, char *argv[])
Line 133  main(int argc, char *argv[])
         int                      state, opt;          int                      state, opt;
         enum outt                outtype;          enum outt                outtype;
   
   #if DEBUG_MEMORY
           mandoc_dbg_init(argc, argv);
   #endif
   
         defos = NULL;          defos = NULL;
         outtype = OUTT_ASCII;          outtype = OUTT_ASCII;
         while ((opt = getopt(argc, argv, "I:T:")) != -1) {          while ((opt = getopt(argc, argv, "I:T:")) != -1) {
Line 240  main(int argc, char *argv[])
Line 248  main(int argc, char *argv[])
         }          }
         mparse_free(parser);          mparse_free(parser);
         mchars_free();          mchars_free();
   #if DEBUG_MEMORY
           mandoc_dbg_finish();
   #endif
         return state == -1 ? 1 : 0;          return state == -1 ? 1 : 0;
 }  }
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb