Hi,

teTeX-src-beta-20021225/PROBLEMS lists the following problem:

    Problems which don't cause malfunctions:
    - dvipsk shows Broken Pipe messages when \includegraphics is used for
    large gzip'ped graphic files. (The ruesult is ok, though.)


AFAIK this problem is also present in teTeX-1.0.  A few years ago
someone asked me why he can't print his LaTeX paper. I tracked
the problem in dvipsk down to a erroneous fclose() of a pipe
which decompresses gzip'ped files. The fix is to use close_file()
instead, which uses pclose() when opened by popen(). I attached
the small patch. (against teTeX-src-beta-20021225 )

Unfortunately I lost the test files . Is anyone with the problem above
willing to try my patch?

Bernd

--
Bernd 'Bing' Leibing      Computing Center, University of Ulm, Germany
Email: <[EMAIL PROTECTED]>                Tel. 0731-50-22516
Homepage (PGP-Key): http://www.uni-ulm.de/~leibing            O26/5215
--- ./texk/dvipsk/output.c.orig 2002-10-03 13:12:55.000000000 +0200
+++ ./texk/dvipsk/output.c      2003-01-04 22:30:26.000000000 +0100
@@ -548,7 +548,7 @@
 #endif
 #endif
 #endif
-         (void)fclose(f) ;
+         (void)close_file (f) ;
       if (!disablecomments)
          if (infigure)
             (void)fprintf(bitfile, "\n%%%%EndDocument\n") ;

Reply via email to