remove stupid debug code in wordexp
This commit is contained in:
parent
d251c2645c
commit
90f09a0dde
1 changed files with 0 additions and 1 deletions
|
|
@ -83,7 +83,6 @@ int wordexp(const char *s, wordexp_t *we, int flags)
|
||||||
cmd = malloc(len);
|
cmd = malloc(len);
|
||||||
if (!cmd) return WRDE_NOSPACE;
|
if (!cmd) return WRDE_NOSPACE;
|
||||||
snprintf(cmd, len, "printf %%s\\\\0 %s %s", s, redir);
|
snprintf(cmd, len, "printf %%s\\\\0 %s %s", s, redir);
|
||||||
printf("{%s}\n", cmd);
|
|
||||||
f = popen(cmd, "r");
|
f = popen(cmd, "r");
|
||||||
free(cmd);
|
free(cmd);
|
||||||
if (!f) return WRDE_NOSPACE;
|
if (!f) return WRDE_NOSPACE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue