<div dir="ltr">This patch doesn't kick in if we have a really big relative path.  Would it make sense for us to make the path absolute (using GetCurrentDirectory) and then prefix it with \\?\ ?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 10, 2014 at 1:01 PM, Robinson, Paul <span dir="ltr"><<a href="mailto:Paul_Robinson@playstation.sony.com" target="_blank">Paul_Robinson@playstation.sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Support directory names longer than 248 characters on Windows.<br>
<br>
The normal Windows path limit is 260 characters; the limit for directory<br>
names is 248, to leave room for an 8.3 filename at the end.  Adding the<br>
'\\?\' prefix greatly expands these limits.  Intercept path names that<br>
we are about to pass to the Windows APIs and add the prefix if necessary.<br>
<br>
Also correct the comment about the state of the temporary directory used<br>
by the Support unittests.<br>
--paulr<br>
<br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>