diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-11-28 06:06:27 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-11-28 06:06:27 +0000 |
| commit | 87c25490c8e1beb3ccb5c65c5fd414c410695403 (patch) | |
| tree | 7fda1da266f5c4d254c366b8856290fa9ad01569 /lib/libc/stdio/vfscanf.c | |
| parent | 7bbd0c8b5bfe82f4bcb9c3e2098b54543bd94828 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/vfscanf.c')
| -rw-r--r-- | lib/libc/stdio/vfscanf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c index 3925aa53477b..60721128c251 100644 --- a/lib/libc/stdio/vfscanf.c +++ b/lib/libc/stdio/vfscanf.c @@ -488,7 +488,7 @@ literal: break; default: - if (!isxdigit(c)) + if (!isdigit(c) && (base != 16 || !isxdigit(c))) break; n = digittoint(c); if (n >= 16) |
