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

Diff for /mandoc/mandoc.c between version 1.95 and 1.97

version 1.95, 2015/10/12 00:08:15 version 1.97, 2015/10/15 23:35:55
Line 32 
Line 32 
 #include "mandoc_aux.h"  #include "mandoc_aux.h"
 #include "libmandoc.h"  #include "libmandoc.h"
   
 #define DATESIZE 32  
   
 static  int      a2time(time_t *, const char *, const char *);  static  int      a2time(time_t *, const char *, const char *);
 static  char    *time2a(time_t);  static  char    *time2a(time_t);
   
Line 332  mandoc_escape(const char **end, const char **start, in
Line 330  mandoc_escape(const char **end, const char **start, in
                 if (*sz == 7 && ((*start)[1] != '1' || (*start)[2] != '0'))                  if (*sz == 7 && ((*start)[1] != '1' || (*start)[2] != '0'))
                         break;                          break;
                 if (*sz == 6 && (*start)[1] == '0')                  if (*sz == 6 && (*start)[1] == '0')
                           break;
                   if (*sz == 5 && (*start)[1] == 'D' &&
                       strchr("89ABCDEF", (*start)[2]) != NULL)
                         break;                          break;
                 if ((int)strspn(*start + 1, "0123456789ABCDEFabcdef")                  if ((int)strspn(*start + 1, "0123456789ABCDEFabcdef")
                     + 1 == *sz)                      + 1 == *sz)

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.97

CVSweb