I agree with your assessment and solution. Fixed on the 7.0 branch,
including test changes, in commit
cbd86ada20cedbff5f45fe8decb3b7b7da71ef0f
Thanks!
** Changed in: epics-base
Assignee: (unassigned) => Andrew Johnson (anj)
** Also affects: epics-base/7.0
Importance: Undecided
Assignee: Andrew Johnson (anj)
Status: New
** Changed in: epics-base/7.0
Status: New => Fix Committed
--
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1995728
Title:
registerRecordDeviceDriver.pl bug
Status in EPICS Base:
Fix Committed
Status in EPICS Base 7.0 series:
Fix Committed
Bug description:
In EPICS 7, when processing a dbd file with a long function name (> 24
chars), registerRecordDeviceDriver.pl generates buggy output.
With the following file test.dbd:
function(abcdefghijklmnopqrstuvwxyz0123456789)
The command perl registerRecordDeviceDriver.pl test.dbd generates code with a line break in the middle of a variable name:
epicsShareExtern reg_func pvar_func_register_func_abcdefghijklmnopqrstuvwx
yz0123456789;
I suspect the error is in line 191 caused by the usage of wrap().
I have tested this with perl v5.16.3 and v5.26.3.
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1995728/+subscriptions
- References:
- [Bug 1995728] [NEW] registerRecordDeviceDriver.pl bug Dirk Zimoch via Core-talk
- Navigate by Date:
- Prev:
[Bug 1995728] Re: registerRecordDeviceDriver.pl bug Dirk Zimoch via Core-talk
- Next:
epics-7.0 » linux32 - Build # 435 - Fixed! APS Jenkins via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
<2022>
2023
2024
- Navigate by Thread:
- Prev:
[Bug 1995728] Re: registerRecordDeviceDriver.pl bug Dirk Zimoch via Core-talk
- Next:
Build failed: epics-base base-7.0-60 AppVeyor via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
<2022>
2023
2024
|