diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-27 06:32:13 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-27 06:32:13 +0300 |
commit | 9d43b510f74f63806279ce40f65245ea7e5b0d53 (patch) | |
tree | 9ca3e70190325400684cfde33946017a0de334a8 /io.c | |
parent | bc1c92f4a9365f799c9c7a78b41a4eb1c40326b7 (diff) | |
download | egawk-9d43b510f74f63806279ce40f65245ea7e5b0d53.tar.gz egawk-9d43b510f74f63806279ce40f65245ea7e5b0d53.tar.bz2 egawk-9d43b510f74f63806279ce40f65245ea7e5b0d53.zip |
Some more cleanups. Ready to merge!
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1070,7 +1070,8 @@ redirect_string(const char *str, size_t explen, bool not_string, struct redirect * redirect(NODE *redir_exp, int redirtype, int *errflg, bool failure_fatal) { - int not_string = ((redir_exp->flags & STRCUR) == 0); + bool not_string = ((redir_exp->flags & STRCUR) == 0); + redir_exp = force_string(redir_exp); return redirect_string(redir_exp->stptr, redir_exp->stlen, not_string, redirtype, errflg, -1, failure_fatal); |