projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add icmp statistics printing
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
ex_vops.c
diff --git
a/usr/src/usr.bin/ex/ex_vops.c
b/usr/src/usr.bin/ex/ex_vops.c
index
1774727
..
c0daf47
100644
(file)
--- a/
usr/src/usr.bin/ex/ex_vops.c
+++ b/
usr/src/usr.bin/ex/ex_vops.c
@@
-1,5
+1,5
@@
-/* Copyright (c) 198
0
Regents of the University of California */
-static char *sccsid = "@(#)ex_vops.c
6.2
%G%";
+/* Copyright (c) 198
1
Regents of the University of California */
+static char *sccsid = "@(#)ex_vops.c
7.2
%G%";
#include "ex.h"
#include "ex_tty.h"
#include "ex_vis.h"
#include "ex.h"
#include "ex_tty.h"
#include "ex_vis.h"
@@
-97,7
+97,6
@@
bool show; /* if true update the screen */
else
vreplace(undap1 - addr, undap2 - undap1,
undkind == UNDPUT ? 0 : unddol - dol);
else
vreplace(undap1 - addr, undap2 - undap1,
undkind == UNDPUT ? 0 : unddol - dol);
-vudump("before big undo");
savenote = notecnt;
undo(1);
if (show && (vundkind != VMCHNG || addr != dot))
savenote = notecnt;
undo(1);
if (show && (vundkind != VMCHNG || addr != dot))
@@
-622,7
+621,7
@@
smallchange:
* you are better off with slowopen.
*/
voOpen(c, cnt)
* you are better off with slowopen.
*/
voOpen(c, cnt)
- char c;
+ int c; /* mjm: char --> int */
register int cnt;
{
register int ind = 0, i;
register int cnt;
{
register int ind = 0, i;
@@
-714,7
+713,8
@@
vfilter()
{
register line *addr;
register int cnt;
{
register line *addr;
register int cnt;
- char *oglobp, d;
+ char *oglobp;
+ short d;
if ((cnt = xdw()) < 0)
return;
if ((cnt = xdw()) < 0)
return;