OSDN Git Service

fix quoting of strings with spaces and backslashes at the end
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 26 Apr 2011 08:31:28 +0000 (10:31 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 26 Apr 2011 08:45:04 +0000 (10:45 +0200)
commit6c5647c18d81233fbc9737e89ba8eb696be4726e
tree6637d10d6dbbb9bb9abc593c4bab187316af93dc
parent444fd5ee191419af916bbc656583a38f38fdde14
fix quoting of strings with spaces and backslashes at the end

the regexp would match twice at the end, and thus insert a stray quote.
so use a discrete loop instead.
fixed the same thing in proparser/ioutils before ...

Task-number: QTCREATORBUG-4291
src/libs/utils/abstractprocess_win.cpp