aboutsummaryrefslogtreecommitdiffstats
path: root/old-extension
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2014-04-13 14:30:56 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2014-04-13 14:30:56 -0400
commit94e3f93395de538d73826e128281a3ea9591a5a9 (patch)
tree45257e4b024537c5e0e5a3037a99ea9765583c99 /old-extension
parentc4300d657ba49db0b6d0f0884f41a29622edc58b (diff)
parenta4b59faf911743b30f2e6e979c4f9c1ea0669ac3 (diff)
downloadegawk-94e3f93395de538d73826e128281a3ea9591a5a9.tar.gz
egawk-94e3f93395de538d73826e128281a3ea9591a5a9.tar.bz2
egawk-94e3f93395de538d73826e128281a3ea9591a5a9.zip
Merge branch 'master' into select
Diffstat (limited to 'old-extension')
-rw-r--r--old-extension/ChangeLog7
-rw-r--r--old-extension/dbarray.awk2
-rw-r--r--old-extension/record.awk4
-rw-r--r--old-extension/spec_array.c4
-rw-r--r--old-extension/testsparr.awk2
5 files changed, 13 insertions, 6 deletions
diff --git a/old-extension/ChangeLog b/old-extension/ChangeLog
index a25295a6..55c8d31d 100644
--- a/old-extension/ChangeLog
+++ b/old-extension/ChangeLog
@@ -1,3 +1,10 @@
+2014-01-07 Arnold D. Robbins <arnold@skeeve.com>
+
+ * dbarray.awk: Use full name for lib to load in extenstion() call.
+ * record.awk: Ditto.
+ * testsparr.awk: Ditto.
+ * spec_array.c [SUPER]: Fix so that it will compile.
+
2013-01-06 Arnold D. Robbins <arnold@skeeve.com>
* bindarr.c, dbarray.awk, fileop.c, record.awk, sparr.c,
diff --git a/old-extension/dbarray.awk b/old-extension/dbarray.awk
index e0a3c093..1e31f58f 100644
--- a/old-extension/dbarray.awk
+++ b/old-extension/dbarray.awk
@@ -3,7 +3,7 @@
# @load "bindarr"
BEGIN {
- extension("bindarr")
+ extension("./bindarr.so")
}
function _db_count(symbol, sq,
diff --git a/old-extension/record.awk b/old-extension/record.awk
index 18a3ce48..ff89110d 100644
--- a/old-extension/record.awk
+++ b/old-extension/record.awk
@@ -30,8 +30,8 @@
#
BEGIN {
- extension("fileop.so")
- extension("bindarr.so")
+ extension("./fileop.so")
+ extension("./bindarr.so")
}
# _record_count --- return the number of records in file
diff --git a/old-extension/spec_array.c b/old-extension/spec_array.c
index 78b24018..34d15fc5 100644
--- a/old-extension/spec_array.c
+++ b/old-extension/spec_array.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2012 the Free Software Foundation, Inc.
+ * Copyright (C) 2012, 2014 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -40,7 +40,7 @@ typedef struct spec_array {
* the base array is str_array.
*/
-#define SUPER(F) (*str_array_func[AFUNC(F)])
+#define SUPER(F) (*str_array_func[F ## _ind])
/*
diff --git a/old-extension/testsparr.awk b/old-extension/testsparr.awk
index 648a21a2..a9e3119d 100644
--- a/old-extension/testsparr.awk
+++ b/old-extension/testsparr.awk
@@ -1,6 +1,6 @@
# ../gawk -lsparr -f testsparr.awk
BEGIN {
- extension("sparr")
+ extension("./sparr.so")
print SYS["time"]
SYS["readline"] = "sparr.c";
printf("File %s has %d lines\n", SYS["readline"], length(READLINE))