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

Diff for /mandoc/Attic/mdoc_action.c between version 1.47 and 1.48

version 1.47, 2009/10/30 18:50:11 version 1.48, 2009/10/31 06:10:58
Line 19 
Line 19 
 #endif  #endif
   
 #include <assert.h>  #include <assert.h>
 #include <errno.h>  
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
Line 504  post_dt(POST_ARGS)
Line 503  post_dt(POST_ARGS)
         if (cp) {          if (cp) {
                 /* FIXME: where is strtonum!? */                  /* FIXME: where is strtonum!? */
                 m->meta.vol = mandoc_strdup(cp);                  m->meta.vol = mandoc_strdup(cp);
                 errno = 0;  
                 lval = strtol(nn->string, &ep, 10);                  lval = strtol(nn->string, &ep, 10);
                 if (nn->string[0] != '\0' && *ep == '\0')                  if (nn->string[0] != '\0' && *ep == '\0')
                         m->meta.msec = (int)lval;                          m->meta.msec = (int)lval;

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

CVSweb