diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-06 14:51:33 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-06 14:51:33 +0000 |
commit | 28d6df0334340cc773572c1c4897bdc640d5423a (patch) | |
tree | 6e52cce35b8d4b8ff25904ba0a8826ed9a2ebc62 /Build/source/texk/web2c/luatexdir/luatex.h | |
parent | edcc5909521192431cf3dc89feada0b78a307c22 (diff) |
GFtoDVI: write DVI file with error checking (as in TeX)
git-svn-id: svn://tug.org/texlive/trunk@25318 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luatex.h')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luatex.h b/Build/source/texk/web2c/luatexdir/luatex.h index b933237dfce..f10165aa8ee 100644 --- a/Build/source/texk/web2c/luatexdir/luatex.h +++ b/Build/source/texk/web2c/luatexdir/luatex.h @@ -90,13 +90,7 @@ extern void ipcpage(int); # endif /* IPC */ -/* How to output to the GF or DVI file. */ -# define WRITE_OUT(a, b) \ - if (fwrite ((char *) &OUT_BUF[a], sizeof (OUT_BUF[a]), \ - (int) ((b) - (a) + 1), OUT_FILE) \ - != (int) ((b) - (a) + 1)) \ - FATAL_PERROR ("fwrite"); - +/* How to flush the DVI file. */ # define flush_out() fflush (OUT_FILE) /* Read a line of input as quickly as possible. */ |