> EPICS 3.14.12 has it in src/gdd/aitConvert.cc.
Ok, this is enough for me wrt. compatibility.
> In 3.14, missing arguments instead of 0 were allowed as well: "#C S2"
...
The change to acceptable link syntax dates to 2014 [2]. It was
understood and accepted at the time that making the parser stricter
could break some existing databases.
> I can create a PR but need to know which way to go. ...
I would encourage you to push this small change through before trying
for something larger.
I don't see the change in interpretation of eg. "#C010 S1 @" as octal to
be a likely issue. Although it might be argued that it is less obvious
as it doesn't result in an error.
[1] https://code.launchpad.net/~epics-core/epics-base/link-
parsing/+merge/229252
--
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/1950300
Title:
Cannot use hex numbers in HW links in EPICS 7
Status in EPICS Base:
New
Bug description:
In EPICS 3.14.12, it was possible to use hex numbers in hardware links
of type VME_IO and others like "#C0 S0x8b". (The parser used the
function cvtDecimalOrHexToShort for this.) In EPICS 7 this does not
work any longer because the string is parsed with %d instead of %i. As
many of our existing IOCs use hex numbers here, this makes transition
to EPICS 7 unnecessary hard.
Changing to %i will allow hex numbers, but will also allow octal
numbers. That may a problem as C011 uses to mean 11 in 3.14, not 9.
In that case, parsing with a single sscanf is not sufficient.
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1950300/+subscriptions
- References:
- [Bug 1950300] [NEW] Cannot use hex numbers in HW links in EPICS 7 Dirk Zimoch via Core-talk
- Navigate by Date:
- Prev:
[Bug 1950300] Re: Cannot use hex numbers in HW links in EPICS 7 Dirk Zimoch via Core-talk
- Next:
[Bug 1950300] Re: Cannot use hex numbers in HW links in EPICS 7 mdavidsaver 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 1950300] Re: Cannot use hex numbers in HW links in EPICS 7 Dirk Zimoch via Core-talk
- Next:
[Bug 1950300] Re: Cannot use hex numbers in HW links in EPICS 7 mdavidsaver 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
|