In article <20121114075123.52daa65e@dilbert>, D'Arcy J.M. Cain <darcy%NetBSD.org@localhost> wrote: > >Would this be safer? > >#define toupper(c)\ > ((int)((_toupper_tab_ + 1)[(int)(unsigned char)(c)])) This technique is called sandbagging, and will prevent someone who legitimately wants to use -1 to do so. christos