fixed really bad bug when clients use PV name with .xxxx in it

This commit is contained in:
Jeff Hill
1998-04-10 23:15:40 +00:00
parent 363115921d
commit 9febbc8247

View File

@@ -121,12 +121,13 @@ pvExistReturn directoryServer::pvExistTest
// (for compatibility with EPICS
// function block database).
//
pStr = pPVName;
do {
pLastStr = pPVName;
pStr = strstr (pPVName, ".");
while (pStr) {
pLastStr = pStr;
pStr += 1;
pStr = strstr (pStr, ".");
}
while (pStr);
if (pLastStr==pPVName) {
pPVE = this->stringResTbl.lookup(id);