Unified · Split
| @@ -1,3 +1,6 @@ | |||
| 1 | 20070905 | ||
| 2 | /appl/cmd/ed.b (caerwyn's fix for g/.../d) | ||
| 3 | also /appl/lib/ecmascript/builtin.b (toupper fix) | ||
| 1 | 20070902 | 4 | 20070902 |
| 2 | make /appl/lib/daytime.b accept Daytime->text's output; add string2tm to man page (issue 59) | 5 | make /appl/lib/daytime.b accept Daytime->text's output; add string2tm to man page (issue 59) |
| 3 | 20070901 | 6 | 20070901 |
| @@ -1158,7 +1158,7 @@ global(k: int) · 1157 unmodified lines | |||
| 1158 | # | 1158 | # |
| 1159 | # Special case: g/.../d (avoid n^2 algorithm) | 1159 | # Special case: g/.../d (avoid n^2 algorithm) |
| 1160 | 1160 | ||
| 1161 | if(globuf[0] == 'd' && globuf[1] == '\n' && globuf[2] == 0) { | 1161 | if(globuf == "d\n") { |
| 1162 | gdelete(); | 1162 | gdelete(); |
| 1163 | return; | 1163 | return; |
| 1164 | } | 1164 | } |
| @@ -1371,7 +1371,7 @@ tolower(c: int): int · 1370 unmodified lines | |||
| 1371 | 1371 | ||
| 1372 | toupper(c: int): int | 1372 | toupper(c: int): int |
| 1373 | { | 1373 | { |
| 1374 | if(c >= 'a' && c <= 'a') | 1374 | if(c >= 'a' && c <= 'z') |
| 1375 | return c - 'a' + 'A'; | 1375 | return c - 'a' + 'A'; |
| 1376 | return c; | 1376 | return c; |
| 1377 | } | 1377 | } |
Binary file not shown.
Binary file not shown.
| @@ -1 +1 @@ | |||
| 1 | #define VERSION "Fourth Edition (20070901)" | 1 | #define VERSION "Fourth Edition (20070905)" |