summaryrefslogtreecommitdiff
path: root/MORE.STUFF
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-06-18 10:09:09 +0000
committerwlemb <wlemb>2000-06-18 10:09:09 +0000
commitd98dd82860df3e6e59efbe4c102dbcf2e7da573b (patch)
treed232e754b81d42ea8797a70090038c91f8f6d704 /MORE.STUFF
parent94fdf47cea877497dc8a86706c16b08331e14ba0 (diff)
downloadgroff-d98dd82860df3e6e59efbe4c102dbcf2e7da573b.tar.gz
* html.cc [!_POSIX_VERSION]: Include limits.h and dirent.h or
sys/dir.h. Define NAME_MAX using MAXNAMLEN. Include nonposix.h. (file_name_max): New function. (html_printer::make_new_image_name): If the filesystem doesn't support file names longer than 14 characters, use a shorter image_name string. (html_printer::convert_to_image): Enlarge the size of buffer[] to accomodate 2 temp file names plus some slack. Don't put n at the end of commands passed to system(). Redirect stderr to the null device programmatically, not via the shell. Use NULL_DEV, not literal "/dev/null". Print diagnostics if any calls to system() failed. irrespective of the boolean `margin_on'. Fixes a divide by zero bug and a column bug as reported by Steve Blinkhorn <steve@prd.co.uk>.
Diffstat (limited to 'MORE.STUFF')
0 files changed, 0 insertions, 0 deletions