The problem is in dbStaticLib.c line 2334 (dbParseLink):
/* Link may be an array constant */
if (pstr[0] == '[' && pstr[len-1] == ']' &&
(strchr(pstr, ',') || strchr(pstr, '"'))) {
pinfo->ltype = CONSTANT;
return 0;
}
This demands that arrays contain at least one comma or quote. So 1
element string arrays are ok but one element numeric arrays not? Why?
[42] and [] sould be are valid arrays.
--
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/1882520
Title:
Constant arrary input links of size 1 don't work
Status in EPICS Base:
In Progress
Bug description:
Constant input links in array form with 1 element don't work and
return an empty array.
Example:
field (INP, [42])
As soon as a comma is present, it works:
field (INP, [42,])
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1882520/+subscriptions
- References:
- [Bug 1882520] [NEW] Constant arrary input links of size 1 don't work Dirk Zimoch via Core-talk
- Navigate by Date:
- Prev:
[Bug 1882520] [NEW] Constant arrary input links of size 1 don't work Dirk Zimoch via Core-talk
- Next:
[Merge] ~dirk.zimoch/epics-base:fix_one_element_input_link_arrays into epics-base:7.0 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 1882520] [NEW] Constant arrary input links of size 1 don't work Dirk Zimoch via Core-talk
- Next:
[Bug 1882520] Re: Constant arrary input links of size 1 don't work 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
|