Skip to content

Commit a148b9a

Browse files
committed
Remove a commented and outdated busybox code
This piece of code was never live in mc. It would work around a BusyBox bug that was fixed in 2012. Signed-off-by: Egmont Koblinger <egmont@gmail.com>
1 parent 4960287 commit a148b9a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/subshell/common.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,13 +1340,6 @@ subshell_name_quote (const char *s)
13401340
quote_cmd_start = "(printf '%b' '";
13411341
quote_cmd_end = "')";
13421342
}
1343-
/* TODO: When BusyBox printf is fixed, get rid of this "else if", see
1344-
https://lists.busybox.net/pipermail/busybox/2012-March/077460.html */
1345-
/* else if (subshell_type == ASH_BUSYBOX)
1346-
{
1347-
quote_cmd_start = "\"`echo -en '";
1348-
quote_cmd_end = "'`\"";
1349-
} */
13501343
else
13511344
{
13521345
quote_cmd_start = "\"`printf '%b' '";

0 commit comments

Comments
 (0)