Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: tools/llvm/driver/pathtools.py

Issue 7508011: More fixes for PNaCl Windows. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/untrusted_check/untrusted_check_test.stderr ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/llvm/driver/pathtools.py
===================================================================
--- tools/llvm/driver/pathtools.py (revision 6299)
+++ tools/llvm/driver/pathtools.py (working copy)
@@ -45,6 +45,10 @@
if syspath.startswith('/cygdrive/'):
return syspath
+ # Leave '-' alone since it represents stdout and not a real path.
+ if syspath == '-':
+ return syspath
+
components = os.path.abspath(syspath).split('\\')
drive = components[0]
components = components[1:]
« no previous file with comments | « tests/untrusted_check/untrusted_check_test.stderr ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698