Fix potential infinite loop bug for Windows file systems, where we fail to detect that an absolute path doesn't actually contain a repository root, and don't notice our loop exit condition.
Fix potential infinite loop bug for Windows file systems, where we
fail to detect that an absolute path doesn't actually contain a
repository root, and don't notice our loop exit condition.

* subversion/libsvn_repos/repos.c
 (svn_repos_find_root_path): Check whether we've reached the file
  system root in a cross-platform manner.

Patch by: Vlad Georgescu <vgeorgescu@gmail.com>
(Tweaked by me.)


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

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