From 036de600b62968abe291d596be72122dee5c71a9 Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Tue, 5 Mar 2013 15:38:00 +0800 Subject: [PATCH] Kernel - Fixed bug in isupper() --- KernelLand/Kernel/libc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KernelLand/Kernel/libc.c b/KernelLand/Kernel/libc.c index a16687e4..751497cd 100644 --- a/KernelLand/Kernel/libc.c +++ b/KernelLand/Kernel/libc.c @@ -489,7 +489,7 @@ int isspace(int c) } int isupper(int c) { - return ('a' <= c && c <= 'z'); + return ('A' <= c && c <= 'Z'); } int isxdigit(int c) { -- 2.20.1