Source: triplane
Version: 1.0.8-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / 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];