<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Don't automatically convert to forward slashes in Windows paths"
   href="https://bugs.llvm.org/show_bug.cgi?id=39025">39025</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Don't automatically convert to forward slashes in Windows paths
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llvm-ar
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jh7370.2008@my.bristol.ac.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>At the moment, llvm-ar converts '\' to '/' in Windows relative file paths when
adding thin archive members. However, '\' is the normal separator on Windows.

Ideally, we should use '\' all the time, but this would make testing using
llvm-ar somewhat tricky to make platform-independent, due to the need to handle
paths in either direction, so we may need to consider a rule, such as switch to
backslash, if there is at least one such separator in the path, otherwise
preserve as forward slash.

Example:
C:\foo\bar -> C:\foo\bar
C:\foo/bar -> C:\foo\bar
C:/foo/bar -> C:/foo/bar

Note that llvm-ar currently does not attempt to normalise slash direction in
absolute paths. It should probably do so, for both absolute or relative,
regardless of the slashes used within the path.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>