diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-29 16:52:06 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-29 16:52:06 +0000 |
commit | 0b497a0ad52ec9d01c8a894289115aba4b02794a (patch) | |
tree | 624ead5dd3683da2d6b05680199759f55dca92e6 /net/rsync/files | |
parent | 3dae5ab1989bd78524e78eb047da16b784ef1dd6 (diff) |
Notes
Diffstat (limited to 'net/rsync/files')
-rw-r--r-- | net/rsync/files/patch-infcodes.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/net/rsync/files/patch-infcodes.c b/net/rsync/files/patch-infcodes.c deleted file mode 100644 index 0dd0d99f67d7..000000000000 --- a/net/rsync/files/patch-infcodes.c +++ /dev/null @@ -1,21 +0,0 @@ ---- zlib/infcodes.c.orig Tue Mar 12 02:14:58 2002 -+++ zlib/infcodes.c Sun Apr 21 21:19:46 2002 -@@ -197,8 +197,18 @@ - c->mode = COPY; - case COPY: /* o: copying bytes in window, waiting for space */ - f = q - c->sub.copy.dist; -+#ifdef __FreeBSD__ -+ { -+ /* Work-around for a FreeBSD gcc bug. */ -+ volatile inflate_blocks_statef *s1 = s; -+ -+ while (f < s1->window) /* modulo window size-"while" instead */ -+ f += s1->end - s1->window; /* of "if" handles invalid distances */ -+ } -+#else - while (f < s->window) /* modulo window size-"while" instead */ - f += s->end - s->window; /* of "if" handles invalid distances */ -+#endif - while (c->len) - { - NEEDOUT |