put notify did not act properly if a record had disp=TRUE

This commit is contained in:
Marty Kraimer
2003-08-05 16:03:02 +00:00
parent ad9f577faf
commit 6ea736d0ed
2 changed files with 10 additions and 1 deletions
+8
View File
@@ -201,6 +201,14 @@ void epicsShareAPI dbPutNotify(putNotify *ppn)
long status=0;
assert(precord);
/*check for putField disabled*/
if(precord->disp) {
if((void *)(&precord->disp) != ppn->paddr->pfield) {
ppn->status = putNotifyPutDisabled;
(*ppn->userCallback)(ppn);
return;
}
}
/* Must handle DBF_XXXLINKs as special case.
* Only dbPutField will change link fields.
* Also the record is not processed as a result
+2 -1
View File
@@ -32,7 +32,8 @@ typedef struct ellCheckNode{
typedef enum {
putNotifyOK,
putNotifyCanceled,
putNotifyError
putNotifyError,
putNotifyPutDisabled
}putNotifyStatus;
typedef struct putNotify{