1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Escape backquotes in shell-escape function.

This commit is contained in:
Bruno Haible
2002-12-05 13:03:20 +00:00
parent e7c9757f68
commit ada729a2f5
2 changed files with 5 additions and 1 deletions

View File

@@ -267,7 +267,7 @@ Options::print_options () const
putchar ('"');
for (; *arg; arg++)
{
if (*arg == '\"' || *arg == '\\' || *arg == '$')
if (*arg == '\"' || *arg == '\\' || *arg == '$' || *arg == '`')
putchar ('\\');
putchar (*arg);
}