提交 90f09a0d 编写于 作者: R Rich Felker

remove stupid debug code in wordexp

上级 d251c264
......@@ -83,7 +83,6 @@ int wordexp(const char *s, wordexp_t *we, int flags)
cmd = malloc(len);
if (!cmd) return WRDE_NOSPACE;
snprintf(cmd, len, "printf %%s\\\\0 %s %s", s, redir);
printf("{%s}\n", cmd);
f = popen(cmd, "r");
free(cmd);
if (!f) return WRDE_NOSPACE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册