*** ../zlib-1.2.2.3/inftrees.c Sun Feb 6 23:45:27 2005 --- inftrees.c Sat Jul 2 14:07:48 2005 *************** *** 134,140 **** left -= count[len]; if (left < 0) return -1; /* over-subscribed */ } ! if (left > 0 && (type == CODES || (codes - count[0] != 1))) return -1; /* incomplete set */ /* generate offsets into symbol table for each length for sorting */ --- 134,140 ---- left -= count[len]; if (left < 0) return -1; /* over-subscribed */ } ! if (left > 0 && (type == CODES || max != 1)) return -1; /* incomplete set */ /* generate offsets into symbol table for each length for sorting */