files from last release. ex-050325

This commit is contained in:
2024-10-10 18:04:47 +00:00
parent 0793775912
commit 2c0c217bb6
58 changed files with 7236 additions and 430 deletions

View File

@@ -73,7 +73,7 @@
#ifndef lint
#ifdef DOSCCS
static char sccsid[] = "@(#)ex_vops.c 1.28 (gritter) 8/4/05";
static char sccsid[] = "@(#)ex_vops.c 1.26 (gritter) 1/13/05";
#endif
#endif
@@ -143,7 +143,7 @@ vundo (
register int cnt;
register line *addr;
register char *cp;
char *temp = smalloc(LBSIZE);
char temp[LBSIZE];
bool savenote;
int (*OO)(int);
short oldhold = hold;
@@ -246,7 +246,6 @@ vundo (
beep();
break;
}
free(temp);
}
/*
@@ -260,7 +259,7 @@ vmacchng(int fromvis)
{
line *savedot, *savedol;
char *savecursor;
char *savelb;
char savelb[LBSIZE];
int nlines, more;
/* register line *a1, *a2; */
/* char ch; */ /* DEBUG */
@@ -284,7 +283,6 @@ vmacchng(int fromvis)
vch_mac = VC_ONECHANGE;
break;
case VC_ONECHANGE:
savelb = smalloc(LBSIZE);
/* Save current state somewhere */
#ifdef TRACE
vudump("before vmacchng hairy case");
@@ -332,7 +330,6 @@ vmacchng(int fromvis)
#ifdef TRACE
vudump("after vmacchng");
#endif
free(savelb);
break;
case VC_NOTINMAC:
case VC_MANYCHANGE: