diff options
-rw-r--r-- | Build/source/texk/dvipsk/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/squeeze.c | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog index d172405529d..25552510df6 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,6 +1,10 @@ +2008-05-01 Karl Berry <karl@tug.org> + + * squeeze.c [O_BINARY]: conditionalize calls to SET_BINARY. + 2008-04-30 Karl Berry <karl@tug.org> - * squeeze.c (SET_BINARY) [O_BINARY]: conditionally #define. + * squeeze.c (SET_BINARY) [O_BINARY]: conditionalize #define. Cast call to specialout. (From Akira.) 2008-04-29 Karl Berry <karl@tug.org> diff --git a/Build/source/texk/dvipsk/squeeze.c b/Build/source/texk/dvipsk/squeeze.c index 73a71f19baf..5646bc8ab2d 100644 --- a/Build/source/texk/dvipsk/squeeze.c +++ b/Build/source/texk/dvipsk/squeeze.c @@ -95,11 +95,12 @@ main (int argc, char *argv[]) } /* Binary output is safer (for those systems which care to know the difference) since PostScript can include non-printable characters. */ - if (O_BINARY && !isatty(fileno(in))) +#if O_BINARY + if (!isatty(fileno(in))) SET_BINARY(fileno(in)) ; - if (O_BINARY && !isatty(fileno(out))) + if (!isatty(fileno(out))) SET_BINARY(fileno(out)) ; - +#endif (void)fprintf(out, "%%!\n") ; while (1) { c = getc(in) ; |