ref: ec4a02dfa4a7f88725148a69f4c99431e4a6f84d
parent: 6973c8df2046495532042c50efd81beedeb608d7
author: Turo Lamminen <turol@iki.fi>
date: Sat May 2 11:32:22 EDT 2020
setup: Make ArgumentNeedsEscape parameter const
--- a/src/setup/execute.c
+++ b/src/setup/execute.c
@@ -76,9 +76,9 @@
return M_StringJoin(tempdir, DIR_SEPARATOR_S, s, NULL);
}
-static int ArgumentNeedsEscape(char *arg)
+static int ArgumentNeedsEscape(const char *arg)
{
- char *p;
+ const char *p;
for (p = arg; *p != '\0'; ++p)
{