lp:~mdavidsaver/epics-base/rec-init
Correctly initialize various fields used to detect changes in other fields (MLST, OVAL, LALM, ...)
Currently this are zero. This is a problem if the fields they are compared against are initialized (in init_record) to a non-zero value.
- Get this branch:
- bzr branch lp:~mdavidsaver/epics-base/rec-init
Branch merges
- Andrew Johnson: Approve
- EPICS Core Developers: Pending requested
-
Diff: 239 lines (+56/-4)15 files modifiedsrc/rec/aSubRecord.c (+3/-0)
src/rec/aiRecord.c (+4/-0)
src/rec/aoRecord.c (+5/-0)
src/rec/biRecord.c (+3/-0)
src/rec/boRecord.c (+5/-0)
src/rec/calcoutRecord.c (+5/-0)
src/rec/longinRecord.c (+3/-0)
src/rec/longoutRecord.c (+3/-0)
src/rec/mbbiDirectRecord.c (+3/-0)
src/rec/mbbiRecord.c (+3/-0)
src/rec/mbboDirectRecord.c (+4/-0)
src/rec/mbboRecord.c (+4/-0)
src/rec/stringinRecord.c (+4/-2)
src/rec/stringoutRecord.c (+4/-2)
src/rec/subRecord.c (+3/-0)
Related bugs
Bug #546991: prev. value fields not initialized in init_record | Undecided | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 12049. By mdavidsaver
-
Ensure the string VAL and OVAL have the same storage length
There won't be any problems with overflow as long as dbPut
behaves correctly when setting VAL. - 12048. By mdavidsaver
-
rec: update last/prev./old value fields after dset init_record
This must be done if init_record is allowed to change values
or monitors may not be posted when values change. - 12045. By Andrew Johnson
-
The monitor last value field needs to be initialized.
Device support init_record is allowed to set VAL to 1.
If uninitialized then mlst is 0.
During the first process() this will miss a monitor if VAL is changed to 0,
and cause a spurious monitor if VAL remains 1.- mdavidsaver
- 12042. By Andrew Johnson
-
Warn if the IOC's TOP changed since building.
If the IOC's registerRecordDeviceDriver routine sees a different path
to TOP than the one used at build-time, we tell the user.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~epics-core/epics-base/3.14