projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d251c26
)
remove stupid debug code in wordexp
author
Rich Felker
<dalias@aerifal.cx>
Fri, 15 Apr 2011 16:07:26 +0000
(12:07 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 15 Apr 2011 16:07:26 +0000
(12:07 -0400)
src/misc/wordexp.c
patch
|
blob
|
history
diff --git
a/src/misc/wordexp.c
b/src/misc/wordexp.c
index b0d6846fc69376ed2901eaa583eee25576a9b737..01217ab06328cd128dbd181d554532e423cffca1 100644
(file)
--- a/
src/misc/wordexp.c
+++ b/
src/misc/wordexp.c
@@
-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;