=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/ctype.h,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/include/ctype.h 2002/12/13 22:39:27 1.6 --- src/include/ctype.h 2002/12/13 23:16:38 1.7 *************** *** 1,4 **** ! /* $OpenBSD: ctype.h,v 1.6 2002/12/13 22:39:27 millert Exp $ */ /* $NetBSD: ctype.h,v 1.14 1994/10/26 00:55:47 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: ctype.h,v 1.7 2002/12/13 23:16:38 millert Exp $ */ /* $NetBSD: ctype.h,v 1.14 1994/10/26 00:55:47 cgd Exp $ */ /* *************** *** 166,179 **** static __inline int tolower(int c) { ! if (c != (c & 0177)) return (c); return ((_tolower_tab_ + 1)[c]); } static __inline int toupper(int c) { ! if (c != (c & 0177)) return (c); return ((_toupper_tab_ + 1)[c]); } --- 166,179 ---- static __inline int tolower(int c) { ! if ((unsigned int)c > 0177) return (c); return ((_tolower_tab_ + 1)[c]); } static __inline int toupper(int c) { ! if ((unsigned int)c > 0177) return (c); return ((_toupper_tab_ + 1)[c]); } *************** *** 186,194 **** static __inline int isascii(int c) { ! if (c == EOF) ! return (0); ! return ((unsigned int)(c) <= 0177); } static __inline int toascii(int c) --- 186,192 ---- static __inline int isascii(int c) { ! return ((unsigned int)c <= 0177); } static __inline int toascii(int c)