diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-08-17 12:38:04 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-08-17 12:38:04 +0300 |
commit | e6b05afd9971b457c0b46907a91185b66be8ff4e (patch) | |
tree | e7d3b6fce47a2ac7b32cdf923ceb6e50db9fe441 /eval.c | |
parent | 3b23e177cd166e96c700379491b4a99bddf9aa4d (diff) | |
parent | 76cc4d241f328876b18e48639d631823c3d304d6 (diff) | |
download | egawk-e6b05afd9971b457c0b46907a91185b66be8ff4e.tar.gz egawk-e6b05afd9971b457c0b46907a91185b66be8ff4e.tar.bz2 egawk-e6b05afd9971b457c0b46907a91185b66be8ff4e.zip |
Merge branch 'extgawk'
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -967,6 +967,9 @@ set_LINT() /* explicitly use warning() here, in case lintfunc == r_fatal */ if (old_lint != do_lint && old_lint && ! do_lint) warning(_("turning off `--lint' due to assignment to `LINT'")); + + /* inform plug-in api of change */ + update_ext_api(); #endif /* ! NO_LINT */ } @@ -1004,13 +1007,11 @@ update_ERRNO_int(int errcode) ERRNO_node->var_value = make_string(cp, strlen(cp)); } -/* update_ERRNO_string --- update ERRNO with optionally translated string */ +/* update_ERRNO_string --- update ERRNO */ void -update_ERRNO_string(const char *string, enum errno_translate translate) +update_ERRNO_string(const char *string) { - if (translate == TRANSLATE) - string = gettext(string); unref(ERRNO_node->var_value); ERRNO_node->var_value = make_string(string, strlen(string)); } |