Fix "svnadmin create on existing repository" issue.  Essentially, apr_dir_is_empty() was returning whether or not the directory could be accessed and read without error, not whether the directory was empty.  In doing so, fix a very small filedescriptor leak.
Fix "svnadmin create on existing repository" issue.  Essentially,
apr_dir_is_empty() was returning whether or not the directory
could be accessed and read without error, not whether the directory
was empty.  In doing so, fix a very small filedescriptor leak.

* subversion/libsvn_subr/io.c
  (apr_dir_is_empty): Only return apr_err if an actual error has
   occurred.


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

wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion