* tailor.h (NOMEMCPY): Remove. memcpy is entitled to not work
on overlapping blocks.
* inflate.c (inflate_codes): Don't put decl after statement.
Omit NOMEMCPY.
/* do the copy */
do {
n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e);
-#if !defined(NOMEMCPY) && !defined(DEBUG)
- unsigned int delta = w > d ? w - d : d - w;
- if (delta >= e)
+#ifndef DEBUG
+ if (e <= (d < w ? w - d : d - w))
{
memcpy(slide + w, slide + d, e);
w += e;
d += e;
}
else /* do it slow to avoid memcpy() overlap */
-#endif /* !NOMEMCPY */
+#endif
do {
slide[w++] = slide[d++];
Tracevv((stderr, "%c", slide[w-1]));
# endif
#endif
-#if defined(pyr) && !defined(NOMEMCPY) /* Pyramid */
-# define NOMEMCPY /* problem with overlapping copies */
-#endif
-
#ifdef TOPS20
# define OS_CODE 0x0a
#endif