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
added depend label
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
ex_addr.c
diff --git
a/usr/src/usr.bin/ex/ex_addr.c
b/usr/src/usr.bin/ex/ex_addr.c
index
a01a8f2
..
4b8fef0
100644
(file)
--- a/
usr/src/usr.bin/ex/ex_addr.c
+++ b/
usr/src/usr.bin/ex/ex_addr.c
@@
-5,7
+5,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char *sccsid = "@(#)ex_addr.c 7.
3
(Berkeley) %G%";
+static char *sccsid = "@(#)ex_addr.c 7.
4
(Berkeley) %G%";
#endif not lint
#include "ex.h"
#endif not lint
#include "ex.h"
@@
-88,7
+88,7
@@
getnum()
register int cnt;
for (cnt = 0; isdigit(peekcd());)
register int cnt;
for (cnt = 0; isdigit(peekcd());)
- cnt = cnt * 10 + getchar() - '0';
+ cnt = cnt * 10 +
ex_
getchar() - '0';
return (cnt);
}
return (cnt);
}
@@
-261,7
+261,7
@@
error("No match to TOP|Address search hit TOP without matching pattern");
continue;
case '\'':
continue;
case '\'':
- c = markreg(getchar());
+ c = markreg(
ex_
getchar());
if (c == 0)
error("Marks are ' and a-z");
addr = getmark(c);
if (c == 0)
error("Marks are ' and a-z");
addr = getmark(c);