FreeBSD Bugzilla – Attachment 160823 Details for
Bug 202958
Fix www/varnish4 build with clang 3.7.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix left-shifting of negative value in varnish4's copy of libz
www__varnish4-fix-libz-neg-shift-1.diff (text/plain), 1.11 KB, created by
Dimitry Andric
on 2015-09-07 21:30:06 UTC
(
hide
)
Description:
Fix left-shifting of negative value in varnish4's copy of libz
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-09-07 21:30:06 UTC
Size:
1.11 KB
patch
obsolete
>Index: www/varnish4/files/patch-lib__libvgz__inflate.c >=================================================================== >--- www/varnish4/files/patch-lib__libvgz__inflate.c (revision 0) >+++ www/varnish4/files/patch-lib__libvgz__inflate.c (working copy) >@@ -0,0 +1,11 @@ >+--- lib/libvgz/inflate.c.orig 2015-02-18 15:14:11.000000000 +0100 >++++ lib/libvgz/inflate.c 2015-09-07 23:19:41.904166000 +0200 >+@@ -1510,7 +1510,7 @@ z_streamp strm; >+ { >+ struct inflate_state FAR *state; >+ >+- if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; >++ if (strm == Z_NULL || strm->state == Z_NULL) return -(1L << 16); >+ state = (struct inflate_state FAR *)strm->state; >+ return ((long)(state->back) << 16) + >+ (state->mode == COPY ? state->length : > >Property changes on: www/varnish4/files/patch-lib__libvgz__inflate.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202958
: 160823