aboutsummaryrefslogtreecommitdiffstats
path: root/extension/arrayparm.c
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2012-03-20 10:46:03 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2012-03-20 10:46:03 -0400
commitb51edf37c4271bf5ec5dcad9d35169f55e38efa9 (patch)
tree66653936b87078aa96a562e05f66660b4d616d8e /extension/arrayparm.c
parentcd44d957787e162df4348028c22e8b9621000790 (diff)
downloadegawk-b51edf37c4271bf5ec5dcad9d35169f55e38efa9.tar.gz
egawk-b51edf37c4271bf5ec5dcad9d35169f55e38efa9.tar.bz2
egawk-b51edf37c4271bf5ec5dcad9d35169f55e38efa9.zip
- Add new environment variable AWKLIBPATH to use when searching for shared
libraries. - Instead of hardcoding the default ".so" suffix for shared libraries, use autoconf to get the right value for this platform. - Build and install some of the bundled shared library extensions so that they will now be available using the default AWKLIBPATH.
Diffstat (limited to 'extension/arrayparm.c')
-rw-r--r--extension/arrayparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/arrayparm.c b/extension/arrayparm.c
index b0aee33d..1e28811e 100644
--- a/extension/arrayparm.c
+++ b/extension/arrayparm.c
@@ -60,7 +60,7 @@ do_mkarray(int nargs)
printf("sub->type = %s\n", nodetype2str(sub->type));
printf("val->type = %s\n", nodetype2str(val->type));
- assoc_clear(var, NULL);
+ assoc_clear(var);
elemval = assoc_lookup(var, sub);
*elemval = dupnode(val);