Fix issue #4584, "Non-canonical $HOME crashes GPG-agent support code".
Fix issue #4584, "Non-canonical $HOME crashes GPG-agent support code".

This is a minimal fix, suitable for back-porting. The issue was introduced in 1.8.11.

* subversion/libsvn_subr/gpg_agent.c
  (find_running_gpg_agent): Canonicalize the home directory before using it.

git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1691928 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion