diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-06-11 08:38:52 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-06-11 08:38:52 +0300 |
commit | 901a6bf25b693537c59c4d1990c700e5c68db5e7 (patch) | |
tree | c7fc79d52b7efc545ce4d6044e86cfc2987892d5 | |
parent | 9cfec0497fb83a69bd77b0d2c940fe70b76c23da (diff) | |
download | egawk-901a6bf25b693537c59c4d1990c700e5c68db5e7.tar.gz egawk-901a6bf25b693537c59c4d1990c700e5c68db5e7.tar.bz2 egawk-901a6bf25b693537c59c4d1990c700e5c68db5e7.zip |
Finish up patches from Michael Builov.
-rw-r--r-- | ChangeLog | 17 | ||||
-rw-r--r-- | msg.c | 9 |
2 files changed, 18 insertions, 8 deletions
@@ -1,5 +1,20 @@ 2020-06-10 Arnold D. Robbins <arnold@skeeve.com> + More miscellaneous fixes from Michael Builov <mbuilov@gmail.com>. + + * node.c (r_unref): Handle GAWKDEBUG same as in awk.h:unref. + (parse_escape): isxdigit/isdigit/isupper called with possible negative + int: fixed. Dead code under "if (do_lint && j > 2)" eliminated, + j cannot be > 2. + (init_btowc_cache): Also initialize wide-char at index 255. + + And so that `make check' passes with GAWKDEBUG defined: + + * msg.c (err): Remvoe abort() call if fatal. Didn't really do + anything special for us. + +2020-06-10 Arnold D. Robbins <arnold@skeeve.com> + * awkgram.c, command.c: Regenerated with bison 3.6.3. * NEWS: Updated. @@ -14,7 +29,7 @@ 2020-06-10 Arnold D. Robbins <arnold@skeeve.com> - Miscellanious fixes from Michael Builov <mbuilov@gmail.com>. + Miscellaneous fixes from Michael Builov <mbuilov@gmail.com>. * awkgram.y (rule_block): Fix size declaration (parse_program): Adjust memset call. @@ -106,14 +106,9 @@ err(bool isfatal, const char *s, const char *emsg, va_list argp) (void) fprintf(stderr, "\n"); (void) fflush(stderr); - if (isfatal) { -#ifdef GAWKDEBUG - // GLIBC 2.27 doesn't necessarily flush on abort. Sigh. - fflush(NULL); - abort(); -#endif + if (isfatal) gawk_exit(EXIT_FATAL); - } + } /* msg --- take a varargs error message and print it */ |