FreeBSD Bugzilla – Attachment 21060 Details for
Bug 36998
rsync: -z option core dumps on large files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-infcodes.c
patch-infcodes.c (text/plain; charset=us-ascii), 772 bytes, created by
anders
on 2002-04-21 20:24:32 UTC
(
hide
)
Description:
patch-infcodes.c
Filename:
MIME Type:
Creator:
anders
Created:
2002-04-21 20:24:32 UTC
Size:
772 bytes
patch
obsolete
>--- 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 36998
:
21059
| 21060