Add SIGTERM/SIGINT handling to svnserve, this allows it to exit more
gracefully which allows tools like valgrind to monitor whether the
program exits cleanly and do things like leak detection.

* subversion/svnserve/svnserve.c
  (sigtermint_handler): New handler.
  (accept_connection): Check for signal.
  (sub_main): Install handler, check for signal, add return.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1908547 13f79535-47bb-0310-9956-ffa450edef68
1 file changed