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

Diff for /mandoc/Attic/mdoc_strings.c between version 1.10 and 1.12

version 1.10, 2009/08/20 13:32:09 version 1.12, 2009/10/27 08:26:12
Line 20 
Line 20 
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
   #include <time.h>
   
 #include "libmdoc.h"  #include "libmdoc.h"
   
Line 130  mdoc_atotime(const char *p)
Line 131  mdoc_atotime(const char *p)
         struct tm        tm;          struct tm        tm;
         char            *pp;          char            *pp;
   
         bzero(&tm, sizeof(struct tm));          memset(&tm, 0, sizeof(struct tm));
   
         if (0 == strcmp(p, "$" "Mdocdate$"))          if (0 == strcmp(p, "$" "Mdocdate$"))
                 return(time(NULL));                  return(time(NULL));

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

CVSweb