diff options
author | Paul Smith <psmith@gnu.org> | 1999-08-25 21:39:28 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-08-25 21:39:28 +0000 |
commit | b134da55059775759b6e2d1ab8d6425033c3834a (patch) | |
tree | 84397021e8aee4f343da2b08c22ac3d6043789e4 /function.c | |
parent | d0b03e9355d18a6e035c3ee2e7f0ba895739ab28 (diff) | |
download | gunmake-b134da55059775759b6e2d1ab8d6425033c3834a.tar.gz |
* A few cleanups, and 3.77.94 release.3.77.94
Diffstat (limited to 'function.c')
-rw-r--r-- | function.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -702,13 +702,10 @@ is_numeric (p) char *end = p + strlen (p) - 1; char *beg = p; strip_whitespace (&p, &end); - while (p <= end) - { - if (!isdigit (*p)) - return 0; - p++; - } + while (p <= end) + if (!ISDIGIT (*(p++))) /* ISDIGIT only evals its arg once: see make.h. */ + return 0; return (end - beg >= 0); } |