Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3795

lower-case drive letters can break svn_dirent_get_absolute on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.7.0
    • libsvn_subr
    • None

    Description

      As described in http://svn.haxx.se/dev/archive-2009-10/0682.shtml, if the
      current working path contains a lower case drive letter, then
      libsvn_subr/dirent_uri.c:svn_dirent_get_absolute() will fail if asked to find
      the absolute path of a relative path with an upper case drive litter, e.g.
      'C:somepath'.
      
      Ultimately this is an APR bug in apr_filepath_merge(), which doesn't consider
      the possibility of a mismatch in case for drive letters, see See
      http://www.mail-archive.com/dev@apr.apache.org/msg23168.html.
      
      rhuijben added a C-test for this issue in
      http://svn.apache.org/viewvc?view=revision&revision=880444
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pburba Paul Burba
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: