[presentations] 01/01: Add random chars example.

Chris Lamb chris at chris-lamb.co.uk
Fri Aug 11 16:42:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository presentations.

commit 5eee06261e343d6444ac20bc40b518f80dc9cce3
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Aug 11 12:41:52 2017 -0400

    Add random chars example.
---
 2017-08-11-DebConf17/index.html | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/2017-08-11-DebConf17/index.html b/2017-08-11-DebConf17/index.html
index 37a9f3e..ec5baaf 100644
--- a/2017-08-11-DebConf17/index.html
+++ b/2017-08-11-DebConf17/index.html
@@ -119,6 +119,32 @@ $build->config_data(OpenIDConsumerSecret=>int(1e15*rand()));
       </section>
 
       <section>
+        <h3>Random chars in manpages</h3>
+
+        <ul>
+          <li class="fragment">Randomly inserts characters into generated manpages</li>
+        </ul>
+
+        <pre class="fragment"><code>-This manual page documents the usageoof WikipediaFS.
++This manual page documents the usage of WikipediaFS.
+</code></pre>
+
+        <pre class="fragment"><code>memcpy(&buf[1], &buf[2], strlen(buf)-1);</code></pre>
+
+        <ul>
+          <li class="fragment">"<code> n\\011</code>" → "<code>\111</code>" → maps to capital "I"</li>
+        </ul>
+
+        <pre class="fragment"><code>- memcpy(&buf[1], &buf[2], strlen(buf)-1);
++ memmove(&buf[1], &buf[2], strlen(buf)-1);
+</code></pre>
+
+        <p class="bug-link fragment">
+          <a href="https://bugs.debian.org/842635">#842635 (docbook2man)</a>
+        </p>
+      </section>
+
+      <section>
         <h3>Fails to build 0.46% of the time</h3>
 
 <pre class="fragment"><code>x = f(u('abc'), 16)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/presentations.git



More information about the Reproducible-commits mailing list