In 3.14, missing arguments instead of 0 were allowed as well: "#C S2"
worked and was interpreted as "#C0 S2". This will not work with sscanf
even when using %i.
--
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 Dirk Zimoch 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 Dirk Zimoch 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
|