aboutsummaryrefslogtreecommitdiffstats
path: root/gawkapi.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-03-20 17:19:15 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-03-20 17:19:15 +0200
commita31a42403b841ef05ca9143a431c8b6f1021a958 (patch)
tree09668a5683a34d8fcc114c105a6148dd3b717b26 /gawkapi.c
parent2473b938036dfdd32ff47833ea032a80a6fa5659 (diff)
parent480aca31c7772dafeb1b97cd7a768bca2f49d3c7 (diff)
downloadegawk-a31a42403b841ef05ca9143a431c8b6f1021a958.tar.gz
egawk-a31a42403b841ef05ca9143a431c8b6f1021a958.tar.bz2
egawk-a31a42403b841ef05ca9143a431c8b6f1021a958.zip
Merge branch 'master' into select
Diffstat (limited to 'gawkapi.c')
-rw-r--r--gawkapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gawkapi.c b/gawkapi.c
index f8d04986..01bfa765 100644
--- a/gawkapi.c
+++ b/gawkapi.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2012-2014 the Free Software Foundation, Inc.
+ * Copyright (C) 2012-2015 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -1118,7 +1118,7 @@ api_get_file(awk_ext_id_t id, const char *name, size_t namelen, const char *file
filetype, name);
return awk_false;
}
- if ((f = redirect_string(name, namelen, 0, redirtype, &flag, fd)) == NULL)
+ if ((f = redirect_string(name, namelen, 0, redirtype, &flag, fd, false)) == NULL)
return awk_false;
*ibufp = f->iop ? & f->iop->public : NULL;
*obufp = f->output.fp ? & f->output : NULL;