cb424d7448
verify-patch-sanity.py validates every active recipe .patch has internally- consistent hunk line counts — catching the 'malformed patch at line N' failure at commit/CI/preflight time instead of hours into a cook. This cycle hit that class three times (qtwaylandscanner, sddm, xwayland), each only discovered when cookbook tried to apply the patch. Running it across the repo found 29 latent malformed patches (validated against GNU patch: e.g. relibc/P3-sysv-ipc reproduces 'malformed patch at line 22'). They were harmless only because they sit in vendored recipes (baked, not re- applied) — but would fail on any version-bump re-derivation. --fix recounts the hunk headers (body untouched) and repaired all 29. Wired into build-preflight.sh (Phase 1.0D) and redbear-ci.yml, with a unit test (test-patch-sanity.sh). Skips archived/legacy trees and unvalidatable formats (empty placeholders, bare-@@ git hunks).
28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>FAQ and How to Deal with Common False Positives</title>
|
|
<link rel="canonical" href="https://clang.llvm.org/docs/analyzer/user-docs/FAQ.html"/>
|
|
<meta http-equiv="refresh" content="0;url=https://clang.llvm.org/docs/analyzer/user-docs/FAQ.html" />
|
|
<link type="text/css" rel="stylesheet" href="menu.css">
|
|
<link type="text/css" rel="stylesheet" href="content.css">
|
|
<script type="text/javascript" src="scripts/menu.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="page">
|
|
<!--#include virtual="menu.html.incl"-->
|
|
|
|
<div id="content">
|
|
|
|
<h1>FAQ and How to Deal with Common False Positives</h1>
|
|
<p style="color:red; font-size:200%">This page is deprecated and will be removed in release 21.0</p>
|
|
<p>Its content was migrated to <a href="https://clang.llvm.org/docs/analyzer/user-docs/FAQ.html">the regular LLVM documentation</a>.</p>
|
|
<script>window.location='https://clang.llvm.org/docs/analyzer/user-docs/FAQ.html'</script>
|
|
|
|
</div> <!-- content -->
|
|
</div> <!-- page -->
|
|
</body>
|
|
</html>
|