ref: 2262bec1cf94174607f199332408214183033f79
parent: 7c2da37ac070b9555af78aec088958a2664c65d7
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Feb 23 08:43:06 EST 2017
[libc] Fix toupper()
--- a/libc/src/toupper.c
+++ b/libc/src/toupper.c
@@ -7,5 +7,5 @@
int
toupper(int c)
{
- return (islower(c)) ? c & 0x20 : c;
+ return (islower(c)) ? c | 0x20 : c;
}