]> sigrok.org Git - libsigrok.git/commit
strutil: insist in some mantissa for parse rational
authorGerhard Sittig <redacted>
Thu, 19 Jul 2018 20:12:15 +0000 (22:12 +0200)
committerUwe Hermann <redacted>
Sun, 22 Jul 2018 14:36:15 +0000 (16:36 +0200)
commitd87549636609d2a01722eb6ad185cd4666d04ebb
tree87266a6434ac45bbe0b08309201e9ae8f524753e
parent7f5bfd613058ce09b267294004717eed2fc2582c
strutil: insist in some mantissa for parse rational

The previous implementation accepted either empty integer or empty
fractional parts of a floating point number, but also when both parts
were missing ("." input). Insist in at least one of the parts to be
present.
src/strutil.c