Comment 2 for bug 1699445

Revision history for this message
Ralph Lange (ralph-lange) wrote :

Reason seems to lie below recGblInitConstantLink():

3.14 directly calls strtol()/strtoul() for longs. This honours hex constants.
3.15ff. calls dbLoadLink() -> dbConstLoadLink() -> dbFastConvertRoutine[STRING][LONG] which is putStringLong() that calls sscanf() using "%ld". Which does not honour hex constants.

3.15ff. added a set of parsing functions epicsParseXxx() in epicsStdlib.c, which are thoroughly tested. Could these be used?