diff options
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | appl/cmd/ed.b | 2 | ||||
| -rw-r--r-- | appl/lib/ecmascript/builtin.b | 2 | ||||
| -rw-r--r-- | dis/ed.dis | bin | 12072 -> 12050 bytes | |||
| -rw-r--r-- | dis/lib/ecmascript.dis | bin | 144852 -> 144846 bytes | |||
| -rw-r--r-- | include/version.h | 2 |
6 files changed, 6 insertions, 3 deletions
@@ -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; } Binary files differdiff --git a/dis/lib/ecmascript.dis b/dis/lib/ecmascript.dis Binary files differindex 51b1aa25..71c1030e 100644 --- a/dis/lib/ecmascript.dis +++ b/dis/lib/ecmascript.dis 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)" |
