diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-08-13 21:38:43 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-08-13 21:38:43 +0300 |
commit | e774ca51390768c79a9078c25ed1f9f5d5afa283 (patch) | |
tree | 6a973c5a0db9614cec6ef6295183a751ab3ea9c6 | |
parent | ca28ed34bb81cac9c434c864de7abfe9b4620c13 (diff) | |
download | egawk-e774ca51390768c79a9078c25ed1f9f5d5afa283.tar.gz egawk-e774ca51390768c79a9078c25ed1f9f5d5afa283.tar.bz2 egawk-e774ca51390768c79a9078c25ed1f9f5d5afa283.zip |
Fix TIDYMEM / mtrace usage.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configh.in | 3 | ||||
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | symbol.c | 1 |
5 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2020-08-13 Arnold D. Robbins <arnold@skeeve.com> + + Fix TIDYMEM / use of mtrace. + + * configure.ac: Add mtrace to list of functions searched for. + * symbol.c (make_symbol): Set valref to 1. Allows the + release_all_vars function to work. + 2020-08-12 Arnold D. Robbins <arnold@skeeve.com> * awkgram.c, command.c: Regenerated with Bison 3.7.1. @@ -156,6 +156,9 @@ /* Define to 1 if you have fully functional mpfr and gmp libraries. */ #undef HAVE_MPFR +/* Define to 1 if you have the `mtrace' function. */ +#undef HAVE_MTRACE + /* Define to 1 if you have the <netdb.h> header file. */ #undef HAVE_NETDB_H @@ -10721,7 +10721,8 @@ for ac_func in __etoa_l atexit btowc fmod gai_strerror \ fwrite_unlocked \ isascii isblank iswctype iswlower iswupper mbrlen \ memcmp memcpy memcpy_ulong memmove memset \ - memset_ulong mkstemp posix_openpt setenv setlocale setsid sigprocmask \ + memset_ulong mkstemp mtrace \ + posix_openpt setenv setlocale setsid sigprocmask \ snprintf strchr \ strerror strftime strcasecmp strncasecmp strcoll strtod strtoul \ system timegm tmpfile towlower towupper tzset usleep waitpid wcrtomb \ diff --git a/configure.ac b/configure.ac index c25730b8..ce9d0155 100644 --- a/configure.ac +++ b/configure.ac @@ -303,7 +303,8 @@ AC_CHECK_FUNCS(__etoa_l atexit btowc fmod gai_strerror \ fwrite_unlocked \ isascii isblank iswctype iswlower iswupper mbrlen \ memcmp memcpy memcpy_ulong memmove memset \ - memset_ulong mkstemp posix_openpt setenv setlocale setsid sigprocmask \ + memset_ulong mkstemp mtrace \ + posix_openpt setenv setlocale setsid sigprocmask \ snprintf strchr \ strerror strftime strcasecmp strncasecmp strcoll strtod strtoul \ system timegm tmpfile towlower towupper tzset usleep waitpid wcrtomb \ @@ -292,6 +292,7 @@ make_symbol(const char *name, NODETYPE type) r->var_value = dupnode(Nnull_string); r->vname = (char *) name; r->type = type; + r->valref = 1; return r; } |