ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzf_c.c
(Generate patch)

Comparing liblzf/lzf_c.c (file contents):
Revision 1.26 by root, Tue Nov 13 11:30:37 2007 UTC vs.
Revision 1.27 by ayin, Sun Nov 25 16:06:18 2007 UTC

136 hval = NEXT (hval, ip); 136 hval = NEXT (hval, ip);
137 hslot = htab + IDX (hval); 137 hslot = htab + IDX (hval);
138 ref = *hslot; *hslot = ip; 138 ref = *hslot; *hslot = ip;
139 139
140 if (1 140 if (1
141#if INIT_HTAB && !USE_MEMCPY 141#if INIT_HTAB
142 && ref < ip /* the next test will actually take care of this, but this is faster */ 142 && ref < ip /* the next test will actually take care of this, but this is faster */
143#endif 143#endif
144 && (off = ip - ref - 1) < MAX_OFF 144 && (off = ip - ref - 1) < MAX_OFF
145 && ip + 4 < in_end 145 && ip + 4 < in_end
146 && ref > (u8 *)in_data 146 && ref > (u8 *)in_data

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines