diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-11-12 04:04:32 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-11-12 04:04:32 +0000 |
commit | 95c7d027a8eff24e868e5694eb60e1c22960f39d (patch) | |
tree | 33c13ee3d9cbe80f047b4cbf3f10816f3440f775 /bin/ksh/eval.c | |
parent | d94a8e4edbe2fe499941cfa18fc38a7974af3d0b (diff) |
Use isdigit() instead of ksh's homebrewed alternative.
ok nicm@. Also discussed with millert@ and guenther@.
Diffstat (limited to 'bin/ksh/eval.c')
-rw-r--r-- | bin/ksh/eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/eval.c b/bin/ksh/eval.c index 3dd83a9f4cb..86f8fee1423 100644 --- a/bin/ksh/eval.c +++ b/bin/ksh/eval.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eval.c,v 1.46 2015/10/19 17:15:53 mmcc Exp $ */ +/* $OpenBSD: eval.c,v 1.47 2015/11/12 04:04:31 mmcc Exp $ */ /* * Expansion - quoting, separation, substitution, globbing @@ -6,6 +6,7 @@ #include <sys/stat.h> +#include <ctype.h> #include <dirent.h> #include <pwd.h> #include <string.h> |