[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.42 and 1.43

version 1.42, 2009/10/28 08:00:18 version 1.43, 2009/10/30 18:53:08
Line 19 
Line 19 
   
 #include <assert.h>  #include <assert.h>
 #include <ctype.h>  #include <ctype.h>
 #include <err.h>  
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
Line 1115  mdoc_bl_pre(MDOC_ARGS)
Line 1114  mdoc_bl_pre(MDOC_ARGS)
                 return(1);                  return(1);
   
         ord = malloc(sizeof(struct ord));          ord = malloc(sizeof(struct ord));
         if (NULL == ord)          if (NULL == ord) {
                 err(EXIT_FAILURE, "malloc");                  fprintf(stderr, "memory exhausted\n");
                   exit(EXIT_FAILURE);
           }
         ord->cookie = n;          ord->cookie = n;
         ord->pos = 1;          ord->pos = 1;
         ord->next = h->ords.head;          ord->next = h->ords.head;

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

CVSweb