epics-modules / autosave

APS BCDA synApps module: autosave
https://epics-modules.github.io/autosave/
Other
8 stars 31 forks source link

V7 fix #21

Closed MarkRivers closed 5 years ago

MarkRivers commented 5 years ago

Fixed a problem with saving empty long strings with new versions of base (e.g. 7.x and future 3.15.6).

dbGet now returns the actual string length rather than the maximum string length. That was causing save_restore::write_it to write the string "0" into the autosave file, rather than an empty string. Changed the logic to fix this.