| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread1995.01.24 18:34 "Re: bug in fax2ps", by Sam Leffler To: tiff@sgi.sgi.com
Subject: bug in fax2ps
Cc: cdl@mpl.UCSD.EDU
Date: Sun, 15 Jan 1995 12:45:27 PST
From: cdl@mpl.UCSD.EDU (Carl Lowenstein)
Elicited by trying to convert page 12 of HAKMEM, as obtained from MIT
Artificial Intelligence Lab.
Sources came as v3.3beta021.src.tar.gz.
File "contrib/fax2ps/fax2ps.c", rev 1.32.
There is a constant CODEHASH = 8209, used in construction of a hash table.
In principle, the size of the table "maxcodes" is increased from its
initial value "MAXCODES = 6000" when the number of entries "ncodes"
becomes too great.
However, when the number of entries "ncodes" becomes equal to 8209, the
search through the table (lines 45-58 of fax2ps.c) seems to take
forever.
If you have an example tiff that causes fax2ps to loop then please
send it directly to me uuencoded in a mail message (or send me a
patch to a file that I can retrieve by public ftp).
Sam
|
|||||||