while (i != 0 && isspace((unsigned char)buffer[i-1]))
while (i != 0 && isspace(UCH(buffer[i-1])))
PUBLIC void LYTrimTrailing ARGS1(	char *, 	buffer){    size_t i = strlen(buffer);    while (i != 0 && isspace((unsigned char)buffer[i-1]))	buffer[--i] = 0;}