Fix execute to print UTF-8 command correctly

execute() prints the UTF-8 command as normal text, which messes up
non-ASCII characters.  Broken in commit 2cc44bb1, v4.2.21.
This commit is contained in:
Markus Armbruster 2011-07-02 07:36:07 +02:00
parent b464b0fcc2
commit d3899f5732

View file

@ -262,7 +262,9 @@ execute(void)
failed = 1; failed = 1;
continue; continue;
} }
pr("\nExecute : %s\n", buf); pr("\nExecute : ");
uprnf(buf);
pr("\n");
if (redir) { if (redir) {
pr("Execute : redirection not supported\n"); pr("Execute : redirection not supported\n");
failed = 1; failed = 1;