summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-09-05 19:39:21 +0000
committerCharles.Forsyth <devnull@localhost>2007-09-05 19:39:21 +0000
commit06965d10d9199bef760049aa302caf8c1c77e96f (patch)
treee7edcbb5a35aef155d5710d9ca91510deb1f2410
parent4252603c74a95023984422e8cc3520cc3d9340ac (diff)
20070905-2038
-rw-r--r--CHANGES3
-rw-r--r--appl/cmd/ed.b2
-rw-r--r--appl/lib/ecmascript/builtin.b2
-rw-r--r--dis/ed.disbin12072 -> 12050 bytes
-rw-r--r--dis/lib/ecmascript.disbin144852 -> 144846 bytes
-rw-r--r--include/version.h2
6 files changed, 6 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index d96c8aed..5c1513b5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+20070905
+ /appl/cmd/ed.b (caerwyn's fix for g/.../d)
+ also /appl/lib/ecmascript/builtin.b (toupper fix)
20070902
make /appl/lib/daytime.b accept Daytime->text's output; add string2tm to man page (issue 59)
20070901
diff --git a/appl/cmd/ed.b b/appl/cmd/ed.b
index e374ce4e..f0ad6310 100644
--- a/appl/cmd/ed.b
+++ b/appl/cmd/ed.b
@@ -1158,7 +1158,7 @@ global(k: int)
#
# Special case: g/.../d (avoid n^2 algorithm)
- if(globuf[0] == 'd' && globuf[1] == '\n' && globuf[2] == 0) {
+ if(globuf == "d\n") {
gdelete();
return;
}
diff --git a/appl/lib/ecmascript/builtin.b b/appl/lib/ecmascript/builtin.b
index c8374f35..8eb12ad6 100644
--- a/appl/lib/ecmascript/builtin.b
+++ b/appl/lib/ecmascript/builtin.b
@@ -1371,7 +1371,7 @@ tolower(c: int): int
toupper(c: int): int
{
- if(c >= 'a' && c <= 'a')
+ if(c >= 'a' && c <= 'z')
return c - 'a' + 'A';
return c;
}
diff --git a/dis/ed.dis b/dis/ed.dis
index 0a8db3fb..6e6f4ebf 100644
--- a/dis/ed.dis
+++ b/dis/ed.dis
Binary files differ
diff --git a/dis/lib/ecmascript.dis b/dis/lib/ecmascript.dis
index 51b1aa25..71c1030e 100644
--- a/dis/lib/ecmascript.dis
+++ b/dis/lib/ecmascript.dis
Binary files differ
diff --git a/include/version.h b/include/version.h
index d1828233..be5b53b0 100644
--- a/include/version.h
+++ b/include/version.h
@@ -1 +1 @@
-#define VERSION "Fourth Edition (20070901)"
+#define VERSION "Fourth Edition (20070905)"