summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/texmfmp.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-06 14:51:33 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-06 14:51:33 +0000
commit28d6df0334340cc773572c1c4897bdc640d5423a (patch)
tree6e52cce35b8d4b8ff25904ba0a8826ed9a2ebc62 /Build/source/texk/web2c/texmfmp.h
parentedcc5909521192431cf3dc89feada0b78a307c22 (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/texmfmp.h')
-rw-r--r--Build/source/texk/web2c/texmfmp.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Build/source/texk/web2c/texmfmp.h b/Build/source/texk/web2c/texmfmp.h
index e40a6169dde..02510f70673 100644
--- a/Build/source/texk/web2c/texmfmp.h
+++ b/Build/source/texk/web2c/texmfmp.h
@@ -174,13 +174,7 @@ extern void ipcpage (int);
#endif /* IPC */
#endif /* TeX */
-/* How to output to the GF or DVI file. */
-#define WRITE_OUT(a, b) \
- if ((size_t) fwrite ((char *) &OUT_BUF[a], sizeof (OUT_BUF[a]), \
- (size_t) ((size_t)(b) - (size_t)(a) + 1), OUT_FILE) \
- != (size_t) ((size_t) (b) - (size_t) (a) + 1)) \
- FATAL_PERROR ("fwrite");
-
+/* How to flush the DVI file. */
#define flush_out() fflush (OUT_FILE)
/* Used to write to a TFM file. */