Source: triplane
Version: 1.0.8-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that triplane could not be built reproducibly.

The attached patch removes randomess from the build system caused by an
uninitialised array. Once applied, triplane can be built reproducibly in
our current experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/src/tools/dksbuild/dksbuild.cc b/src/tools/dksbuild/dksbuild.cc
index 8537704..bc29e43 100644
--- a/src/tools/dksbuild/dksbuild.cc
+++ b/src/tools/dksbuild/dksbuild.cc
@@ -68,7 +68,7 @@ int filelength(FILE *faili)
 int main(int argc,char **argv)
 {
   FILE *in,*out;
-  char tekstia[20];
+  char tekstia[20] = {0};
   int kohtien_lukumaara=0;
   char ch;
   char file_to_be[80];
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to