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

Diff for /mandoc/Attic/argv.c between version 1.52 and 1.55

version 1.52, 2009/03/16 22:19:19 version 1.55, 2009/03/21 21:09:00
Line 1 
Line 1 
 /* $Id$ */  /* $Id$ */
 /*  /*
  * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>   * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@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   * purpose with or without fee is hereby granted, provided that the
Line 222  static int mdoc_argflags[MDOC_MAX] = {
Line 222  static int mdoc_argflags[MDOC_MAX] = {
         ARGS_QUOTED, /* %C */          ARGS_QUOTED, /* %C */
         0, /* Es */          0, /* Es */
         0, /* En */          0, /* En */
           0, /* Dx */
           ARGS_QUOTED, /* %Q */
 };  };
   
   
Line 328  mdoc_argv_free(struct mdoc_arg *p)
Line 330  mdoc_argv_free(struct mdoc_arg *p)
                 if (0 == p->argv[i].sz)                  if (0 == p->argv[i].sz)
                         continue;                          continue;
                 /* LINTED */                  /* LINTED */
                 for (j = 0; j < (int)p->argv[i].sz; j++)                  for (j = 0; j < (int)p->argv[i].sz; j++)
                         free(p->argv[i].value[j]);                          free(p->argv[i].value[j]);
   
                 free(p->argv[i].value);                  free(p->argv[i].value);

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.55

CVSweb