fix some fd leaks in error paths and avoid some double close
tree1add2e47ac8518fa5fb8e95e4c24b7242c09b4f0
-rw-r--r-- 959 .cirrus.yml
drwxr-xr-x - .github
-rw-r--r-- 1186 .gitignore
-rw-r--r-- 6797 CHANGELOG
-rw-r--r-- 74810 CHANGES
-rw-r--r-- 898 LICENCE
-rw-r--r-- 9540 Makefile.am
-rw-r--r-- 798 Makefile.common.in
-rw-r--r-- 752 Makefile.inc
-rw-r--r-- 6540 README
-rw-r--r-- 10083 README.portable
-rw-r--r-- 5640 TODO
-rwxr-xr-x 102 autogen.sh
drwxr-xr-x - compat
-rw-r--r-- 22741 configure.ac
drwxr-xr-x - cvg
drwxr-xr-x - gitwrapper
-rw-r--r-- 9324 got-dist.txt
-rw-r--r-- 155 got-version.mk
drwxr-xr-x - got
drwxr-xr-x - gotadmin
drwxr-xr-x - gotctl
drwxr-xr-x - gotd
drwxr-xr-x - gotsh
drwxr-xr-x - gotwebd
drwxr-xr-x - include
drwxr-xr-x - lib
drwxr-xr-x - libexec
drwxr-xr-x - maintscripts
drwxr-xr-x - regress
drwxr-xr-x - template
drwxr-xr-x - tog
drwxr-xr-x - util