diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-29 16:36:40 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-29 16:36:40 +0300 |
commit | 7a7aff46c959aa4f2f885fa52b93137e409aa6b9 (patch) | |
tree | 5c42448510c6c273335ad9ece8a0da5961967a38 /io.c | |
parent | 82816b279615b27f7c4f87349a8c830a96939d8c (diff) | |
parent | a02d28a4829917a98c6620f4f14864b68d707d41 (diff) | |
download | egawk-7a7aff46c959aa4f2f885fa52b93137e409aa6b9.tar.gz egawk-7a7aff46c959aa4f2f885fa52b93137e409aa6b9.tar.bz2 egawk-7a7aff46c959aa4f2f885fa52b93137e409aa6b9.zip |
Merge branch 'extgawk' of ssh://git.sv.gnu.org/srv/git/gawk into extgawk
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2644,8 +2644,11 @@ find_input_parser(IOBUF *iop) } } - if (ip != NULL) - ip->take_control_of(& iop->public); + if (ip != NULL) { + if (! ip->take_control_of(& iop->public)) + warning(_("input parser `%s' failed to open `%s'."), + ip->name, iop->public.name); + } } /* iop_alloc --- allocate an IOBUF structure for an open fd */ |