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

Diff for /mandoc/Attic/man_action.c between version 1.20 and 1.21

version 1.20, 2009/10/24 05:45:04 version 1.21, 2009/10/27 08:26:12
Line 208  man_atotime(const char *p)
Line 208  man_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 ((pp = strptime(p, "%b %d %Y", &tm)) && 0 == *pp)          if ((pp = strptime(p, "%b %d %Y", &tm)) && 0 == *pp)
                 return(mktime(&tm));                  return(mktime(&tm));

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

CVSweb