Remove upstream git fanciness Debian needs to be able to build libgpg-error while using git for tracking the debian packaging itself. Debian also wants to autoreconf this stuff. However, Debian does *not* need to conform exactly to upstream's git configurations.
This avoids mistakes like accidentally identifying running code as a beta.
[PATCH] spawn:w32: Fix a memory leak on an error path. * src/spawn-w32.c (spawn_detached): Make sure to release lpAttributeList. (_gpgrt_process_spawn): Likewise.
[PATCH 1/2] spawn: Use closefrom when available. * configure.ac (AC_CHECK_FUNCS): Check closefrom. * src/spawn-posix.c [HAVE_CLOSEFROM]: Use closefrom if possible.
[PATCH 2/2] spawn: Care about closefrom/close call is interrupted. * src/spawn-posix.c (closefrom_really): Handle interrupted call of closefrom. (close_except): Likewise for call of close. (_gpgrt_close_all_fds): Use closefrom_really and close_except.