diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-06-20 10:10:30 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-06-20 10:10:30 -0400 |
commit | 2d2744ec74076d29e94a2a004e308f73a86b9fa5 (patch) | |
tree | 0238d94fc263fd3cc6b2b9e5dc62204e5a985d5a /io.c | |
parent | 239d7cc07ec54ec7a69805f9a674bfbbbd72f9b1 (diff) | |
download | egawk-2d2744ec74076d29e94a2a004e308f73a86b9fa5.tar.gz egawk-2d2744ec74076d29e94a2a004e308f73a86b9fa5.tar.bz2 egawk-2d2744ec74076d29e94a2a004e308f73a86b9fa5.zip |
Call fixtype in a few more places to make sure we check types properly.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1083,7 +1083,7 @@ redirect_string(const char *str, size_t explen, bool not_string, struct redirect * redirect(NODE *redir_exp, int redirtype, int *errflg, bool failure_fatal) { - bool not_string = ((redir_exp->flags & STRING) == 0); + bool not_string = ((fixtype(redir_exp)->flags & STRING) == 0); redir_exp = force_string(redir_exp); return redirect_string(redir_exp->stptr, redir_exp->stlen, not_string, |