SC version 5.2 patch #2
Robert Bond
rgb at sequent.UUCP
Sat May 14 10:58:55 AEST 1988
I have moved - I now work at Sequent Computer System in Beaverton,
Oregon. My new id is rgb at sequent.
I have received lots of good new stuff lately - mostly from Alan
Silverstein at HP and from Gregory Bond in Australia. The changes
are too massive for this note though, so I'll delay distribution until
I get a new release ready.
Here are a couple of patches for SC 5.2. you will have 5.2.1.1 when through.
In order for this to work, you need to have installed patch #1 to 5.1 so
you have 5.2.
In the best tradition of Larry Wall, point this file at your sc
source directory with:
"| patch -d scdir"
The patches are as follows:
1) Update revision level to 5.2.1.1 in sc.c
2) Fix an array reference in writefile in sc.c
3) Fix a corresponding problem in crypt.c
Bob Bond
sequent!rgb
Index: sc.c
Prereq: 5.2
*** /tmp/,RCSt1023693 Thu May 12 13:37:41 1988
--- sc.c Thu May 12 13:37:43 1988
***************
*** 66,72
int lastmx, lastmy; /* Screen address of the cursor */
int lastcol; /* Spreadsheet Column the cursor was in last */
char *under_cursor = " "; /* Data under the < cursor */
! char *rev = "$Revision: 5.2 $";
int seenerr;
--- 66,72 -----
int lastmx, lastmy; /* Screen address of the cursor */
int lastcol; /* Spreadsheet Column the cursor was in last */
char *under_cursor = " "; /* Data under the < cursor */
! char *rev = "$Revision: 5.2.1.1 $";
int seenerr;
***************
*** 1329,1335
if (mdir)
(void) fprintf(f, "mdir \"%s\"\n", mdir);
for (r=r0; r<=rn; r++) {
! p = &tbl[r][0];
for (c=c0; c<=cn; c++, p++)
if (*p) {
if ((*p)->label) {
--- 1329,1335 -----
if (mdir)
(void) fprintf(f, "mdir \"%s\"\n", mdir);
for (r=r0; r<=rn; r++) {
! p = &tbl[r][c0];
for (c=c0; c<=cn; c++, p++)
if (*p) {
if ((*p)->label) {
*** /tmp/,RCSt1023693 Thu May 12 13:37:57 1988
--- crypt.c Thu May 12 13:37:58 1988
***************
*** 156,162
if (mdir)
(void) fprintf(f, "mdir \"%s\"\n", mdir);
for (r=r0; r<=rn; r++) {
! p = &tbl[r][0];
for (c=c0; c<=cn; c++, p++)
if (*p) {
if ((*p)->label) {
--- 156,162 -----
if (mdir)
(void) fprintf(f, "mdir \"%s\"\n", mdir);
for (r=r0; r<=rn; r++) {
! p = &tbl[r][c0];
for (c=c0; c<=cn; c++, p++)
if (*p) {
if ((*p)->label) {
--
Robert Bond sequent!rgb
Sequent Computer Systems uunet!sequent!rgb
More information about the Comp.sources.bugs
mailing list