diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-27 20:36:20 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-27 20:36:20 +0000 |
commit | 6d740fd9eea4115304e493147e203c665489fb34 (patch) | |
tree | 1022de398ec0f5d829cdb6ce479e6ed826e60a31 /src/dd.c | |
parent | 1ef7a75fa8f30a715b58a88355d29d287c17b4dd (diff) | |
download | coreutils-6d740fd9eea4115304e493147e203c665489fb34.tar.xz |
Include strnumcmp.h, xstrtol.h.
(looks_like_integer): New function.
(toarith): Use it. Also, use xstrtoimax rather than rolling our
own diagnostics.
(eval2): Don't look for trouble if !evaluate; this simplifies things.
Compare numbers using string comparison, so that overflow is
not possible.
Diffstat (limited to 'src/dd.c')
0 files changed, 0 insertions, 0 deletions