Blob Blame History Raw

<!DOCTYPE html>
<html lang='en'>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Tree - rpms/thunderbird - CentOS Git server</title>
    <link rel="shortcut icon" type="image/vnd.microsoft.icon"
href="/theme/static/favicon.ico"/>
<link rel="stylesheet" href="/static/vendor/bootstrap/bootstrap.min.css" />
<link href="/theme/static/theme.css" rel="stylesheet" type="text/css" />

    <link type="text/css" rel="stylesheet" nonce="06TuK2f0t5qqMTAK6PPa7VHuS" href="/static/vendor/font-awesome/font-awesome.css?version=5.7.4"/>
    <link type="text/css" rel="stylesheet" nonce="06TuK2f0t5qqMTAK6PPa7VHuS" href="/static/pagure.css?version=5.7.4"/>
<link nonce="06TuK2f0t5qqMTAK6PPa7VHuS" rel="stylesheet" href="/static/vendor/highlight.js/styles/github.css?version=5.7.4"/>
<link nonce="06TuK2f0t5qqMTAK6PPa7VHuS" rel="stylesheet" href="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.css?version=5.7.4"/>
<style nonce="06TuK2f0t5qqMTAK6PPa7VHuS">
  .hljs {
    background: #fff;
  }
</style>
  </head>
  <body id="home">
    
    <!-- start masthead -->
    <nav class="navbar navbar-dark bg-dark p-0 navbar-expand">
      <div class="container">
        <a href="/" class="navbar-brand">
        <img height=40px src="/theme/static/pagure-logo.png?version=5.7.4"
             alt="pagure Logo" id="pagureLogo"/>
        </a>
        <ul class="navbar-nav ml-auto">
          <li class="nav-item">
            <a class="btn btn-primary" href="/login/?next=https://git.centos.org/rpms/thunderbird/blob/308961d1a00d1df6257b15b2c7cbea00d2519a7f/f/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch">Log In</a>
          </li>
        </ul>
      </div>
    </nav>
    <!-- close masthead-->

    <div class="bodycontent">


<div class="bg-light border border-bottom pt-3">
  <div class="container">
    <div class="row mb-3">
      <div class="col-6">
        <div class="row">
        <div class="col-auto pr-0">
            <h3>
<i class="fa fa-calendar-o fa-rotate-270 text-muted"></i></h3>
        </div>
        <div class="col-auto pl-2">
            <h3 class="mb-0">
<a href="/projects/rpms/%2A">rpms</a>&nbsp;/&nbsp;<a href="/rpms/thunderbird"><strong>thunderbird</strong></a>
            </h3>
        </div>
        </div>
      </div>
      <div class="col-6 text-right">
        <div class="btn-group">
        <div class="btn-group">
        <a href="#"
            class="btn btn-sm dropdown-toggle btn-outline-primary"
            data-toggle="dropdown" id="watch-button">
          <i class="fa fa-clone fa-fw"></i>
          <span>Clone</span>
        </a>
        <div class="dropdown-menu dropdown-menu-right">
          <div class="m-3" id="source-dropdown" class="pointer">
            <div>
              <h5><strong>Source Code</strong></h5>

              <div class="form-group">
                <div class="input-group input-group-sm">
                  <div class="input-group-prepend"><span class="input-group-text">GIT</span></div>
                  <input class="form-control bg-white" type="text" value="https://git.centos.org/rpms/thunderbird.git" readonly>
                </div>
              </div>
            </div>
          </div>
        </div>

      </div>
    </div>
  </div>
</div>

<ul class="nav nav-tabs nav-small border-bottom-0">
  <li class="nav-item mr-2 text-dark">
    <a class="nav-link active" href="/rpms/thunderbird">
        <i class="fa fa-code fa-fw text-muted"></i>
        <span class="d-none d-md-inline">Source</span>
    </a>
  </li>

    <li class="nav-item mr-2 text-dark">
        <a class="nav-link" href="/rpms/thunderbird/issues">
            <i class="fa fa-fw text-muted fa-exclamation-circle"></i>
            <span class="d-none d-md-inline">Issues&nbsp;</span>
            <span class="badge badge-secondary py-0 d-none d-md-inline">
              0
            </span>
        </a>
    </li>

    <li class="nav-item mr-2 text-dark">
      <a class="nav-link" href="/rpms/thunderbird/pull-requests">
          <i class="fa fa-fw text-muted fa-arrow-circle-down"></i>
          <span class="d-none d-md-inline">Pull Requests&nbsp;</span>
          <span class="badge badge-secondary py-0 d-none d-md-inline">
            0
          </span>
      </a>
    </li>


    <li class="nav-item mr-2 text-dark">
      <a class="nav-link" href="/rpms/thunderbird/stats">
          <i class="fa fa-line-chart fa-fw text-muted"></i>
          <span class="d-none d-md-inline">Stats</span>
      </a>
    </li>


</ul>
  </div>
</div>

<div class="container pt-5 repo-body-container">
  <div class="row">
    <div class="col-2">
<nav class="nav nav-tabs nav-sidetabs flex-column">
  <a class=
      "nav-link nowrap
"
      href="/rpms/thunderbird">
      <i class="fa fa-home text-muted fa-fw"></i>&nbsp;<span class="d-none d-md-inline">Overview</span>
  </a>
  <a class=
    "nav-link nowrap
 active"
    href="/rpms/thunderbird/tree/308961d1a00d1df6257b15b2c7cbea00d2519a7f">
    <i class="fa fa-file-code-o text-muted fa-fw"></i>&nbsp;Files
  </a>
  <a class=
    "nav-link nowrap
"
    href="/rpms/thunderbird/commits/308961d1a00d1df6257b15b2c7cbea00d2519a7f">
    <i class="fa fa-list-alt text-muted fa-fw" data-glyph="spreadsheet"></i>&nbsp;Commits
  </a>
  <a class=
    "nav-link nowrap
"
    href="/rpms/thunderbird/branches?branchname=308961d1a00d1df6257b15b2c7cbea00d2519a7f">
    <i class="fa fa-random text-muted fa-fw"></i>&nbsp;Branches
  </a>
  <a class=
    "nav-link nowrap
"
    href="/rpms/thunderbird/forks">
    <i class="fa fa-code-fork text-muted fa-fw"></i>&nbsp;Forks
  </a>
  <a class=
    "nav-link nowrap
"
    href="/rpms/thunderbird/releases">
    <i class="fa fa-tags text-muted fa-fw"></i>&nbsp;Releases
  </a>
</nav>    </div>
    <div class="col-10">
  <div class="row mb-1">
    <div class="col-sm-6">
    <h3>
      Files
    </h3>
    </div>

    <div class="col-sm-6">
      <div class="float-right">
        <a href="#" class="btn btn-outline-light border-secondary text-dark btn-sm"
        aria-haspopup="true" aria-expanded="false">
        Commit: <span class="font-weight-bold">308961d1a00d1df6257b15b2c7cbea00d2519a7f</span>
        </a>
    </div>
  </div>
  </div>
    <div class="card mb-3">
      <div class="card-header">
        <ol class="breadcrumb p-0 bg-transparent mb-0">
          <li class="breadcrumb-item">
            <a href="/rpms/thunderbird/tree/308961d1a00d1df6257b15b2c7cbea00d2519a7f">
              <span class="fa fa-random">
              </span>&nbsp; 308961d1a00d1df6257b15b2c7cbea00d2519a7f
            </a>
          </li>
<li class="breadcrumb-item"><a href="/rpms/thunderbird/blob/308961d1a00d1df6257b15b2c7cbea00d2519a7f/f/SOURCES">
            <span class="fa fa-folder"></span>&nbsp; SOURCES</a>
          </li>
          <li class="active breadcrumb-item">
            <span class="fa fa-file" data-glyph="">
            </span>&nbsp; Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
          </li>
        </ol>
      </div>

  <div class="card-body p-0">
            <div class="bg-light border text-right pr-2">
                <form class="btn btn-sm" method="POST" name="fork_project"
                    action="/fork_edit/rpms/thunderbird/edit/308961d1a00d1df6257b15b2c7cbea00d2519a7f/f/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch">
                    <button class="btn btn-sm btn-secondary fork_project_btn">
                            Fork and Edit
                    </button>
                    
                </form>

                <a class="btn btn-secondary btn-sm" href="/rpms/thunderbird/blob/308961d1a00d1df6257b15b2c7cbea00d2519a7f/f/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch" title="View as blob">Blob</a>

                <a class="btn btn-secondary btn-sm" href="/rpms/thunderbird/blame/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch?identifier=308961d1a00d1df6257b15b2c7cbea00d2519a7f" title="View git blame">Blame</a>

                <a class="btn btn-secondary btn-sm" href="/rpms/thunderbird/raw/308961d1a00d1df6257b15b2c7cbea00d2519a7f/f/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch" title="View as raw">Raw</a>
            </div>

        <pre class="syntaxhighlightblock"><code class="lang-diff">diff -up firefox-60.0/mfbt/LinuxSignal.h.mozilla-1238661 firefox-60.0/mfbt/LinuxSignal.h
--- firefox-60.0/mfbt/LinuxSignal.h.mozilla-1238661	2018-04-27 08:55:38.848241768 +0200
+++ firefox-60.0/mfbt/LinuxSignal.h	2018-04-27 09:06:47.946769859 +0200
@@ -22,7 +22,7 @@ __attribute__((naked)) void SignalTrampo
                                              void* aContext) {
   asm volatile(&#34;nop; nop; nop; nop&#34; : : : &#34;memory&#34;);
 
-  asm volatile(&#34;b %0&#34; : : &#34;X&#34;(H) : &#34;memory&#34;);
+  asm volatile(&#34;bx %0&#34; : : &#34;r&#34;(H), &#34;l&#34;(aSignal), &#34;l&#34;(aInfo), &#34;l&#34;(aContext) : &#34;memory&#34;);
 }
 
 #  define MOZ_SIGNAL_TRAMPOLINE(h) (mozilla::SignalTrampoline&lt;h&gt;)
</code></pre>
  </div>
 </div> <!-- end .card-->

</div>
</div>
</div>
    </div>

        <div class="footer py-3 bg-light border-top text-center">
        <div class="container">
            <p class="text-muted credit">
         Powered by
          <a href="https://pagure.io/pagure">Pagure</a>
          5.7.4
            </p>
            <p><a href="/ssh_info">SSH Hostkey/Fingerprint</a> | <a href="https://docs.pagure.org/pagure/usage/index.html">Documentation</a></p>
        </div>
    </div>


    <script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS" src="/static/vendor/jquery/jquery.min.js?version=5.7.4"></script>

    <script src="/static/vendor/bootstrap/bootstrap.bundle.min.js"></script>

    <script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS">
      $('[data-toggle="tooltip"]').tooltip({placement : 'bottom'});
      $(".cancel_btn").click(function() {
        history.back();
      });
    </script>

<script type="text/javascript"  nonce="06TuK2f0t5qqMTAK6PPa7VHuS" src="/static/vendor/lazyload/lazyload.min.js?version=5.7.4"></script>

<script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS">
window.addEventListener("load", function(event) {
    lazyload();
});
</script>

<script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS">
$("#giturl-toggle").on('click', function(event){
  event.stopPropagation();
  $("#giturl-more").toggle();
  $("#giturl-toggle").hide();
})

$(".fork_project_btn").click(function() {
  $('#fork_project').submit();
});

</script>

<script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS" src="/static/vendor/highlight.js/highlight.pack.js?version=5.7.4"></script>
<script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS" src="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.js?version=5.7.4"></script>
<script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS" src="/static/vendor/highlight.js/spec.js?version=5.7.4"></script>

<script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS">
  $(document).ready(function() {
  $('.fork_project_btn').click($("[name=fork_project]").submit);

  $('pre.syntaxhighlightblock code').each(function(i, block) {
    hljs.highlightBlock(block);
    hljs.lineNumbersBlock(block);
  });

  var cls = "highlighted-line";
  var lines = location.hash.substr(2).split('-').map(function (x) { return parseInt(x, 10) });
  if (! isNaN(lines[0]))
  {
    for (var i = lines[lines.length - 1]; i >= lines[0]; i--) {
      $('#_' + i).parent().parent().addClass(cls);
    }
    setTimeout(function(){
      $("#_" + lines[0]).get(0).scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"});
    }, 50);
  }
});
</script>

<script type="text/javascript" nonce="06TuK2f0t5qqMTAK6PPa7VHuS">

  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 [];
  }
  $(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>