summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorRoberto Ricci <rroberto2r@gmail.com>2018-02-11 17:12:14 +0100
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-09 13:07:16 -0700
commit92de87f30c2fd25245e3e345633fe497665b5448 (patch)
tree419f66e393da9d5f30379cf015a7f0a75b8a457b /.gitignore
parentce6001abfc93c8309fd9ece97e0f8783dd64f346 (diff)
exit if conv. from string to double fails
atof(3), whose return value is undefined on error, is used to parse command line arguments, leading to undefined beavior if something else than a number is specified. this patch uses strtod(3) and exits on error. Signed-off-by: Roberto Ricci <rroberto2r@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions