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

Diff for /mandoc/soelim.c between version 1.1 and 1.5

version 1.1, 2015/05/20 20:55:04 version 1.5, 2015/11/07 14:22:29
Line 1 
Line 1 
 /*-  /*      $Id$    */
   /*
  * Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org>   * Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org>
  * All rights reserved.   * All rights reserved.
  *   *
Line 23 
Line 24 
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */   */
   #include "config.h"
   
 #include <sys/cdefs.h>  #include <sys/types.h>
 __FBSDID("$FreeBSD$");  
   
 #include <sys/param.h>  #include <ctype.h>
   #if HAVE_ERR
 #define _WITH_GETLINE  #include <err.h>
   #endif
   #include <limits.h>
 #include <stdio.h>  #include <stdio.h>
 #include <unistd.h>  
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdbool.h>  
 #include <string.h>  #include <string.h>
   #if HAVE_STRINGLIST
 #include <stringlist.h>  #include <stringlist.h>
 #include <err.h>  #else
 #include <ctype.h>  #include "compat_stringlist.h"
   #endif
   #include <unistd.h>
   
 #define C_OPTION 0x1  #define C_OPTION 0x1
   
Line 56  static FILE *
Line 60  static FILE *
 soelim_fopen(const char *name)  soelim_fopen(const char *name)
 {  {
         FILE *f;          FILE *f;
         char path[MAXPATHLEN];          char path[PATH_MAX];
         size_t i;          size_t i;
   
         if (strcmp(name, "-") == 0)          if (strcmp(name, "-") == 0)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

CVSweb