If asSetFilename is given NULL argument then next call to asInit turns off access security.

Allow character '-' in pvnames.
This commit is contained in:
Marty Kraimer
1995-08-17 14:31:52 +00:00
parent 98809f8141
commit bdffdb0369
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -148,13 +148,16 @@ static long asInitCommon(void)
long status;
char buffer[BUF_SIZE];
if(!pacf) return(0);
if(asLockInit) {
FASTLOCKINIT(&asLock);
asLockInit = FALSE;
}
FASTLOCK(&asLock);
if(asActive)asCaStop();
if(!pacf) {
asActive = FALSE;
return(0);
}
buffer[0] = 0;
my_buffer = buffer;
my_buffer_ptr = my_buffer;
+1 -1
View File
@@ -1,6 +1,6 @@
integer [0-9]
name [a-zA-Z0-9_\.]
pvname [a-zA-Z0-9_:\.\[\]<>;]
pvname [a-zA-Z0-9_\-:\.\[\]<>;]
string [a-zA-Z0-9_\,\./\*#\[\]%: ;!|\'\-&\(\)@\?\+<>=\$]
%{