diff options
author | wlemb <wlemb> | 2004-02-19 08:27:15 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2004-02-19 08:27:15 +0000 |
commit | cd1ec86bc5a464538e0773af976d362fc0945370 (patch) | |
tree | ef696285ac24315e490afbf432390a8abd65647b /src/roff/troff | |
parent | 48052a79983ffada685c5e9bafe0ed8d3ec8b30f (diff) | |
download | groff-cd1ec86bc5a464538e0773af976d362fc0945370.tar.gz |
* font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
new font and mapping files.
* src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
an input pipe. This is needed for the MSVC compiler to make troff's
`-o' option work.
* src/roff/troff/div.cpp: Include nonposix.h.
(cleanup_and_exit): Call FLUSH_INPUT_PIPE.
Diffstat (limited to 'src/roff/troff')
-rw-r--r-- | src/roff/troff/div.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/roff/troff/div.cpp b/src/roff/troff/div.cpp index df4df4f5..c94f4eb4 100644 --- a/src/roff/troff/div.cpp +++ b/src/roff/troff/div.cpp @@ -22,6 +22,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // diversions +#include "nonposix.h" + #include "troff.h" #include "dictionary.h" #include "hvunits.h" @@ -542,6 +544,7 @@ void cleanup_and_exit(int exit_code) the_output->trailer(topdiv->get_page_length()); delete the_output; } + FLUSH_INPUT_PIPE(STDIN_FILENO); exit(exit_code); } |