3571e53040
patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
16 lines
697 B
Diff
16 lines
697 B
Diff
Index: lib/libz/inftrees.c
|
|
===================================================================
|
|
RCS file: /home/ncvs/src/lib/libz/inftrees.c,v
|
|
retrieving revision 1.5
|
|
diff -u -p -r1.5 inftrees.c
|
|
--- lib/libz/inftrees.c 11 May 2005 03:47:48 -0000 1.5
|
|
+++ lib/libz/inftrees.c 2 Jul 2005 19:29:56 -0000
|
|
@@ -134,7 +134,7 @@ unsigned short FAR *work;
|
|
left -= count[len];
|
|
if (left < 0) return -1; /* over-subscribed */
|
|
}
|
|
- if (left > 0 && (type == CODES || (codes - count[0] != 1)))
|
|
+ if (left > 0 && (type == CODES || max != 1))
|
|
return -1; /* incomplete set */
|
|
|
|
/* generate offsets into symbol table for each length for sorting */
|