Hi!

In order to work on deterministic (and thus reproducible builds) [1],
I started by refactoring the dpkg-deb `do_build()` function (which was
dubbed “Overly complex”) into something I could understand.

The process lead me to discover two minor issues after clearing up the
code path and responsabilities about file descriptors.

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

Jérémy Bobbio (3):
  Refactor dpkg-deb do_build() in multiple smaller functions
  Consistently handle major deb format in do_build()
  Ensure that gzfd is closed when writing newer deb format

 dpkg-deb/build.c |  348 ++++++++++++++++++++++++++++++++----------------------
 1 file changed, 209 insertions(+), 139 deletions(-)

Hope that helps,
-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to