public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc1b3b
)
bug fix
author
ceriel
<none@none>
Fri, 27 Mar 1987 13:34:46 +0000
(13:34 +0000)
committer
ceriel
<none@none>
Fri, 27 Mar 1987 13:34:46 +0000
(13:34 +0000)
mach/proto/top/top.c
patch
|
blob
|
history
diff --git
a/mach/proto/top/top.c
b/mach/proto/top/top.c
index
67586ea
..
bb4d5e5
100644
(file)
--- a/
mach/proto/top/top.c
+++ b/
mach/proto/top/top.c
@@
-289,7
+289,8
@@
bool opmatch(t,s)
was_instantiated = (var[vno].vstate == INSTANTIATED);
strcpy(buf,s);
if ( (l=lstrip(buf,t->lctxt)) != NULLSTRING && rstrip(l,t->rctxt)) {
- return vno == 0 || (unify(l,&var[vno]) &&
+ return (vno == 0 && *l == '\0') ||
+ (vno != 0 && unify(l,&var[vno]) &&
(was_instantiated || tok_chk(vno)));
}
return FALSE;