File strcmp.patch of Package scotty
--- tkined/generic/tkined.h +++ tkined/generic/tkined.h @@ -385,7 +385,7 @@ * operation is only done when a and b are not the same string. */ -#define STRCOPY(A,B) if (A != B) { ckfree (A); A = ckstrdup(B); } +#define STRCOPY(A,B) if (strcmp(A,B) != 0) { ckfree (A); A = ckstrdup(B); } /* * Here comes some portability stuff. There is no strdup in the