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

Diff for /mandoc/mdoc_html.c between version 1.35 and 1.36

version 1.35, 2009/10/20 05:45:21 version 1.36, 2009/10/22 18:55:32
Line 456  print_mdoc_node(MDOC_ARGS)
Line 456  print_mdoc_node(MDOC_ARGS)
 static void  static void
 mdoc_root_post(MDOC_ARGS)  mdoc_root_post(MDOC_ARGS)
 {  {
         struct tm        tm;  
         struct htmlpair  tag[2];          struct htmlpair  tag[2];
         struct tag      *t, *tt;          struct tag      *t, *tt;
         char             b[BUFSIZ];          char             b[DATESIZ];
   
           time2a(m->date, b, DATESIZ);
   
         /*          /*
          * XXX: this should use divs, but in Firefox, divs with nested           * XXX: this should use divs, but in Firefox, divs with nested
          * divs for some reason puke when trying to put a border line           * divs for some reason puke when trying to put a border line
          * below.  So I use tables, instead.           * below.  So I use tables, instead.
          */           */
   
         (void)localtime_r(&m->date, &tm);  
   
         if (0 == strftime(b, BUFSIZ - 1, "%B %e, %Y", &tm))  
                 err(EXIT_FAILURE, "strftime");  
   
         PAIR_CLASS_INIT(&tag[0], "footer");          PAIR_CLASS_INIT(&tag[0], "footer");
         bufcat_style(h, "width", "100%");          bufcat_style(h, "width", "100%");

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

CVSweb