diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:45:27 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:45:27 +0200 |
commit | 6083e965fac1b272f9ccb491902b24a24ea14122 (patch) | |
tree | d4454d50f6d0ebcf398111f811243876e2dc62d2 /io.c | |
parent | d36d6c02e9f3277850815f3bf5aec3b22fa54a21 (diff) | |
parent | fc1410099d6ccbb72adb54ecffd0711348706ca4 (diff) | |
download | egawk-6083e965fac1b272f9ccb491902b24a24ea14122.tar.gz egawk-6083e965fac1b272f9ccb491902b24a24ea14122.tar.bz2 egawk-6083e965fac1b272f9ccb491902b24a24ea14122.zip |
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -841,7 +841,7 @@ redirect_string(const char *str, size_t explen, bool not_string, what = "|&"; break; default: - cant_happen(); + cant_happen("invalid redirection type %d", (int) redirtype); } if (do_lint && not_string) lintwarn(_("expression in `%s' redirection is a number"), @@ -1020,7 +1020,7 @@ redirect_string(const char *str, size_t explen, bool not_string, } break; default: - cant_happen(); + cant_happen("invalid redirection type %d", (int) redirtype); } if (mode != NULL) { @@ -1617,7 +1617,7 @@ str2mode(const char *mode) default: ret = 0; /* lint */ - cant_happen(); + cant_happen("invalid open mode \"%s\"", mode); } if (strchr(mode, 'b') != NULL) ret |= O_BINARY; |