|
|
1.1 root 1: Since V7:
2:
3: 1) garbage could be compiled into pseudo-sense.
4: Fix: in sed0.c, function compile, case '\0':
5: remove continue statement, so the '\0' and '\n'
6: are treated identically.
7:
8: 2) cc warning messages quieted by adding r[12] specifiers
9: to all references to union reptr.
10:
11: 3) 2/28/80: H command used a null pointer sometimes.
12: Fix: initialize hspend = holdsp in main().
13:
14: 4) 10/23/80: Null RE could not be first address of range.
15: Fixed by moving test for null RE into else after test for
16: no address (near 160 in sed0.c).
17:
18: 5) 2/8/82: got rid of two warning messages from the compiler.
19: (Changed rep->negfl to rep->r1.negfl in sed0.c;
20: ipc->r1.lb1 to ipc->r2.lb1 in sed1.c.)
21:
22: 6) 12/6/82: removed (commented out) debugging code in
23: sed0.c for unrecognized command. (It had been there since
24: at latest Jan 30, 1981.)
25:
26: 7) 6/22/83: changed the substitute() function in sed1.c
27: to fix bugs concerning matches of the empty string.
28: (The previous version would loop. Note that /bin/ed
29: as of today has a different bug relating to s/a*b/x/g;
30: /usr/rob/bin/qed has a third bug.)
31: s/a*/x/g should now work properly.
32:
33: 8) 4/12/84: added sed: prefix to all error messages.
34:
35: 9) 6/25/84: Removed an artificial limit on the size of a regular expression
36: by undefinig ESIZE, and making the test of how big a regular expression
37: can be always be against reend (= &respace[RESIZE].
38: This limits the total space for storing re's, instead of limiting them
39: individually.
40:
41: 10) 4/26/85: Increased the size of PTRSPACE (256->512) and RESPACE
42: (5000->10000).
43:
44: 11) 5/17/85: fixed a bug found by boulder!geoff;
45: resets sflag (saying whether a substitution was done on the
46: current line) in routine gline().
47: Fixes "t" to work as advertized.
48:
49: 12) 7/24/85: changed the 's' case in fcomp to notice if an empty
50: RE is the first re found.
51:
52: 13) 10/01/85: increased max number of w files to 120; #defined MAXFILES
53:
54: 14) 10/01/85: fixed number of line-numbers to be 256 instead of 128
55: (in sed1.c added & 0377 when line# index is moved from byte
56: to int).
57:
58: 15) 4/16/86: changed number of linenumbers to be a long instead of a char.
59:
60: 16) 4/14/86: fixed bug in case '}' in comp() in sed0.c so that ; functions
61: as a new-line separating commands.
62:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.