1 |
<!DOCTYPE html> |
From f1b8edadc3c733990f8a8de4d643f968e571ae85 Mon Sep 17 00:00:00 2001 |
2 |
<html lang='en'> |
From: Adam Tkac <atkac@redhat.com> |
3 |
<head> |
Date: Fri, 17 Aug 2012 15:13:48 +0200 |
4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
Subject: [PATCH] Rank Z_BLOCK flush below Z_PARTIAL_FLUSH only when last |
5 |
<title>Tree - rpms/clamav - Pagure</title> |
flush was Z_BLOCK. |
6 |
<link rel="shortcut icon" type="image/vnd.microsoft.icon" |
|
7 |
href="/static/favicon.ico"/> |
This fixes regression introduced by f1ebdd6a9c495a5db9a22aa80dd7d54ae7db42e9 |
8 |
<link href="https://apps.fedoraproject.org/global/fedora-bootstrap-1.0.1/fedora-bootstrap.css" |
(Permit stronger flushes after Z_BLOCK flushes.). Now this code is valid |
9 |
type="text/css" rel="stylesheet" /> |
again: |
10 |
<link href="/static/pagure.css" |
|
11 |
type="text/css" rel="stylesheet" /> |
deflate(stream, Z_SYNC_FLUSH); |
12 |
<link href="/static/vendor/open-iconic/css/open-iconic.min.css" |
deflateParams(stream, newLevel, Z_DEFAULT_STRATEGY); |
13 |
type="text/css" rel="stylesheet" /> |
|
14 |
<link href="/static/fonts/fonts.css" |
Signed-off-by: Adam Tkac <atkac@redhat.com> |
15 |
rel="stylesheet" type="text/css" /> |
--- |
16 |
<link href="/static/vendor/hack_fonts/css/hack-extended.min.css" |
deflate.c | 13 ++++++++++--- |
17 |
type="text/css" rel="stylesheet" /> |
1 file changed, 10 insertions(+), 3 deletions(-) |
18 |
</head> |
|
19 |
<body id="home"> |
diff --git a/deflate.c b/deflate.c |
20 |
<!-- start masthead --> |
index 9e4c2cb..3422f72 100644 |
21 |
<div class="masthead"> |
--- a/deflate.c |
22 |
<div class="container"> |
+++ b/deflate.c |
23 |
<div class="row"> |
@@ -882,9 +882,16 @@ int ZEXPORT deflate (strm, flush) |
24 |
<div class="col-sm-3"> |
* flushes. For repeated and useless calls with Z_FINISH, we keep |
25 |
<a href="/"> |
* returning Z_STREAM_END instead of Z_BUF_ERROR. |
26 |
<img height=40px src="/static/pagure-logo.png" |
*/ |
27 |
alt="pagure Logo" id="pagureLogo"/> |
- } else if (strm->avail_in == 0 && RANK(flush) <= RANK(old_flush) && |
28 |
</a> |
- flush != Z_FINISH) { |
29 |
</div> |
- ERR_RETURN(strm, Z_BUF_ERROR); |
30 |
<div class="col-sm-9"> |
+ } else if (strm->avail_in == 0 && flush != Z_FINISH) { |
31 |
<div class="row"> |
+ char err; |
32 |
|
+ |
33 |
|
+ /* Degrade Z_BLOCK only when last flush was Z_BLOCK */ |
34 |
|
+ err = (old_flush == Z_BLOCK) ? |
35 |
|
+ RANK(flush) <= RANK(old_flush) : flush <= old_flush; |
36 |
|
+ |
37 |
|
+ if (err) { |
38 |
|
+ ERR_RETURN(strm, Z_BUF_ERROR); |
39 |
|
+ } |
40 |
|
} |
41 |
|
|
42 |
|
/* User must not provide more input after the first FINISH: */ |
43 |
|
-- |
44 |
|
1.7.11.4 |
45 |
|
|
|
<nav class="navbar navbar-light p-t-0 p-b-0"> |
|
|
<div class="container"> |
|
|
<ul class="nav navbar-nav nav-underline pull-xs-right"> |
|
|
<li class="nav-item p-l-1"> |
|
|
<a class="nav-link btn btn-primary" href="/login/?next=https://src.fedoraproject.org/fork/robert/rpms/clamav/blob/el6/f/zlib-1.2.7-z-block-flush.patch">Log In</a> |
|
|
</li> |
|
|
</ul> |
|
|
</div> |
|
|
</nav> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div><!-- close masthead--> |
|
|
|
|
|
<div class="bodycontent p-b-3"> |
|
|
|
|
|
|
|
|
<div class="repo-header p-t-1"> |
|
|
<div class="container"> |
|
|
<header> |
|
|
<h2 class="repo-name m-b-0"> |
|
|
<a href="/user/robert"><span class="oi" data-glyph="fork"> |
|
|
</span>robert</a>/<a href="/projects/rpms/%2A">rpms</a>/<a href="/fork/robert/rpms/clamav">clamav</a> |
|
|
</h2> |
|
|
|
|
|
<div class="m-t-0"> |
|
|
Forked from |
|
|
<a href="/rpms/clamav"> |
|
|
rpms/clamav |
|
|
</a> |
|
|
</div> |
|
|
<div class="projectinfo m-t-1 m-b-1"> |
|
|
The clamav rpms </div> |
|
|
</header> |
|
|
|
|
|
<ul class="nav nav-tabs nav-small"> |
|
|
<li class="nav-item"> |
|
|
<a class="nav-link" href="/fork/robert/rpms/clamav"> |
|
|
<span class="oi hidden-md-up" data-glyph="home"></span> |
|
|
<span class="hidden-sm-down">Overview</span> |
|
|
</a> |
|
|
</li> |
|
|
|
|
|
<li class="nav-item"> |
|
|
<a class="nav-link" href="/fork/robert/rpms/clamav/commits/el6"> |
|
|
<span class="oi hidden-md-up" data-glyph="spreadsheet"> |
|
|
</span><span class="hidden-sm-down">Commits</span> |
|
|
</a> |
|
|
</li> |
|
|
|
|
|
<li class="nav-item"> |
|
|
<a class="active nav-link" href="/fork/robert/rpms/clamav/tree/el6"> |
|
|
<span class="oi hidden-md-up" data-glyph="file"></span> |
|
|
<span class="hidden-sm-down">Files</span> |
|
|
</a> |
|
|
</li> |
|
|
|
|
|
<li class="nav-item"> |
|
|
<a class="nav-link" href="/fork/robert/rpms/clamav/releases"> |
|
|
<span class="oi hidden-md-up" data-glyph="box"></span> |
|
|
<span class="hidden-sm-down">Releases</span> |
|
|
</a> |
|
|
</li> |
|
|
|
|
|
|
|
|
|
|
|
<li class="nav-item"> |
|
|
<a class="nav-link" href="/fork/robert/rpms/clamav/stats"> |
|
|
<span class="oi hidden-md-up" data-glyph="task"></span> |
|
|
<span class="hidden-sm-down">Stats </span> |
|
|
</a> |
|
|
</li> |
|
|
|
|
|
|
|
|
</ul> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="container p-t-3"> |
|
|
<div class="row m-b-1"> |
|
|
<div class="col-sm-6"> |
|
|
<h3> |
|
|
Files |
|
|
</h3> |
|
|
</div> |
|
|
|
|
|
<div class="col-sm-6"> |
|
|
<div class="pull-xs-right"> |
|
|
<div class="button-label button-label-default"> |
|
|
<span class="oi" data-glyph="fork"></span> |
|
|
robert/clamav |
|
|
|
|
|
</div> |
|
|
<div class="btn-group"> |
|
|
<button type="button" class="btn btn-secondary btn-sm dropdown-toggle" |
|
|
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
|
|
<span class="oi" data-glyph="random"> </span> el6 |
|
|
</button> |
|
|
<div class="dropdown-menu dropdown-menu-right"> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/el4/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
el4 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/el5/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
el5 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/el6/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
el6 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/epel7/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
epel7 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f10/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f10 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f11/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f11 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f12/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f12 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f13/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f13 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f14/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f14 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f15/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f15 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f16/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f16 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f17/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f17 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f18/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f18 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f19/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f19 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f20/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f20 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f21/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f21 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f22/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f22 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f23/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f23 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f24/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f24 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f25/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f25 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f26/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f26 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f27/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f27 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f28/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f28 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f7/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f7 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f8/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f8 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/f9/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
f9 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/fc6/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
fc6 |
|
|
</a> |
|
|
<a class="dropdown-item" href="/fork/robert/rpms/clamav/blob/master/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
master |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="card"> |
|
|
<div class="card-header"> |
|
|
<ol class="breadcrumb"> |
|
|
<li> |
|
|
<a href="/fork/robert/rpms/clamav/tree/el6"> |
|
|
<span class="oi" data-glyph="random"> |
|
|
</span> el6 |
|
|
</a> |
|
|
</li> |
|
|
<li class="active"> |
|
|
<span class="oi" data-glyph="file"> |
|
|
</span> zlib-1.2.7-z-block-flush.patch |
|
|
</li> |
|
|
</ol> |
|
|
</div> |
|
|
|
|
|
<div class="card-block p-a-0"> |
|
|
<div class="file-button-bar"> |
|
|
<form class="btn btn-sm" method="POST" name="fork_project" |
|
|
action="/fork_edit/fork/robert/rpms/clamav/edit/el6/f/zlib-1.2.7-z-block-flush.patch"> |
|
|
<button class="btn btn-sm btn-secondary" |
|
|
onclick="fork_project.submit();"> |
|
|
Fork and Edit |
|
|
</button> |
|
|
|
|
|
</form> |
|
|
|
|
|
<a class="btn btn-secondary btn-sm" href="/fork/robert/rpms/clamav/blob/el6/f/zlib-1.2.7-z-block-flush.patch" title="View as blob">Blob</a> |
|
|
|
|
|
<a class="btn btn-secondary btn-sm" href="/fork/robert/rpms/clamav/blame/zlib-1.2.7-z-block-flush.patch?identifier=el6" title="View git blame">Blame</a> |
|
|
|
|
|
<a class="btn btn-secondary btn-sm" href="/fork/robert/rpms/clamav/raw/el6/f/zlib-1.2.7-z-block-flush.patch" title="View as raw">Raw</a> |
|
|
</div> |
|
|
|
|
|
<div class="highlight"> |
|
|
<table class="code_table"> |
|
|
<tr><td class="cell1"><a id="_1" href="#_1" data-line-number="1"></a></td> |
|
|
<td class="cell2"><pre><span></span>From f1b8edadc3c733990f8a8de4d643f968e571ae85 Mon Sep 17 00:00:00 2001</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_2" href="#_2" data-line-number="2"></a></td> |
|
|
<td class="cell2"><pre>From: Adam Tkac <atkac@redhat.com></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_3" href="#_3" data-line-number="3"></a></td> |
|
|
<td class="cell2"><pre>Date: Fri, 17 Aug 2012 15:13:48 +0200</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_4" href="#_4" data-line-number="4"></a></td> |
|
|
<td class="cell2"><pre>Subject: [PATCH] Rank Z_BLOCK flush below Z_PARTIAL_FLUSH only when last</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_5" href="#_5" data-line-number="5"></a></td> |
|
|
<td class="cell2"><pre> flush was Z_BLOCK.</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_6" href="#_6" data-line-number="6"></a></td> |
|
|
|
|
|
<tr><td class="cell1"><a id="_7" href="#_7" data-line-number="7"></a></td> |
|
|
<td class="cell2"><pre>This fixes regression introduced by f1ebdd6a9c495a5db9a22aa80dd7d54ae7db42e9</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_8" href="#_8" data-line-number="8"></a></td> |
|
|
<td class="cell2"><pre>(Permit stronger flushes after Z_BLOCK flushes.). Now this code is valid</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_9" href="#_9" data-line-number="9"></a></td> |
|
|
<td class="cell2"><pre>again:</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_10" href="#_10" data-line-number="10"></a></td> |
|
|
|
|
|
<tr><td class="cell1"><a id="_11" href="#_11" data-line-number="11"></a></td> |
|
|
<td class="cell2"><pre>deflate(stream, Z_SYNC_FLUSH);</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_12" href="#_12" data-line-number="12"></a></td> |
|
|
<td class="cell2"><pre>deflateParams(stream, newLevel, Z_DEFAULT_STRATEGY);</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_13" href="#_13" data-line-number="13"></a></td> |
|
|
|
|
|
<tr><td class="cell1"><a id="_14" href="#_14" data-line-number="14"></a></td> |
|
|
<td class="cell2"><pre>Signed-off-by: Adam Tkac <atkac@redhat.com></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_15" href="#_15" data-line-number="15"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #a40000; background-color: #ffdddd">---</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_16" href="#_16" data-line-number="16"></a></td> |
|
|
<td class="cell2"><pre> deflate.c | 13 ++++++++++---</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_17" href="#_17" data-line-number="17"></a></td> |
|
|
<td class="cell2"><pre> 1 file changed, 10 insertions(+), 3 deletions(-)</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_18" href="#_18" data-line-number="18"></a></td> |
|
|
|
|
|
<tr><td class="cell1"><a id="_19" href="#_19" data-line-number="19"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #000080; font-weight: bold">diff --git a/deflate.c b/deflate.c</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_20" href="#_20" data-line-number="20"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #000080; font-weight: bold">index 9e4c2cb..3422f72 100644</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_21" href="#_21" data-line-number="21"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #a40000; background-color: #ffdddd">--- a/deflate.c</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_22" href="#_22" data-line-number="22"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+++ b/deflate.c</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_23" href="#_23" data-line-number="23"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #800080; font-weight: bold">@@ -882,9 +882,16 @@ int ZEXPORT deflate (strm, flush)</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_24" href="#_24" data-line-number="24"></a></td> |
|
|
<td class="cell2"><pre> * flushes. For repeated and useless calls with Z_FINISH, we keep</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_25" href="#_25" data-line-number="25"></a></td> |
|
|
<td class="cell2"><pre> * returning Z_STREAM_END instead of Z_BUF_ERROR.</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_26" href="#_26" data-line-number="26"></a></td> |
|
|
<td class="cell2"><pre> */</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_27" href="#_27" data-line-number="27"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #a40000; background-color: #ffdddd">- } else if (strm->avail_in == 0 && RANK(flush) <= RANK(old_flush) &&</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_28" href="#_28" data-line-number="28"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #a40000; background-color: #ffdddd">- flush != Z_FINISH) {</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_29" href="#_29" data-line-number="29"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #a40000; background-color: #ffdddd">- ERR_RETURN(strm, Z_BUF_ERROR);</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_30" href="#_30" data-line-number="30"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+ } else if (strm->avail_in == 0 && flush != Z_FINISH) {</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_31" href="#_31" data-line-number="31"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+ char err;</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_32" href="#_32" data-line-number="32"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_33" href="#_33" data-line-number="33"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+ /* Degrade Z_BLOCK only when last flush was Z_BLOCK */</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_34" href="#_34" data-line-number="34"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+ err = (old_flush == Z_BLOCK) ?</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_35" href="#_35" data-line-number="35"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+ RANK(flush) <= RANK(old_flush) : flush <= old_flush;</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_36" href="#_36" data-line-number="36"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_37" href="#_37" data-line-number="37"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+ if (err) {</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_38" href="#_38" data-line-number="38"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+ ERR_RETURN(strm, Z_BUF_ERROR);</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_39" href="#_39" data-line-number="39"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #00A000; background-color: #ddffdd">+ }</span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_40" href="#_40" data-line-number="40"></a></td> |
|
|
<td class="cell2"><pre> }</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_41" href="#_41" data-line-number="41"></a></td> |
|
|
<td class="cell2"><pre> </pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_42" href="#_42" data-line-number="42"></a></td> |
|
|
<td class="cell2"><pre> /* User must not provide more input after the first FINISH: */</pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_43" href="#_43" data-line-number="43"></a></td> |
|
|
<td class="cell2"><pre><span style="color: #a40000; background-color: #ffdddd">-- </span></pre></td> |
|
|
</tr> |
|
|
<tr><td class="cell1"><a id="_44" href="#_44" data-line-number="44"></a></td> |
|
|
<td class="cell2"><pre>1.7.11.4</pre></td> |
|
|
</tr> |
|
|
</table></div> |
|
|
</div> |
|
|
</div> <!-- end .card--> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="footer p-t-1 p-b-1"> |
|
|
<div class="container"> |
|
|
<p class="text-muted credit"> |
|
|
Copyright © 2014-2018 Red Hat |
|
|
<a href="https://pagure.io/pagure">pagure</a> — |
|
|
4.0.4 — <a href="https://docs.pagure.org/pagure/usage/index.html">Documentation</a> |
|
|
</p> |
|
|
<p><a href="/ssh_info">SSH Hostkey/Fingerprint</a></p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<script type="text/javascript" |
|
|
src="/static/vendor/jquery/jquery.min.js"> |
|
|
</script> |
|
|
<script type="text/javascript" |
|
|
src="/static/vendor/jquery-ui/jquery-ui.min.js"> |
|
|
</script> |
|
|
<script type="text/javascript" |
|
|
src="https://apps.fedoraproject.org/global/fedora-bootstrap-1.0.1/fedora-bootstrap.js"> |
|
|
</script> |
|
|
<script type="text/javascript"> |
|
|
$('[data-toggle="tooltip"]').tooltip({placement : 'bottom'}); |
|
|
</script> |
|
|
|
|
|
<script type="text/javascript" |
|
|
src="/static/vendor/lazyload/lazyload.min.js"> |
|
|
</script> |
|
|
<script type="text/javascript"> |
|
|
window.addEventListener("load", function(event) { |
|
|
lazyload(); |
|
|
}); |
|
|
|
|
|
$(document).ready(function() { |
|
|
var currentWatchStatusButton = $('#unwatch_button'); |
|
|
currentWatchStatusButton.prepend('<span class="oi" data-glyph="circle-check" style="padding-right:0.5em"></span>'); |
|
|
$('.watch-menu a').not(currentWatchStatusButton).css('padding-left', '2.85em'); |
|
|
|
|
|
$(".watch-menu a").click(function(){ |
|
|
var selectedValue = $(this).attr('id'); |
|
|
var watchProjectForm = $("#watch_project"); |
|
|
var action = watchProjectForm.attr('action'); |
|
|
|
|
|
if (selectedValue === "watch_issues_button") { |
|
|
action = action.replace('/settings/0', '/settings/1'); |
|
|
} else if (selectedValue === "watch_commits_button") { |
|
|
action = action.replace('/settings/0', '/settings/2'); |
|
|
} else if (selectedValue === "watch_issues_commits_button") { |
|
|
action = action.replace('/settings/0', '/settings/3'); |
|
|
} else if (selectedValue === "reset_button") { |
|
|
action = action.replace('/settings/0', '/settings/-1'); |
|
|
} |
|
|
|
|
|
watchProjectForm.attr('action', action); |
|
|
watchProjectForm.submit(); |
|
|
}); |
|
|
}); |
|
|
</script> |
|
|
|
|
|
<script type="text/javascript"> |
|
|
function updateHighlight() { |
|
|
var cls = "highlighted-line"; |
|
|
$('.' + cls).removeClass(cls) |
|
|
if (location.hash !== '') { |
|
|
var lines = location.hash.substr(2).split('-').map(function (x) { return parseInt(x, 10) }); |
|
|
for (var i = lines[lines.length - 1]; i >= lines[0]; i--) { |
|
|
$('[data-line-number=' + i + ']').closest('tr').addClass(cls); |
|
|
} |
|
|
return lines; |
|
|
} |
|
|
return []; |
|
|
} |
|
|
$(document).ready(function () { |
|
|
var lines = updateHighlight(); |
|
|
if (lines) { |
|
|
var offset = $('[data-line-number=' + lines[0] + ']').offset().top; |
|
|
$('html, body').animate({scrollTop: offset}, 200); |
|
|
} |
|
|
}); |
|
|
$(window).on('hashchange', updateHighlight); |
|
|
var selected = []; |
|
|
$("[data-line-number]").click(function (ev) { |
|
|
var line = $(this).attr('data-line-number'); |
|
|
if (ev.shiftKey) { |
|
|
selected = selected.slice(-1).concat(line); |
|
|
} else { |
|
|
selected = [line]; |
|
|
} |
|
|
|
|
|
var hash = '_' + selected[0]; |
|
|
if (selected.length === 2) { |
|
|
hash = '_' + Math.min(selected[0], selected[1]) + '-' + Math.max(selected[0], selected[1]); |
|
|
} |
|
|
window.location.hash = hash; |
|
|
return false; |
|
|
}); |
|
|
</script> |
|
|
|
|
|
|
|
|
</body> |
|
|
</html> |
|