Ticket #3852: mc.diff
File mc.diff, 904 bytes (added by anatoly.borodin, 7 years ago) |
---|
-
src/subshell/common.c
init_subshell_precmd (char *precmd, size_t buff_size) 908 908 * replaced by the backslash-escape sequence \0nnn, where "nnn" is the 909 909 * numeric value of the character converted to octal number. 910 910 * 911 * cd "`printf "%b"'ABC\0nnnDEF\0nnnXYZ'`"911 * cd "`printf %b 'ABC\0nnnDEF\0nnnXYZ'`" 912 912 * 913 913 */ 914 914 … … subshell_name_quote (const char *s) 921 921 922 922 if (mc_global.shell->type == SHELL_FISH) 923 923 { 924 quote_cmd_start = "(printf \"%b\"'";924 quote_cmd_start = "(printf %b '"; 925 925 quote_cmd_end = "')"; 926 926 } 927 927 /* TODO: When BusyBox printf is fixed, get rid of this "else if", see … … subshell_name_quote (const char *s) 933 933 } */ 934 934 else 935 935 { 936 quote_cmd_start = "\"`printf \"%b\"'";936 quote_cmd_start = "\"`printf %b '"; 937 937 quote_cmd_end = "'`\""; 938 938 } 939 939