Fix multiple issues when expanding argfiles
- treat a contiguous whitespace sequence as a single argument separator, not as several empty-string arguments separated by whitespaces - fix infinite loop when reading unfinished quoted argument - do not attempt to perform escape if the backslash is the last character in the file
This commit is contained in:
committed by
Dmitry Savvinov
parent
61902e1fd5
commit
06d97cce51
@@ -0,0 +1,7 @@
|
||||
|
||||
$TESTDATA_DIR$/simple.kt -d $TEMP_DIR$
|
||||
|
||||
|
||||
|
||||
|
||||
-jdk-home "abacaba\
|
||||
@@ -0,0 +1 @@
|
||||
-Xargfile=$TESTDATA_DIR$/argfileWithUnfinishedQuoteAndEscape.argfile
|
||||
@@ -0,0 +1,3 @@
|
||||
error: JDK home directory does not exist: abacaba
|
||||
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user