aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-09 03:20:31 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-09 03:20:31 -0400
commit0570acfa153fe7297257c0d39e5e0c4df3f8040a (patch)
treef977b43ac9e1d036b8f66846fc9e3a827fa47cb7
parenta306f945571c8027badd2ca673304991f628900c (diff)
Fix path escapes
-rw-r--r--parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index eee8401e..b094f6c9 100644
--- a/parse.c
+++ b/parse.c
@@ -1316,6 +1316,7 @@ PARSER(parse_path) {
++pos;
chunk_text = CORD_asprintf("%r%.*s%c", chunk_text, (size_t)(pos - chunk_start), chunk_start, *pos);
++pos;
+ chunk_start = pos;
continue;
}
case '$': {