Comment 4 for bug 1950300

Revision history for this message
Dirk Zimoch (dirk.zimoch) wrote :

%i has been available in the scanf function familiy for as long as I do C. It works in vxWorks, Windows, Linux. The Linux man page does not mention anything special or version dependent about %i, but I do not know the standards.
To my surprise the EPICS 7 code base does not use it so far, but EPICS 3.14.12 has it in src/gdd/aitConvert.cc.

My biggest concern is not that any sscanf version does not understand %i. It is rather that it may interpret numbers starting with 0 as octal when they are not meant that way and had not been interpreted as octal in EPICS 3.14.