version 1.40, 2010/08/01 15:46:18 |
version 1.42, 2010/08/20 01:02:07 |
|
|
#include <time.h> |
#include <time.h> |
#include <unistd.h> |
#include <unistd.h> |
|
|
|
#include "mandoc.h" |
#include "out.h" |
#include "out.h" |
#include "main.h" |
#include "main.h" |
#include "term.h" |
#include "term.h" |
Line 362 ps_growbuf(struct termp *p, size_t sz) |
|
Line 363 ps_growbuf(struct termp *p, size_t sz) |
|
|
|
if (sz < PS_BUFSLOP) |
if (sz < PS_BUFSLOP) |
sz = PS_BUFSLOP; |
sz = PS_BUFSLOP; |
|
|
p->engine.ps.psmargsz += sz; |
p->engine.ps.psmargsz += sz; |
|
|
p->engine.ps.psmarg = realloc(p->engine.ps.psmarg, |
p->engine.ps.psmarg = realloc |
p->engine.ps.psmargsz); |
(p->engine.ps.psmarg, |
if (NULL == p->engine.ps.psmarg) |
p->engine.ps.psmargsz); |
|
|
|
if (NULL == p->engine.ps.psmarg) { |
perror(NULL); |
perror(NULL); |
exit(EXIT_FAILURE); |
exit(MANDOCLEVEL_SYSERR); |
|
} |
} |
} |
|
|
static double ps_hspan(const struct termp *, |
static double ps_hspan(const struct termp *, |
Line 604 pdf_obj(struct termp *p, size_t obj) |
|
Line 609 pdf_obj(struct termp *p, size_t obj) |
|
p->engine.ps.pdfobjsz * sizeof(size_t)); |
p->engine.ps.pdfobjsz * sizeof(size_t)); |
if (NULL == p->engine.ps.pdfobjs) { |
if (NULL == p->engine.ps.pdfobjs) { |
perror(NULL); |
perror(NULL); |
exit(EXIT_FAILURE); |
exit(MANDOCLEVEL_SYSERR); |
} |
} |
} |
} |
|
|