aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-13 18:19:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-13 18:19:21 +0200
commit63ed0a2d1b185c4f68a4443be1d65bb5649d3570 (patch)
tree1b03a9b557a9cd972f1e092cd819ebefa3f140c5
parentf2cd04ce05fedce4c5f850f40ee458adfd387c57 (diff)
Quote names that contain wildcard characters
-rw-r--r--build2/name.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/build2/name.cxx b/build2/name.cxx
index 27733af..fe2955a 100644
--- a/build2/name.cxx
+++ b/build2/name.cxx
@@ -65,6 +65,7 @@ namespace build2
' ', '\t', '\n', '#', // Spaces.
'\\', '"', // Escaping and quoting.
'%', // Project name separator.
+ '*', '?', // Wildcard characters.
pair, // Pair separator, if any.
'\0'};